@import"https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Raleway:wght@400;500;600;700&display=swap";

.chat-assistant-text h1,
.chat-assistant-text h2,
.chat-assistant-text h3 { font-family: var(--font-stack); line-height: 1.2; margin: 1.1rem 0 .5rem; }
.chat-assistant-text h1 { font-size: 1.5rem; }
.chat-assistant-text h2 { font-size: 1.3rem; }
.chat-assistant-text h3 { font-size: 1.12rem; }
.chat-assistant-text p { margin: .6rem 0; }
.chat-assistant-text ul,
.chat-assistant-text ol { margin: .5rem 0 .8rem; padding-left: 1.4rem; }
.chat-assistant-text li { margin: .25rem 0; }
.chat-assistant-text strong { font-weight: 700; }
.chat-assistant-text code { background: rgba(17,17,17,.06); padding: .1rem .35rem; border-radius: .35rem; font-size: .9em; }
.chat-assistant-text pre { background: rgba(17,17,17,.06); padding: .8rem 1rem; border-radius: .6rem; overflow: auto; }
.chat-assistant-text pre code { background: none; padding: 0; }

:root {
    --signal-color: #E6005C;
    --primary-color: #333333;
    --black: #111111;
    --white: #ffffff;
    --neutral-light: #F7F7F7;
    --neutral-medium: #404040;
    --neutral-dark: #333333;
    --font-stack: Jost, Segoe UI, Arial, sans-serif;
    --text-font-stack: Raleway, Segoe UI, Arial, sans-serif
}

*, *::before, *::after {
    box-sizing: border-box
}

html, body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--text-font-stack);
    background: var(--neutral-light);
    color: var(--black);
    font-size: 1.1em;
    -webkit-font-smoothing: antialiased;
    font-weight: 450
}

a {
    color: inherit
}

button, input, textarea {
    font: inherit
}

:focus-visible {
    outline: 3px solid var(--signal-color);
    outline-offset: 2px
}

.assistant-app {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden
}

.app-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    transition: transform .28s ease, opacity .28s ease;
    will-change: transform
}

.app-topbar--hidden {
    transform: translateY(-110%);
    opacity: .98;
    pointer-events: none
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto
}

.brand-mark__image {
    display: block;
    max-height: 40px;
    width: auto
}

.top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem
}

.top-actions__button {
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0);
    color: var(--black);
    padding: .45rem .65rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
    transition: background-color .2s ease
}

.top-actions__button:hover {
    background: rgba(17, 17, 17, .08)
}

#topMapLink {
    display: none
}

.assistant-app--chat #topMapLink {
    display: inline-flex
}

.hero-section {
    position: relative;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    isolation: isolate;
    background-color: var(--signal-color);
    background-image: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), url("../../imgfiles/bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white)
}

.hero-content {
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column
}

.stage-switch {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden
}

.stage-view {
    position: absolute;
    inset: 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    pointer-events: none;
    transition: opacity .55s ease, transform .55s ease
}

.stage-view::-webkit-scrollbar {
    display: none
}

.stage-view.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto
}

.splash-view {
    display: flex;
    align-items: center;
    justify-content: center
}

.chat-view {
    padding: clamp(.25rem, 1vw, .8rem) 0 clamp(.9rem, 2vw, 1.5rem)
}

.hero-main {
    width: min(100%, 980px);
    margin-top: 0
}

.hero-title {
    margin: 0;
    font-family: var(--font-stack);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.08;
    font-size: clamp(1.8rem, 5vw, 3.65rem)
}

.hero-divider {
    width: 100%;
    height: 1px;
    margin: clamp(1.25rem, 3vw, 2.15rem) auto clamp(1rem, 2.5vw, 1.8rem);
    background: hsla(0, 0%, 100%, .38)
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem
}

.quick-action {
    border: 0;
    border-radius: 30px;
    padding: .9rem 1.65rem;
    min-height: 52px;
    min-width: min(100%, 290px);
    background: hsla(0, 0%, 100%, .2);
    color: var(--white);
    font-family: var(--text-font-stack);
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    font-size: .9em;
    transition: background-color .2s ease, transform .2s ease
}

.quick-action:hover {
    background: hsla(0, 0%, 100%, .4);
    transform: translateY(-1px)
}

.assistant-app--chat .hero-section {
    background-color: var(--neutral-light);
    background-image: none;
    color: var(--black)
}

.chat-layout {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.15rem;
    margin-top: 80px !important;
    transition: grid-template-columns .28s ease
}

.chat-layout--map-active {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-bottom: 120px
}

.chat-results {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    margin-bottom: 120px
}

.chat-layout--map-active .chat-results {
    max-width: none;
    margin: 0
}

.chat-user-bubble {
    width: fit-content;
    max-width: min(95%, 420px);
    margin: 0 0 1.1rem auto;
    margin-bottom: 1.5rem;
    padding: .85rem 1rem;
    border-radius: .8rem;
    background: rgba(230, 0, 92, .12);
    color: var(--signal-color);
    font-weight: 600;
    font-size: 1.03rem
}

.chat-user-bubble--secondary {
    margin-top: 1rem
}

.chat-assistant-text {
    font-size: 1.12rem;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 1.5rem
}

.chat-assistant-text a {
    color: var(--signal-color);
    text-decoration: underline
}

.chat-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.5rem
}

.chat-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, .2);
    padding: .3rem .9rem;
    background: var(--white);
    color: var(--primary-color);
    font-size: .88rem
}

.result-card {
    border-radius: 1.05rem;
    background: var(--white);
    border: 1px solid rgba(17, 17, 17, .08);
    box-shadow: 0 8px 24px rgba(17, 17, 17, .08);
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem
}

