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

/* /Components/Pages/History/History.razor.rz.scp.css */
.history-page[b-eubaoxp5jf] {
    width: 100%;
    padding: clamp(.8rem, 1.8vw, 1.35rem) var(--app-page-padding-inline) clamp(1.2rem, 2.5vw, 2rem);
}

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

.history-filter-empty[b-eubaoxp5jf] {
    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-eubaoxp5jf] {
    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-eubaoxp5jf]  svg {
    width: 1.5rem;
    height: 1.5rem;
}

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

.history-filter-empty p[b-eubaoxp5jf] {
    max-width: 24rem;
    margin: 0 0 .45rem;
    font-size: .82rem;
    line-height: 1.5;
}
.history-sidebar[b-eubaoxp5jf],
.history-detail[b-eubaoxp5jf] {
    min-width: 0;
}

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

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

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

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

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

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

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

.history-card[b-eubaoxp5jf] {
    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-eubaoxp5jf] {
    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-eubaoxp5jf] {
    border-color: var(--app-primary);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

.history-card__mode[b-eubaoxp5jf] {
    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-eubaoxp5jf]  svg {
    width: 1.55rem;
    height: 1.55rem;
}

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

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

.history-card__identity[b-eubaoxp5jf] {
    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-eubaoxp5jf] {
    display: grid;
    grid-template-columns: minmax(0, auto) auto;
    align-items: center;
    gap: .35rem;
    color: var(--app-text-muted);
}

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

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

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

.history-detail-empty[b-eubaoxp5jf] {
    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-eubaoxp5jf] {
    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-eubaoxp5jf]  svg {
    width: 1.75rem;
    height: 1.75rem;
}

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

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

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

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

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

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

    .history-workspace[b-eubaoxp5jf] {
        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-eubaoxp5jf],
.history-page--thread-selected .history-sidebar[b-eubaoxp5jf] {
        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-eubaoxp5jf],
.history-page--thread-selected .history-detail[b-eubaoxp5jf] {
        min-height: 0;
        display: block;
        animation: history-desktop-detail-enter-b-eubaoxp5jf .16s ease both;
    }

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

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

    .history-list-region[b-eubaoxp5jf] {
        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-eubaoxp5jf]::-webkit-scrollbar {
        width: .35rem;
    }

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

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

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

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

    .history-card__preview[b-eubaoxp5jf] {
        font-size: .84rem;
    }
.history-card__identity[b-eubaoxp5jf],
.history-card__meta time[b-eubaoxp5jf] {
        font-size: .66rem;
    }

}

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

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

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

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

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

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

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

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

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

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

}

@media (max-width: 430px) {

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

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

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

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

}

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

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

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

.history-heading .history-heading__scope[b-eubaoxp5jf] {
    max-width: 30rem;
    margin-top: .25rem;
    font-size: .72rem;
    line-height: 1.4;
}
/* /Components/Pages/Home/Components/MatchingPreferenceForm.razor.rz.scp.css */
[data-test-preview][b-gwj2232n9c] { max-width: 100%; max-height: 15rem; border-radius: .5rem; }
[data-device-check][b-gwj2232n9c] { margin-block: .75rem; }
[data-test-status]:empty[b-gwj2232n9c] { display: none; }

.matching-mode-help[b-gwj2232n9c] {
    margin-top: var(--app-space-3);
    color: var(--app-text-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.matching-mode-help p[b-gwj2232n9c] {
    margin: 0;
}

.matching-mode-help p + p:not([hidden])[b-gwj2232n9c] {
    margin-top: var(--app-space-2);
}

@media (max-width: 560px) {
    .matching-mode-choices[b-gwj2232n9c] {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Home/Home.razor.rz.scp.css */
.home-page[b-92dzjjym6p] {
    width: 100%;
    margin-inline: auto;
    padding: 0 0 clamp(1.8rem, 4vw, 3rem);
}

.home-layout[b-92dzjjym6p] {
    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-92dzjjym6p] {
    grid-area: visual;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-card);
    background: var(--app-surface);
    aspect-ratio: 16 / 10;
    max-height: 360px;
}

.home-matching-card[b-92dzjjym6p] {
    grid-area: form;
    min-width: 0;
    scroll-margin-top: calc(var(--app-header-height-desktop) + 1rem);
    padding: 24px;
}

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

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

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

.home-matching-card__heading p[b-92dzjjym6p] {
    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-92dzjjym6p] {
    grid-area: benefits;
    display: grid;
    min-width: 0;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-card);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
}

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

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

.home-benefit__icon[b-92dzjjym6p] {
    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-92dzjjym6p]  svg {
    width: 1.3rem;
    height: 1.3rem;
}

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

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

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

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

@media (min-width: 1400px) {
    .home-hero__visual[b-92dzjjym6p] {

        height: clamp(260px, 20vw, 360px);
        aspect-ratio: auto;
    }
}

@media (max-width: 1099px) {

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

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

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

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

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

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

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

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

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

#start[b-92dzjjym6p] {
    outline: none;
}

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

@media (prefers-reduced-motion: no-preference) {
    .home-layout[b-92dzjjym6p] {
        scroll-behavior: smooth;
    }
}
