/*
 * Bacheca dei Viaggiatori — mobile app surface
 *
 * Everything in this file is opt-in. The early script in layouts/app.blade.php
 * adds `bdv-mobile-app` only for the mobile viewport or the Android TWA;
 * the server adds `bdv-mobile-app-surface` only to app routes. Desktop remains
 * on the existing design system.
 */

html:not(.bdv-mobile-app) .bdv-mobile-app-shell,
html:not(.bdv-mobile-app) .bdv-mobile-app-footer,
html:not(.bdv-mobile-app) .bdv-mobile-home,
html:not(.bdv-mobile-app) .bdv-mobile-trip-card,
html:not(.bdv-mobile-app) .bdv-mobile-vetrina-placeholder-host {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) {
    --bdv-mobile-primary: #3d8da8;
    --bdv-mobile-primary-strong: #236f8a;
    --bdv-mobile-ink: #182431;
    --bdv-mobile-muted: #667681;
    --bdv-mobile-accent: #e3be48;
    --bdv-mobile-canvas: #f6f8f9;
    --bdv-mobile-surface: #ffffff;
    --bdv-mobile-line: #e4eaed;
    --bdv-mobile-soft: #edf6f8;
    --bdv-mobile-danger: #d95d5d;
    --bdv-mobile-nav-height: 72px;
    --bdv-mobile-content-max: 560px;
    --bdv-mobile-gutter-start: max(16px, env(safe-area-inset-left));
    --bdv-mobile-gutter-end: max(16px, env(safe-area-inset-right));
    background: var(--bdv-mobile-canvas) !important;
    background-image: none !important;
    color: var(--bdv-mobile-ink);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-width: 320px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) {
    --bdv-mobile-primary: #65b4cb;
    --bdv-mobile-primary-strong: #8bcadd;
    --bdv-mobile-ink: #f4f7f8;
    --bdv-mobile-muted: #b3c0c6;
    --bdv-mobile-accent: #e8c960;
    --bdv-mobile-canvas: #101a22;
    --bdv-mobile-surface: #18262f;
    --bdv-mobile-line: #2d3e48;
    --bdv-mobile-soft: #1b3440;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) > header.figma-navbar,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) > .figma-navbar,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) > footer.figma-footer {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) > main {
    min-height: 100vh;
    min-height: 100dvh;
    padding-right: env(safe-area-inset-right);
    padding-bottom: calc(var(--bdv-mobile-nav-height) + env(safe-area-inset-bottom) + 22px);
    padding-left: env(safe-area-inset-left);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="landing"] > main {
    padding-right: 0;
    padding-left: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface.bdv-mobile-app-immersive:not(.bdv-admin-workspace) > main {
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) a,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) button {
    -webkit-tap-highlight-color: transparent;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(a, button):focus-visible {
    outline: 3px solid rgba(61, 141, 168, .36);
    outline: 3px solid color-mix(in srgb, var(--bdv-mobile-primary) 36%, transparent);
    outline-offset: 2px;
}

html.bdv-mobile-app :is(input, select, textarea, [contenteditable="true"]):focus,
html.bdv-mobile-app :is(input, select, textarea, [contenteditable="true"]):focus-visible {
    outline: 0 !important;
    border-color: var(--bdv-mobile-line) !important;
    box-shadow: none !important;
    caret-color: var(--bdv-mobile-primary-strong);
    filter: none !important;
}

/* App shell */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-shell {
    display: contents !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: calc(58px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) var(--bdv-mobile-gutter-end) 8px var(--bdv-mobile-gutter-start);
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    background: var(--bdv-mobile-surface);
    background: color-mix(in srgb, var(--bdv-mobile-surface) 92%, transparent);
    border-bottom: 1px solid var(--bdv-mobile-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="landing"] .bdv-mobile-topbar {
    background: var(--bdv-mobile-canvas);
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: var(--bdv-mobile-ink);
    text-align: center;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-brand-title {
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-brand-subtitle {
    color: var(--bdv-mobile-primary-strong);
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.15;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-profile-shortcut {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-soft);
    border: 1px solid var(--bdv-mobile-line);
    border: 1px solid color-mix(in srgb, var(--bdv-mobile-primary) 22%, var(--bdv-mobile-line));
    border-radius: 50%;
    cursor: pointer;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-profile-shortcut img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-profile-shortcut svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-menu,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-topbar > .bdv-mobile-profile-shortcut {
    grid-column: 3;
    justify-self: end;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown {
    width: 220px;
    margin-top: 8px !important;
    padding: 7px !important;
    overflow: hidden;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 15px !important;
    box-shadow: 0 16px 38px rgba(24, 36, 49, .16) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .dropdown-item {
    min-height: 44px;
    padding: 0 11px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bdv-mobile-ink) !important;
    background: transparent !important;
    border: 0;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 750;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .dropdown-item:active,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .dropdown-item:hover {
    background: var(--bdv-mobile-soft) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .dropdown-item i {
    width: 18px;
    color: var(--bdv-mobile-primary-strong);
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .dropdown-divider {
    border-color: var(--bdv-mobile-line) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .bdv-mobile-logout,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-account-dropdown .bdv-mobile-logout i {
    color: var(--bdv-mobile-danger) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-bottom-nav {
    position: fixed;
    z-index: 1035;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(var(--bdv-mobile-nav-height) + env(safe-area-inset-bottom));
    padding: 8px max(8px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    background: var(--bdv-mobile-surface);
    background: color-mix(in srgb, var(--bdv-mobile-surface) 95%, transparent);
    border-top: 1px solid var(--bdv-mobile-line);
    box-shadow: 0 -8px 30px rgba(24, 36, 49, .08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-item {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--bdv-mobile-muted);
    font-size: .65rem;
    font-weight: 650;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    position: relative;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-badge {
    position: absolute;
    top: 1px;
    left: calc(50% + 8px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #dc3545;
    border: 2px solid var(--bdv-mobile-surface);
    border-radius: 999px;
    font-size: .57rem;
    font-weight: 850;
    line-height: 1;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-item > svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-item.is-active {
    color: var(--bdv-mobile-primary-strong);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-publish {
    color: var(--bdv-mobile-primary-strong);
    transform: translateY(-16px);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-publish-icon {
    width: 49px;
    height: 49px;
    margin-bottom: 2px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border: 4px solid var(--bdv-mobile-surface);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(35, 111, 138, .28);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-publish-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

/* Compact footer for the app surface */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) > .bdv-mobile-app-footer {
    display: block !important;
    margin-top: 8px;
    padding: 28px var(--bdv-mobile-gutter-end) calc(var(--bdv-mobile-nav-height) + env(safe-area-inset-bottom) + 24px) var(--bdv-mobile-gutter-start);
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border-top: 1px solid var(--bdv-mobile-line);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__inner {
    width: 100%;
    max-width: var(--bdv-mobile-content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bdv-mobile-ink);
    text-align: left;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__brand strong {
    font-size: .94rem;
    font-weight: 850;
    letter-spacing: -.02em;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__brand small {
    color: var(--bdv-mobile-primary-strong);
    font-size: .54rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border-radius: 50%;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__mark svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__tagline {
    margin: -5px 0 0;
    color: var(--bdv-mobile-muted);
    font-size: .75rem;
    line-height: 1.4;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations {
    width: 100%;
    overflow: hidden;
    background: var(--bdv-mobile-soft);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 15px;
    text-align: left;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations summary {
    min-height: 56px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--bdv-mobile-ink);
    cursor: pointer;
    list-style: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations summary::-webkit-details-marker {
    display: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-title > i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-surface);
    border-radius: 50%;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-title > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-title strong {
    font-size: .8rem;
    font-weight: 820;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-title small {
    overflow: hidden;
    color: var(--bdv-mobile-muted);
    font-size: .65rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations-chevron {
    flex: 0 0 auto;
    color: var(--bdv-mobile-primary-strong);
    font-size: .75rem;
    transition: transform .2s ease;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destinations[open] .bdv-mobile-app-footer__destinations-chevron {
    transform: rotate(180deg);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destination-grid {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    border-top: 1px solid var(--bdv-mobile-line);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destination-grid a {
    min-width: 0;
    min-height: 40px;
    padding: 8px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 10px;
    font-size: .69rem;
    font-weight: 720;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__destination-grid .bdv-mobile-app-footer__destination-all {
    min-height: 42px;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-inline: 12px;
    color: var(--bdv-mobile-primary-strong);
    font-weight: 800;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__links {
    display: flex;
    justify-content: center;
    gap: 5px 14px;
    flex-wrap: wrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__links :is(a, button) {
    min-height: 32px;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    color: var(--bdv-mobile-muted);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__links :is(a, button):hover {
    color: var(--bdv-mobile-primary-strong);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__bottom {
    width: 100%;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--bdv-mobile-muted);
    border-top: 1px solid var(--bdv-mobile-line);
    font-size: .66rem;
    font-weight: 650;
    text-align: left;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__social {
    display: flex;
    gap: 7px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-app-footer__social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-soft);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 50%;
    text-decoration: none;
}

/* Dedicated mobile home */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-desktop-home {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--bdv-mobile-content-max);
    margin: 0 auto;
    padding: 18px var(--bdv-mobile-gutter-end) 18px var(--bdv-mobile-gutter-start);
    display: block !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home-intro {
    padding: 5px 8px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-eyebrow {
    margin: 0 0 8px;
    color: var(--bdv-mobile-primary-strong);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home-intro h1 {
    max-width: 15ch;
    margin: 0 auto;
    color: var(--bdv-mobile-ink);
    font-family: inherit;
    font-size: clamp(1.82rem, 7.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-wrap: balance;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home-intro > p:last-child {
    max-width: 32ch;
    margin: 12px auto 0;
    color: var(--bdv-mobile-muted);
    font-size: .9rem;
    line-height: 1.48;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search {
    min-height: 58px;
    padding: 6px 7px 6px 16px;
    display: grid;
    grid-template-columns: 24px 1fr 44px;
    align-items: center;
    gap: 9px;
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(24, 36, 49, .075);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search > svg {
    width: 22px;
    fill: none;
    stroke: var(--bdv-mobile-ink);
    stroke-linecap: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search input {
    min-width: 0;
    padding: 0;
    color: var(--bdv-mobile-ink);
    background: transparent;
    border: 0;
    box-shadow: none;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    outline: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search input::placeholder {
    color: var(--bdv-mobile-muted);
    opacity: .95;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border: 0;
    border-radius: 50%;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-search button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-container {
    z-index: 1100 !important;
    margin-top: 8px;
    overflow: hidden;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(24, 36, 49, .16);
    font-family: inherit;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-item {
    min-height: 46px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    color: var(--bdv-mobile-muted);
    background: transparent;
    border-top-color: var(--bdv-mobile-line);
    cursor: pointer;
    font-size: .76rem;
    line-height: 1.35;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-item:hover,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-item-selected {
    background: var(--bdv-mobile-soft);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-item-query {
    color: var(--bdv-mobile-ink);
    font-size: .84rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-category-rail {
    margin-block: 18px 0;
    margin-inline-start: calc(0px - var(--bdv-mobile-gutter-start));
    margin-inline-end: calc(0px - var(--bdv-mobile-gutter-end));
    padding: 0 var(--bdv-mobile-gutter-end) 9px var(--bdv-mobile-gutter-start);
    display: flex;
    gap: 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-padding-inline-start: var(--bdv-mobile-gutter-start);
    scroll-padding-inline-end: var(--bdv-mobile-gutter-end);
    scroll-snap-type: x proximity;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-category-rail::-webkit-scrollbar,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-card-rail::-webkit-scrollbar {
    display: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-category-chip {
    min-height: 40px;
    padding: 0 14px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    scroll-snap-align: start;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-category-chip.is-active {
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border-color: var(--bdv-mobile-primary-strong);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home-section {
    margin-top: 26px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-section-heading {
    margin-bottom: 13px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-section-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--bdv-mobile-primary-strong);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-section-heading h2 {
    margin: 0;
    color: var(--bdv-mobile-ink);
    font-family: inherit;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-section-heading > a {
    color: var(--bdv-mobile-primary-strong);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-card-rail {
    margin: 0 -16px;
    padding: 0 16px 8px;
    display: flex;
    gap: 13px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-card-slot {
    width: min(
        calc(100vw - var(--bdv-mobile-gutter-start) - var(--bdv-mobile-gutter-end)),
        calc(var(--bdv-mobile-content-max) - var(--bdv-mobile-gutter-start) - var(--bdv-mobile-gutter-end))
    );
    flex: 0 0 min(
        calc(100vw - var(--bdv-mobile-gutter-start) - var(--bdv-mobile-gutter-end)),
        calc(var(--bdv-mobile-content-max) - var(--bdv-mobile-gutter-start) - var(--bdv-mobile-gutter-end))
    );
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Vetrina is a dedicated premium destination, not a generic home subsection. */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section {
    position: relative;
    margin-top: 31px;
    margin-inline-start: calc(0px - var(--bdv-mobile-gutter-start));
    margin-inline-end: calc(0px - var(--bdv-mobile-gutter-end));
    padding: 23px var(--bdv-mobile-gutter-end) 24px var(--bdv-mobile-gutter-start);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 92% 3%, rgba(227, 190, 72, .35) 0, rgba(227, 190, 72, 0) 36%),
        radial-gradient(circle at 2% 94%, rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, 0) 35%),
        linear-gradient(155deg, #fffdf4 0%, #fbf3d5 56%, #f0d777 100%);
    border-block: 1px solid rgba(117, 84, 8, .2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .78),
        0 16px 34px rgba(77, 61, 12, .09);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -108px;
    right: -88px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(117, 84, 8, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, .13),
        0 0 0 70px rgba(255, 255, 255, .08);
    pointer-events: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__header {
    position: relative;
    z-index: 1;
    max-width: 430px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__label {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4a3905;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(117, 84, 8, .2);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(77, 61, 12, .11);
    font-size: .8125rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__label i {
    color: #9b7108;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__header h2 {
    margin: 12px 0 5px;
    color: #3d3109;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.15;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__header p {
    max-width: 39ch;
    margin: 0;
    color: #66531e;
    font-size: .9375rem;
    font-weight: 610;
    line-height: 1.48;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-rail {
    margin-top: 18px;
    margin-inline-start: calc(0px - var(--bdv-mobile-gutter-start));
    margin-inline-end: calc(0px - var(--bdv-mobile-gutter-end));
    padding: 4px var(--bdv-mobile-gutter-end) 12px var(--bdv-mobile-gutter-start);
    scroll-padding-inline-start: var(--bdv-mobile-gutter-start);
    scroll-padding-inline-end: var(--bdv-mobile-gutter-end);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
    .bdv-mobile-vetrina-real-slot,
    .bdv-mobile-vetrina-cta-slot
) {
    width: min(90vw, 390px);
    flex-basis: min(90vw, 390px);
    display: flex;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-real-slot .bdv-mobile-trip-card.is-vetrina {
    box-shadow:
        0 18px 38px rgba(77, 61, 12, .2),
        0 0 0 4px rgba(227, 190, 72, .2);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-rail.is-empty {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-cta-slot.is-full-width {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section {
    background:
        radial-gradient(circle at 92% 3%, rgba(232, 201, 96, .19) 0, rgba(232, 201, 96, 0) 38%),
        radial-gradient(circle at 2% 94%, rgba(255, 226, 125, .08) 0, rgba(255, 226, 125, 0) 36%),
        linear-gradient(155deg, #302812 0%, #241f15 57%, #17191a 100%);
    border-block-color: rgba(232, 201, 96, .28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 18px 38px rgba(0, 0, 0, .24);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__label {
    color: #fff5ce;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 226, 125, .22);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__label i {
    color: var(--bdv-mobile-accent);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__header h2 {
    color: #fff9df;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-section__header p {
    color: #f5df9a;
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-vetrina-real-slot,
        .bdv-mobile-vetrina-cta-slot
    ) {
        width: min(88vw, 320px);
        flex-basis: min(88vw, 320px);
    }

}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    overflow: hidden;
    isolation: isolate;
    color: #3d3109;
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, 0) 36%),
        radial-gradient(circle at 90% 88%, rgba(184, 128, 9, .18) 0, rgba(184, 128, 9, 0) 38%),
        linear-gradient(145deg, #fffdf2 0%, #fff0ad 52%, #e9c451 100%);
    border: 2px solid var(--bdv-mobile-accent);
    border-radius: 20px;
    box-shadow:
        0 16px 38px rgba(77, 61, 12, .19),
        0 0 0 4px color-mix(in srgb, var(--bdv-mobile-accent) 18%, transparent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -72px;
    right: -58px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(117, 84, 8, .14);
    border-radius: 50%;
    box-shadow:
        0 0 0 26px rgba(255, 255, 255, .12),
        0 0 0 52px rgba(255, 255, 255, .08);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__link {
    width: 100%;
    min-height: 436px;
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__badge {
    min-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4a3905;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(117, 84, 8, .2);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(77, 61, 12, .11);
    font-size: .8125rem;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__crown {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(117, 84, 8, .16);
    border-radius: 50%;
    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, .65),
        0 10px 24px rgba(77, 61, 12, .13);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__crown img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__copy {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__copy small {
    color: #76580a;
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__copy strong {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.18;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__copy > span {
    color: #5b4d25;
    font-size: .9375rem;
    font-weight: 620;
    line-height: 1.58;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__benefits {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__benefits > span {
    min-height: 29px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5b4407;
    background: rgba(255, 255, 255, .48);
    border: 1px solid rgba(117, 84, 8, .14);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 780;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__cta {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: #73550a;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(77, 61, 12, .24);
    font-size: 1rem;
    font-weight: 850;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__link:active .bdv-mobile-vetrina-placeholder__cta {
    transform: scale(.98);
}

/* Real and promotional cards share the same flex row dimensions. */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
    .bdv-mobile-vetrina-real-slot .bdv-mobile-trip-card.is-vetrina,
    .bdv-mobile-vetrina-cta-slot .bdv-mobile-vetrina-placeholder
) {
    flex: 1 1 auto;
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__link {
        padding-inline: 14px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__cta {
        width: 100%;
        padding-inline: 10px;
        font-size: .9375rem;
    }
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder {
    color: #fff9df;
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 230, 139, .16) 0, rgba(255, 230, 139, 0) 38%),
        linear-gradient(145deg, #544315 0%, #3a2e10 54%, #241e12 100%);
    border-color: var(--bdv-mobile-accent);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
    .bdv-mobile-vetrina-placeholder__copy small,
    .bdv-mobile-vetrina-placeholder__copy > span
) {
    color: #f5df9a;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
    .bdv-mobile-vetrina-placeholder__badge,
    .bdv-mobile-vetrina-placeholder__benefits > span
) {
    color: #fff5ce;
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 226, 125, .2);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-vetrina-placeholder__cta {
    color: #302400;
    background: var(--bdv-mobile-accent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-card-list {
    display: grid;
    gap: 18px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-empty-state {
    padding: 30px 22px;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 22px;
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-empty-state > svg {
    width: 40px;
    color: var(--bdv-mobile-primary);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-empty-state h2 {
    margin: 12px 0 6px;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-empty-state p {
    margin: 0 0 17px;
    color: var(--bdv-mobile-muted);
    font-size: .86rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-empty-state a {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}

/* Image-first travel card */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card {
    width: 100%;
    min-width: 0;
    display: block !important;
    overflow: hidden;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(24, 36, 49, .07);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card.is-vetrina {
    border: 2px solid var(--bdv-mobile-accent);
    box-shadow:
        0 16px 38px rgba(24, 36, 49, .16),
        0 0 0 4px color-mix(in srgb, var(--bdv-mobile-accent) 18%, transparent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card.is-vetrina .bdv-mobile-trip-content {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--bdv-mobile-accent) 12%, var(--bdv-mobile-surface)) 0,
            var(--bdv-mobile-surface) 72px
        );
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card.is-vetrina .bdv-mobile-trip-heading h3 {
    font-size: 1.08rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card.is-top {
    border-color: color-mix(in srgb, #4dabf7 72%, var(--bdv-mobile-line));
    box-shadow:
        0 12px 30px rgba(28, 126, 214, .13),
        0 0 0 3px rgba(77, 171, 247, .1);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-card.is-urgent {
    border-color: color-mix(in srgb, #ff6b6b 65%, var(--bdv-mobile-line));
    box-shadow:
        0 11px 28px rgba(201, 42, 42, .11),
        0 0 0 3px rgba(255, 107, 107, .08);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bdv-mobile-soft);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 9px;
    color: var(--bdv-mobile-primary-strong);
    background: linear-gradient(145deg, var(--bdv-mobile-soft), var(--bdv-mobile-surface));
    background: linear-gradient(145deg, var(--bdv-mobile-soft), color-mix(in srgb, var(--bdv-mobile-accent) 18%, var(--bdv-mobile-surface)));
    font-size: .82rem;
    font-weight: 800;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-media-fallback svg {
    width: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.bdv-mobile-trip-promo, .bdv-mobile-trip-agency) {
    position: absolute;
    top: 11px;
    min-height: 29px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #182431;
    background: rgba(255, 255, 255, .94);
    border-radius: 999px;
    box-shadow: 0 4px 13px rgba(24, 36, 49, .12);
    font-size: .67rem;
    font-weight: 850;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-promo {
    left: 11px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-promo.is-vetrina {
    min-height: 34px;
    padding-inline: 13px;
    background: var(--bdv-mobile-accent);
    box-shadow: 0 6px 18px rgba(77, 61, 12, .24);
    letter-spacing: .035em;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-promo.is-vetrina::before {
    content: "★";
    font-size: .72rem;
    line-height: 1;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-promo.is-top {
    color: #fff;
    background: linear-gradient(145deg, #1773b9, #0d538c);
    box-shadow: 0 6px 17px rgba(28, 126, 214, .24);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-promo.is-urgent {
    color: #fff;
    background: linear-gradient(145deg, #b93642, #7f2630);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-agency {
    right: 11px;
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-agency svg {
    width: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-content {
    padding: 14px 15px 15px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-heading > div {
    min-width: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-heading h3 {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--bdv-mobile-ink);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-destination {
    min-width: 0;
    margin: 5px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--bdv-mobile-muted);
    font-size: .75rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-destination svg {
    width: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--bdv-mobile-primary-strong);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-destination span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-category {
    max-width: 40%;
    padding: 5px 8px;
    flex: 0 0 auto;
    overflow: hidden;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-soft);
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-facts {
    margin-top: 12px;
    padding-top: 11px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--bdv-mobile-line);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-facts > span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: var(--bdv-mobile-muted);
    font-size: .7rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-facts svg {
    width: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--bdv-mobile-primary-strong);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-author {
    margin-top: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bdv-mobile-muted);
    font-size: .7rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-author img,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-author-fallback {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    object-fit: cover;
    color: #fff;
    background: var(--bdv-mobile-primary);
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 850;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-author strong {
    color: var(--bdv-mobile-ink);
}

/* Legacy card host: retain its layout on desktop, swap only inside mobile app. */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .col-postit {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-desktop-trip-card {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-desktop-vetrina-placeholder {
    display: none !important;
}

/* Keep the Vetrina rail identical on the landing page and on /viaggi.
 * The listing still renders its desktop grid, but the mobile app swaps the
 * legacy vertical promo card for the shared compact card and a horizontal rail.
 */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid {
    margin-right: calc(0px - var(--bdv-mobile-gutter-end)) !important;
    margin-left: calc(0px - var(--bdv-mobile-gutter-start)) !important;
    padding: 4px var(--bdv-mobile-gutter-end) 12px var(--bdv-mobile-gutter-start) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 13px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline-start: var(--bdv-mobile-gutter-start);
    scroll-padding-inline-end: var(--bdv-mobile-gutter-end);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid::-webkit-scrollbar {
    display: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid > .col-postit {
    width: min(90vw, 390px) !important;
    max-width: min(90vw, 390px) !important;
    padding: 0 !important;
    flex: 0 0 min(90vw, 390px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid > .bdv-vetrina-placeholder-slot {
    width: min(72vw, 304px) !important;
    max-width: min(72vw, 304px) !important;
    flex-basis: min(72vw, 304px) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .bdv-mobile-vetrina-placeholder-host,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .bdv-mobile-vetrina-placeholder {
    height: 100%;
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid > .col-postit {
        width: min(88vw, 320px) !important;
        max-width: min(88vw, 320px) !important;
        flex-basis: min(88vw, 320px) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .featured-section .featured-grid > .bdv-vetrina-placeholder-slot {
        width: min(74vw, 270px) !important;
        max-width: min(74vw, 270px) !important;
        flex-basis: min(74vw, 270px) !important;
    }
}

/* Explore/listing */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-filter-toggle {
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
    padding: 0 16px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 14px;
    font-size: .86rem;
    font-weight: 800;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) #bdvMobileFilters.collapse:not(.show) {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) #bdvMobileFilters.collapse.show,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) #bdvMobileFilters.collapsing {
    display: block !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-filter-toggle i {
    color: var(--bdv-mobile-primary-strong);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-page-bg {
    background: transparent !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-page-bg > .container {
    max-width: 560px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-header {
    padding: 20px 0 12px !important;
    display: block !important;
    border: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.explore-header-icon, .explore-header-deco) {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-header-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
    line-height: 1.15 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-header-subtitle {
    margin-top: 6px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .86rem !important;
    line-height: 1.45 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-count-badge {
    margin-top: 11px;
    padding: 5px 10px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-soft) !important;
    border: 0 !important;
    font-family: inherit !important;
    font-size: .68rem !important;
    font-weight: 750;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .container.py-5.explore-page-bg {
    max-width: 560px !important;
    padding: 8px 0 16px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .container.py-5.explore-page-bg > .container.py-5 {
    padding: 0 16px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .container.py-5.explore-page-bg .row.g-5 {
    --bs-gutter-y: 16px;
    --bs-gutter-x: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-card {
    position: static !important;
    top: auto !important;
    padding: 16px !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-card::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-card::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-heading {
    margin-bottom: 14px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-subtitle {
    color: var(--bdv-mobile-muted) !important;
    font-size: .74rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.filter-card input, .filter-card select) {
    min-height: 48px;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    border-color: var(--bdv-mobile-line) !important;
    border-radius: 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .filter-submit {
    min-height: 48px;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
}

/* Travel detail */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-page-deco-plane,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-notebook-inner::before {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > div[style*="position:relative"] > .container.py-5 {
    max-width: 560px;
    padding: 12px 16px 100px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-back-link {
    min-height: 42px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    color: var(--bdv-mobile-primary-strong) !important;
    font-size: .82rem;
    font-weight: 800;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-notebook-wrap,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-notebook-inner {
    overflow: visible !important;
    border-radius: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-notebook-inner {
    padding: 0 !important;
    color: var(--bdv-mobile-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.65rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
    line-height: 1.18 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-meta-row {
    margin-bottom: 15px !important;
    gap: 8px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-cover-img {
    width: 100%;
    height: auto !important;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px !important;
}

/* Premium ads: make the paid visibility tangible without turning it into a trust badge. */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage {
    --td-premium-color: #e0b32e;
    --td-premium-deep: #775803;
    --td-premium-fill-start: #f3cc4c;
    --td-premium-fill-end: #d9a919;
    --td-premium-contrast: #2e2608;
    position: relative;
    margin: 0 -7px 28px;
    padding: 14px 12px 13px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 92% 0, color-mix(in srgb, var(--td-premium-color) 24%, transparent) 0, transparent 37%),
        linear-gradient(
            155deg,
            color-mix(in srgb, var(--td-premium-color) 12%, var(--bdv-mobile-surface)) 0%,
            color-mix(in srgb, var(--td-premium-color) 4%, var(--bdv-mobile-canvas)) 100%
        );
    border: 1.5px solid color-mix(in srgb, var(--td-premium-color) 68%, var(--bdv-mobile-line));
    border-radius: 24px;
    box-shadow:
        0 15px 34px color-mix(in srgb, var(--td-premium-color) 15%, transparent),
        inset 0 1px 0 color-mix(in srgb, #fff 52%, transparent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -88px;
    right: -68px;
    width: 190px;
    height: 190px;
    border: 1px solid color-mix(in srgb, var(--td-premium-color) 25%, transparent);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px color-mix(in srgb, var(--td-premium-color) 7%, transparent),
        0 0 0 56px color-mix(in srgb, var(--td-premium-color) 4%, transparent);
    pointer-events: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage--top {
    --td-premium-color: #2d83c5;
    --td-premium-deep: #155883;
    --td-premium-fill-start: #1d6fae;
    --td-premium-fill-end: #124f80;
    --td-premium-contrast: #fff;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage--urgent {
    --td-premium-color: #d9535d;
    --td-premium-deep: #7f2630;
    --td-premium-fill-start: #b93642;
    --td-premium-fill-end: #7f2630;
    --td-premium-contrast: #fff;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal {
    position: relative;
    z-index: 2;
    min-height: 68px;
    margin-bottom: 18px;
    padding: 10px 11px;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    color: var(--bdv-mobile-ink);
    background: color-mix(in srgb, var(--td-premium-color) 13%, var(--bdv-mobile-surface));
    border: 1px solid color-mix(in srgb, var(--td-premium-color) 45%, var(--bdv-mobile-line));
    border-radius: 17px;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--td-premium-color) 10%, transparent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--td-premium-contrast);
    background: linear-gradient(145deg, var(--td-premium-fill-start), var(--td-premium-fill-end));
    border-radius: 14px;
    box-shadow:
        0 7px 16px color-mix(in srgb, var(--td-premium-color) 27%, transparent),
        inset 0 1px 1px color-mix(in srgb, #fff 45%, transparent);
    font-size: 1.1rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__text {
    min-width: 0;
    display: grid;
    gap: 1px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__eyebrow {
    color: color-mix(in srgb, var(--td-premium-deep) 82%, var(--bdv-mobile-ink));
    font-size: .8125rem;
    font-weight: 850;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__name {
    color: var(--bdv-mobile-ink);
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.25;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__benefit {
    color: var(--bdv-mobile-muted);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.35;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage .td-title {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage .td-cover-img {
    border: 3px solid color-mix(in srgb, var(--td-premium-color) 72%, #fff) !important;
    box-shadow:
        0 13px 28px rgba(24, 36, 49, .16),
        0 0 0 3px color-mix(in srgb, var(--td-premium-color) 13%, transparent);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage .td-cat-tag {
    max-width: calc(100% - 118px);
    overflow: hidden;
    text-overflow: ellipsis;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage .td-premium-badge {
    color: var(--td-premium-contrast) !important;
    background: linear-gradient(145deg, var(--td-premium-fill-start), var(--td-premium-fill-end)) !important;
    border-color: color-mix(in srgb, var(--td-premium-deep) 60%, transparent) !important;
    box-shadow:
        0 8px 20px color-mix(in srgb, var(--td-premium-color) 30%, transparent),
        inset 0 1px 1px color-mix(in srgb, #fff 42%, transparent) !important;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage {
    background:
        radial-gradient(circle at 92% 0, color-mix(in srgb, var(--td-premium-color) 16%, transparent) 0, transparent 39%),
        linear-gradient(
            155deg,
            color-mix(in srgb, var(--td-premium-color) 10%, var(--bdv-mobile-surface)) 0%,
            color-mix(in srgb, var(--td-premium-color) 3%, var(--bdv-mobile-canvas)) 100%
        );
    box-shadow:
        0 17px 38px rgba(0, 0, 0, .25),
        inset 0 1px 0 rgba(255, 255, 255, .07);
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__eyebrow {
    color: color-mix(in srgb, var(--td-premium-color) 72%, #fff);
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-stage {
        margin-inline: -5px;
        padding-inline: 9px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal {
        grid-template-columns: 42px minmax(0, 1fr);
        padding-inline: 9px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-premium-signal__icon {
        width: 42px;
        height: 42px;
    }
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-logbook-label,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-share-label,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-details-heading {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-logbook-text {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: .96rem !important;
    line-height: 1.65 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.td-right-panel, .td-organizer-wrap, .td-safety-card) {
    padding: 17px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.td-right-panel, .td-organizer-wrap, .td-safety-card)::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.td-right-panel, .td-organizer-wrap, .td-safety-card)::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-write-action {
    position: fixed;
    z-index: 1060;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px var(--bdv-mobile-gutter-end) calc(10px + env(safe-area-inset-bottom)) var(--bdv-mobile-gutter-start);
    background: var(--bdv-mobile-surface) !important;
    border-top: 1px solid var(--bdv-mobile-line);
    box-shadow: 0 -10px 28px rgba(24, 36, 49, .18);
    opacity: 1;
    isolation: isolate;
    transform: translateY(0);
    transition: opacity .16s ease, transform .2s ease, visibility .2s;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock[hidden] {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock {
    width: min(100%, var(--bdv-mobile-content-max));
    margin: 26px auto 34px;
    padding: 17px;
    color: var(--bdv-mobile-ink);
    background: var(--bdv-mobile-surface);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(24, 36, 49, .12);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock__copy {
    margin-bottom: 14px;
    display: grid;
    gap: 3px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock__eyebrow {
    color: var(--bdv-mobile-primary-strong);
    font-size: .8125rem;
    font-weight: 850;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock__title {
    color: var(--bdv-mobile-ink);
    font-size: 1.125rem;
    font-weight: 850;
    line-height: 1.35;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock__text {
    color: var(--bdv-mobile-muted);
    font-size: .9375rem;
    line-height: 1.45;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-mobile-contact-dock__slot {
    min-height: 54px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-write-action.is-docked {
    position: static !important;
    inset: auto !important;
    width: 100%;
    padding: 0;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-write-action .td-write-btn {
    position: relative !important;
    z-index: 1;
    inset: auto !important;
    width: min(100%, calc(var(--bdv-mobile-content-max) - 32px)) !important;
    min-height: 54px;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background-color: #236f8a !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(24, 36, 49, .25) !important;
    opacity: 1 !important;
    mix-blend-mode: normal;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .td-write-action.is-docked .td-write-btn {
    width: 100% !important;
    margin: 0 !important;
}

/* Create/edit */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-create-back {
    min-height: 42px;
    margin: 10px 16px 0;
    padding: 0 5px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--bdv-mobile-primary-strong) !important;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-header-icon, .create-header-deco, .create-divider) {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-page-header {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 0 8px !important;
    gap: 0 !important;
    align-items: flex-start !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-header-left {
    display: block !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.75rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-subtitle {
    margin-top: 7px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .86rem !important;
    line-height: 1.45 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > .container.py-4 {
    max-width: 560px;
    padding: 8px 16px 36px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-form-layout {
    display: block !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-form-section,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-cover-section,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-submit-section {
    margin-bottom: 14px !important;
    padding: 17px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-form-section, .create-cover-section, .create-submit-section)::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-form-section, .create-cover-section, .create-submit-section)::after,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-summary-panel {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-label, .create-section-title, .create-cover-title) {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-subtitle, .create-section-subtitle, .create-cover-hint, .create-info-row) {
    color: var(--bdv-mobile-muted) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.create-input, .create-select, .create-textarea) {
    min-height: 52px !important;
    height: auto !important;
    padding: 13px 14px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: .9rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-input-group,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-input-group:focus-within {
    min-height: 56px;
    height: auto;
    padding: 8px 13px;
    background: var(--bdv-mobile-canvas) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    filter: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-input-group input {
    min-width: 0;
    color: var(--bdv-mobile-ink) !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-textarea {
    min-height: 140px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .create-submit-btn {
    width: 100% !important;
    min-height: 54px;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
}

/* Edit */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.edit"] main > .container.py-5 {
    max-width: 560px;
    padding: 12px 16px 28px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell {
    width: 100%;
    padding: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell > .mb-4:first-child {
    margin-bottom: 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell > .mb-4:first-child a {
    min-height: 42px;
    color: var(--bdv-mobile-primary-strong) !important;
    font-size: .8rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-hero {
    margin-bottom: 17px !important;
    text-align: left !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-kicker {
    margin-bottom: 8px !important;
    padding: 5px 9px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-soft) !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-hero-title {
    margin: 0 !important;
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.75rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
    line-height: 1.15 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-hero-subtitle {
    margin-top: 7px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .84rem !important;
    line-height: 1.45 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell .explorer-card {
    padding: 17px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell .explorer-card::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell .explorer-card::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-form-heading {
    margin: 24px 0 12px !important;
    color: var(--bdv-mobile-ink) !important;
    border-bottom-color: var(--bdv-mobile-line) !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-heading-icon {
    width: 30px !important;
    height: 30px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-soft) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.edit-soft-panel, .edit-photo-box, .edit-submit-box) {
    padding: 14px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 14px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-page-shell :is(.form-control, .form-select) {
    min-height: 50px;
    padding: 12px 13px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    border-color: var(--bdv-mobile-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: .88rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .edit-submit-btn {
    width: 100%;
    min-height: 52px;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

/* Conversation */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] > main {
    padding: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-wrapper {
    width: 100%;
    max-width: 680px;
    height: 100vh;
    height: 100dvh;
    padding: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-wrapper > .row,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-wrapper > .row > [class*="col-"] {
    height: 100%;
    margin: 0;
    padding: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .main-chat-card {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden;
    background: var(--bdv-mobile-surface) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-header {
    min-height: calc(66px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)) !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    border-bottom: 1px solid var(--bdv-mobile-line) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .btn-chat-back {
    width: 40px !important;
    height: 40px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-soft) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-peer-avatar {
    width: 42px !important;
    height: 42px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-username {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 850 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-ad-context {
    color: var(--bdv-mobile-muted) !important;
    font-size: .7rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-body {
    min-height: 0;
    padding: 14px max(12px, env(safe-area-inset-right)) 14px max(12px, env(safe-area-inset-left)) !important;
    background: var(--bdv-mobile-canvas) !important;
    background-image: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .message-bubble {
    max-width: min(82%, 420px) !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-footer {
    padding: 9px max(10px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)) !important;
    background: var(--bdv-mobile-surface) !important;
    border-top: 1px solid var(--bdv-mobile-line) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-composer {
    padding: 5px 6px 5px 14px !important;
    background: var(--bdv-mobile-canvas) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 999px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-input {
    min-height: 42px;
    color: var(--bdv-mobile-ink) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .chat-send-btn {
    width: 44px !important;
    height: 44px !important;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 50% !important;
}

/* First message / reply */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-notebook {
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 24px 17px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-title {
    margin-bottom: 6px !important;
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.7rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-subtitle {
    margin-bottom: 20px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .84rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-ref-block {
    margin-bottom: 18px !important;
    padding: 13px !important;
    background: var(--bdv-mobile-soft);
    border: 0 !important;
    border-radius: 14px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.reply-ref-label, .reply-ref-loc) {
    color: var(--bdv-mobile-muted) !important;
    font-family: inherit !important;
    font-size: .75rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-ref-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-textarea {
    min-height: 150px !important;
    padding: 13px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 14px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-submit-btn {
    min-height: 52px;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
}

/* Messages */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > .py-5.min-vh-100 {
    padding: 18px 0 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > .py-5.min-vh-100 > .container {
    max-width: 560px;
    padding: 0 16px 24px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.inbox-icon-light, .inbox-icon-dark) {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .inbox-header-row {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 7px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .inbox-title,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-page-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.72rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
    line-height: 1.18 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .inbox-subtitle,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-page-subtitle {
    margin-top: 5px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .84rem !important;
    line-height: 1.4 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.inbox-divider, .as-page-subtitle + hr) {
    border-color: var(--bdv-mobile-line) !important;
    opacity: 1 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mark-read-form {
    width: 100%;
    margin: 7px 0 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mark-read-btn {
    min-height: 42px;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-soft) !important;
    border: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-card {
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 17px !important;
    box-shadow: none !important;
    transform: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-card::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-card::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-card-inner {
    min-height: 76px;
    padding: 13px !important;
    gap: 11px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-avatar {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .conv-name {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.conv-preview, .conv-sub, .conv-time) {
    color: var(--bdv-mobile-muted) !important;
    font-family: inherit !important;
    font-size: .72rem !important;
}

/* My trips dashboard */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-page-bg {
    min-height: 100vh;
    color: var(--bdv-mobile-ink) !important;
    background: transparent !important;
    background-image: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-page-bg > .container {
    max-width: 560px;
    padding: 18px 16px 28px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-page-header {
    margin-bottom: 18px !important;
    padding: 0 !important;
    align-items: flex-start !important;
    gap: 13px !important;
    border: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-header-left {
    gap: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-plane-icon {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-page-title {
    margin: 0 !important;
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.75rem !important;
    font-weight: 850 !important;
    letter-spacing: -.035em;
    line-height: 1.15 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-page-subtitle {
    margin-top: 6px !important;
    color: var(--bdv-mobile-muted) !important;
    font-size: .84rem !important;
    line-height: 1.45 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-create-btn {
    width: 100% !important;
    min-height: 48px;
    padding: 0 17px !important;
    justify-content: center;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: .84rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-create-btn svg {
    width: 20px;
    height: 20px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-dashboard-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-status-tabs {
    margin: 0 -16px 15px !important;
    padding: 0 16px 7px !important;
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto;
    background: transparent !important;
    scrollbar-width: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-tab {
    min-width: max-content;
    min-height: 40px;
    padding: 0 13px !important;
    color: var(--bdv-mobile-muted) !important;
    background: var(--bdv-mobile-surface) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 999px !important;
    font-size: .74rem !important;
    font-weight: 800 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-tab.is-active {
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    border-color: var(--bdv-mobile-primary-strong) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .my-travels-list {
    display: grid;
    gap: 16px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-travel-row {
    padding: 0 0 15px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    overflow: hidden;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 19px !important;
    box-shadow: none !important;
    transform: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-travel-row::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-travel-row::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-photo {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-main,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-side {
    padding: 0 14px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-title {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
    font-size: 1.02rem !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.mt-row-desc, .mt-row-meta) {
    color: var(--bdv-mobile-muted) !important;
    font-size: .74rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-side {
    padding-top: 13px !important;
    border-top: 1px solid var(--bdv-mobile-line) !important;
    border-left: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-promotion-box {
    padding: 11px !important;
    background: var(--bdv-mobile-soft) !important;
    border: 0 !important;
    border-radius: 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-action-btn {
    min-height: 42px;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: .7rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .mt-empty-state {
    padding: 30px 18px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

/* Account/profile */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-page-title + .as-page-subtitle {
    color: var(--bdv-mobile-muted) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-page-title:is(h1) {
    margin: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-sidebar-wrap {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-sidebar-column {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-main-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-card {
    padding: 17px !important;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    background-image: none !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-card::before,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-card::after {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.as-user-name, .as-field-label, .as-danger-title) {
    color: var(--bdv-mobile-ink) !important;
    font-family: inherit !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.as-user-email, .as-field-help, .as-danger-copy) {
    color: var(--bdv-mobile-muted) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(.as-field-input, .as-select) {
    min-height: 50px;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-canvas) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-save-btn {
    min-height: 50px;
    background: var(--bdv-mobile-primary-strong) !important;
    border: 0 !important;
    border-radius: 999px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-tab-bar {
    padding: 4px !important;
    overflow-x: auto;
    background: var(--bdv-mobile-canvas) !important;
    border-radius: 13px !important;
    scrollbar-width: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .as-tab-btn {
    min-width: max-content;
    min-height: 42px;
    border-radius: 10px !important;
    font-size: .78rem !important;
}

/* Messaging polish */
html:not(.bdv-mobile-app) .bdv-mobile-chat-only {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] main > .py-5.min-vh-100 {
    padding-top: 10px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] main > .py-5.min-vh-100 > .container {
    padding-right: var(--bdv-mobile-gutter-end) !important;
    padding-left: var(--bdv-mobile-gutter-start) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .inbox-header-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .inbox-heading-copy {
    min-width: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] :is(.inbox-title-desktop, .inbox-subtitle-desktop, .mark-read-label-desktop) {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] :is(.inbox-title-mobile, .inbox-subtitle-mobile, .mark-read-label-mobile) {
    display: inline !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .inbox-title {
    font-size: 1.55rem !important;
    letter-spacing: -.04em !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .inbox-subtitle {
    margin-top: 3px !important;
    font-size: .76rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .inbox-divider {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .mark-read-form {
    width: auto !important;
    margin: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .mark-read-form--empty {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .mark-read-btn {
    min-height: 44px !important;
    padding: 9px 12px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: transparent !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    font-size: .75rem !important;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .push-notification-card {
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding: 12px !important;
    background: var(--bdv-mobile-soft) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .push-notification-card__icon {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    background: var(--bdv-mobile-surface) !important;
    font-size: .9rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .push-notification-card h2 {
    color: var(--bdv-mobile-ink) !important;
    font-size: .8rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .push-notification-card p {
    color: var(--bdv-mobile-muted) !important;
    font-size: .69rem !important;
    line-height: 1.35 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .push-notification-card__button {
    min-height: 44px !important;
    padding: 10px 14px !important;
    background: var(--bdv-mobile-primary-strong) !important;
    font-size: .73rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conversation-list {
    gap: 8px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-card {
    border-radius: 16px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .message-thread--unread {
    background: var(--bdv-mobile-soft) !important;
    border-color: color-mix(in srgb, var(--bdv-mobile-primary) 48%, var(--bdv-mobile-line)) !important;
    border-left: 3px solid var(--bdv-mobile-primary-strong) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-card-inner {
    min-height: 78px;
    padding: 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-unread .conv-card-inner {
    padding-left: 10px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-avatar {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-name {
    font-size: .9rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-new-badge {
    min-height: 19px !important;
    padding: 3px 7px !important;
    color: #fff !important;
    background: var(--bdv-mobile-primary-strong) !important;
    box-shadow: none !important;
    font-size: .68rem !important;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-new-badge {
    color: #10202a !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-time {
    max-width: none !important;
    padding: 0 !important;
    color: var(--bdv-mobile-muted) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: .72rem !important;
    font-weight: 650 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-sub {
    margin-bottom: 2px !important;
    color: var(--bdv-mobile-primary-strong) !important;
    font-size: .68rem !important;
    font-weight: 700;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-preview {
    color: var(--bdv-mobile-muted) !important;
    font-size: .72rem !important;
    font-weight: 500 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .conv-preview.is-moderated {
    font-style: italic;
    opacity: .76;
}

/* Full-screen conversation */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] {
    overflow: hidden;
    overscroll-behavior: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] > main > .push-notification-card {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-wrapper {
    position: fixed;
    inset-inline: 0;
    top: var(--bdv-chat-viewport-top, 0px);
    height: var(--bdv-chat-viewport-height, 100dvh) !important;
    margin-inline: auto;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-wrapper > .row,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-wrapper > .row > [class*="col-"],
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .main-chat-card {
    height: 100% !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .main-chat-card {
    position: relative;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-header {
    min-height: calc(62px + env(safe-area-inset-top));
    padding: calc(7px + env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 7px max(10px, env(safe-area-inset-left)) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] :is(.btn-chat-back, .threedot-btn) {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: transparent !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-peer-avatar {
    width: 40px !important;
    height: 40px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-username {
    font-size: .9rem !important;
    line-height: 1.18 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-ad-context {
    margin-top: 2px;
    color: var(--bdv-mobile-primary-strong) !important;
    font-family: inherit !important;
    font-size: .75rem !important;
    font-weight: 650 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-ad-context-link {
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-ad-context :is(.fa-bullhorn, .chat-ad-context-chevron) {
    color: currentColor !important;
    font-size: .66rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-body {
    gap: 6px !important;
    padding: 12px max(12px, env(safe-area-inset-right)) 14px max(12px, env(safe-area-inset-left)) !important;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-timeline {
    min-height: 0;
    gap: 6px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-history-loader {
    color: var(--bdv-mobile-muted);
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] #chat-load-previous {
    min-height: 44px;
    padding: 9px 14px !important;
    color: var(--bdv-mobile-primary-strong);
    border-color: color-mix(in srgb, var(--bdv-mobile-primary) 42%, var(--bdv-mobile-line));
    font-size: .75rem;
    font-weight: 750;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] #chat-load-previous:disabled {
    opacity: .6;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .trip-confirmation-entry {
    margin-bottom: 8px;
    padding: 11px !important;
    background: var(--bdv-mobile-soft) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .trip-confirmation-entry--actionable {
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(15, 36, 47, .12) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .trip-confirmation-entry--desktop-prompt {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card {
    display: grid !important;
    width: min(100%, 520px);
    margin: 6px auto 2px;
    padding: 11px;
    align-self: center;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 8px 10px;
    color: var(--bdv-mobile-ink);
    background: color-mix(in srgb, var(--bdv-mobile-soft) 82%, var(--bdv-mobile-surface));
    border: 1px solid color-mix(in srgb, var(--bdv-mobile-primary) 28%, var(--bdv-mobile-line));
    border-radius: 16px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-surface);
    border-radius: 50%;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__copy {
    display: flex;
    min-width: 0;
    min-height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1.28;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__copy strong {
    font-size: .88rem;
    font-weight: 800;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__copy > span {
    color: var(--bdv-mobile-muted);
    font-size: .73rem;
    font-weight: 600;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__actions {
    display: flex;
    grid-column: 2;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__action,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__snooze {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__action {
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    text-decoration: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__snooze {
    padding-inline: 10px;
    color: var(--bdv-mobile-primary-strong);
    background: transparent;
    border: 0;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__action:focus-visible,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__snooze:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--bdv-mobile-primary) 42%, transparent);
    outline-offset: 2px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"]:has(.chat-input:focus) .chat-trip-confirmation-card {
    display: none !important;
}

@media (max-width: 360px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-trip-confirmation-card__actions {
        gap: 2px;
    }
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .trip-confirmation-entry p {
    font-size: .875rem !important;
    line-height: 1.42 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .trip-confirmation-entry :is(.btn, a.btn) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
}


html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-avatar {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-row {
    flex: 0 0 auto !important;
    align-items: flex-end;
    gap: 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-bubble {
    flex: 0 1 auto !important;
    align-self: flex-end;
    height: auto !important;
    min-height: 0 !important;
    max-width: min(84%, 430px) !important;
    min-width: 62px !important;
    padding: 8px 10px 6px !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 17px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .bubble-me {
    color: #fff !important;
    background: #236f8a !important;
    border-bottom-right-radius: 5px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .bubble-them {
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    border-bottom-left-radius: 5px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .bubble-me :is(.message-text, .message-time) {
    color: #fff !important;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .bubble-me {
    background: #2f7890 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-text {
    font-size: .92rem !important;
    line-height: 1.42 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-time {
    font-size: .72rem !important;
    font-weight: 600 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .message-text--moderated {
    font-size: .72rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-date-separator {
    margin: 7px 0 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-date-separator span {
    padding: 4px 9px !important;
    color: var(--bdv-mobile-muted) !important;
    background: color-mix(in srgb, var(--bdv-mobile-surface) 88%, transparent) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    box-shadow: none !important;
    font-size: .7rem !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-jump-latest {
    position: absolute;
    right: 50%;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 6;
    min-height: 44px;
    max-width: calc(100% - 32px);
    padding: 8px 13px;
    transform: translateX(50%);
    color: #fff;
    background: var(--bdv-mobile-primary-strong);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 7px 22px rgba(15, 36, 47, .2);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-jump-latest {
    color: #10202a;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-jump-latest[hidden] {
    display: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-footer {
    padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-connection-status {
    margin: 0 2px 6px;
    padding: 7px 10px;
    color: #8f321f;
    background: #fff1ed;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-connection-status.is-restored {
    color: #1f6b48;
    background: #e9f8f0;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-connection-status {
    color: #ffc0b4;
    background: #4a2924;
}

html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-connection-status.is-restored {
    color: #a9e7c7;
    background: #1d3e30;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-quick-replies,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-suggestions {
    display: flex !important;
    gap: 7px;
    margin: 0 0 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-quick-replies::-webkit-scrollbar,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-suggestions::-webkit-scrollbar {
    display: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-quick-replies button,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-suggestions button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 13px;
    scroll-snap-align: start;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-soft);
    border: 1px solid color-mix(in srgb, var(--bdv-mobile-primary) 35%, var(--bdv-mobile-line));
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 750;
    white-space: nowrap;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-composer {
    padding: 4px 5px 4px 13px !important;
    background: var(--bdv-mobile-canvas) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 22px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-input {
    min-height: 40px !important;
    max-height: 108px !important;
    padding: 9px 0 7px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-input:focus,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-input:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-send-btn {
    width: 44px !important;
    height: 44px !important;
    background: var(--bdv-mobile-primary-strong) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-send-btn img {
    width: 38px !important;
    height: 38px !important;
}

/* First contact */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-suggestions {
    margin: 0 0 12px !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-composer-meta {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    color: var(--bdv-mobile-muted);
    font-size: .75rem;
    line-height: 1.35;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-message-error {
    margin-top: 8px;
    font-size: .75rem;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-warning {
    margin: 15px 0 18px !important;
    padding: 10px 11px;
    color: var(--bdv-mobile-muted) !important;
    background: var(--bdv-mobile-soft);
    border-radius: 12px;
    font-size: .72rem !important;
    line-height: 1.4 !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-warning span {
    font-weight: 600;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .reply-submit-btn {
    min-height: 50px !important;
    height: auto !important;
    font-family: inherit !important;
    font-size: .88rem !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

/* Compact labels on very narrow phones */
@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .mark-read-label-mobile {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.index"] .mark-read-btn .fa {
        margin-right: 0 !important;
    }
}

@media (min-width: 600px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-home,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .explore-page-bg > .container,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .container.py-5.explore-page-bg,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > .py-5.min-vh-100 > .container,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > .container.py-4,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) main > div[style*="position:relative"] > .container.py-5 {
        max-width: 680px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) *,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) *::before,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Mobile theme selector */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-menu {
    grid-column: 1;
    justify-self: start;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-shortcut {
    width: 40px;
    height: 40px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--bdv-mobile-primary-strong);
    background: var(--bdv-mobile-soft);
    border: 1px solid var(--bdv-mobile-line);
    border-radius: 50%;
    cursor: pointer;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-shortcut :is(i, svg) {
    width: 18px;
    height: 18px;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-shortcut svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-shortcut svg path {
    fill: currentColor;
    stroke: none;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown {
    width: 190px;
    margin-top: 8px !important;
    padding: 7px !important;
    overflow: hidden;
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-surface) !important;
    border: 1px solid var(--bdv-mobile-line) !important;
    border-radius: 15px !important;
    box-shadow: 0 16px 38px rgba(24, 36, 49, .16) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item {
    position: relative;
    min-height: 44px;
    padding: 0 34px 0 11px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bdv-mobile-ink) !important;
    background: transparent !important;
    border: 0;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 750;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item i {
    width: 18px;
    color: var(--bdv-mobile-primary-strong);
    text-align: center;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item:hover,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item:active,
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item.active {
    color: var(--bdv-mobile-ink) !important;
    background: var(--bdv-mobile-soft) !important;
}

html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-theme-dropdown .dropdown-item.active::after {
    position: absolute;
    right: 12px;
    content: "\f00c";
    color: var(--bdv-mobile-primary-strong);
    font-family: "Font Awesome 6 Free";
    font-size: .72rem;
    font-weight: 900;
}

/* Theme access on immersive mobile screens */
@media (max-width: 991.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-immersive-toolbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-immersive-theme-row {
        margin: 4px 0 12px;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-immersive-toolbar,
        .bdv-mobile-immersive-theme-row
    ) .bdv-mobile-theme-menu--immersive {
        flex: 0 0 auto;
        margin-left: auto;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .chat-header > .d-flex.flex-shrink-0.ms-2 {
        gap: 2px !important;
        margin-left: 4px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="messages.show"] .bdv-mobile-theme-menu--chat {
        flex: 0 0 auto;
    }
}

/* Mobile-first ad publishing wizard */
@media (max-width: 991.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] {
        scroll-padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] > main {
        padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-mobile-create-utility {
        margin: 4px var(--bdv-mobile-gutter-end) 0 var(--bdv-mobile-gutter-start);
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-mobile-create-utility .bdv-mobile-create-back {
        min-width: 0;
        margin: 0;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-mobile-theme-menu--immersive {
        flex: 0 0 auto;
        margin-left: auto;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-page-header {
        padding-top: 8px !important;
        padding-bottom: 4px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-title {
        font-size: 1.55rem !important;
        line-height: 1.15 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-subtitle {
        max-width: 34rem;
        margin-top: 5px !important;
        font-size: .8rem !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] main > .container.py-4 {
        padding-top: 6px !important;
        padding-bottom: 18px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready .create-form-layout,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready .create-form-main {
        display: block !important;
        width: 100%;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready [data-mobile-create-step][hidden],
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready [data-mobile-create-mixed-section][hidden] {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-flow {
        margin: 4px 0 14px;
        padding: 17px;
        color: var(--bdv-mobile-ink);
        background: var(--bdv-mobile-surface);
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(24, 36, 49, .07);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-progress-copy {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: var(--bdv-mobile-primary-strong);
        font-size: .69rem;
        font-weight: 850;
        letter-spacing: .045em;
        text-transform: uppercase;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-progress {
        height: 6px;
        margin-top: 9px;
        overflow: hidden;
        background: var(--bdv-mobile-soft);
        border-radius: 999px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-progress > span {
        display: block;
        width: 25%;
        height: 100%;
        background: linear-gradient(90deg, var(--bdv-mobile-primary-strong), var(--bdv-mobile-primary));
        border-radius: inherit;
        transition: width .22s ease;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-step-heading {
        margin-top: 14px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-step-heading h2 {
        margin: 0;
        color: var(--bdv-mobile-ink);
        font-size: 1.14rem;
        font-weight: 850;
        letter-spacing: -.025em;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-step-heading p {
        margin: 5px 0 0;
        color: var(--bdv-mobile-muted);
        font-size: .76rem;
        line-height: 1.45;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-dots {
        margin-top: 13px;
        display: flex;
        gap: 6px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-dots span {
        width: 18px;
        height: 4px;
        background: var(--bdv-mobile-line);
        border-radius: 999px;
        transition: width .18s ease, background-color .18s ease;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-dots span.is-complete {
        background: color-mix(in srgb, var(--bdv-mobile-primary) 55%, var(--bdv-mobile-line));
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-dots span.is-active {
        width: 34px;
        background: var(--bdv-mobile-primary-strong);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-error {
        margin: 13px 0 0;
        padding: 10px 11px;
        color: #8f2929;
        background: #fff0f0;
        border-radius: 11px;
        font-size: .76rem;
        font-weight: 700;
        line-height: 1.4;
    }

    html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-error {
        color: #fecaca;
        background: rgba(127, 29, 29, .28);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-error.is-field-error {
        margin: 8px 0 0;
        border: 1px solid color-mix(in srgb, var(--bdv-mobile-danger) 34%, transparent);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.create-input, .create-select, .create-textarea):is(.is-invalid, [aria-invalid="true"]),
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-input-group:has(input:is(.is-invalid, [aria-invalid="true"])) {
        border-color: var(--bdv-mobile-danger) !important;
        background-color: color-mix(in srgb, var(--bdv-mobile-surface) 92%, var(--bdv-mobile-danger) 8%) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready :is(.create-form-section, .agency-section) {
        margin-bottom: 12px !important;
        padding: 17px !important;
        color: var(--bdv-mobile-ink) !important;
        background: var(--bdv-mobile-surface) !important;
        background-image: none !important;
        border: 1px solid var(--bdv-mobile-line) !important;
        border-radius: 18px !important;
        box-shadow: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready .create-cover-section {
        margin: 0 !important;
        padding: 2px 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready [data-mobile-create-step] > :last-child,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] form.is-mobile-create-ready [data-mobile-create-step] > .mb-4:last-child {
        margin-bottom: 0 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-optional {
        margin-left: 4px;
        color: var(--bdv-mobile-muted);
        font-size: .68rem;
        font-weight: 650;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.create-label, .create-section-title, .create-cover-title) {
        margin-bottom: 8px !important;
        font-size: .88rem !important;
        line-height: 1.35 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.create-input, .create-select, .create-textarea),
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-input-group input {
        font-size: 16px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.create-input, .create-select) {
        min-height: 56px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.create-input, .create-select, .create-textarea):focus,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-input-group:focus-within {
        border-color: color-mix(in srgb, var(--bdv-mobile-primary) 58%, var(--bdv-mobile-line)) !important;
        background-color: color-mix(in srgb, var(--bdv-mobile-canvas) 88%, var(--bdv-mobile-primary) 12%) !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .row.g-4 {
        --bs-gutter-y: 15px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-info-row {
        align-items: flex-start !important;
        font-size: .72rem !important;
        line-height: 1.4 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .destination-suggestions {
        max-height: min(44dvh, 360px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--bdv-mobile-surface) !important;
        border-color: var(--bdv-mobile-line) !important;
        border-radius: 14px !important;
        box-shadow: 0 18px 36px rgba(24, 36, 49, .16) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .destination-suggestion-item {
        min-height: 48px;
        color: var(--bdv-mobile-ink) !important;
        background: transparent !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .destination-suggestion-item:is(:hover, :focus, .is-active) {
        background: var(--bdv-mobile-soft) !important;
        outline: 0 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-prompts {
        margin: 0 0 10px;
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-prompts::-webkit-scrollbar {
        display: none;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-prompts button {
        flex: 0 0 auto;
        max-width: 220px;
        padding: 7px 10px;
        color: var(--bdv-mobile-primary-strong);
        background: var(--bdv-mobile-soft);
        border-radius: 999px;
        font-size: .68rem;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
        border: 0;
        appearance: none;
        -webkit-appearance: none;
        font-family: inherit;
        cursor: pointer;
        touch-action: manipulation;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-prompts button:active {
        transform: scale(.98);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-prompts button:disabled {
        opacity: .55;
        cursor: default;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #ad-content-input {
        min-height: 250px !important;
        max-height: 48dvh !important;
        line-height: 1.55 !important;
        resize: vertical;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-content-feedback {
        margin-top: 8px;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        color: var(--bdv-mobile-muted);
        font-size: .69rem;
        line-height: 1.3;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-content-feedback strong {
        color: var(--bdv-mobile-ink);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-content-feedback [data-content-guidance] {
        text-align: right;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-meter {
        height: 4px;
        margin-top: 7px;
        overflow: hidden;
        background: var(--bdv-mobile-line);
        border-radius: 999px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-meter span {
        --bdv-story-meter-start: #d95d5d;
        --bdv-story-meter-middle: #c88719;
        --bdv-story-meter-end: #23885a;
        --bdv-story-warm-progress: 0%;
        --bdv-story-green-progress: 0%;
        display: block;
        width: 0;
        height: 100%;
        background: var(--bdv-story-meter-start);
        background: color-mix(
            in srgb,
            color-mix(
                in srgb,
                var(--bdv-story-meter-start),
                var(--bdv-story-meter-middle) var(--bdv-story-warm-progress)
            ),
            var(--bdv-story-meter-end) var(--bdv-story-green-progress)
        );
        border-radius: inherit;
        transition: width .18s ease, background-color .18s ease;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-meter span.is-valid {
        --bdv-story-warm-progress: 100%;
        --bdv-story-green-progress: 100%;
        background: var(--bdv-story-meter-end);
    }

    html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-story-meter span {
        --bdv-story-meter-start: #ef6a6a;
        --bdv-story-meter-middle: #e3a93e;
        --bdv-story-meter-end: #45b978;
    }


    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .create-privacy-bar {
        margin-top: 12px !important;
        padding: 10px 11px !important;
        gap: 8px !important;
        border-radius: 11px !important;
        font-size: .7rem !important;
        line-height: 1.4 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-cover-preview {
        position: relative;
        width: 100%;
        margin-top: 12px;
        overflow: hidden;
        background: var(--bdv-mobile-canvas);
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 14px;
        aspect-ratio: 16 / 10;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-cover-preview img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-cover-preview button {
        position: absolute;
        right: 9px;
        bottom: 9px;
        min-height: 40px;
        padding: 0 13px;
        color: #fff;
        background: rgba(24, 36, 49, .88);
        border: 0;
        border-radius: 999px;
        font-size: .72rem;
        font-weight: 800;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review {
        margin-bottom: 12px;
        padding: 16px;
        color: var(--bdv-mobile-ink);
        background: var(--bdv-mobile-surface);
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 18px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-heading span {
        color: var(--bdv-mobile-primary-strong);
        font-size: .65rem;
        font-weight: 850;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-heading h3 {
        margin: 3px 0 0;
        color: var(--bdv-mobile-ink);
        font-size: 1rem;
        font-weight: 850;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-heading > i {
        color: var(--bdv-mobile-accent);
        font-size: 1.35rem;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-list {
        margin-top: 12px;
        display: grid;
        gap: 1px;
        overflow: hidden;
        background: var(--bdv-mobile-line);
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 12px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-list > div {
        min-height: 52px;
        padding: 9px 10px;
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
        background: var(--bdv-mobile-canvas);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-list i {
        color: var(--bdv-mobile-primary-strong);
        text-align: center;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-list span {
        min-width: 0;
        overflow: hidden;
        color: var(--bdv-mobile-ink);
        font-size: .72rem;
        font-weight: 700;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-review-list button {
        min-height: 36px;
        padding: 0 8px;
        color: var(--bdv-mobile-primary-strong);
        background: transparent;
        border: 0;
        border-radius: 8px;
        font-size: .68rem;
        font-weight: 850;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container.create-choice-section.is-form-integrated {
        margin-bottom: 0 !important;
        padding: 17px 15px !important;
        border-radius: 18px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-heading {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-heading-icon {
        width: 38px !important;
        height: 38px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-heading h2 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-heading p {
        font-size: .72rem !important;
        line-height: 1.4 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 11px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-card {
        padding: 16px 15px !important;
        border-radius: 15px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-card h3 {
        font-size: .98rem !important;
        line-height: 1.3 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-benefits {
        gap: 8px !important;
        margin-top: 12px !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-benefits li {
        gap: 9px !important;
        font-size: .74rem !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-benefits span {
        font-size: .68rem !important;
        line-height: 1.35 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plans {
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-grid {
        width: 100%;
        margin: 0;
        padding: 0;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        overflow: visible;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan {
        width: 100%;
        min-height: 0 !important;
        padding: 13px 12px !important;
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto 32px;
        grid-template-areas:
            "icon eyebrow price selector"
            "icon name duration selector"
            "icon summary summary selector"
            "details details details details";
        column-gap: 10px;
        row-gap: 2px;
        align-items: center;
        border-radius: 16px !important;
        text-align: left !important;
        transform: none !important;
        box-shadow: 0 7px 18px rgba(24, 36, 49, .08) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan.is-selected {
        box-shadow: 0 10px 24px rgba(24, 36, 49, .15) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-eyebrow {
        grid-area: eyebrow;
        min-height: 0;
        font-size: .61rem !important;
        line-height: 1.2;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan--top .create-choice-plan-eyebrow {
        justify-self: start;
        padding: 3px 7px;
        color: #fff !important;
        background: #075985;
        border-radius: 999px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-icon {
        grid-area: icon;
        width: 40px;
        height: 40px;
        margin: 0 !important;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: color-mix(in srgb, currentColor 12%, transparent);
        font-size: 1.05rem !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-name {
        grid-area: name;
        font-size: .96rem !important;
        line-height: 1.2;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-price {
        grid-area: price;
        margin: 0 !important;
        justify-self: end;
        font-size: 1rem !important;
        line-height: 1.1;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-duration {
        grid-area: duration;
        justify-self: end;
        font-size: .61rem !important;
        white-space: nowrap;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-summary {
        grid-area: summary;
        display: block;
        overflow: hidden;
        color: var(--bdv-mobile-muted);
        font-size: .65rem;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-button {
        grid-area: selector;
        width: 30px;
        min-height: 30px;
        margin: 0;
        padding: 0;
        border: 2px solid currentColor;
        border-radius: 50%;
        background: transparent !important;
        color: var(--bdv-mobile-muted) !important;
        font-size: 0;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-button::before {
        content: "";
        font-size: .86rem;
        font-weight: 900;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan.is-selected .create-choice-plan-button {
        border-color: var(--bdv-mobile-primary-strong);
        background: var(--bdv-mobile-primary-strong) !important;
        color: #fff !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan.is-selected .create-choice-plan-button::before {
        content: "✓";
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan--urgent.is-selected .create-choice-plan-button {
        border-color: #c92a2a;
        background: #c92a2a !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan--top.is-selected .create-choice-plan-button {
        border-color: #1c7ed6;
        background: #1c7ed6 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan--vetrina.is-selected .create-choice-plan-button {
        border-color: #fcc419;
        background: #fcc419 !important;
        color: #4a3500 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan > ul {
        grid-area: details;
        display: none !important;
        width: 100%;
        margin: 10px 0 0 !important;
        padding-top: 10px !important;
        border-top: 1px solid var(--bdv-mobile-line);
        text-align: left !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan.is-selected > ul {
        display: grid !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container [data-premium-offer][hidden] {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-mobile-divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 15px 0 10px;
        color: var(--bdv-mobile-muted);
        font-size: .65rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-mobile-divider::before,
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-mobile-divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: var(--bdv-mobile-line);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-standard {
        padding: 14px !important;
        border-radius: 16px !important;
        text-align: center;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-standard h3 {
        margin: 0 !important;
        font-size: .92rem !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-standard-subtitle {
        margin: 4px 0 0 !important;
        font-size: .67rem !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-standard .create-choice-benefits {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-standard-action {
        min-height: 42px;
        margin-top: 11px;
        padding: 0 14px;
        justify-content: center;
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 999px;
        font-size: .72rem;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-submit {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-actions {
        position: relative;
        z-index: 1;
        width: 100%;
        min-height: 0;
        margin: 18px 0 0;
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: minmax(96px, .7fr) minmax(0, 1.65fr);
        align-items: center;
        gap: 9px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-actions.is-first-step {
        grid-template-columns: 1fr;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.bdv-create-mobile-back, .bdv-create-mobile-next) {
        min-width: 0;
        min-height: 54px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 999px;
        font-size: .82rem;
        font-weight: 850;
        line-height: 1.2;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-back {
        color: var(--bdv-mobile-ink);
        background: var(--bdv-mobile-canvas);
        border: 1px solid var(--bdv-mobile-line);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-next {
        color: #fff;
        background: var(--bdv-mobile-primary-strong);
        border: 0;
        box-shadow: 0 9px 20px rgba(35, 111, 138, .22);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-next.is-paid {
        color: #182431;
        background: linear-gradient(135deg, #f0d56f, var(--bdv-mobile-accent));
        box-shadow: 0 9px 20px rgba(180, 137, 24, .22);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-next:disabled {
        color: var(--bdv-mobile-muted);
        background: var(--bdv-mobile-line);
        box-shadow: none;
        opacity: 1;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context[hidden],
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-note[hidden] {
        display: none !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context {
        margin: -3px -3px 15px;
        padding: 12px;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        color: var(--bdv-mobile-ink);
        background: color-mix(in srgb, var(--bdv-mobile-primary) 8%, var(--bdv-mobile-surface));
        border: 1px solid color-mix(in srgb, var(--bdv-mobile-primary) 28%, var(--bdv-mobile-line));
        border-radius: 14px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context[data-plan-type="vetrina"] {
        background:
            radial-gradient(circle at 100% 0, rgba(227, 190, 72, .20), transparent 48%),
            color-mix(in srgb, #fff7d6 56%, var(--bdv-mobile-surface));
        border-color: rgba(166, 121, 14, .34);
        box-shadow: inset 3px 0 0 #d6a91c;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__icon {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        color: var(--bdv-mobile-primary-strong);
        background: var(--bdv-mobile-surface);
        border: 1px solid var(--bdv-mobile-line);
        border-radius: 12px;
        font-size: .95rem;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context[data-plan-type="vetrina"] .bdv-create-mobile-plan-context__icon {
        color: #815e05;
        background: rgba(255, 255, 255, .72);
        border-color: rgba(166, 121, 14, .24);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 8px;
        align-items: baseline;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy strong {
        min-width: 0;
        font-size: .875rem;
        font-weight: 900;
        line-height: 1.25;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy > span {
        color: #72540b;
        font-size: .8125rem;
        font-weight: 850;
        line-height: 1.25;
        white-space: nowrap;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy small {
        grid-column: 1 / -1;
        color: var(--bdv-mobile-muted);
        font-size: .8125rem;
        font-weight: 650;
        line-height: 1.42;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-flow.has-plan-context .bdv-create-mobile-progress > span {
        background: linear-gradient(90deg, #c39416, #e3be48);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-note {
        grid-column: 1 / -1;
        margin: 0;
        color: var(--bdv-mobile-muted);
        font-size: .8125rem;
        font-weight: 650;
        line-height: 1.4;
        text-align: center;
    }

    html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context[data-plan-type="vetrina"] {
        color: #fff8dc;
        background:
            radial-gradient(circle at 100% 0, rgba(227, 190, 72, .17), transparent 48%),
            rgba(74, 58, 19, .34);
        border-color: rgba(227, 190, 72, .30);
        box-shadow: inset 3px 0 0 #e3be48;
    }

    html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context[data-plan-type="vetrina"] .bdv-create-mobile-plan-context__icon {
        color: #f0d56f;
        background: rgba(255, 255, 255, .07);
        border-color: rgba(227, 190, 72, .22);
    }

    html.bdv-mobile-app[data-bs-theme="dark"] body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy > span {
        color: #f0d56f;
    }
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-actions {
        grid-template-columns: 86px minmax(0, 1fr);
        padding-right: 10px;
        padding-left: 10px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(.bdv-create-mobile-back, .bdv-create-mobile-next) {
        padding-right: 11px;
        padding-left: 11px;
        font-size: .75rem;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-step-heading h2 {
        font-size: 1.05rem;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy {
        grid-template-columns: 1fr;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-plan-context__copy > span {
        white-space: normal;
    }
}

/* Inclusive mobile typography
 * Pinch-to-zoom remains available, but critical copy is readable without it.
 * The scale is intentionally targeted so desktop and established display titles stay untouched.
 */
html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) {
    --bdv-mobile-text-caption: .8125rem;
    --bdv-mobile-text-meta: .875rem;
    --bdv-mobile-text-secondary: .9375rem;
    --bdv-mobile-text-action: 1rem;
    --bdv-mobile-text-body: 1.125rem;
    --bdv-mobile-text-reading: 1.25rem;
}

@media (max-width: 991.98px) {
    /* 13px is reserved for badges, timestamps and short micro-labels. */
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-nav-item,
        .bdv-mobile-nav-badge,
        .bdv-mobile-eyebrow,
        .bdv-mobile-section-kicker,
        .bdv-mobile-trip-promo,
        .bdv-mobile-trip-agency,
        .bdv-mobile-trip-category,
        .bdv-mobile-trip-author-fallback,
        .bdv-mobile-app-footer__brand small,
        .bdv-mobile-app-footer__destinations-title small,
        .bdv-mobile-app-footer__bottom,
        .conv-new-badge,
        .conv-time,
        .message-time,
        .chat-date-separator span,
        .bdv-create-mobile-progress-copy,
        .bdv-create-optional,
        .bdv-create-story-prompts button,
        .bdv-create-mobile-review-heading span
    ) {
        font-size: var(--bdv-mobile-text-caption) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-nav-badge {
        min-width: 20px;
        height: 20px;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container :is(
        .create-choice-plan-eyebrow,
        .create-choice-plan-duration,
        .create-choice-mobile-divider
    ) {
        font-size: var(--bdv-mobile-text-caption) !important;
    }

    /* 15px for secondary copy that still carries useful or commercial information. */
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-account-dropdown .dropdown-item,
        .bdv-mobile-app-footer__tagline,
        .bdv-mobile-app-footer__destinations-title strong,
        .bdv-mobile-app-footer__destination-grid a,
        .bdv-mobile-app-footer__links a,
        .bdv-mobile-app-footer__links button,
        .pac-item,
        .bdv-mobile-category-chip,
        .bdv-mobile-section-heading > a,
        .bdv-mobile-trip-media-fallback,
        .bdv-mobile-trip-destination,
        .bdv-mobile-trip-facts > span,
        .bdv-mobile-trip-author,
        .inbox-subtitle,
        .mark-read-btn,
        .push-notification-card p,
        .push-notification-card__button,
        .conv-sub,
        .conv-preview,
        .chat-ad-context,
        #chat-load-previous,
        .chat-trip-confirmation-card__copy > span,
        .chat-trip-confirmation-card__action,
        .chat-trip-confirmation-card__snooze,
        .message-text--moderated,
        .chat-jump-latest,
        .chat-connection-status,
        .chat-quick-replies button,
        .reply-subtitle,
        .reply-ref-label,
        .reply-ref-loc,
        .reply-suggestions button,
        .reply-message-error,
        .reply-warning
    ) {
        font-size: var(--bdv-mobile-text-secondary) !important;
        line-height: 1.45;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .pac-item-query {
        font-size: var(--bdv-mobile-text-body) !important;
    }

    /* 18px for reading and writing; actions keep their dedicated 16px token. */
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-home-intro > p:last-child,
        .bdv-mobile-search input,
        .bdv-mobile-empty-state p,
        .bdv-mobile-empty-state a,
        .bdv-mobile-trip-heading h3,
        .push-notification-card h2,
        .conv-name,
        .chat-username,
        .chat-trip-confirmation-card__copy strong,
        .trip-confirmation-entry p,
        .message-text,
        .reply-submit-btn
    ) {
        font-size: var(--bdv-mobile-text-body) !important;
        line-height: 1.5;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(
        .create-subtitle,
        .bdv-create-mobile-step-heading p,
        .bdv-create-mobile-error,
        .create-info-row,
        .bdv-create-content-feedback,
        .create-privacy-bar,
        .bdv-create-cover-preview button,
        .bdv-create-mobile-review-list span,
        .bdv-create-mobile-review-list button
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
        line-height: 1.5 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container :is(
        .create-choice-heading p,
        .create-choice-benefits li,
        .create-choice-benefits span,
        .create-choice-plan-summary,
        .create-choice-plan > ul,
        .create-choice-standard-subtitle
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
        line-height: 1.45 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-summary {
        display: -webkit-box !important;
        overflow: hidden;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(
        .create-input,
        .create-select,
        .create-textarea,
        .create-input-group input
    ) {
        font-size: var(--bdv-mobile-text-body) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(
        .bdv-create-mobile-back,
        .bdv-create-mobile-next
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container :is(
        .create-choice-plan-name,
        .create-choice-plan-price,
        .create-choice-standard h3,
        .create-choice-standard-action
    ) {
        font-size: var(--bdv-mobile-text-body) !important;
    }

    /* Keep the compact app useful to people who need a genuinely larger default type size. */
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .explore-header-subtitle,
        .filter-subtitle,
        .mt-page-subtitle,
        .mt-tab,
        .mt-row-desc,
        .mt-row-meta,
        .mt-action-btn,
        .as-page-subtitle,
        .as-user-email,
        .as-field-help,
        .as-danger-copy,
        .as-tab-btn,
        .edit-page-shell > .mb-4:first-child a,
        .edit-kicker,
        .edit-hero-subtitle
    ) {
        font-size: var(--bdv-mobile-text-secondary) !important;
        line-height: 1.5 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .bdv-mobile-filter-toggle,
        .mt-create-btn,
        .as-save-btn,
        .edit-submit-btn
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) :is(
        .filter-title,
        .filter-card input,
        .filter-card select,
        .mt-row-title,
        .edit-page-shell .form-control,
        .edit-page-shell .form-select,
        .as-field-input,
        .as-select
    ) {
        font-size: var(--bdv-mobile-text-body) !important;
    }
}

@media (max-width: 359.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-facts {
        grid-template-columns: 1fr;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace) .bdv-mobile-trip-facts > span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan {
        grid-template-columns: 40px minmax(0, 1fr) 32px;
        grid-template-areas:
            "icon eyebrow selector"
            "icon name selector"
            "price price selector"
            "duration duration selector"
            "summary summary selector"
            "details details details";
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container .create-choice-plan-eyebrow {
        white-space: normal;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] #vis-plan-container :is(
        .create-choice-plan-price,
        .create-choice-plan-duration
    ) {
        justify-self: start;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-actions {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] .bdv-create-mobile-back span {
        display: none;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ad_create"] :is(
        .bdv-create-mobile-back,
        .bdv-create-mobile-next
    ) {
        padding-right: 12px;
        padding-left: 12px;
        font-size: var(--bdv-mobile-text-action) !important;
    }
}

/* Readable mobile travel detail
 * The detail page is a long-reading surface, so its story copy is intentionally
 * one step larger than compact navigation and metadata.
 */
@media (max-width: 991.98px) {
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .td-logbook-text {
        font-size: var(--bdv-mobile-text-reading) !important;
        line-height: 1.7 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] :is(
        .td-back-link,
        .related-trips-group-title
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
        line-height: 1.4;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] :is(
        .related-trips-subtitle,
        .td-organizer-bio-text
    ) {
        font-size: var(--bdv-mobile-text-body) !important;
        line-height: 1.6 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] :is(
        .td-meta-item,
        .td-tech-label,
        .td-org-label,
        .td-org-since,
        .td-safety-text
    ) {
        font-size: var(--bdv-mobile-text-action) !important;
        line-height: 1.5 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] :is(
        .related-trips-kicker,
        .td-organizer-bio-label
    ) {
        font-size: var(--bdv-mobile-text-secondary) !important;
        line-height: 1.4;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .related-trips-title {
        max-width: 100%;
        min-width: 0;
        font-size: 1.5rem !important;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    /* Finder's grid uses a negative vertical gutter on .row. The mobile card
     * reset removes the compensating column margin, so neutralize the row shift
     * and use an explicit row gap instead. */
    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .related-trips-group-title {
        width: fit-content;
        max-width: 100%;
        margin: 0 0 16px;
        display: flex;
        position: relative;
        z-index: 2;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .related-trips-group > .row {
        --fn-gutter-x: 0;
        --bs-gutter-x: 0;
        margin-top: 0 !important;
        row-gap: var(--fn-gutter-y, 1.5rem);
        position: relative;
        z-index: 1;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .related-trips-group > .row > * {
        margin-top: 0 !important;
    }

    html.bdv-mobile-app body.bdv-mobile-app-surface:not(.bdv-admin-workspace)[data-page-type="ads.show"] .related-trips-board .bdv-mobile-trip-heading h3 {
        font-size: var(--bdv-mobile-text-reading) !important;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
}
