/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dlxpwf7zah] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dlxpwf7zah] {
    flex: 1;
    /* Flex items never shrink below their content by default; without this a wide tree would
       stretch the whole page instead of scrolling inside its own box. */
    min-width: 0;
}

.sidebar[b-dlxpwf7zah] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dlxpwf7zah] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dlxpwf7zah]  a, .top-row[b-dlxpwf7zah]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dlxpwf7zah]  a:hover, .top-row[b-dlxpwf7zah]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dlxpwf7zah]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dlxpwf7zah] {
        justify-content: space-between;
    }

    .top-row[b-dlxpwf7zah]  a, .top-row[b-dlxpwf7zah]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dlxpwf7zah] {
        flex-direction: row;
    }

    .sidebar[b-dlxpwf7zah] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dlxpwf7zah] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dlxpwf7zah]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dlxpwf7zah], article[b-dlxpwf7zah] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-dlxpwf7zah] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-dlxpwf7zah] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6e5i9cjq8q] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-6e5i9cjq8q] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-6e5i9cjq8q] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-6e5i9cjq8q] {
    font-size: 1.1rem;
}

.bi[b-6e5i9cjq8q] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-6e5i9cjq8q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-6e5i9cjq8q] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6e5i9cjq8q] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6e5i9cjq8q] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6e5i9cjq8q]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-6e5i9cjq8q]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-6e5i9cjq8q]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-6e5i9cjq8q] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6e5i9cjq8q] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6e5i9cjq8q] {
        display: none;
    }

    .nav-scrollable[b-6e5i9cjq8q] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-b1tfiyz4ij],
.components-reconnect-repeated-attempt-visible[b-b1tfiyz4ij],
.components-reconnect-failed-visible[b-b1tfiyz4ij],
.components-pause-visible[b-b1tfiyz4ij],
.components-resume-failed-visible[b-b1tfiyz4ij],
.components-rejoining-animation[b-b1tfiyz4ij] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-retrying[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-failed[b-b1tfiyz4ij],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-b1tfiyz4ij] {
    display: block;
}


#components-reconnect-modal[b-b1tfiyz4ij] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-b1tfiyz4ij 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-b1tfiyz4ij 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-b1tfiyz4ij 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-b1tfiyz4ij]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-b1tfiyz4ij 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-b1tfiyz4ij {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-b1tfiyz4ij {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-b1tfiyz4ij {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-b1tfiyz4ij] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-b1tfiyz4ij] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-b1tfiyz4ij] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-b1tfiyz4ij] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-b1tfiyz4ij] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-b1tfiyz4ij] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-b1tfiyz4ij] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-b1tfiyz4ij 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-b1tfiyz4ij] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-b1tfiyz4ij {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/People.razor.rz.scp.css */
.people-filter[b-n17wsxv6bi] {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    margin-bottom: 12px;
}

