.tbe-guided-card,
.tbe-guided-guides,
.tbe-guided-destination,
.tbe-guided-managed {
    --tbe-guided-navy: #07172f;
    --tbe-guided-text: #10213a;
    --tbe-guided-muted: #53657b;
    --tbe-guided-blue: #1768bd;
    --tbe-guided-green: #16844f;
    --tbe-guided-gold: #dba41e;
    box-sizing: border-box;
}

.tbe-guided-card *,
.tbe-guided-guides *,
.tbe-guided-destination *,
.tbe-guided-managed * { box-sizing: border-box; }

.tbe-guided-card .tbe-home-investigation-location > :not(.tbe-geo-card-confirm__panel):not(.tbe-guided-card__strip):not(.tbe-explore-card) {
    display: none !important;
}

.tbe-guided-card .tbe-home-investigation-location > .tbe-explore-card {
    display: block !important;
    max-width: none !important;
    margin: 0 0 .7rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.tbe-guided-card .tbe-home-investigation-location > .tbe-explore-card > .tbe-explore-actions,
.tbe-guided-card .tbe-home-investigation-location > .tbe-explore-card > .tbe-geo-status { display: none !important; }
.tbe-guided-card .tbe-geo-compact-copy .tbe-main-copy { display: none !important; }
.tbe-guided-card:not(.is-approximate) .tbe-geo-compact-copy .tbe-sub-copy { display: none !important; }
.tbe-guided-card .tbe-geo-compact-top { margin-bottom: 0 !important; }

.tbe-guided-card [data-tbe-guided-device] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-color: #78aee0 !important;
    background: #edf6ff !important;
    color: #114b84 !important;
}
.tbe-guided-card .tbe-home-investigation-options-panel:empty { display: none !important; }

.tbe-guided-card .tbe-geo-card-confirm__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem .75rem;
    align-items: center;
    background: #e7f4ff;
    border-color: #9fc8ec;
    color: var(--tbe-guided-text);
}

.tbe-guided-card .tbe-geo-card-confirm__location {
    color: var(--tbe-guided-text);
    font-weight: 900;
}

.tbe-guided-card .tbe-geo-card-confirm__prompt { display: none !important; }

.tbe-guided-card .tbe-geo-card-confirm__copy {
    grid-column: 1;
}

.tbe-guided-card .tbe-geo-card-confirm__helper {
    color: #33465f;
    font-weight: 650;
}

.tbe-guided-card .tbe-geo-card-confirm__buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-wrap: wrap;
    min-width: 132px;
}

.tbe-guided-card .tbe-geo-card-confirm__buttons button {
    flex: 1 1 auto;
}

.tbe-guided-card [data-tbe-guided-panel-device],
.tbe-guided-card [data-tbe-guided-strip-device],
.tbe-guided-card [data-tbe-action="use-location"] {
    border-color: #145f92 !important;
    background: #145f92 !important;
    color: #fff !important;
    opacity: 1 !important;
}
.tbe-guided-card [data-tbe-guided-panel-device]:hover,
.tbe-guided-card [data-tbe-guided-panel-device]:focus-visible,
.tbe-guided-card [data-tbe-guided-strip-device]:hover,
.tbe-guided-card [data-tbe-guided-strip-device]:focus-visible,
.tbe-guided-card [data-tbe-action="use-location"]:hover,
.tbe-guided-card [data-tbe-action="use-location"]:focus-visible {
    border-color: #0b4268 !important;
    background: #0b4268 !important;
    color: #fff !important;
}
.tbe-guided-card [data-tbe-guided-panel-device]:disabled,
.tbe-guided-card [data-tbe-guided-strip-device]:disabled,
.tbe-guided-card [data-tbe-action="use-location"]:disabled {
    border-color: #7c93a6 !important;
    background: #d8e4ec !important;
    color: #263b4c !important;
    cursor: progress;
    opacity: 1 !important;
}
.tbe-guided-card.is-geo-busy [data-tbe-guided-panel-device]:disabled,
.tbe-guided-card.is-geo-busy [data-tbe-guided-strip-device]:disabled,
.tbe-guided-card.is-geo-busy [data-tbe-action="use-location"]:disabled {
    border-color: #145f92 !important;
    background: #145f92 !important;
    color: #fff !important;
}

.tbe-guided-card.is-confirmed .tbe-geo-card-confirm__panel {
    background: #e9f8ed;
    border-color: #9cd4aa;
}