.result-card__image {
    width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: .55rem
}

.result-card__content {
    min-width: 0
}

.result-card__title {
    margin: 0 0 .35rem;
    font-family: var(--text-font-stack);
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--neutral-dark)
}

.result-card__meta {
    margin: .2rem 0;
    color: var(--neutral-medium);
    font-size: .9em;
    line-height: 130%
}

.result-card__footer {
    margin-top: .7rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(17, 17, 17, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem
}

.result-card__left-actions {
    display: inline-flex;
    align-items: center;
    gap: .35rem
}

.result-card__icon {
    border: 0;
    background: rgba(0, 0, 0, 0);
    color: var(--signal-color);
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.result-card__icon[aria-pressed=true] {
    background: rgba(230, 0, 92, .15)
}

.result-card__link {
    color: var(--signal-color);
    text-decoration: none;
    font-weight: 600;
    font-size: .9em
}

.result-card__link:hover, .result-card__link:focus-visible {
    text-decoration: underline
}

.chat-map {
    border-radius: 1rem;
    border: 1px solid var(--neutral-medium);
    background: var(--neutral-medium);
    position: relative;
    min-height: 640px;
    overflow: hidden;
    height: calc(100vh - 245px);
    opacity: 0;
    transform: translateY(0.75rem);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
    will-change: opacity, transform;
    position: sticky;
    top: 0
}

.chat-map--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.chat-map--closing {
    opacity: 0;
    transform: translateY(0.75rem);
    pointer-events: none
}

.chat-map[hidden] {
    display: none !important
}

@media(prefers-reduced-motion: reduce) {
    .chat-layout, .chat-map {
        transition: none
    }
}

.chat-map__canvas {
    position: absolute;
    inset: 0
}

.chat-map__close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 2;
    border: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--neutral-medium);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.composer-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 130px;
    padding: clamp(.8rem, 2vw, 1.4rem) 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1020;
    isolation: isolate
}

.composer-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--signal-color);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1
}

.assistant-app--chat .composer-backdrop::before {
    opacity: 1
}

.composer-area {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 0;
    width: min(100vw - 2rem, 760px);
    pointer-events: auto
}

.composer-form {
    width: 100%;
    margin-inline: auto;
    background: var(--white);
    border-radius: 1.8rem;
    padding: .42rem .42rem .42rem 1.25rem;
    display: flex;
    align-items: flex-end;
    gap: .55rem;
    box-shadow: 0 11px 28px rgba(17, 17, 17, .15)
}

.composer-input {
    border: 0;
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3rem;
    max-height: 10.5rem;
    resize: none;
    overflow-y: hidden;
    line-height: 1.2;
    padding: .82rem 0;
    color: var(--black);
    background: rgba(0, 0, 0, 0);
    font-size: 1.15rem
}

.composer-input::placeholder {
    color: var(--neutral-dark);
    opacity: .9
}

.composer-input:focus {
    outline: 0
}

.composer-icon {
    border: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    color: var(--white);
    font-size: 1.2rem;
    flex: 0 0 auto
}

.composer-icon--action {
    background: var(--signal-color)
}

.composer-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.composer-action__icon--send {
    display: none
}

.composer-form--has-text .composer-action__icon--mic {
    display: none
}

.composer-form--has-text .composer-action__icon--send {
    display: inline-flex
}

.composer-icon:hover {
    filter: brightness(0.95)
}

.composer-icon:disabled {
    opacity: .6;
    cursor: not-allowed
}

.meta-links {
    margin: .5rem 0;
    padding: 0
}

.meta-links .list-inline-item {
    margin: .2rem .6rem
}

.meta-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: .74rem
}

.meta-links a:hover, .meta-links a:focus-visible {
    text-decoration: underline
}

@media(max-width: 992px) {
    .chat-layout--map-active {
        margin-bottom: 0
    }

    .chat-results {
        max-width: 100%
    }

    .chat-layout--map-active {
        grid-template-columns: minmax(0, 1fr)
    }

    .chat-map {
        min-height: 320px;
        margin-bottom: 140px
    }
}

@media(max-width: 768px) {
    .app-topbar {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: .5rem;
        padding: .75rem .75rem
    }

    .brand-mark__image {
        max-height: 40px
    }

    .top-actions {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: .2rem
    }

    .top-actions__button {
        font-size: .84rem;
        padding: .32rem .4rem;
        gap: .25rem;
        white-space: nowrap
    }

    .quick-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        max-width: 540px;
        max-height: min(48vh, 16rem);
        margin-inline: auto;
        padding: .8rem .15rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-padding-block: .8rem;
        touch-action: pan-y;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%)
    }

    .quick-actions::-webkit-scrollbar {
        display: none
    }

    .quick-action {
        font-size: .8em
    }

    .chat-view {
        padding-top: .15rem
    }

    .chat-user-bubble {
        font-size: .92rem;
        padding: .7rem .8rem;
        max-width: 88%
    }

    .chat-assistant-text {
        font-size: .98rem
    }

    .result-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: .8rem;
        padding: .9rem
    }

    .result-card__image {
        height: 90px
    }

    .result-card__title {
        font-size: 1.25rem
    }

    .result-card__footer {
        flex-wrap: wrap
    }

    .hero-title {
        font-size: clamp(1.52rem, 7.7vw, 2.2rem)
    }

    .composer-input {
        font-size: 1rem
    }

    .meta-links a {
        font-size: 11px
    }

    .composer-backdrop::before {
        border-top-left-radius: 43px;
        border-top-right-radius: 43px
    }
}