.people-table[b-n17wsxv6bi] {
    max-width: 820px;
}
/* /Components/Pages/PersonPage.razor.rz.scp.css */
.profile-header[b-51f4oowzgi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.profile-header h1[b-51f4oowzgi] {
    margin: 0;
}

.profile-grid[b-51f4oowzgi] {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .profile-grid[b-51f4oowzgi] {
        grid-template-columns: minmax(0, 1fr);
    }
}

h2[b-51f4oowzgi] {
    font-size: 1.15rem;
    margin-top: 12px;
}

.facts th[b-51f4oowzgi] {
    white-space: nowrap;
    font-weight: 600;
    width: 1%;
    padding-right: 16px;
}

.facts .date[b-51f4oowzgi] {
    white-space: nowrap;
    width: 1%;
    padding-right: 16px;
}

.notes[b-51f4oowzgi] {
    white-space: pre-line; /* keep the line breaks of imported notes */
    max-width: 75ch;
}
/* /Components/Pages/TreePage.razor.rz.scp.css */
.tree-toolbar[b-qijycbh5x4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.tree-title[b-qijycbh5x4] {
    font-size: 1.35rem;
    margin: 0;
}
/* /Components/Shared/PersonSearchBox.razor.rz.scp.css */
.person-search[b-slhxpazkop] {
    position: relative;
    width: 260px;
    max-width: 100%;
}

.results[b-slhxpazkop] {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    right: 0;
    margin: 2px 0 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
}

.results button[b-slhxpazkop] {
    display: block;
    width: 100%;
    padding: 4px 10px;
    border: 0;
    background: none;
    color: #222;
    text-align: left;
}

.results button:hover[b-slhxpazkop],
.results button:focus[b-slhxpazkop] {
    background: #eef4fb;
}

.results small[b-slhxpazkop] {
    color: #777;
    margin-left: 4px;
}
/* /Components/Shared/RelativeList.razor.rz.scp.css */
.relatives[b-j1dp4bakaq] {
    margin-bottom: 10px;
}

.relatives.indent[b-j1dp4bakaq] {
    margin-left: 18px;
}

.title[b-j1dp4bakaq] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
}

ul[b-j1dp4bakaq] {
    list-style: none;
    padding: 0;
    margin: 2px 0 0;
}

small[b-j1dp4bakaq] {
    margin-left: 4px;
}
/* /Components/Tree/FamilyTreeView.razor.rz.scp.css */
/* Scoped to FamilyTreeView. ::deep reaches into the PersonCard child components. */

.tree-viewport[b-mrqpn85sx8] {
    position: relative;
    overflow: auto;
    height: calc(100vh - 8.5rem);
    min-height: 420px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: grab;
}

.tree-viewport.dragging[b-mrqpn85sx8] {
    cursor: grabbing;
    user-select: none;
}

.tree-canvas[b-mrqpn85sx8] {
    position: relative;
    transform-origin: 0 0;
}

.tree-lines[b-mrqpn85sx8] {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.tree-lines[b-mrqpn85sx8]  polyline {
    fill: none;
    stroke: #a9a9a9;
    stroke-width: 1.5;
}

.tree-lines[b-mrqpn85sx8]  .line-partners {
    stroke: #8a94a6;
    stroke-width: 3;
}

/* Cards */

.tree-canvas[b-mrqpn85sx8]  .person-card {
    position: absolute;
    display: flex;
    background: #fff;
    border: 2px solid #9aa5b1;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
}

.tree-canvas[b-mrqpn85sx8]  .person-card.male { border-color: #5bc0de; }
.tree-canvas[b-mrqpn85sx8]  .person-card.female { border-color: #f08a9a; }

.tree-canvas[b-mrqpn85sx8]  .person-card.target {
    box-shadow: 0 0 0 3px #ffd36b, 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tree-canvas[b-mrqpn85sx8]  .person-card.duplicate {
    border-style: dashed;
    opacity: 0.75;
}

.tree-canvas[b-mrqpn85sx8]  .card-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 6px 4px 6px 8px;
    color: #222;
}

.tree-canvas[b-mrqpn85sx8]  .avatar {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e9ecef;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.tree-canvas[b-mrqpn85sx8]  .male .avatar { background: #dff3fa; }
.tree-canvas[b-mrqpn85sx8]  .female .avatar { background: #fde7ea; }

.tree-canvas[b-mrqpn85sx8]  .text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tree-canvas[b-mrqpn85sx8]  .name {
    font-weight: 600;
    /* At most two lines, then "…" */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.tree-canvas[b-mrqpn85sx8]  .years {
    color: #666;
    font-size: 12px;
}

.tree-canvas[b-mrqpn85sx8]  .card-profile {
    flex: none;
    align-self: flex-start;
    padding: 2px 6px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.tree-canvas[b-mrqpn85sx8]  .card-profile:hover {
    color: #006bb7;
}

.tree-canvas[b-mrqpn85sx8]  .dup-mark {
    position: absolute;
    right: 6px;
    bottom: 2px;
    color: #888;
}

/* Zoom buttons, floating in the bottom-right corner over the scrolling area */

.tree-frame[b-mrqpn85sx8] {
    position: relative;
}

.tree-controls[b-mrqpn85sx8] {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.tree-controls .btn[b-mrqpn85sx8] {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
    border: 1px solid #ccc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