.tbe-guided-card.is-confirmed .tbe-geo-card-confirm__helper { display: none; }

.tbe-guided-card--home.is-compact:not(.is-changing-location) .tbe-geo-card-confirm__panel {
    display: none !important;
}

.tbe-guided-card .tbe-geo-card-confirm__guides-icon {
    background: #edf6ff !important;
    color: var(--tbe-guided-blue) !important;
}
.tbe-guided-card .tbe-geo-card-confirm__guides-icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.tbe-guided-card.is-awaiting-confirmation .tbe-home-investigation-action {
    filter: grayscale(.82);
    opacity: .48;
    transition: filter .16s ease, opacity .16s ease;
}

.tbe-guided-card.is-awaiting-confirmation .tbe-geo-card-confirm__panel {
    background: #fff1bd !important;
    border-color: #dda91e !important;
    box-shadow: 0 0 0 3px rgba(219, 164, 30, .18);
}

.tbe-guided-card.is-awaiting-confirmation .tbe-geo-card-confirm__helper {
    color: #624900;
    font-weight: 850;
}

.tbe-guided-card.is-guided-attention .tbe-geo-card-confirm__panel {
    animation: tbe-guided-confirm-attention .42s ease-out 1;
}

@keyframes tbe-guided-confirm-attention {
    0%, 100% { transform: translateX(0); }
    28% { transform: translateX(-3px); }
    58% { transform: translateX(3px); }
    82% { transform: translateX(-1px); }
}

.tbe-guided-card__strip {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: min(100%, 820px);
    margin: .45rem auto;
    padding: .55rem .75rem;
    border: 1px solid #b3cee8;
    border-radius: 12px;
    background: #eef6ff;
    color: var(--tbe-guided-text);
}

.tbe-guided-card__strip[hidden],
.tbe-guided-card__full[hidden] { display: none !important; }
.tbe-guided-card__strip-pin { color: var(--tbe-guided-green); }
.tbe-guided-card__strip strong { min-width: 0; margin-right: auto; }
.tbe-guided-card__strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-left: auto;
}
.tbe-guided-card__strip button {
    border: 1px solid #79ae86;
    border-radius: 999px;
    background: #fff;
    color: var(--tbe-guided-text);
    padding: .45rem .75rem;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}
.tbe-guided-card__strip .tbe-guided-card__strip-device {
    border-color: #78aee0;
    color: #114b84;
}

.tbe-guided-card.has-geo-feedback .tbe-guided-card__strip { flex-wrap: wrap; }
.tbe-guided-card__strip-status {
    order: 3;
    flex: 1 0 100%;
    margin: -.1rem 0 0 1.55rem;
    color: var(--tbe-guided-muted);
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.3;
}
.tbe-guided-card__strip-status[hidden] { display: none !important; }
.tbe-guided-card.is-geo-busy .tbe-guided-card__strip-device {
    cursor: progress;
    opacity: .72;
}

