@import '_content/Rebel.Shared.UI/Rebel.Shared.UI.kyghsnfufi.bundle.scp.css';

/* /Components/Layout/ConversationLayout.razor.rz.scp.css */
.conversation-layout[b-z6c6cna28q] {
    min-height: 100dvh;
}

.conversation-layout__main[b-z6c6cna28q] {
    min-height: calc(100dvh - var(--app-header-height-desktop));
}

.conversation-layout[b-z6c6cna28q]  .app-nav,
.conversation-layout[b-z6c6cna28q]  .app-auth-btn,
.conversation-layout[b-z6c6cna28q]  .app-header__username,
.conversation-layout[b-z6c6cna28q]  .mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    .conversation-layout[b-z6c6cna28q] {
        margin-bottom: calc(-1 * var(--app-mobile-nav-clearance));
    }

    .conversation-layout__main[b-z6c6cna28q] {
        min-height: calc(100dvh - var(--app-header-height-mobile));
    }
}
/* /Components/Layout/SiteFooter.razor.rz.scp.css */
/* Footer shell styles live in Rebel.Shared.UI (shared-shell.css).
   Chat keeps no product-specific footer treatment. */
/* /Components/Pages/Admin/Components/TrafficAnalyticsSection.razor.rz.scp.css */
.traffic-head[b-8h56vafdh4] { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.traffic-loading[b-8h56vafdh4] { display:flex; min-height:1.5rem; align-items:center; gap:.4rem; margin:.5rem 0; color:var(--app-text-muted); font-size:.8rem; }
.traffic-filters[b-8h56vafdh4] { display:grid; grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) 100px auto; align-items:end; gap:.65rem; margin:.75rem 0 1rem; padding:.8rem; border:1px solid var(--app-border); border-radius:.75rem; }
.traffic-filters label[b-8h56vafdh4] { display:grid; gap:.25rem; color:var(--app-text-muted); font-size:.75rem; font-weight:600; }
.traffic-summary[b-8h56vafdh4] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; }
.traffic-summary article[b-8h56vafdh4] { display:grid; gap:.2rem; padding:.8rem; border:1px solid var(--app-border); border-radius:.75rem; }
.traffic-summary small[b-8h56vafdh4] { color:var(--app-text-muted); text-transform:uppercase; }
.traffic-summary strong[b-8h56vafdh4] { font-size:clamp(1.25rem,2vw,1.8rem); }
.traffic-chart-wrap[b-8h56vafdh4] { margin:1rem 0; padding:.8rem; border:1px solid var(--app-border); border-radius:.75rem; }
.traffic-chart[b-8h56vafdh4] { display:flex; min-height:180px; gap:clamp(.2rem,.8vw,.6rem); overflow-x:auto; margin-top:.6rem; border-bottom:1px solid var(--app-border); }
.traffic-column[b-8h56vafdh4] { display:grid; grid-template-rows:145px auto; flex:1 0 28px; min-width:28px; max-width:70px; text-align:center; }
.traffic-column>div[b-8h56vafdh4] { display:flex; align-items:end; justify-content:center; gap:2px; }
.traffic-column i[b-8h56vafdh4] { width:min(42%,18px); border-radius:3px 3px 0 0; }
.traffic-column .views[b-8h56vafdh4] { background:var(--app-primary); }
.traffic-column .unique[b-8h56vafdh4] { background:var(--app-success); }
.traffic-column small[b-8h56vafdh4] { overflow:hidden; padding-top:.3rem; color:var(--app-text-muted); font-size:.65rem; text-overflow:ellipsis; white-space:nowrap; }
.traffic-table[b-8h56vafdh4] { min-width:760px; }
.traffic-table[b-8h56vafdh4]  th a { color:inherit; text-decoration:none; }
@media(max-width:800px){.traffic-filters[b-8h56vafdh4]{grid-template-columns:repeat(2,minmax(0,1fr));}.traffic-summary[b-8h56vafdh4]{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.traffic-head[b-8h56vafdh4]{flex-direction:column;}.traffic-head .btn-group[b-8h56vafdh4]{width:100%;}.traffic-filters[b-8h56vafdh4]{grid-template-columns:1fr;}}
/* /Components/Pages/History.razor.rz.scp.css */
.history-page[b-7wnop3diml] {
    width: 100%;
    padding: clamp(.8rem, 1.8vw, 1.35rem) var(--app-page-padding-inline) clamp(1.2rem, 2.5vw, 2rem);
}

.history-workspace[b-7wnop3diml] {
    width: 100%;
    min-width: 0;
}

.history-sidebar[b-7wnop3diml],
.history-detail[b-7wnop3diml] {
    min-width: 0;
}

.history-sidebar[b-7wnop3diml] {
    display: grid;
    gap: .75rem;
}

.history-heading[b-7wnop3diml] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.history-heading h1[b-7wnop3diml] {
    margin: 0;
    font-family: var(--app-font-sans);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .history-heading h1[b-7wnop3diml] {
        font-size: 26px;
    }
}

.history-heading p[b-7wnop3diml] {
    margin: .45rem 0 0;
    color: var(--app-text-muted);
    font-size: .9rem;
}

.history-filters[b-7wnop3diml] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    padding: .4rem;
    border: 1px solid var(--app-border);
    border-radius: 1.15rem;
    background: color-mix(in srgb, var(--app-surface) 92%, transparent);
    box-shadow: 0 10px 28px rgba(83, 57, 36, .045);
}