.tbe-guided-card--home .tbe-guided-card__strip {
    width: 100%;
    margin: .45rem 0 .65rem;
    border-color: rgba(159, 200, 236, .55);
    background: rgba(14, 43, 76, .82);
    color: #fff;
}
.tbe-guided-card--home .tbe-guided-card__strip-pin { color: #78c994; }
.tbe-guided-card--home .tbe-guided-card__strip-status { color: #dcecff; }
.tbe-guided-card--home .tbe-guided-card__strip button {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .96);
}

.tbe-guided-guides,
.tbe-guided-destination { width: min(100%, 920px); margin-inline: auto; }

.tbe-guided-destination__header {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    background: #fff;
    color: var(--tbe-guided-text);
}
.tbe-guided-destination__eyebrow {
    margin: 0 0 .2rem;
    color: #9a6b00;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tbe-guided-destination__header h1 { margin: 0 0 .85rem; color: var(--tbe-guided-navy); }

.tbe-guided-mode-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #b9c6d5;
    border-radius: 999px;
    background: #f7f9fc;
}
.tbe-guided-mode-nav__link {
    padding: .6rem .7rem;
    color: var(--tbe-guided-text) !important;
    font-weight: 850;
    text-align: center;
    text-decoration: none !important;
}
.tbe-guided-mode-nav__link + .tbe-guided-mode-nav__link { border-left: 1px solid #ccd5df; }
.tbe-guided-mode-nav__link.is-active { background: var(--tbe-guided-navy); color: #fff !important; }

.tbe-guided-intents { margin-top: 1rem; }
.tbe-guided-intents > strong { display: block; margin-bottom: .5rem; color: var(--tbe-guided-text); }
.tbe-guided-intents__links { display: flex; flex-wrap: wrap; gap: .45rem; }
.tbe-guided-intents__links a {
    padding: .42rem .65rem;
    border: 1px solid #d8b65a;
    border-radius: 999px;
    background: #fff9e8;
    color: var(--tbe-guided-text) !important;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none !important;
}

.tbe-guided-radial { margin: 1rem 0; text-align: center; }
.tbe-guided-radial--top { margin: .75rem 0 0; }
.tbe-guided-radial a {
    display: inline-flex;
    padding: .55rem .8rem;
    border: 1px solid #c7d1dc;
    border-radius: 999px;
    color: #25405f !important;
    font-weight: 800;
    text-decoration: none !important;
}

.tbe-guided-managed {
    --tbe-family-accent: var(--tbe-guided-gold);
    width: min(100%, 980px);
    margin-inline: auto;
}
.tbe-guided-managed--specials { --tbe-family-accent: #2ba34a; }
.tbe-guided-managed--events { --tbe-family-accent: #2479d8; }
.tbe-guided-managed.is-rerouting .tbe-guided-managed__content {
    opacity: .28;
    pointer-events: none;
}

.tbe-guided-location-transition-status,
.tbe-guided-location-humor-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 38px;
    margin: 0;
    padding: .5rem .75rem;
    border-top: 1px solid #b9d8ee;
    border-bottom: 1px solid #b9d8ee;
    background: #fff9e8;
    color: #16324a;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.3;
}

.tbe-guided-location-transition-status::before,
.tbe-guided-location-humor-status::before {
    content: '';
    flex: 0 0 auto;
    width: .62rem;
    height: .62rem;
    border-radius: 50%;
    background: #dba41e;
    box-shadow: 0 0 0 3px rgba(219, 164, 30, .16);
}

.tbe-guided-location-transition-locked {
    opacity: .42;
    pointer-events: none !important;
    user-select: none;
}
.tbe-guided-managed-header {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #1f3859;
    border-radius: 8px;
    background: #0a1c35;
    color: #f8fbff;
    box-shadow: 0 10px 24px rgba(7, 23, 47, .16);
}
.tbe-guided-managed-header__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    margin-bottom: .75rem;
}
.tbe-guided-managed-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid var(--tbe-family-accent);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: var(--tbe-family-accent);
}
.tbe-guided-managed-header__icon svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.tbe-guided-managed-header__eyebrow {
    margin: 0 0 .12rem;
    color: var(--tbe-family-accent);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}
.tbe-guided-managed-header__area {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
}
.tbe-guided-managed-header h1 {
    max-width: 720px;
    margin: .8rem 0 .35rem;
    color: var(--tbe-family-accent);
    font-size: 2rem;
    line-height: 1.08;
}
.tbe-guided-managed-header__description {
    max-width: 720px;
    margin: 0 0 .65rem;
    color: #e6edf7;
    font-size: 1rem;
    line-height: 1.48;
}
.tbe-guided-managed-header .tbe-guided-mode-nav {
    border-color: #40536e;
    background: #061327;
}
.tbe-guided-managed-header .tbe-guided-mode-nav__link {
    padding: .48rem .6rem;
    color: #fff !important;
}
.tbe-guided-managed-header .tbe-guided-mode-nav__link + .tbe-guided-mode-nav__link { border-left-color: #40536e; }
.tbe-guided-managed-header .tbe-guided-mode-nav__link.is-active {
    background: var(--tbe-family-accent);
    color: #06162b !important;
}
.tbe-guided-managed-header .tbe-guided-intents { margin-top: .7rem; }
.tbe-guided-managed-header .tbe-guided-intents > strong { color: #f8fbff; font-size: .86rem; }
.tbe-guided-managed-header .tbe-guided-intents__links { gap: .35rem; }
.tbe-guided-managed-header .tbe-guided-intents__links a {
    border-color: var(--tbe-family-accent);
    background: #07172f;
    color: #f7fbff !important;
    font-size: .76rem;
}
.tbe-guided-managed-header .tbe-guided-intents__links a.is-active {
    background: var(--tbe-family-accent);
    color: #06162b !important;
}
.tbe-guided-managed-header .tbe-guided-radial { margin: .75rem 0 0; text-align: left; }
.tbe-guided-managed-header .tbe-guided-radial a {
    width: 100%;
    justify-content: center;
    border-color: var(--tbe-family-accent);
    color: var(--tbe-family-accent) !important;
}
.tbe-guided-managed__content .tbe-local-hero,
.tbe-guided-managed__content .tbe-local-destination__hero { display: none !important; }
.tbe-guided-managed__content > .tbe-local-destination,
.tbe-guided-managed__content > .tbe-specials-destination { margin-top: 0; }
.tbe-guided-managed > .tbe-guided-radial--bottom { margin: 1.25rem 0; }
.tbe-guided-managed > .tbe-guided-radial--bottom a {
    border-color: var(--tbe-family-accent);
    color: #25405f !important;
}

.tbe-guided-fallback-transition,
.tbe-guided-fallback-card {
    width: min(100%, 820px);
    margin: .75rem auto;
    border: 1px solid #d6b04b;
    border-radius: 8px;
    background: #fffdf6;
    color: #16324a;
    box-shadow: inset 4px 0 0 #dba41e;
}
.tbe-guided-fallback-transition {
    display: grid;
    gap: .2rem;
    padding: .75rem .9rem;
}
.tbe-guided-fallback-notice {
    display: grid;
    gap: .25rem;
    padding: .8rem .95rem;
}
.tbe-guided-fallback-notice strong { color: #132c46; font-size: 1rem; font-weight: 850; }
.tbe-guided-fallback-notice span { color: #40546a; font-size: .92rem; }
.tbe-guided-managed.is-fallback-routing > :not(.tbe-guided-fallback-transition) { display: none !important; }

.tbe-guided-nearby-pages {
    margin: 0;
    padding: .65rem .95rem .75rem;
    border: 0;
    border-top: 1px solid #d9e2ea;
    border-radius: 0 0 8px 8px;
    background: #eef8ff;
    color: #16324a;
}
.tbe-guided-nearby-pages > strong { display: block; margin-bottom: .45rem; font-size: .9rem; }
.tbe-guided-nearby-pages__links { display: flex; flex-wrap: wrap; gap: .45rem; }
.tbe-guided-nearby-pages__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .38rem .7rem;
    border: 1px solid #6fa7d1;
    border-radius: 999px;
    background: #fff;
    color: #174f7c !important;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
}

/* Internal search/destination surfaces use the real Geo Explore minimal controls. */
body.tbe-guided-location-internal .tbe-home-investigation-card {
    display: none !important;
}

.tbe-guided-compact-location {
    width: 100%;
    margin: 0 0 .75rem;
    border: 1px solid #b9d8ee;
    border-radius: 8px;
    background: #eef8ff;
    color: #16324a;
    box-shadow: none;
}

.tbe-guided-compact-location[hidden] {
    display: none !important;
}

.tbe-guided-compact-location__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    min-height: 48px;
    padding: .55rem .75rem;
}

.tbe-guided-compact-location__summary[hidden] {
    display: none !important;
}

.tbe-guided-compact-location__empty-copy {
    margin: 0;
    padding: .7rem .75rem;
    color: #16324a;
    font-weight: 800;
    line-height: 1.35;
}

.tbe-guided-compact-location--empty .tbe-guided-compact-location__chooser {
    border-top: 1px solid #b9d8ee;
}

.tbe-guided-compact-location__copy {
    min-width: 0;
    color: #40546a;
    line-height: 1.3;
}

.tbe-guided-compact-location__copy strong {
    color: #132c46;
    font-weight: 800;
}

.tbe-guided-compact-location__radius {
    white-space: nowrap;
}

.tbe-guided-compact-location__change {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .38rem .78rem;
    border: 1px solid #2c6fa8;
    border-radius: 999px;
    background: #f7fbff;
    color: #164f7a;
    font: inherit;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
}

.tbe-guided-compact-location__change:hover,
.tbe-guided-compact-location__change:focus-visible {
    border-color: #145f92;
    background: #dceeff;
    color: #0b2947;
}

.tbe-guided-compact-location__change:focus-visible {
    outline: 2px solid #1768bd;
    outline-offset: 2px;
}

.tbe-guided-compact-location__chooser {
    margin: 0;
    padding: .7rem;
    border: 0;
    border-top: 1px solid #b9d8ee;
    border-radius: 0 0 8px 8px;
    background: #fff;
    color: #16324a;
}

.tbe-guided-compact-location__chooser[hidden],
.tbe-guided-compact-location__chooser:not([data-tbe-guided-chooser-ready="1"]) {
    display: none !important;
}

.tbe-guided-compact-location__chooser > .tbe-explore-card-minimal {
    display: flex !important;
    flex-direction: column;
    gap: .55rem;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #16324a !important;
    box-shadow: none !important;
}

.tbe-guided-compact-location__chooser > .tbe-explore-card-minimal > :where(h2, .tbe-main-copy, .tbe-sub-copy) {
    display: none !important;
}

.tbe-guided-compact-location__chooser .tbe-explore-actions {
    display: contents !important;
}

.tbe-guided-compact-location__chooser [data-tbe-action="use-location"] { order: 1; }
.tbe-guided-compact-location__chooser [data-tbe-action="enter-different-address"] { order: 2; }
.tbe-guided-compact-location__chooser [data-tbe-geo-manual-panel] { order: 3; }
.tbe-guided-compact-location__chooser [data-tbe-action-link="saved-locations"] { order: 4; }
.tbe-guided-compact-location__chooser .tbe-geo-status { order: 5; }

.tbe-guided-compact-location__chooser :where(
    [data-tbe-action="use-location"],
    [data-tbe-action="enter-different-address"],
    [data-tbe-action="use-entered-address"],
    [data-tbe-action-link="saved-locations"]
) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: .62rem .8rem !important;
    border: 1px solid #2c6fa8 !important;
    border-radius: 7px !important;
    background: #f7fbff !important;
    color: #102f50 !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    opacity: 1 !important;
}

.tbe-guided-compact-location__chooser :where(
    [data-tbe-action="use-location"],
    [data-tbe-action="enter-different-address"],
    [data-tbe-action="use-entered-address"],
    [data-tbe-action-link="saved-locations"]
):where(:hover, :focus-visible) {
    border-color: #145f92 !important;
    background: #dceeff !important;
    color: #0b2947 !important;
}

.tbe-guided-compact-location__chooser :where(
    [data-tbe-action="use-location"],
    [data-tbe-action="use-entered-address"]
):disabled {
    border-color: #6e879d !important;
    background: #d9e4ec !important;
    color: #243d54 !important;
    opacity: 1 !important;
}

.tbe-guided-compact-location__chooser [data-tbe-action="use-location"].is-tbe-geo-loading[aria-busy="true"] {
    border-color: #1768bd !important;
    background: #dcecff !important;
    color: #102f50 !important;
    opacity: 1 !important;
}

.tbe-guided-compact-location__chooser [data-tbe-geo-manual-panel][hidden] {
    display: none !important;
}

.tbe-guided-compact-location__chooser [data-tbe-geo-manual-panel]:not([hidden]) {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

.tbe-guided-compact-location__chooser .tbe-geo-manual-controls {
    display: grid !important;
    gap: .5rem;
}

.tbe-guided-compact-location__chooser .tbe-geo-manual-input {
    width: 100%;
    min-height: 44px;
    color: #132c46 !important;
}

@media (max-width: 480px) {
    .tbe-guided-compact-location__summary {
        align-items: flex-start;
        padding: .55rem .65rem;
    }
}

body.tbe-guided-radial-fallback .tbe-home-investigation-card {
    margin-block: .75rem !important;
    padding: .7rem !important;
    border-color: #9fc8ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #16324a !important;
    box-shadow: none !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-card > .tbe-home-investigation-actions,
body.tbe-guided-radial-fallback .tbe-home-investigation-location .tbe-explore-kicker,
body.tbe-guided-radial-fallback .tbe-home-investigation-location .tbe-geo-clock-slot,
body.tbe-guided-radial-fallback .tbe-home-investigation-location h2 {
    display: none !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-location > .tbe-explore-card {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-location :where(.tbe-main-copy, .tbe-sub-copy, .tbe-geo-context-label) {
    color: #16324a !important;
}

body.tbe-guided-radial-fallback.tbe-guided-has-radial-location-row
    .tbe-guided-radial-location-shell:not(.is-changing-location):not(.tbe-guided-compact-chooser-open) {
    display: none !important;
}

/* The server-side fallback class prevents a full-card flash before JS marks the shell. */
body.tbe-guided-radial-fallback .tbe-home-investigation-card:not(.tbe-guided-compact-chooser-open) {
    display: none !important;
}

body.tbe-guided-radial-fallback [data-tbe-guided-card].is-changing-location .tbe-home-investigation-card {
    display: block !important;
}

body.tbe-guided-location-internal [data-tbe-ss-location-row] {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}

body.tbe-guided-location-internal [data-tbe-ss-location-row] > span {
    min-width: 0;
    flex: 1 1 13rem;
}

body.tbe-guided-location-internal [data-tbe-ss-location-row] > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .38rem .78rem !important;
    border: 1px solid #2c6fa8 !important;
    border-radius: 999px !important;
    background: #f7fbff !important;
    color: #164f7a !important;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    white-space: nowrap;
}

body.tbe-guided-location-internal [data-tbe-ss-location-row] > a:hover,
body.tbe-guided-location-internal [data-tbe-ss-location-row] > a:focus-visible {
    border-color: #145f92 !important;
    background: #dceeff !important;
    color: #0b2947 !important;
}

body.tbe-guided-location-internal [data-tbe-ss-location-row] > a:focus-visible {
    outline: 2px solid #1768bd;
    outline-offset: 2px;
}

.tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-options-panel:not([hidden]):not([data-tbe-guided-chooser-ready="1"]),
body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel:not([hidden]):not([data-tbe-guided-chooser-ready="1"]) {
    display: none !important;
}

.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-location-toggle {
    --tbe-home-investigation-text: #102f50;
}

body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open > :not(.tbe-home-investigation-options-panel) {
    display: none !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel {
    display: block;
    margin: 0 !important;
    padding: .65rem !important;
    border: 1px solid #b9d8ee !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #16324a !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel[hidden] {
    display: none !important;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open [data-tbe-guided-radial-device] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0 0 .55rem;
    white-space: normal;
}
body.tbe-guided-radial-fallback .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel .tbe-btn {
    min-height: 44px;
}

/* Light location surfaces must not inherit white-on-pale theme button states. */
.tbe-guided-card--downstream.is-compact-location-options :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
),
.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle,
    [data-tbe-action="enter-different-address"],
    [data-tbe-action="use-entered-address"],
    [data-tbe-action-link="saved-locations"]
),
body.tbe-guided-radial-fallback .tbe-guided-radial-location-shell :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
) {
    border: 1px solid #2c6fa8 !important;
    background: #f7fbff !important;
    color: #102f50 !important;
    opacity: 1 !important;
}
.tbe-guided-card--downstream.is-compact-location-options :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
):where(:hover, :focus-visible),
.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle,
    [data-tbe-action="enter-different-address"],
    [data-tbe-action="use-entered-address"],
    [data-tbe-action-link="saved-locations"]
):where(:hover, :focus-visible),
body.tbe-guided-radial-fallback .tbe-guided-radial-location-shell :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
):where(:hover, :focus-visible) {
    border-color: #145f92 !important;
    background: #dceeff !important;
    color: #0b2947 !important;
    outline: 2px solid #74a9d4;
    outline-offset: 2px;
}
.tbe-guided-card--downstream.is-compact-location-options :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
):disabled,
.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle,
    [data-tbe-action="enter-different-address"],
    [data-tbe-action="use-entered-address"]
):disabled,
body.tbe-guided-radial-fallback .tbe-guided-radial-location-shell :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"],
    [data-tbe-home-location-options],
    .tbe-home-investigation-location-toggle
):disabled {
    border-color: #6e879d !important;
    background: #d9e4ec !important;
    color: #243d54 !important;
    opacity: 1 !important;
}
.tbe-guided-card--downstream.is-compact-location-options :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
).is-tbe-geo-loading[aria-busy="true"],
.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
).is-tbe-geo-loading[aria-busy="true"],
body.tbe-guided-radial-fallback .tbe-guided-radial-location-shell :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
).is-tbe-geo-loading[aria-busy="true"] {
    border-color: #1768bd !important;
    background: #dcecff !important;
    color: #102f50 !important;
    opacity: 1 !important;
}
.tbe-guided-card--downstream.is-compact-location-options.is-geo-busy :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
):disabled,
.tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
).is-tbe-geo-loading[aria-busy="true"]:disabled,
body.tbe-guided-radial-fallback .tbe-guided-card.is-geo-busy :where(
    [data-tbe-guided-panel-device],
    [data-tbe-guided-strip-device],
    [data-tbe-action="use-location"]
):disabled {
    border-color: #1768bd !important;
    background: #dcecff !important;
    color: #102f50 !important;
    opacity: 1 !important;
}

.tbe-home-investigation-options-panel [data-tbe-geo-manual-panel]:not([hidden]) {
    display: block !important;
}

.tbe-guided-notice { padding: .75rem; border: 1px solid #dba41e; background: #fff9df; color: #3f3000; }

@media (max-width: 560px) {
    .tbe-guided-card .tbe-geo-card-confirm__panel { grid-template-columns: 1fr; }
    .tbe-guided-card .tbe-geo-card-confirm__copy,
    .tbe-guided-card .tbe-geo-card-confirm__buttons {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
    .tbe-guided-card__strip { align-items: center; flex-wrap: wrap; }
    .tbe-guided-card__strip strong { flex: 1 1 calc(100% - 2rem); }
    .tbe-guided-card__strip-actions { width: 100%; margin-left: 0; }
    .tbe-guided-card__strip button { flex: 1 1 0; width: auto; margin-left: 0; white-space: nowrap; }
    .tbe-guided-destination__header { padding: .75rem; }
    .tbe-guided-mode-nav__link { padding: .55rem .35rem; font-size: .86rem; }
    .tbe-guided-managed-header { padding: .75rem; }
    .tbe-guided-managed-header__top { gap: .55rem; }
    .tbe-guided-managed-header__icon { width: 2.55rem; height: 2.55rem; }
    .tbe-guided-managed-header__area { font-size: 1.15rem; }
    .tbe-guided-managed-header h1 { font-size: 1.6rem; }
}

@media (max-width: 900px) {
    .tbe-guided-managed--specials .tbe-guided-managed-header__description,
    .tbe-guided-managed--events .tbe-guided-managed-header__description {
        display: none;
    }
}

@media (max-width: 782px) {
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open > .tbe-home-investigation-actions,
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-geo-clock-slot,
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-explore-kicker {
        display: none !important;
    }
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel {
        display: block;
        margin-top: .55rem !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm {
        display: flex;
        flex-direction: column;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__panel { order: 1; }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__core { order: 2; }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__guides { order: 3; }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-guided-card__full {
        margin: .55rem 0 0;
        padding: .65rem;
        border: 1px solid #9fc8ec;
        border-radius: 8px;
        background: #eef8ff;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__core > .tbe-home-investigation-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__core > .tbe-home-investigation-card > :not(.tbe-home-investigation-options-panel) {
        display: none !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__panel {
        display: block !important;
        margin: 0 0 .55rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__copy,
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__accept,
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__choose,
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__guides,
    .tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-location-toggle {
        display: none !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-geo-card-confirm__buttons {
        display: block;
        min-width: 0;
    }
    .tbe-guided-card--downstream.is-compact-location-options [data-tbe-guided-panel-device] {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        white-space: normal;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-options-panel {
        display: block;
        margin: 0 !important;
        padding: .65rem !important;
        border-color: #b9d8ee !important;
        background: #fff !important;
        color: #16324a !important;
    }
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel {
        display: block;
        margin: .55rem 0 0 !important;
        padding: .65rem !important;
        border: 1px solid #b9d8ee !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #16324a !important;
    }
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel[hidden],
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel:not([data-tbe-guided-chooser-ready="1"]) {
        display: none !important;
    }
    .tbe-home-investigation-card.tbe-guided-radial-location-shell.tbe-guided-compact-chooser-open .tbe-home-investigation-options-panel :where(label, .tbe-geo-status) {
        color: #16324a !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-options-panel[hidden] {
        display: none !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-options-panel :where(label, .tbe-geo-status) {
        color: #16324a !important;
    }
    .tbe-guided-card--downstream.is-compact-location-options [data-tbe-geo-manual-panel]:not([hidden]) {
        display: block !important;
        margin-top: .55rem;
    }
    .tbe-guided-card--downstream.is-compact-location-options .tbe-home-investigation-options-panel .tbe-btn {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tbe-guided-card.is-awaiting-confirmation .tbe-home-investigation-action { transition: none; }
    .tbe-guided-card.is-guided-attention .tbe-geo-card-confirm__panel { animation: none; }
}