.history-filter[b-7wnop3diml] {
    min-width: 0;
    min-height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .58rem .65rem;
    border-radius: .85rem;
    color: var(--app-text-muted);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.history-filter:hover[b-7wnop3diml] {
    color: var(--app-text);
    background: color-mix(in srgb, var(--app-primary) 8%, transparent);
}

.history-filter--active[b-7wnop3diml],
.history-filter--active:hover[b-7wnop3diml] {
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
}

.history-filter[b-7wnop3diml]  svg {
    width: 1.15rem;
    height: 1.15rem;
}

.history-list-region[b-7wnop3diml] {
    min-width: 0;
}

.history-list[b-7wnop3diml] {
    display: grid;
    gap: .65rem;
}

.history-card[b-7wnop3diml] {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: .85rem;
    border: 1px solid var(--app-border);
    border-radius: 1.15rem;
    color: var(--app-text);
    background: color-mix(in srgb, var(--app-surface) 96%, transparent);
    box-shadow: 0 10px 30px rgba(83,57,36,.045);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.history-card:hover[b-7wnop3diml] {
    border-color: color-mix(in srgb, var(--app-primary) 42%, var(--app-border));
    color: var(--app-text);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
    transform: translateY(-1px);
}

.history-card--selected[b-7wnop3diml] {
    border-color: var(--app-primary);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.history-card__mode[b-7wnop3diml] {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-card__mode[b-7wnop3diml]  svg {
    width: 1.55rem;
    height: 1.55rem;
}

.history-card__body[b-7wnop3diml] {
    min-width: 0;
    display: grid;
    gap: .32rem;
}

.history-card__preview[b-7wnop3diml] {
    overflow: hidden;
    color: var(--app-text);
    font-size: .95rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-card__identity[b-7wnop3diml] {
    min-width: 0;
    overflow: hidden;
    color: var(--app-text-muted);
    font-size: .74rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-card__meta[b-7wnop3diml] {
    display: grid;
    grid-template-columns: minmax(0, auto) auto;
    align-items: center;
    gap: .35rem;
    color: var(--app-text-muted);
}

.history-card__meta time[b-7wnop3diml] {
    max-width: 8.5rem;
    overflow: hidden;
    font-size: .69rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-card__meta[b-7wnop3diml]  svg {
    width: 1.2rem;
    height: 1.2rem;
}

.history-filter-empty[b-7wnop3diml] {
    min-height: 15rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .55rem;
    padding: 1.5rem;
    border: 1px dashed var(--app-border);
    border-radius: 1.2rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 92%, transparent);
    text-align: center;
}

.history-filter-empty > span[b-7wnop3diml] {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    margin-bottom: .25rem;
    border-radius: 1rem;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-filter-empty > span[b-7wnop3diml]  svg {
    width: 1.5rem;
    height: 1.5rem;
}

.history-filter-empty strong[b-7wnop3diml] {
    color: var(--app-text);
}

.history-filter-empty p[b-7wnop3diml] {
    max-width: 24rem;
    margin: 0 0 .45rem;
    font-size: .82rem;
    line-height: 1.5;
}

.history-pagination[b-7wnop3diml] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: .55rem;
    padding-top: .1rem;
}

.history-pagination__edge[b-7wnop3diml],
.history-pagination__page[b-7wnop3diml] {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--app-border);
    border-radius: .8rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 94%, transparent);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.history-pagination__edge[b-7wnop3diml] {
    gap: .35rem;
    padding: .5rem .7rem;
}

.history-pagination__edge:first-child[b-7wnop3diml] {
    justify-self: start;
}

.history-pagination__edge:last-child[b-7wnop3diml] {
    justify-self: end;
}

.history-pagination__edge:hover[b-7wnop3diml],
.history-pagination__page:hover[b-7wnop3diml] {
    border-color: color-mix(in srgb, var(--app-primary) 42%, var(--app-border));
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-pagination__edge--disabled[b-7wnop3diml] {
    opacity: .38;
}

.history-pagination__edge[b-7wnop3diml]  svg {
    width: 1rem;
    height: 1rem;
}

.history-pagination__pages[b-7wnop3diml] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.history-pagination__page[b-7wnop3diml] {
    width: 2.55rem;
    padding: 0;
}

.history-pagination__page--active[b-7wnop3diml],
.history-pagination__page--active:hover[b-7wnop3diml] {
    border-color: transparent;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
}

.history-detail[b-7wnop3diml] {
    display: none;
}

.history-detail-empty[b-7wnop3diml] {
    min-height: 22rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .55rem;
    height: 100%;
    padding: 2rem;
    border: 1px dashed var(--app-border);
    border-radius: 1.25rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 90%, transparent);
    text-align: center;
}

.history-detail-empty > span[b-7wnop3diml] {
    width: 3.7rem;
    height: 3.7rem;
    display: grid;
    place-items: center;
    margin-bottom: .35rem;
    border-radius: 1.15rem;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-detail-empty > span[b-7wnop3diml]  svg {
    width: 1.75rem;
    height: 1.75rem;
}

.history-detail-empty strong[b-7wnop3diml] {
    color: var(--app-text);
    font-size: 1rem;
}

.history-detail-empty p[b-7wnop3diml] {
    max-width: 28rem;
    margin: 0 0 .55rem;
    font-size: .84rem;
    line-height: 1.55;
}

.history-detail-empty--error > span[b-7wnop3diml] {
    color: var(--app-danger);
    background: var(--app-danger-soft);
}

.history-page--thread-selected .history-sidebar[b-7wnop3diml] {
    display: none;
}

.history-page--thread-selected .history-detail[b-7wnop3diml] {
    display: block;
    animation: history-mobile-detail-enter-b-7wnop3diml .2s ease both;
}

@media (min-width: 960px) {
    .history-page[b-7wnop3diml] {
        padding-inline: clamp(.75rem, 1.5vw, 1.5rem);
    }

    .history-workspace[b-7wnop3diml] {
        min-height: calc(100dvh - var(--app-header-height-desktop) - 2.2rem);
        display: grid;
        grid-template-columns: minmax(20rem, 34%) minmax(0, 1fr);
        gap: .85rem;
        align-items: stretch;
    }

    .history-sidebar[b-7wnop3diml],
    .history-page--thread-selected .history-sidebar[b-7wnop3diml] {
        min-height: 0;
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        gap: .65rem;
        padding: .8rem;
        overflow: hidden;
        border: 1px solid var(--app-border);
        border-radius: 1.3rem;
        background: color-mix(in srgb, var(--app-surface) 93%, transparent);
        box-shadow: 0 14px 40px rgba(83, 57, 36, .055);
    }

    .history-detail[b-7wnop3diml],
    .history-page--thread-selected .history-detail[b-7wnop3diml] {
        min-height: 0;
        display: block;
        animation: history-desktop-detail-enter-b-7wnop3diml .16s ease both;
    }

    .history-heading h1[b-7wnop3diml] {
        font-size: clamp(2rem, 3vw, 2.75rem);
    }

    .history-heading p[b-7wnop3diml] {
        font-size: .8rem;
    }

    .history-filters[b-7wnop3diml] {
        gap: .28rem;
        padding: .3rem;
        border-radius: 1rem;
    }

    .history-filter[b-7wnop3diml] {
        min-height: 2.45rem;
        padding-inline: .4rem;
        font-size: .74rem;
    }

    .history-list-region[b-7wnop3diml] {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: .15rem;
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, var(--app-text-muted) 25%, transparent) transparent;
    }

    .history-list-region[b-7wnop3diml]::-webkit-scrollbar {
        width: .35rem;
    }

    .history-list-region[b-7wnop3diml]::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: color-mix(in srgb, var(--app-text-muted) 22%, transparent);
    }

    .history-card[b-7wnop3diml] {
        gap: .7rem;
        padding: .7rem;
        border-radius: 1rem;
    }

    .history-card__mode[b-7wnop3diml] {
        width: 2.85rem;
        height: 2.85rem;
        border-radius: .85rem;
    }

    .history-card__mode[b-7wnop3diml]  svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .history-card__preview[b-7wnop3diml] {
        font-size: .84rem;
    }

    .history-card__identity[b-7wnop3diml],
    .history-card__meta time[b-7wnop3diml] {
        font-size: .66rem;
    }

    .history-pagination__edge span[b-7wnop3diml] {
        display: none;
    }
}

@media (min-width: 1380px) {
    .history-workspace[b-7wnop3diml] {
        grid-template-columns: minmax(22rem, 32%) minmax(0, 1fr);
    }

    .history-sidebar[b-7wnop3diml] {
        padding: .9rem;
    }
}

@media (min-width: 1800px) {
    .history-workspace[b-7wnop3diml] {
        grid-template-columns: minmax(24rem, 30%) minmax(0, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 680px) {
    .history-page[b-7wnop3diml] {
        padding-top: 1rem;
    }

    .history-heading h1[b-7wnop3diml] {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .history-filters[b-7wnop3diml] {
        gap: .3rem;
        padding: .32rem;
    }

    .history-filter[b-7wnop3diml] {
        min-height: 2.55rem;
        gap: .32rem;
        padding-inline: .3rem;
        font-size: .75rem;
    }

    .history-filter[b-7wnop3diml]  svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .history-card[b-7wnop3diml] {
        gap: .72rem;
        padding: .8rem;
    }

    .history-card__mode[b-7wnop3diml] {
        width: 3.15rem;
        height: 3.15rem;
    }

    .history-card__preview[b-7wnop3diml] {
        font-size: .9rem;
    }

    .history-card__meta[b-7wnop3diml] {
        grid-template-columns: 1fr auto;
        max-width: 5rem;
    }

    .history-card__meta time[b-7wnop3diml] {
        white-space: normal;
        text-align: right;
        line-height: 1.2;
    }

    .history-pagination__edge span[b-7wnop3diml] {
        display: none;
    }
}

@media (max-width: 430px) {
    .history-filter span[b-7wnop3diml] {
        font-size: .69rem;
    }

    .history-card[b-7wnop3diml] {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .history-card__mode[b-7wnop3diml] {
        width: 2.9rem;
        height: 2.9rem;
        border-radius: .9rem;
    }

    .history-card__meta time[b-7wnop3diml] {
        max-width: 3.8rem;
        font-size: .62rem;
    }

    .history-card__meta[b-7wnop3diml]  svg {
        width: 1rem;
        height: 1rem;
    }

    .history-pagination[b-7wnop3diml] {
        gap: .35rem;
    }

    .history-pagination__edge[b-7wnop3diml],
    .history-pagination__page[b-7wnop3diml] {
        min-height: 2.35rem;
    }

    .history-pagination__page[b-7wnop3diml] {
        width: 2.35rem;
    }
}

@keyframes history-mobile-detail-enter-b-7wnop3diml {
    from { opacity: .45; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes history-desktop-detail-enter-b-7wnop3diml {
    from { opacity: .55; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .history-page--thread-selected .history-detail[b-7wnop3diml],
    .history-detail[b-7wnop3diml],
    .history-card[b-7wnop3diml],
    .history-filter[b-7wnop3diml] {
        animation: none;
        transition: none;
    }
}

.history-heading .history-heading__scope[b-7wnop3diml] {
    max-width: 30rem;
    margin-top: .25rem;
    font-size: .72rem;
    line-height: 1.4;
}
/* /Components/Pages/HistoryThread.razor.rz.scp.css */
.history-thread-panel[b-pwkzgcchi0] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: .75rem;
    height: 100%;
}

.history-thread-heading[b-pwkzgcchi0] {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "mode copy close";
    align-items: center;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.history-thread-back[b-pwkzgcchi0] {
    grid-area: back;
    display: none;
    align-items: center;
    gap: .42rem;
    width: fit-content;
    color: var(--app-primary-dark);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}


.history-thread-heading__mode[b-pwkzgcchi0] {
    grid-area: mode;
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-thread-heading__mode[b-pwkzgcchi0]  svg {
    width: 1.55rem;
    height: 1.55rem;
}

.history-thread-heading__copy[b-pwkzgcchi0] {
    grid-area: copy;
    min-width: 0;
}

.history-thread-heading h1[b-pwkzgcchi0] {
    margin: 0;
    font-family: var(--app-font-sans);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .history-thread-heading h1[b-pwkzgcchi0] {
        font-size: 21px;
    }
}

.history-thread-heading__identity[b-pwkzgcchi0] {
    margin: .28rem 0 0;
    color: var(--app-text-muted);
    font-size: .82rem;
}

.history-thread-heading__meta[b-pwkzgcchi0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-top: .55rem;
    color: var(--app-text-muted);
    font-size: .76rem;
}

.history-thread-heading__meta > span:not(.history-thread-heading__separator)[b-pwkzgcchi0] {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
}

.history-thread-heading__meta[b-pwkzgcchi0]  svg {
    width: .95rem;
    height: .95rem;
}

.history-thread-heading__separator[b-pwkzgcchi0] {
    opacity: .52;
}

.history-thread-close[b-pwkzgcchi0] {
    grid-area: close;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    align-self: start;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 92%, transparent);
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.history-thread-close:hover[b-pwkzgcchi0] {
    border-color: color-mix(in srgb, var(--app-primary) 38%, var(--app-border));
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-transcript[b-pwkzgcchi0] {
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.history-thread-panel[b-pwkzgcchi0]  .history-older {
    display: grid;
    place-items: center;
    min-height: .75rem;
    padding: .65rem .9rem 0;
}

.history-thread-panel[b-pwkzgcchi0]  .history-load-older {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    padding: .55rem .95rem;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-bg) 64%, var(--app-surface));
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.history-thread-panel[b-pwkzgcchi0]  .history-load-older:hover {
    border-color: color-mix(in srgb, var(--app-primary) 42%, var(--app-border));
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.history-thread-panel[b-pwkzgcchi0]  .history-load-older svg {
    width: 1rem;
    height: 1rem;
}

.history-messages[b-pwkzgcchi0] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .8rem 1rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--app-text-muted) 28%, transparent) transparent;
}

.history-messages[b-pwkzgcchi0]::-webkit-scrollbar {
    width: .4rem;
}

.history-messages[b-pwkzgcchi0]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-text-muted) 24%, transparent);
}

.history-thread-panel[b-pwkzgcchi0]  .history-message {
    max-width: min(76%, 680px);
    align-self: flex-start;
}

.history-thread-panel[b-pwkzgcchi0]  .history-message--own {
    align-self: flex-end;
}

.history-thread-panel[b-pwkzgcchi0]  .history-message p {
    margin: 0;
    padding: .7rem .9rem;
    border: 1px solid var(--app-border);
    border-radius: 6px 16px 16px 16px;
    color: var(--app-text);
    background: var(--app-surface-soft);
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.history-thread-panel[b-pwkzgcchi0]  .history-message--own p {
    border-color: transparent;
    border-radius: 16px 6px 16px 16px;
    color: var(--app-accent-text);
    background: var(--app-accent-soft);
}

.history-thread-panel[b-pwkzgcchi0]  .history-message time {
    display: block;
    margin: .18rem .5rem 0;
    color: var(--app-text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.history-thread-panel[b-pwkzgcchi0]  .history-message--own time {
    text-align: right;
}

.history-thread-read-only-note[b-pwkzgcchi0] {
    min-height: 3.3rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .9rem;
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 92%, transparent);
}

.history-thread-read-only-note[b-pwkzgcchi0] {
    justify-content: space-between;
    flex-wrap: wrap;
}

.history-thread-read-only-note__copy[b-pwkzgcchi0] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    flex: 1 1 18rem;
}

.history-thread-read-only-note__copy > span[b-pwkzgcchi0] {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: .7rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface-2) 70%, var(--app-surface));
}

.history-thread-read-only-note[b-pwkzgcchi0]  svg {
    width: 1rem;
    height: 1rem;
}

.history-thread-read-only-note p[b-pwkzgcchi0] {
    margin: 0;
    font-size: .78rem;
    line-height: 1.4;
}

.history-thread-remove-form[b-pwkzgcchi0] {
    flex: 0 0 auto;
}

.history-thread-remove-form[b-pwkzgcchi0]  .history-thread-remove {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .5rem .72rem;
    border: 1px solid color-mix(in srgb, var(--app-danger, #b94a3c) 30%, var(--app-border));
    border-radius: .78rem;
    color: var(--app-danger);
    background: color-mix(in srgb, var(--app-danger, #b94a3c) 7%, var(--app-surface));
    font: inherit;
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
}

.history-thread-remove-form[b-pwkzgcchi0]  .history-thread-remove:hover {
    border-color: color-mix(in srgb, var(--app-danger, #b94a3c) 52%, var(--app-border));
    background: color-mix(in srgb, var(--app-danger, #b94a3c) 12%, var(--app-surface));
}

@media (max-width: 959px) {
    .history-thread-panel[b-pwkzgcchi0] {
        height: auto;
        grid-template-rows: auto auto auto;
        animation: history-thread-enter-b-pwkzgcchi0 .2s ease both;
    }

    .history-thread-heading[b-pwkzgcchi0] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "back back"
            "mode copy";
        gap: .75rem;
        padding: .9rem;
    }

    .history-thread-back[b-pwkzgcchi0] {
        display: inline-flex;
        margin-bottom: .15rem;
    }

    .history-thread-close[b-pwkzgcchi0] {
        display: none;
    }

    .history-thread-heading__mode[b-pwkzgcchi0] {
        width: 3rem;
        height: 3rem;
        border-radius: .9rem;
    }

    .history-thread-heading h1[b-pwkzgcchi0] {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .history-transcript[b-pwkzgcchi0] {
        overflow: visible;
    }

    .history-messages[b-pwkzgcchi0] {
        overflow: visible;
        padding-inline: .75rem;
    }

    .history-thread-panel[b-pwkzgcchi0]  .history-message {
        max-width: 88%;
    }

    .history-thread-read-only-note[b-pwkzgcchi0] {
        margin-bottom: .2rem;
    }

    .history-thread-remove-form[b-pwkzgcchi0],
    .history-thread-remove-form[b-pwkzgcchi0]  .history-thread-remove {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .history-thread-heading__meta[b-pwkzgcchi0] {
        gap: .34rem;
        font-size: .72rem;
    }

    .history-thread-heading__separator[b-pwkzgcchi0] {
        display: none;
    }

    .history-thread-heading__meta > span:not(.history-thread-heading__separator)[b-pwkzgcchi0] {
        width: 100%;
    }

    .history-thread-panel[b-pwkzgcchi0]  .history-message {
        max-width: 92%;
    }

    .history-thread-panel[b-pwkzgcchi0]  .history-message p {
        padding: .65rem .8rem;
        font-size: .9rem;
    }
}

@keyframes history-thread-enter-b-pwkzgcchi0 {
    from { opacity: .45; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .history-thread-panel[b-pwkzgcchi0] { animation: none; }
}

.history-thread-panel[b-pwkzgcchi0]  .history-load-older-error {
    display: block;
    margin-top: .42rem;
    color: var(--app-danger);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
}

.history-thread-panel[b-pwkzgcchi0]  .history-load-older-error[hidden] {
    display: none;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-54tjqxxbmk] {
    width: 100%;
    margin-inline: auto;
    padding: var(--app-content-gap) var(--app-page-padding-inline) clamp(1.8rem, 4vw, 3rem);
}

.home-layout[b-54tjqxxbmk] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 640px);
    grid-template-areas:
        "visual form"
        "benefits form";
    gap: 24px;
    align-items: start;
}

.home-hero__visual[b-54tjqxxbmk] {
    grid-area: visual;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: var(--app-surface);
    aspect-ratio: 16 / 10;
    max-height: 360px;
}

.home-matching-card[b-54tjqxxbmk] {
    grid-area: form;
    min-width: 0;
    scroll-margin-top: calc(var(--app-header-height-desktop) + 1rem);
    padding: 24px;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.home-matching-card__heading[b-54tjqxxbmk] {
    margin-bottom: 20px;
}

.home-matching-card__heading h2[b-54tjqxxbmk] {
    margin: 0;
    color: var(--app-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .home-matching-card__heading h2[b-54tjqxxbmk] {
        font-size: 21px;
    }
}

.home-matching-card__heading p[b-54tjqxxbmk] {
    margin: .3rem 0 0;
    color: color-mix(in srgb, var(--app-text-muted) 76%, var(--app-text));
    font-size: .9rem;
    line-height: 1.45;
}

.home-benefits[b-54tjqxxbmk] {
    grid-area: benefits;
    display: grid;
    min-width: 0;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.home-benefit[b-54tjqxxbmk] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .82rem;
    padding: .6rem 0;
}

.home-benefit + .home-benefit[b-54tjqxxbmk] {
    border-top: 1px solid var(--app-border);
}

.home-benefit__icon[b-54tjqxxbmk] {
    width: 2.85rem;
    height: 2.85rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--app-primary-dark);
    background: color-mix(in srgb, var(--app-accent-soft) 80%, var(--app-surface));
}

.home-benefit__icon[b-54tjqxxbmk]  svg {
    width: 1.3rem;
    height: 1.3rem;
}

.home-benefit h2[b-54tjqxxbmk] {
    margin: 0 0 .18rem;
    font-size: .92rem;
    line-height: 1.25;
}

.home-benefit p[b-54tjqxxbmk] {
    margin: 0;
    color: var(--app-text-muted);
    font-size: .78rem;
    line-height: 1.42;
}

.home-hero__visual img[b-54tjqxxbmk] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 30%;
}

[data-theme="dark"] .home-hero__visual img[b-54tjqxxbmk] {
    filter: brightness(.82) saturate(.88);
}

@media (min-width: 1400px) {
    .home-hero__visual[b-54tjqxxbmk] {
        /* Keep the photograph secondary even on ultrawide displays. */
        height: clamp(260px, 20vw, 360px);
        aspect-ratio: auto;
    }
}

@media (max-width: 1099px) {

    .home-layout[b-54tjqxxbmk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "form"
            "visual"
            "benefits";
        gap: 16px;
    }

    .home-hero__visual[b-54tjqxxbmk] {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 860px) {
    .home-page[b-54tjqxxbmk] {
        padding-bottom: 1.35rem;
    }

    .home-matching-card[b-54tjqxxbmk] {
        scroll-margin-top: calc(var(--app-header-height-mobile) + .75rem);
        padding: 16px;
    }

    .home-matching-card__heading p[b-54tjqxxbmk] {
        font-size: .84rem;
    }
}

@media (max-width: 560px) {
    .home-benefit__icon[b-54tjqxxbmk] {
        width: 2.65rem;
        height: 2.65rem;
    }

    .home-benefit h2[b-54tjqxxbmk] {
        font-size: .9rem;
    }

    .home-benefit p[b-54tjqxxbmk] {
        font-size: .76rem;
    }

    .home-hero__visual[b-54tjqxxbmk] {
        aspect-ratio: 16 / 10;
    }
}
/* The shared hero's scroll target. Sticky-shell clearance is declared once
   here; the matching-card rules above keep their own element spacing. */
#start[b-54tjqxxbmk] {
    outline: none;
}

@media (max-width: 860px) {
    #start[b-54tjqxxbmk] {
        scroll-margin-top: calc(var(--app-header-height-mobile) + var(--app-space-3));
    }
}

@media (prefers-reduced-motion: no-preference) {
    .home-layout[b-54tjqxxbmk] {
        scroll-behavior: smooth;
    }
}
/* /Components/Pages/HomeComponents/MatchingPreferenceForm.razor.rz.scp.css */
.matching-form[b-fml24jz40q] {
    min-width: 0;
}

.matching-form__groups[b-fml24jz40q] {
    display: grid;
}

.matching-group[b-fml24jz40q] {
    min-width: 0;
    margin: 0;
    padding: .95rem 0 1rem;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--app-primary) 10%, var(--app-border));
}

.matching-group:first-child[b-fml24jz40q] {
    border-top: 0;
    padding-top: .7rem;
}

.matching-group legend[b-fml24jz40q] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .78rem;
    padding: 0;
    color: var(--app-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.matching-group__step[b-fml24jz40q] {
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--app-text-muted) 78%, var(--app-text));
    font-size: .9em;
    font-weight: 900;
}

.matching-options[b-fml24jz40q] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.matching-group--self .matching-options[b-fml24jz40q] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.matching-option[b-fml24jz40q] {
    position: relative;
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .58rem .68rem;
    border: 1px solid color-mix(in srgb, var(--app-primary) 10%, var(--app-border));
    border-radius: 12px;
    color: var(--app-text);
    background: var(--app-surface);
    cursor: pointer;
}

.matching-option:hover[b-fml24jz40q] {
    border-color: color-mix(in srgb, var(--app-primary) 50%, var(--app-border));
    background: color-mix(in srgb, var(--app-accent-soft) 32%, var(--app-surface));
}

.matching-option:has(input:checked)[b-fml24jz40q] {
    border-color: var(--app-primary);
    background: var(--app-accent-soft);
}

.matching-option:has(input:focus-visible)[b-fml24jz40q] {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 22%, transparent);
    outline-offset: 2px;
}

.matching-option input[b-fml24jz40q] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.matching-option__icon[b-fml24jz40q] {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: var(--app-primary-dark);
    background: color-mix(in srgb, var(--app-accent-soft) 74%, var(--app-surface));
}

.matching-option:has(input:checked) .matching-option__icon[b-fml24jz40q] {
    background: color-mix(in srgb, var(--app-accent-soft) 92%, var(--app-surface));
}

.matching-option__icon[b-fml24jz40q]  svg {
    width: 20px;
    height: 20px;
}

.matching-option strong[b-fml24jz40q] {
    min-width: 0;
    color: var(--app-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.matching-option__check[b-fml24jz40q] {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-left: auto;
    border: 1px solid color-mix(in srgb, var(--app-primary) 20%, var(--app-border));
    border-radius: 50%;
    background: var(--app-surface);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.matching-option__check[b-fml24jz40q]::after {
    content: "";
    position: absolute;
    inset: .19rem;
    border-radius: 50%;
    background: transparent;
    transition: background .15s ease;
}

.matching-option:has(input:checked) .matching-option__check[b-fml24jz40q] {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 .16rem color-mix(in srgb, var(--app-primary) 16%, transparent);
}

.matching-option:has(input:checked) .matching-option__check[b-fml24jz40q]::after {
    background: var(--app-primary);
}

.matching-form__result:empty[b-fml24jz40q] {
    display: none;
}

.matching-form__result[b-fml24jz40q]  .app-alert {
    max-width: none;
    margin: .35rem 0 .9rem;
}

.matching-form__footer[b-fml24jz40q] {
    display: grid;
    gap: .72rem;
    padding-top: .25rem;
}

.matching-form__submit[b-fml24jz40q] {
    width: 100%;
    min-height: 48px;
}

.matching-form__submit[b-fml24jz40q]  svg {
    transition: transform .15s ease;
}

.matching-form__submit:hover[b-fml24jz40q]  svg {
    transform: translateX(.15rem);
}

.matching-form__note[b-fml24jz40q] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .48rem;
    margin: 0;
    padding-inline: .45rem;
    color: color-mix(in srgb, var(--app-text-muted) 82%, var(--app-text));
    font-size: .8rem;
    line-height: 1.5;
    text-align: center;
}

.matching-form__note[b-fml24jz40q]  svg {
    width: .98rem;
    height: .98rem;
    flex: 0 0 auto;
    margin-top: .08rem;
}

@media (max-width: 1120px) {
    .matching-options[b-fml24jz40q] {
        gap: .56rem;
    }

    .matching-option strong[b-fml24jz40q] {
        font-size: .88rem;
    }
}

@media (max-width: 940px) {
    .matching-group[b-fml24jz40q] {
        padding: .88rem 0 .95rem;
    }

    .matching-option[b-fml24jz40q] {
        min-height: 3.85rem;
    }
}

@media (max-width: 560px) {
    .matching-group legend[b-fml24jz40q] {
        gap: .42rem;
        margin-bottom: .66rem;
        font-size: 15px;
    }

    .matching-options[b-fml24jz40q] {
        gap: .48rem;
    }

    .matching-option[b-fml24jz40q] {
        min-height: 80px;
        gap: .45rem;
        padding: .52rem;
        border-radius: 12px;
    }

    .matching-option__icon[b-fml24jz40q] {
        width: 2.02rem;
        height: 2.02rem;
        border-radius: .7rem;
    }

    .matching-option__check[b-fml24jz40q] {
        width: 18px;
        height: 18px;
    }

    .matching-option strong[b-fml24jz40q] {
        font-size: 14px;
    }

    .matching-form__submit[b-fml24jz40q] {
        min-height: 48px;
    }

    .matching-form__note[b-fml24jz40q] {
        font-size: .76rem;
    }
}

@media (max-width: 430px) {
    .matching-group--match .matching-option[b-fml24jz40q],
    .matching-group--mode .matching-option[b-fml24jz40q] {
        min-height: 80px;
        display: grid;
        grid-template-columns: 1fr;
        place-items: center;
        align-content: center;
        gap: .28rem;
        padding: .5rem .24rem;
        text-align: center;
    }

    .matching-group--match .matching-option__check[b-fml24jz40q],
    .matching-group--mode .matching-option__check[b-fml24jz40q] {
        position: absolute;
        top: .42rem;
        right: .42rem;
        margin: 0;
    }

    .matching-group--match .matching-option strong[b-fml24jz40q],
    .matching-group--mode .matching-option strong[b-fml24jz40q] {
        width: 100%;
        font-size: 14px;
    }

    .matching-group--self .matching-option[b-fml24jz40q] {
        min-height: 80px;
    }

    .matching-group--self .matching-option strong[b-fml24jz40q] {
        font-size: 14px;
    }
}
/* /Components/Pages/LiveChat/Components/ChatSession.razor.rz.scp.css */
.live-chat[b-qak9pyq6aa] {
    --media-height: 0px;
    --desktop-media-column: 58%;
    width: 100%;
    height: calc(100dvh - var(--app-header-height-desktop));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: .55rem .7rem .7rem;
    overflow: hidden;
}

.live-chat[data-current-mode="1"][b-qak9pyq6aa] {
    --media-height: clamp(11rem, 24dvh, 16rem);
}

.live-chat[data-current-mode="2"][data-media-layout="chat"][b-qak9pyq6aa] {
    --media-height: clamp(10rem, 27dvh, 18rem);
}

.live-chat[data-current-mode="2"][data-media-layout="split"][b-qak9pyq6aa] {
    --media-height: clamp(17rem, 45dvh, 30rem);
}

.live-chat[data-current-mode="2"][data-media-layout="video"][b-qak9pyq6aa] {
    --media-height: clamp(23rem, 62dvh, 48rem);
}

.live-chat[data-state="connected"][b-qak9pyq6aa]  .session-status-dot {
    background: var(--app-success);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--app-success) 13%, transparent);
}

.live-chat[data-state="failed"][b-qak9pyq6aa]  .session-status-dot {
    background: var(--app-danger);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--app-danger) 13%, transparent);
}

.live-chat__surface[b-qak9pyq6aa] {
    min-height: 0;
    position: relative;
    display: grid;
    grid-template-areas:
        "media"
        "controls"
        "conversation"
        "next";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--media-height) auto minmax(0, 1fr) auto;
    gap: .55rem;
    background: transparent;
    overflow: hidden;
}

.live-chat[data-current-mode="0"][b-qak9pyq6aa]  .media-stage {
    visibility: hidden;
}

.live-chat[data-current-mode="1"][b-qak9pyq6aa]  .media-stage,
.live-chat[data-current-mode="2"][b-qak9pyq6aa]  .media-stage {
    visibility: visible;
}


@media (min-width: 960px) and (orientation: landscape) {
    .live-chat[data-current-mode="2"][b-qak9pyq6aa] {
        --media-height: auto;
    }

    .live-chat[data-current-mode="2"][data-media-layout="chat"][b-qak9pyq6aa] {
        --desktop-media-column: 42%;
    }

    .live-chat[data-current-mode="2"][data-media-layout="split"][b-qak9pyq6aa] {
        --desktop-media-column: 58%;
    }

    .live-chat[data-current-mode="2"][data-media-layout="video"][b-qak9pyq6aa] {
        --desktop-media-column: 70%;
    }

    .live-chat[data-current-mode="2"] .live-chat__surface[b-qak9pyq6aa] {
        grid-template-areas:
            "media controls"
            "media conversation"
            "media next";
        grid-template-columns: minmax(0, var(--desktop-media-column)) minmax(20rem, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        column-gap: .7rem;
        row-gap: .55rem;
    }
}

@media (min-width: 1440px) and (orientation: landscape) {
    .live-chat[b-qak9pyq6aa] {
        padding-inline: .9rem;
    }

    .live-chat[data-current-mode="2"][data-media-layout="chat"][b-qak9pyq6aa] {
        --desktop-media-column: 40%;
    }

    .live-chat[data-current-mode="2"][data-media-layout="split"][b-qak9pyq6aa] {
        --desktop-media-column: 65%;
    }

    .live-chat[data-current-mode="2"][data-media-layout="video"][b-qak9pyq6aa] {
        --desktop-media-column: 72%;
    }
}

@media (max-width: 860px) {
    .live-chat[b-qak9pyq6aa] {
        height: var(--app-viewport-height, calc(100dvh - var(--app-header-height-mobile)));
        padding: .35rem .5rem .5rem;
    }

    .live-chat[data-composer-focused="true"][b-qak9pyq6aa] {
        overflow-y: auto;
    }
}
/* /Components/Pages/LiveChat/Components/ConversationPanel.razor.rz.scp.css */
.conversation-panel[b-fpk371qm53] {
    grid-area: conversation;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    border: 1px solid var(--app-border);
    border-radius: 1.2rem;
    background: var(--app-surface);
    box-shadow: 0 16px 42px rgba(83, 57, 36, .08);
    overflow: hidden;
}

.message-persistence-host[b-fpk371qm53] {
    min-height: 0;
}

.message-persistence-host[b-fpk371qm53]  .message-persistence-result {
    display: none;
}

@media (max-width: 760px) {
    .conversation-panel[b-fpk371qm53] {
        border-radius: 1rem;
    }
}
/* /Components/Pages/LiveChat/Components/MediaControls.razor.rz.scp.css */
.flow-divider[b-yehtn5o4io] {
    display: contents;
}

.flow-controls[b-yehtn5o4io] {
    grid-area: media;
    position: relative;
    z-index: 12;
    align-self: end;
    justify-self: center;
    max-width: calc(100% - 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-bottom: .8rem;
    padding: .35rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(24, 19, 16, .72);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: opacity .15s ease;
}

.flow-divider[data-mode="0"] .flow-controls[b-yehtn5o4io] {
    grid-area: controls;
    align-self: center;
    margin: 0;
    border-color: var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 96%, transparent);
    box-shadow: 0 10px 28px rgba(83, 57, 36, .1);
}

.flow-control[b-yehtn5o4io],
.flow-upgrade[b-yehtn5o4io] {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.flow-control[b-yehtn5o4io] {
    width: 2.75rem;
    flex: 0 0 2.75rem;
    padding: 0;
    color: white;
    background: rgba(15, 12, 10, .72);
}

.flow-divider[data-mode="0"] .flow-control[b-yehtn5o4io] {
    color: var(--app-text-muted);
    background: transparent;
}

.flow-control[hidden][b-yehtn5o4io],
.flow-upgrade[hidden][b-yehtn5o4io],
.focus-switcher[hidden][b-yehtn5o4io] {
    display: none;
}

.flow-control:hover[b-yehtn5o4io] {
    background: rgba(255, 255, 255, .14);
}

.flow-divider[data-mode="0"] .flow-control:hover[b-yehtn5o4io] {
    color: var(--app-text);
    background: var(--app-surface-2);
}

.flow-control.is-off[b-yehtn5o4io] {
    color: #fff;
    background: color-mix(in srgb, var(--app-danger) 82%, #2d1813);
}

.flow-control[b-yehtn5o4io]  svg,
.flow-upgrade[b-yehtn5o4io]  svg {
    width: 1.2rem;
    height: 1.2rem;
}

.flow-upgrade[b-yehtn5o4io] {
    padding: 0 .95rem;
    border: 1px solid rgba(255, 255, 255, .18);
    color: white;
    background: rgba(255, 255, 255, .09);
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

.flow-divider[data-mode="0"] .flow-upgrade[b-yehtn5o4io] {
    border-color: color-mix(in srgb, var(--app-primary) 25%, var(--app-border));
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.flow-upgrade:hover[b-yehtn5o4io] {
    background: rgba(255, 255, 255, .16);
}

.flow-divider[data-mode="0"] .flow-upgrade:hover[b-yehtn5o4io] {
    border-color: var(--app-primary);
    background: color-mix(in srgb, var(--app-accent-soft) 72%, var(--app-surface));
}

.flow-upgrade:disabled[b-yehtn5o4io],
.flow-control:disabled[b-yehtn5o4io] {
    opacity: .5;
    cursor: not-allowed;
}

.focus-switcher[b-yehtn5o4io] {
    grid-area: controls;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .25rem;
    padding: .28rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-surface) 97%, transparent);
    box-shadow: 0 9px 24px rgba(83, 57, 36, .08);
    transition: opacity .15s ease;
}

.focus-switcher__item[b-yehtn5o4io] {
    min-width: 0;
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .45rem .75rem;
    border: 0;
    border-radius: 999px;
    color: var(--app-text-muted);
    background: transparent;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.focus-switcher__item:hover[b-yehtn5o4io] {
    color: var(--app-text);
    background: var(--app-surface-2);
}

.focus-switcher__item.is-active[b-yehtn5o4io],
.focus-switcher__item[aria-pressed="true"][b-yehtn5o4io] {
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
}

.focus-switcher__item[b-yehtn5o4io]  svg {
    width: 1.08rem;
    height: 1.08rem;
}

.focus-switcher__split-icon[b-yehtn5o4io] {
    width: 1.12rem;
    height: .95rem;
    display: inline-block;
    border: 2px solid currentColor;
    border-radius: .2rem;
    background: linear-gradient(90deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%);
}

.session-actions[b-yehtn5o4io] {
    grid-area: next;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .45rem;
}

.flow-next[b-yehtn5o4io] {
    min-height: 3.15rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    padding: .65rem 1rem;
    border: 0;
    border-radius: 1rem;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
    font-weight: 850;
    cursor: pointer;
}

.flow-next span[b-yehtn5o4io] {
    text-align: center;
}

.flow-next:disabled[b-yehtn5o4io] {
    display: none;
}

.flow-stop[b-yehtn5o4io],
.flow-start-again[b-yehtn5o4io] {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .6rem .95rem;
    border-radius: 1rem;
    font-weight: 850;
    cursor: pointer;
}

.flow-stop[b-yehtn5o4io] {
    border: 1px solid color-mix(in srgb, var(--app-danger) 35%, var(--app-border));
    color: var(--app-danger);
    background: color-mix(in srgb, var(--app-danger) 8%, var(--app-surface));
}

.flow-start-again[b-yehtn5o4io] {
    border: 0;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
}

.flow-stop[hidden][b-yehtn5o4io],
.flow-start-again[hidden][b-yehtn5o4io] {
    display: none;
}

.flow-stop[b-yehtn5o4io]  svg,
.flow-start-again[b-yehtn5o4io]  svg,
.flow-next[b-yehtn5o4io]  svg {
    width: 1.12rem;
    height: 1.12rem;
}

@media (max-width: 760px) {
    .flow-controls[b-yehtn5o4io] {
        gap: .18rem;
        margin-bottom: .55rem;
        padding: .28rem;
    }

    .flow-control[b-yehtn5o4io] {
        width: 2.55rem;
        min-height: 2.55rem;
        flex-basis: 2.55rem;
    }

    .flow-upgrade[b-yehtn5o4io] {
        min-height: 2.55rem;
        padding-inline: .72rem;
        font-size: .7rem;
    }

    .focus-switcher[b-yehtn5o4io] {
        gap: .12rem;
        padding: .22rem;
    }

    .focus-switcher__item[b-yehtn5o4io] {
        min-height: 2.4rem;
        gap: .3rem;
        padding-inline: .45rem;
        font-size: .7rem;
    }

    .focus-switcher__item[b-yehtn5o4io]  svg,
    .focus-switcher__split-icon[b-yehtn5o4io] {
        width: .95rem;
    }

    .flow-next[b-yehtn5o4io] {
        min-height: 3rem;
        border-radius: .9rem;
    }
}

@media (max-width: 430px) {
    .focus-switcher__item[b-yehtn5o4io] {
        font-size: .66rem;
    }
}
/* /Components/Pages/LiveChat/Components/MediaDevicePanel.razor.rz.scp.css */
.media-device-dialog[b-nk8gln20m5] {
    width: min(100%, 34rem);
    max-width: 100%;
    max-height: min(82dvh, 46rem);
    margin: auto auto 0;
    padding: 0;
    border: 1px solid var(--app-border);
    border-radius: 1.4rem 1.4rem 0 0;
    color: var(--app-text);
    background: var(--app-surface);
    box-shadow: 0 -24px 70px rgba(44, 31, 22, .22);
    overflow: hidden;
}

.media-device-dialog[b-nk8gln20m5]::backdrop { background: rgba(35, 26, 20, .34); backdrop-filter: blur(3px); }

.media-device-sheet[b-nk8gln20m5] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: inherit; }
.media-device-sheet__header[b-nk8gln20m5] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .8rem 1.15rem; border-bottom: 1px solid var(--app-border); }
.media-device-sheet__eyebrow[b-nk8gln20m5] { display: block; margin-bottom: .2rem; color: var(--app-primary-dark); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.media-device-sheet h2[b-nk8gln20m5] { margin: 0; font-size: 1.08rem; font-weight: 850; }
.media-device-sheet__close[b-nk8gln20m5] { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 999px; color: var(--app-text-muted); background: var(--app-surface-2); font-size: 1.45rem; line-height: 1; cursor: pointer; }
.media-device-sheet__fields[b-nk8gln20m5] { display: grid; gap: 1rem; padding: 1rem 1rem 1.2rem; overflow-y: auto; }

.media-device-field[b-nk8gln20m5] { display: grid; gap: .45rem; margin: 0; }
.media-device-field > span[b-nk8gln20m5],
.media-device-field > label[b-nk8gln20m5] { color: var(--app-text); font-size: .78rem; font-weight: 800; }
.media-device-field > small[b-nk8gln20m5] { margin-top: -.2rem; color: var(--app-text-muted); font-size: .72rem; line-height: 1.4; }
.media-device-field select[b-nk8gln20m5] { width: 100%; min-height: 3rem; padding: .65rem 2.5rem .65rem .8rem; border: 1px solid var(--app-border); border-radius: .9rem; color: var(--app-text); background: var(--app-bg); font: inherit; }
.media-device-field select:focus-visible[b-nk8gln20m5],
.media-device-field__action:focus-visible[b-nk8gln20m5],
.media-device-sheet__close:focus-visible[b-nk8gln20m5],
.media-device-sheet__done:focus-visible[b-nk8gln20m5] { outline: 3px solid color-mix(in srgb, var(--app-primary) 24%, transparent); outline-offset: 2px; }
.media-device-field select:disabled[b-nk8gln20m5] { opacity: .58; cursor: not-allowed; }
.media-device-field__action[b-nk8gln20m5] { min-height: 2.75rem; padding: .6rem .8rem; border: 1px solid var(--app-border); border-radius: .85rem; color: var(--app-primary-dark); background: var(--app-surface); font-size: .76rem; font-weight: 850; cursor: pointer; }
.media-device-field__action:disabled[b-nk8gln20m5] { opacity: .58; cursor: wait; }
.media-device-field__help[b-nk8gln20m5] { margin: 0; color: var(--app-text-muted); font-size: .75rem; line-height: 1.5; }

.media-device-sheet__footer[b-nk8gln20m5] { padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--app-border); }
.media-device-sheet__done[b-nk8gln20m5] { width: 100%; min-height: 3rem; border: 0; border-radius: .95rem; color: var(--app-button-primary-text); background: var(--app-button-primary-bg); font-weight: 850; cursor: pointer; }
/* /Components/Pages/LiveChat/Components/MediaStage.razor.rz.scp.css */
.media-stage[b-fktfwchi9n] {
    grid-area: media;
    position: relative;
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--app-border) 35%, #171411);
    border-radius: 1.35rem;
    background: #171411;
    box-shadow: 0 22px 55px rgba(44, 31, 22, .16);
    overflow: hidden;
}

.media-stage > .media-stage__remote[b-fktfwchi9n],
.media-stage > .media-stage__backdrop[b-fktfwchi9n],
.media-stage > .media-stage__placeholder[b-fktfwchi9n],
.media-stage > .self-view[b-fktfwchi9n],
.media-stage > .audio-presence[b-fktfwchi9n] {
    display: none;
}

.media-stage[data-media-mode="2"] .media-stage__remote[b-fktfwchi9n] {
    display: block;
}

.media-stage[data-media-mode="2"] .media-stage__backdrop[b-fktfwchi9n],
.media-stage[data-media-mode="2"] .media-stage__placeholder[b-fktfwchi9n],
.media-stage[data-media-mode="2"] .self-view[b-fktfwchi9n] {
    display: block;
}

.media-stage[data-media-mode="2"] .media-stage__placeholder[b-fktfwchi9n] {
    display: grid;
}

.media-stage[data-media-mode="1"] .audio-presence[b-fktfwchi9n] {
    display: grid;
}

.media-stage__remote[b-fktfwchi9n] {
    position: relative;
    z-index: 2;
    place-self: stretch;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background: #171411;
}

.media-stage__backdrop[b-fktfwchi9n] {
    position: absolute;
    z-index: 0;
    inset: -2rem;
    background: radial-gradient(circle at 25% 25%, #59483b, #211b17 68%);
    filter: blur(20px);
    opacity: .88;
}

.media-stage__placeholder[b-fktfwchi9n] {
    position: absolute;
    z-index: 1;
    inset: 0;
    place-content: center;
    justify-items: center;
    gap: .75rem;
    padding: 1.5rem;
    color: #eaded3;
    background:
        radial-gradient(circle at center, rgba(233, 121, 69, .2), transparent 34%),
        linear-gradient(160deg, rgba(255,255,255,.025), transparent 45%);
    text-align: center;
}

.media-stage__placeholder > span[b-fktfwchi9n] {
    width: 4.4rem;
    height: 4.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.45rem;
    color: white;
    background: linear-gradient(145deg, rgba(233,121,69,.82), rgba(168,64,32,.82));
    box-shadow: 0 18px 42px rgba(233,121,69,.2);
}

.media-stage__placeholder > span[b-fktfwchi9n]  svg {
    width: 2rem;
    height: 2rem;
}

.media-stage__placeholder strong[b-fktfwchi9n] {
    font-size: .95rem;
}

.media-stage.has-remote-media .media-stage__placeholder[b-fktfwchi9n] {
    opacity: 0;
    pointer-events: none;
}

.self-view[b-fktfwchi9n] {
    position: absolute;
    z-index: 5;
    top: 1rem;
    right: 1rem;
    width: clamp(86px, 17%, 165px);
    aspect-ratio: 3 / 4;
    border: 2px solid rgba(255,255,255,.88);
    border-radius: 1rem;
    background: #2e2721;
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.self-view:active[b-fktfwchi9n] {
    cursor: grabbing;
}

.self-view video[b-fktfwchi9n] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.self-view[data-facing-mode="environment"] video[b-fktfwchi9n] {
    transform: none;
}

.self-view span[b-fktfwchi9n] {
    position: absolute;
    left: .4rem;
    bottom: .35rem;
    padding: .2rem .4rem;
    border-radius: .4rem;
    color: white;
    background: rgba(0,0,0,.55);
    font-size: .65rem;
    font-weight: 750;
}

.audio-presence[b-fktfwchi9n] {
    position: relative;
    place-items: center;
    color: #eaded3;
}

.audio-presence strong[b-fktfwchi9n] {
    margin-top: 5.9rem;
    font-size: .9rem;
}

.audio-presence__ring[b-fktfwchi9n] {
    position: absolute;
    border: 1px solid rgba(233,121,69,.34);
    border-radius: 50%;
}

.audio-presence__ring--outer[b-fktfwchi9n] {
    width: 8rem;
    height: 8rem;
    animation: audio-pulse-b-fktfwchi9n 2.4s ease-in-out infinite;
}

.audio-presence__ring--inner[b-fktfwchi9n] {
    width: 5.7rem;
    height: 5.7rem;
    background: rgba(233,121,69,.1);
}

.audio-presence__icon[b-fktfwchi9n] {
    position: absolute;
    width: 3.8rem;
    height: 3.8rem;
    display: grid;
    place-items: center;
    border-radius: 1.25rem;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
}

.audio-presence__icon[b-fktfwchi9n]  svg {
    width: 1.8rem;
    height: 1.8rem;
}

.media-stage.has-remote-media .audio-presence__ring--outer[b-fktfwchi9n] {
    animation-duration: 1.25s;
}

.media-start[b-fktfwchi9n] {
    position: absolute;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 3rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: .95rem;
    color: white;
    background: rgba(20,16,13,.84);
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-weight: 800;
    cursor: pointer;
}

.media-start:hover[b-fktfwchi9n] {
    background: rgba(37,29,24,.94);
}

.media-start.is-hidden[b-fktfwchi9n] {
    display: none;
}

.media-error[b-fktfwchi9n] {
    position: absolute;
    z-index: 14;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    padding: .7rem .8rem;
    border: 1px solid color-mix(in srgb, var(--app-danger) 42%, rgba(255,255,255,.2));
    border-radius: 1rem;
    color: #fff7f2;
    background: rgba(49, 26, 20, .92);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.media-error[hidden][b-fktfwchi9n] {
    display: none;
}

.media-error__icon[b-fktfwchi9n] {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    background: color-mix(in srgb, var(--app-danger) 78%, #3b1f18);
}

.media-error__icon[b-fktfwchi9n]  svg {
    width: 1.2rem;
    height: 1.2rem;
}

.media-error__copy[b-fktfwchi9n] {
    min-width: 0;
}

.media-error__copy strong[b-fktfwchi9n] {
    display: block;
    margin-bottom: .12rem;
    font-size: .82rem;
}

.media-error__copy p[b-fktfwchi9n] {
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: .72rem;
    line-height: 1.35;
}

.media-error__actions[b-fktfwchi9n] {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.media-error__actions button[b-fktfwchi9n],
.media-error__actions a[b-fktfwchi9n] {
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .7rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: .72rem;
    color: white;
    background: rgba(255,255,255,.08);
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.media-error__actions button[b-fktfwchi9n] {
    border-color: transparent;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
}

@keyframes audio-pulse-b-fktfwchi9n {
    0%, 100% { transform: scale(.92); opacity: .45; }
    50% { transform: scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .audio-presence__ring--outer[b-fktfwchi9n] {
        animation: none;
    }
}

@media (max-width: 760px) {
    .media-stage[b-fktfwchi9n] {
        border-radius: 1.1rem;
    }

    .self-view[b-fktfwchi9n] {
        top: .65rem;
        right: .65rem;
        width: clamp(76px, 20%, 112px);
        border-radius: .85rem;
    }

    .media-error[b-fktfwchi9n] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .media-error__actions[b-fktfwchi9n] {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .media-error__actions > *[b-fktfwchi9n] {
        flex: 1 1 0;
    }
}

.media-error__actions a[hidden][b-fktfwchi9n] {
    display: none;
}
/* /Components/Pages/LiveChat/Components/MediaUpgradePanel.razor.rz.scp.css */
.media-upgrade-dialog[b-uemdy09eyc] {
    width: min(100%, 31rem);
    max-width: 100%;
    margin: auto auto 0;
    padding: 0;
    border: 1px solid var(--app-border);
    border-radius: 1.35rem 1.35rem 0 0;
    color: var(--app-text);
    background: var(--app-surface);
    box-shadow: 0 -24px 70px rgba(44, 31, 22, .22);
    overflow: hidden;
}

.media-upgrade-dialog[b-uemdy09eyc]::backdrop { background: rgba(35, 26, 20, .36); backdrop-filter: blur(3px); }
.media-upgrade-sheet[b-uemdy09eyc] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem 1rem; padding: 1.15rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
.media-upgrade-sheet__icon[b-uemdy09eyc] { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 1rem; color: var(--app-primary-dark); background: var(--app-accent-soft); }
.media-upgrade-sheet__icon[b-uemdy09eyc]  svg { width: 1.45rem; height: 1.45rem; }
.media-upgrade-sheet__copy[b-uemdy09eyc] { min-width: 0; }
.media-upgrade-sheet h2[b-uemdy09eyc] { margin: .05rem 0 .35rem; font-size: 1.05rem; font-weight: 850; letter-spacing: -.02em; }
.media-upgrade-sheet p[b-uemdy09eyc] { margin: 0; color: var(--app-text-muted); font-size: .82rem; line-height: 1.5; }
.media-upgrade-sheet__actions[b-uemdy09eyc] { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .25rem; }
.media-upgrade-sheet__actions .app-button[b-uemdy09eyc] { min-height: 2.85rem; }
.media-upgrade-sheet__actions .app-button[hidden][b-uemdy09eyc] { display: none; }
.media-upgrade-sheet__actions:has(.app-button[hidden])[b-uemdy09eyc] { grid-template-columns: 1fr; }

@media (min-width: 700px) {
    .media-upgrade-dialog[b-uemdy09eyc] { margin-bottom: 1rem; border-radius: 1.35rem; }
}
/* /Components/Pages/LiveChat/Components/MessageComposer.razor.rz.scp.css */
.chat-composer[b-q387tlxt1b] {
    position: sticky;
    z-index: 5;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
    padding: .7rem;
    border-top: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 96%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.chat-composer textarea[b-q387tlxt1b] {
    width: 100%;
    max-height: 8rem;
    resize: none;
    overflow-y: hidden;
    padding: .78rem .95rem;
    border: 1px solid var(--app-control-border);
    border-radius: 12px;
    color: var(--app-text);
    background: color-mix(in srgb, var(--app-bg) 62%, var(--app-surface));
    line-height: 1.4;
    outline: none;
    scrollbar-width: none;
}

.chat-composer textarea[b-q387tlxt1b]::-webkit-scrollbar {
    display: none;
}

.chat-composer textarea:focus[b-q387tlxt1b] {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-primary) 12%, transparent);
}

.chat-composer textarea:disabled[b-q387tlxt1b] {
    opacity: .62;
    cursor: not-allowed;
}

.chat-composer button[b-q387tlxt1b] {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    align-self: end;
    border: 0;
    border-radius: 1rem;
    color: var(--app-button-primary-text);
    background: var(--app-button-primary-bg);
    box-shadow: var(--app-shadow-soft);
    cursor: pointer;
}

.chat-composer button:disabled[b-q387tlxt1b] {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}
/* /Components/Pages/LiveChat/Components/MessageList.razor.rz.scp.css */
.message-list[b-58ikf2juh6] {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}

.chat-messages[b-58ikf2juh6] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: clamp(.9rem, 2vw, 1.3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--app-text-muted) 28%, transparent) transparent;
}

.chat-messages[b-58ikf2juh6]::-webkit-scrollbar {
    width: .4rem;
}

.chat-messages[b-58ikf2juh6]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-text-muted) 24%, transparent);
}

.chat-empty-state[b-58ikf2juh6] {
    min-height: 100%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .5rem;
    padding: 2rem;
    color: var(--app-text-muted);
    text-align: center;
}

.chat-empty-state > span[b-58ikf2juh6] {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    margin-bottom: .35rem;
    border-radius: 1.05rem;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
}

.chat-empty-state > span[b-58ikf2juh6]  svg {
    width: 1.55rem;
    height: 1.55rem;
}

.chat-empty-state strong[b-58ikf2juh6] {
    color: var(--app-text);
}

.chat-empty-state p[b-58ikf2juh6] {
    max-width: 390px;
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
    .chat-messages[b-58ikf2juh6] {
        scroll-behavior: auto;
    }
}

@media (max-width: 760px) {
    .chat-messages[b-58ikf2juh6] {
        gap: .48rem;
        padding: .85rem .7rem;
        scrollbar-width: none;
    }

    .chat-messages[b-58ikf2juh6]::-webkit-scrollbar {
        display: none;
    }
}
/* /Components/Pages/LiveChat/Components/MessageTemplates.razor.rz.scp.css */
.chat-message[b-faqcvtiabo] {
    max-width: min(78%, 620px);
    align-self: flex-start;
}

.chat-message--own[b-faqcvtiabo] {
    align-self: flex-end;
}

.chat-message__label[b-faqcvtiabo] {
    display: none;
}

.chat-message__bubble[b-faqcvtiabo] {
    padding: .7rem .9rem;
    border: 1px solid var(--app-border);
    border-radius: 6px 16px 16px 16px;
    color: var(--app-text);
    background: var(--app-surface-soft);
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chat-message--own .chat-message__bubble[b-faqcvtiabo] {
    border-color: transparent;
    border-radius: 16px 6px 16px 16px;
    color: var(--app-accent-text);
    background: var(--app-accent-soft);
}

.chat-message__meta[b-faqcvtiabo] {
    min-height: 1.35rem;
    display: flex;
    align-items: center;
    gap: .05rem;
    margin: .05rem .15rem -.2rem;
}

.chat-message--own .chat-message__meta[b-faqcvtiabo] {
    justify-content: flex-end;
}

.chat-message__time[b-faqcvtiabo] {
    margin: 0 .4rem;
    color: var(--app-text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1023px) {
    .chat-message__bubble[b-faqcvtiabo] {
        font-size: 16px;
    }
}

.chat-message__delivered[b-faqcvtiabo] {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-grid;
    place-items: center;
    color: var(--app-success);
}

.chat-message__delivered[hidden][b-faqcvtiabo] {
    display: none;
}

.chat-message__delivered[b-faqcvtiabo]  svg {
    width: .9rem;
    height: .9rem;
}

.chat-message-status__trigger[b-faqcvtiabo] { width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border: 0; border-radius: 999px; color: var(--app-warning); background: transparent; cursor: pointer; }
.chat-message-status__trigger[hidden][b-faqcvtiabo] { display: none; }
.chat-message-status__trigger[data-tone="danger"][b-faqcvtiabo] { color: var(--app-danger); }
.chat-message-status__trigger[data-tone="pending"][b-faqcvtiabo] { color: var(--app-text-muted); }
.chat-message-status__trigger:focus-visible[b-faqcvtiabo] { outline: 3px solid color-mix(in srgb, currentColor 28%, transparent); outline-offset: -3px; }
.chat-message-status__trigger[b-faqcvtiabo]  svg { width: 1.15rem; height: 1.15rem; }
.chat-message-status__trigger[data-tone="pending"][b-faqcvtiabo]  svg { animation: message-status-spin-b-faqcvtiabo .85s linear infinite; }

.chat-message-status__popover[b-faqcvtiabo] { position: fixed; inset: 50% auto auto 50%; width: min(24rem, calc(100vw - 2rem)); max-height: min(34rem, calc(100dvh - 2rem)); margin: 0; padding: 1rem; border: 1px solid var(--app-border); border-radius: 1.2rem; color: var(--app-text); background: var(--app-surface); box-shadow: 0 24px 70px rgba(44, 31, 22, .24); overflow-y: auto; transform: translate(-50%, -50%); z-index: 2000; }
.chat-message-status__popover[hidden][b-faqcvtiabo] { display: none; }
.chat-message-status__popover[b-faqcvtiabo]::backdrop { background: rgba(35, 26, 20, .22); backdrop-filter: blur(2px); }
.chat-message-status__header[b-faqcvtiabo] { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: -.35rem -.35rem .5rem 0; }
.chat-message-status__title[b-faqcvtiabo] { margin: 0; font-size: 1rem; font-weight: 850; }
.chat-message-status__close[b-faqcvtiabo] { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 999px; color: var(--app-text-muted); background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.chat-message-status__close:focus-visible[b-faqcvtiabo] { outline: 3px solid color-mix(in srgb, var(--app-primary) 22%, transparent); outline-offset: -3px; }
.chat-message-status__list[b-faqcvtiabo] { display: grid; gap: .55rem; }
.chat-message-status__row[b-faqcvtiabo] { min-height: 3rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .65rem; padding: .45rem .5rem; border-radius: .85rem; background: var(--app-surface-2); }
.chat-message-status__row-icon[b-faqcvtiabo] { width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: .55rem; }
.chat-message-status__row-icon[b-faqcvtiabo]  svg { width: 1rem; height: 1rem; }
.chat-message-status__row--success .chat-message-status__row-icon[b-faqcvtiabo] { color: var(--app-success); background: color-mix(in srgb, var(--app-success) 11%, transparent); }
.chat-message-status__row--pending .chat-message-status__row-icon[b-faqcvtiabo] { color: var(--app-text-muted); background: color-mix(in srgb, var(--app-text-muted) 10%, transparent); }
.chat-message-status__row--pending .chat-message-status__row-icon[b-faqcvtiabo]  svg { animation: message-status-spin-b-faqcvtiabo .85s linear infinite; }
.chat-message-status__row--failure .chat-message-status__row-icon[b-faqcvtiabo] { color: var(--app-warning); background: color-mix(in srgb, var(--app-warning) 13%, transparent); }
.chat-message-status__row-text[b-faqcvtiabo] { font-size: .82rem; font-weight: 750; line-height: 1.35; }
.chat-message-status__retry[b-faqcvtiabo] { min-height: 2.75rem; grid-column: 1 / -1; padding: .55rem .75rem; border: 1px solid var(--app-border); border-radius: .75rem; color: var(--app-primary-dark); background: var(--app-surface); font-size: .74rem; font-weight: 850; cursor: pointer; }
.chat-message-status__retry:disabled[b-faqcvtiabo] { opacity: .58; cursor: wait; }
.chat-message-status__retry:focus-visible[b-faqcvtiabo] { outline: 3px solid color-mix(in srgb, var(--app-primary) 22%, transparent); outline-offset: 2px; }
.chat-message-status__details[b-faqcvtiabo] { margin: .85rem 0 0; color: var(--app-text-muted); font-size: .78rem; line-height: 1.5; }
.chat-message-status__error[b-faqcvtiabo] { margin: .55rem 0 0; padding: .6rem .7rem; border-radius: .7rem; color: var(--app-danger); background: var(--app-danger-soft); font-size: .74rem; line-height: 1.45; }

@keyframes message-status-spin-b-faqcvtiabo { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .chat-message-status__trigger[data-tone="pending"][b-faqcvtiabo]  svg,
    .chat-message-status__row--pending .chat-message-status__row-icon[b-faqcvtiabo]  svg { animation: none; }
}

@media (max-width: 760px) {
    .chat-message[b-faqcvtiabo] { max-width: 90%; }
}
/* /Components/Pages/LiveChat/Components/SessionStatusBar.razor.rz.scp.css */
.session-strip[b-xfjuba5a3j] {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .45rem;
    padding: .55rem .85rem;
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    color: var(--app-text-muted);
    background: color-mix(in srgb, var(--app-surface) 95%, transparent);
    box-shadow: 0 8px 24px rgba(83, 57, 36, .06);
    font-size: .82rem;
}

.session-strip__status[b-xfjuba5a3j],
.session-strip__meta[b-xfjuba5a3j] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.session-status-dot[b-xfjuba5a3j] {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--app-warning);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--app-warning) 13%, transparent);
}

.session-mode[b-xfjuba5a3j] {
    padding: .32rem .58rem;
    border-radius: 999px;
    color: var(--app-primary-dark);
    background: var(--app-accent-soft);
    font-size: .72rem;
    font-weight: 800;
}

[data-session-timer][b-xfjuba5a3j] {
    min-width: 3.2rem;
    color: var(--app-text);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    text-align: right;
}

@media (max-width: 760px) {
    .session-strip[b-xfjuba5a3j] {
        min-height: 2.7rem;
        margin-bottom: .35rem;
        padding: .45rem .65rem;
        border-radius: .85rem;
    }

    .session-mode[b-xfjuba5a3j] {
        display: none;
    }
}

.session-quality[b-xfjuba5a3j] {
    padding: .28rem .52rem;
    border-radius: 999px;
    color: var(--app-warning);
    background: color-mix(in srgb, var(--app-warning) 14%, transparent);
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.session-quality[data-tone="poor"][b-xfjuba5a3j] {
    color: var(--app-danger);
    background: color-mix(in srgb, var(--app-danger, #b94a3c) 14%, transparent);
}

@media (max-width: 520px) {
    .session-quality[b-xfjuba5a3j] {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
