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

main[b-uwpcqfgiq3] {
    flex: 1;
}

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

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

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

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

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

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

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

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

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

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

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

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

    article[b-uwpcqfgiq3] {
        padding-bottom: 2rem !important;
    }
}

#blazor-error-ui[b-uwpcqfgiq3] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-uwpcqfgiq3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0mpg15ie5v] {
    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-0mpg15ie5v] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

.navbar-brand[b-0mpg15ie5v] {
    font-size: 1.1rem;
}

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

.bi-house-door-fill[b-0mpg15ie5v] {
    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[b-0mpg15ie5v] {
    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[b-0mpg15ie5v] {
    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");
}

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

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

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

    .nav-item[b-0mpg15ie5v]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

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

.nav-item[b-0mpg15ie5v]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-0mpg15ie5v] {
    display: none;
}

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

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

    .nav-scrollable[b-0mpg15ie5v] {
        /* 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/Modals/AddFamilyMemberModal.razor.rz.scp.css */
.family-member-editor-modal[b-03lveva4jz] {
    --editor-blue: #0d6efd;
    --editor-border: #d6dce5;
    --editor-control-height: 2.55rem;
    --editor-muted: #6f7a87;
    max-width: 555px;
    min-width: 555px;
    width: 555px;
}

.family-member-editor[b-03lveva4jz] {
    max-height: calc(100vh - 2rem);
    border: 0;
    border-radius: .5rem;
    direction: rtl;
    overflow: hidden;
}

.family-member-editor .modal-header[b-03lveva4jz],
.family-member-editor .modal-footer[b-03lveva4jz] {
    padding: .85rem 1.25rem;
}

.family-member-editor .modal-header[b-03lveva4jz] {
    border-bottom: 1px solid #e6eaf0;
    display: grid;
    grid-template-columns: 2rem 1fr;
    min-height: 3.75rem;
}

.family-member-editor .modal-title[b-03lveva4jz] {
    font-size: 1.05rem;
    font-weight: 700;
    grid-column: 2;
    margin: 0;
    text-align: right;
}

.family-member-editor .btn-close[b-03lveva4jz] {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    opacity: .65;
}

.family-member-editor .modal-body[b-03lveva4jz] {
    overflow-y: auto;
    padding: 1.05rem 1.25rem .85rem;
}

.family-member-editor .modal-footer[b-03lveva4jz] {
    background: #fff;
    border-top: 1px solid #e1e6ed;
    gap: .5rem;
    justify-content: flex-start;
    margin-top: 0;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.family-member-editor-grid[b-03lveva4jz] {
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.family-member-editor-grid > *[b-03lveva4jz] {
    max-width: none;
    padding: 0;
    width: 100%;
}

/* Each field row is its own grid so the segmented pills never distort a shared track. */
.editor-row[b-03lveva4jz] {
    align-items: center;
    display: grid;
    gap: .5rem .9rem;
    width: 100%;
}

.editor-row--3[b-03lveva4jz] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
}

.editor-row--identity[b-03lveva4jz] {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 5.8rem) max-content;
}

.editor-row--2[b-03lveva4jz] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.gender-field[b-03lveva4jz],
.kohen-levi-field[b-03lveva4jz] {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    min-height: calc(var(--editor-control-height) + 1.15rem);
    padding-top: 0;
}

.family-member-editor .form-label[b-03lveva4jz] {
    color: #303844;
    display: block;
    font-size: .82rem;
    line-height: 1.15;
    margin-bottom: .2rem;
    text-align: right;
}

.family-member-editor .form-control[b-03lveva4jz],
.family-member-editor .form-select[b-03lveva4jz],
.family-member-editor .btn[b-03lveva4jz] {
    min-height: var(--editor-control-height);
}

.family-member-editor .form-control[b-03lveva4jz],
.family-member-editor .form-select[b-03lveva4jz] {
    border-color: var(--editor-border);
    box-sizing: border-box;
    border-radius: .45rem;
    font-size: .88rem;
    height: var(--editor-control-height);
    max-height: var(--editor-control-height);
    min-height: var(--editor-control-height);
    padding: .45rem .65rem;
    text-align: right;
}

.role-field[b-03lveva4jz] {
    align-self: start;
    display: flex;
    flex-direction: column;
    height: 68.281px;
    justify-content: flex-start;
    min-height: 68.281px;
    min-width: 0;
}

.role-field .form-select[b-03lveva4jz] {
    flex: 1 1 auto;
    font-size: .82rem;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    padding-inline-end: 1.85rem;
    padding-top: 0 !important;
    text-overflow: ellipsis;
}

.role-field .form-label[b-03lveva4jz] {
    flex: 0 0 auto;
}

.parsha-field .form-select[b-03lveva4jz],
.torah-name-field .form-control[b-03lveva4jz] {
    box-sizing: border-box;
    height: var(--editor-control-height) !important;
    line-height: 1.2;
    max-height: var(--editor-control-height) !important;
    min-height: var(--editor-control-height) !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.parsha-field .form-select[b-03lveva4jz] {
    flex: 1 1 auto;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}

.parsha-field[b-03lveva4jz],
.torah-name-field[b-03lveva4jz] {
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.parsha-field[b-03lveva4jz] {
    height: 68.281px;
    min-height: 68.281px;
}

.parsha-field .form-label[b-03lveva4jz],
.torah-name-field .form-label[b-03lveva4jz] {
    flex: 0 0 auto;
}

.family-member-editor .alert[b-03lveva4jz] {
    margin-bottom: .65rem;
    padding: .55rem .75rem;
}

.compact-date-panel[b-03lveva4jz] {
    min-height: auto !important;
}

.birth-date-field .form-label[b-03lveva4jz] {
    margin-bottom: .15rem;
}

.birth-date-pill[b-03lveva4jz] {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--editor-border);
    border-radius: .45rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    display: grid;
    grid-template-columns: auto 10.9rem minmax(0, 1fr) 1.85rem;
    gap: .45rem;
    height: var(--editor-control-height);
    min-height: var(--editor-control-height);
    padding: .18rem .45rem;
    width: 100%;
}

.after-sundown-pill[b-03lveva4jz] {
    align-items: center;
    border-radius: .375rem;
    color: #adb5bd;
    cursor: pointer;
    display: inline-flex;
    height: calc(var(--editor-control-height) - .55rem);
    justify-content: center;
    opacity: .55;
    transition: all .15s ease;
    width: 1.85rem;
}

.btn-check:checked + .after-sundown-pill[b-03lveva4jz] {
    background: var(--editor-blue);
    color: #fff;
    opacity: 1;
}

.birth-date-input-wrap[b-03lveva4jz] {
    align-items: center;
    display: flex;
    height: calc(var(--editor-control-height) - .55rem);
    min-width: 0;
    width: 100%;
}

.birth-date-input[b-03lveva4jz] {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    box-sizing: border-box;
    font-size: .92rem;
    height: calc(var(--editor-control-height) - .55rem);
    max-height: calc(var(--editor-control-height) - .55rem);
    min-height: calc(var(--editor-control-height) - .55rem);
    outline: 0;
    padding: 0 .2rem;
    text-align: center;
    width: 100%;
}

.birth-date-input:focus[b-03lveva4jz] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0;
}

.hebrew-date-selects[b-03lveva4jz] {
    display: flex;
    gap: .18rem;
    height: calc(var(--editor-control-height) - .55rem);
    min-width: 0;
    width: 100%;
}

.birth-date-converted[b-03lveva4jz] {
    align-items: center;
    border-right: 1px solid #e3e7ea;
    color: #66717d;
    display: flex;
    font-size: .86rem;
    font-weight: 500;
    gap: .3rem;
    height: calc(var(--editor-control-height) - .55rem);
    min-height: calc(var(--editor-control-height) - .55rem);
    min-width: 0;
    padding-right: .7rem;
    white-space: nowrap;
}

.birth-date-field .date-mode-toggle .btn[b-03lveva4jz] {
    align-items: center;
    border: 0;
    border-radius: 999px !important;
    display: inline-flex;
    font-size: .68rem;
    height: 100%;
    justify-content: center;
    line-height: 1;
    min-height: 0;
    min-width: 2.1rem;
    padding: .22rem .38rem;
}

.birth-date-field .date-mode-toggle[b-03lveva4jz] {
    align-items: center;
    background: #eef0f4;
    border-radius: 999px;
    gap: .1rem;
    height: calc(var(--editor-control-height) - .55rem);
    padding: .12rem;
}

.birth-date-field .date-mode-toggle .btn-outline-primary[b-03lveva4jz] {
    color: #7b8492;
}

.birth-date-field .date-mode-toggle .btn-check:checked + .btn[b-03lveva4jz] {
    background: var(--editor-blue);
    box-shadow: 0 1px 3px rgba(13, 110, 253, .28);
    color: #fff;
}

.segmented-control[b-03lveva4jz] {
    align-items: center;
    background: #eef1f4;
    border-radius: 999px;
    display: flex;
    gap: .1rem;
    height: var(--editor-control-height);
    min-height: var(--editor-control-height);
    padding: .14rem;
}

.name-field[b-03lveva4jz],
.half-field[b-03lveva4jz] {
    min-height: calc(var(--editor-control-height) + 1.15rem);
}

.segmented-option[b-03lveva4jz] {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #7b8492;
    flex: 1 1 0;
    font-size: .86rem;
    font-weight: 500;
    min-height: calc(var(--editor-control-height) - .35rem);
    padding: .25rem .55rem;
}

.segmented-option.active[b-03lveva4jz] {
    background: var(--editor-blue);
    box-shadow: 0 1px 3px rgba(13, 110, 253, .28);
    color: #fff;
}

.gender-toggle[b-03lveva4jz] {
    min-width: 108px;
}

.kohen-levi-toggle[b-03lveva4jz] {
    min-width: 158px;
}

.death-action-field[b-03lveva4jz] {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.deceased-toggle-btn[b-03lveva4jz] {
    border-radius: .45rem;
    min-width: 8.2rem;
}

.bottom-death-action-row[b-03lveva4jz] {
    display: flex;
    justify-content: flex-start;
    padding: .75rem 0 .75rem;
}

.bottom-death-panel[b-03lveva4jz] {
    margin-top: .75rem;
}

.bottom-deceased-toggle-btn[b-03lveva4jz] {
    border-radius: .45rem;
    min-width: 8.2rem;
}

.birth-date-panel[b-03lveva4jz] {
    border-style: dashed;
    padding: .35rem !important;
}

.birth-date-panel .form-check-label[b-03lveva4jz],
.compact-date-result[b-03lveva4jz] {
    font-size: .72rem;
    line-height: 1.2;
}

.compact-date-result[b-03lveva4jz] {
    display: block;
    margin-top: .2rem;
}

.compact-date-panel .row + .row[b-03lveva4jz] {
    margin-top: .15rem;
}

.compact-date-panel .form-check-input[b-03lveva4jz] {
    flex: 0 0 auto;
}

.family-editor-section[b-03lveva4jz] {
    border: 1px solid #e6eaf0;
    border-radius: .45rem;
    overflow: hidden;
    width: 100%;
}

.family-editor-section + .family-editor-section[b-03lveva4jz] {
    margin-top: .3rem;
}

.family-editor-section summary[b-03lveva4jz] {
    align-items: center;
    background: #f8fafc;
    color: #303844;
    cursor: pointer;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    list-style: none;
    min-height: 2.5rem;
    padding: .45rem .7rem;
}

.family-editor-section summary > span:first-child[b-03lveva4jz] {
    font-weight: 700;
}

.family-editor-section summary[b-03lveva4jz]::-webkit-details-marker {
    display: none;
}

.family-editor-section summary[b-03lveva4jz]::before {
    color: var(--bs-secondary-color);
    content: "\f053";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-size: .72rem;
    font-weight: 900;
    transition: transform .15s ease;
}

.family-editor-section[open] summary[b-03lveva4jz]::before {
    transform: rotate(-90deg);
}

.family-editor-section .section-current-value[b-03lveva4jz] {
    color: var(--editor-muted);
    font-size: .82rem;
    margin-inline-start: auto;
}

.family-editor-section .section-body[b-03lveva4jz] {
    padding: .65rem;
}

.preference-groups[b-03lveva4jz] {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.preference-group[b-03lveva4jz] {
    border: 1px solid #e8edf3;
    border-radius: .4rem;
    overflow: visible;
}

.preference-group-header[b-03lveva4jz] {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
    display: grid;
    font-size: .82rem;
    font-weight: 700;
    gap: .45rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: .4rem .55rem;
}

.preference-group-count[b-03lveva4jz] {
    color: var(--editor-muted);
    font-size: .76rem;
    font-weight: 500;
}

.preference-add-toggle[b-03lveva4jz] {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    height: 1.65rem;
    justify-content: center;
    padding: 0;
    width: 1.65rem;
}

.preference-add-panel[b-03lveva4jz] {
    background: #fff;
    border-bottom: 1px solid #e8edf3;
    display: grid;
    gap: .35rem;
    padding: .45rem .55rem;
}

.preference-add-select-row[b-03lveva4jz] {
    align-items: center;
    display: grid;
    gap: .4rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.preference-add-select-row .btn[b-03lveva4jz] {
    align-items: center;
    display: inline-flex;
    height: 1.95rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.preference-add-option[b-03lveva4jz] {
    align-items: center;
    border: 1px solid #e6ebf2;
    border-radius: .45rem;
    display: grid;
    gap: .45rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: .35rem .45rem;
}

.preference-add-option-name[b-03lveva4jz] {
    color: #303844;
    font-size: .82rem;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preference-add-option-actions[b-03lveva4jz] {
    display: inline-flex;
    gap: .3rem;
}

.preference-add-checkbox[b-03lveva4jz] {
    align-items: center;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: .76rem;
    gap: .25rem;
    justify-content: center;
    min-height: 1.8rem;
    padding: .15rem .5rem;
    white-space: nowrap;
}

.preference-add-checkbox:hover[b-03lveva4jz] {
    background: #f1f6ff;
    border-color: #8bb9ff;
}

.preference-add-checkbox .form-check-input[b-03lveva4jz] {
    margin: 0;
}

.preference-add-panel-footer[b-03lveva4jz] {
    align-items: center;
    border-top: 1px solid #edf1f6;
    display: flex;
    gap: .4rem;
    justify-content: flex-start;
    padding-top: .4rem;
}

.preference-add-panel-footer .btn[b-03lveva4jz] {
    min-height: 1.85rem;
    padding: .15rem .7rem;
}

.preference-group .table-responsive[b-03lveva4jz] {
    max-height: none !important;
    overflow: visible !important;
}

.preference-group .table th[b-03lveva4jz],
.preference-group .table td[b-03lveva4jz] {
    padding: .35rem .5rem;
}

.multi-preference-picker[b-03lveva4jz] {
    min-width: 0;
    position: relative;
}

.multi-preference-summary[b-03lveva4jz] {
    align-items: center;
    display: flex;
    gap: .3rem;
}

.multi-preference-summary .form-control[b-03lveva4jz] {
    background: #fff;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-preference-dialog-backdrop[b-03lveva4jz] {
    align-items: center;
    background: rgba(15, 23, 42, .14);
    direction: rtl;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.25rem;
    position: fixed;
    z-index: 1085;
}

.multi-preference-dialog[b-03lveva4jz] {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: .5rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .24);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    max-height: min(42rem, calc(100vh - 2.5rem));
    overflow: hidden;
    width: min(34rem, calc(100vw - 2rem));
}

.multi-preference-dialog-header[b-03lveva4jz] {
    align-items: center;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    justify-content: space-between;
    padding: .6rem .75rem;
}

.multi-preference-dialog-title[b-03lveva4jz] {
    min-width: 0;
}

.multi-preference-dialog-header h6[b-03lveva4jz] {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
}

.multi-preference-dialog-selection[b-03lveva4jz] {
    color: #4b5563;
    font-size: .78rem;
    line-height: 1.35;
    margin-top: .2rem;
    max-height: 3.2rem;
    overflow-y: auto;
    padding-left: .4rem;
}

.multi-preference-actions[b-03lveva4jz] {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
    display: grid;
    gap: .4rem;
    grid-template-columns: auto auto minmax(7rem, 1fr);
    padding: .25rem .45rem;
}

.multi-preference-actions .btn[b-03lveva4jz] {
    padding: .1rem .25rem;
    text-decoration: none;
    white-space: nowrap;
}

.multi-preference-filter[b-03lveva4jz] {
    min-width: 0;
}

.multi-preference-checkboxes[b-03lveva4jz] {
    display: grid;
    gap: .15rem;
    max-height: 9rem;
    overflow-y: auto;
    padding: .35rem .45rem;
}

.multi-preference-dialog .multi-preference-checkboxes[b-03lveva4jz] {
    max-height: min(58vh, 28rem);
    padding: .45rem .75rem .7rem;
}

.multi-preference-dialog-footer[b-03lveva4jz] {
    align-items: center;
    border-top: 1px solid #e8edf3;
    display: flex;
    gap: .45rem;
    justify-content: flex-start;
    padding: .55rem .75rem;
}

.multi-preference-dialog-footer .btn[b-03lveva4jz] {
    font-weight: 700;
    min-width: 4.4rem;
}

.multi-preference-option[b-03lveva4jz] {
    align-items: center;
    display: flex;
    gap: .45rem;
    margin: 0;
    min-height: 1.55rem;
}

.multi-preference-option span[b-03lveva4jz] {
    font-size: .82rem;
    line-height: 1.2;
}

.multi-preference-empty[b-03lveva4jz] {
    color: var(--editor-muted);
    font-size: .84rem;
    padding: .8rem 0;
    text-align: center;
}

.family-editor-section-success[b-03lveva4jz] {
    border-color: rgba(var(--bs-success-rgb), .35);
}

.family-editor-section-info[b-03lveva4jz] {
    border-color: rgba(var(--bs-info-rgb), .4);
}

.family-editor-section-secondary[b-03lveva4jz] {
    border-color: rgba(var(--bs-secondary-rgb), .35);
}

.family-editor-section .table-responsive[b-03lveva4jz] {
    max-height: 13rem;
    overflow-y: auto;
}

.family-editor-section .table[b-03lveva4jz] {
    min-width: 28rem;
}

.family-member-editor .modal-footer .btn[b-03lveva4jz] {
    border-radius: .45rem;
    font-weight: 700;
    min-width: 4.8rem;
}

.family-member-editor .modal-footer .btn-primary[b-03lveva4jz] {
    background: var(--editor-blue);
    border-color: var(--editor-blue);
    order: -1;
}

.family-member-editor .modal-footer .btn-secondary[b-03lveva4jz] {
    background: #6f7781;
    border-color: #6f7781;
}

@media (max-width: 1199.98px) {
    .family-member-editor-modal[b-03lveva4jz] {
        max-width: min(92vw, 555px);
        min-width: 0;
        width: min(92vw, 555px);
    }
}

@media (max-width: 767.98px) {
    .editor-row--3[b-03lveva4jz],
    .editor-row--identity[b-03lveva4jz] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    /* Pill drops to its own full-width line under the two inputs. */
    .gender-field[b-03lveva4jz],
    .kohen-levi-field[b-03lveva4jz] {
        align-self: stretch;
        align-items: center;
        grid-column: 1 / -1;
        min-height: var(--editor-control-height);
    }
}

@media (max-width: 575.98px) {
    .family-member-editor[b-03lveva4jz] {
        max-height: 100vh;
    }

    .family-member-editor-modal[b-03lveva4jz] {
        margin: 0;
        max-width: none;
    }

    .family-member-editor .modal-content[b-03lveva4jz] {
        border-radius: 0;
        min-height: 100vh;
    }

    .family-member-editor .modal-header[b-03lveva4jz],
    .family-member-editor .modal-body[b-03lveva4jz],
    .family-member-editor .modal-footer[b-03lveva4jz] {
        padding-inline: .75rem;
    }

    .family-editor-section summary[b-03lveva4jz] {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .family-editor-section summary[b-03lveva4jz]::before {
        position: absolute;
        inset-inline-start: .75rem;
        margin-top: .25rem;
    }

    .family-editor-section .section-current-value[b-03lveva4jz] {
        margin-inline-start: 0;
    }
}
/* /Components/Pages/Admin.razor.rz.scp.css */
.admin-page[b-inza8lnbxe] {
    min-height: 100vh;
    background: #f5f7fb;
    color: #1f2937;
}

.admin-header[b-inza8lnbxe] {
    position: relative;
    overflow: visible;
    padding: 3.5rem 0 4.75rem;
    color: #fff;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .18), transparent 28%),
        linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
}

.admin-header[b-inza8lnbxe]::after {
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 42px;
    background: #f5f7fb;
    clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%);
    content: "";
}

.login-bubble-wrapper[b-inza8lnbxe] {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 2rem;
}

.admin-eyebrow[b-inza8lnbxe] {
    display: inline-block;
    margin-bottom: .65rem;
    padding: .25rem .65rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.admin-header h1[b-inza8lnbxe] {
    margin: 0 0 .5rem;
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 750;
}

.admin-header p[b-inza8lnbxe] {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
}

.admin-content[b-inza8lnbxe] {
    position: relative;
    z-index: 1;
    margin-top: -1.5rem;
    padding-bottom: 4rem;
}

.admin-state[b-inza8lnbxe] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 220px;
    color: #64748b;
}

.tool-card[b-inza8lnbxe] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(51, 65, 85, .1);
}

.tool-card + .tool-card[b-inza8lnbxe] {
    margin-top: 1.5rem;
}

.tool-icon[b-inza8lnbxe] {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    color: #5b21b6;
    background: #ede9fe;
    font-size: 1.65rem;
}

.maintenance-icon[b-inza8lnbxe] {
    color: #0f766e;
    background: #ccfbf1;
}

.tool-heading[b-inza8lnbxe] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.tool-heading h2[b-inza8lnbxe] {
    margin: 0 0 .55rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.tool-heading p[b-inza8lnbxe] {
    max-width: 650px;
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.tool-heading .badge[b-inza8lnbxe] {
    border: 1px solid #e2e8f0;
    color: #475569 !important;
    font-size: .72rem;
    letter-spacing: .06em;
}

.include-women-option[b-inza8lnbxe] {
    margin: 1.5rem 0;
    padding: .9rem 3rem .9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.include-women-option .form-check-input[b-inza8lnbxe] {
    float: right;
    margin-right: -2.25rem;
}

.generate-button[b-inza8lnbxe] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-width: 210px;
    padding: .75rem 1.25rem;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    box-shadow: 0 8px 22px rgba(79, 70, 229, .22);
    font-weight: 650;
}

.generate-button:hover:not(:disabled)[b-inza8lnbxe] {
    transform: translateY(-1px);
    box-shadow: 0 11px 28px rgba(79, 70, 229, .28);
}

.generation-note[b-inza8lnbxe] {
    display: inline-block;
    margin-inline-start: 1rem;
    color: #94a3b8;
    font-size: .85rem;
}

.maintenance-actions[b-inza8lnbxe] {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem;
}

.maintenance-button[b-inza8lnbxe] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 650;
}

.relationship-results[b-inza8lnbxe] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.metrics-grid[b-inza8lnbxe] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.metric-card[b-inza8lnbxe] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.metric-card.metric-warning[b-inza8lnbxe] {
    border-color: #fed7aa;
    background: #fff7ed;
}

.metric-value[b-inza8lnbxe] {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 750;
    line-height: 1.1;
}

.metric-warning .metric-value[b-inza8lnbxe] {
    color: #c2410c;
}

.metric-label[b-inza8lnbxe] {
    color: #64748b;
    font-size: .82rem;
}

.repair-panel[b-inza8lnbxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #7f1d1d;
    background: #fef2f2;
}

.repair-panel p[b-inza8lnbxe] {
    margin-top: .25rem;
    color: #991b1b;
    font-size: .88rem;
}

.all-clear[b-inza8lnbxe] {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
    background: #f0fdf4;
    font-weight: 650;
}

@media (max-width: 640px) {
    .admin-header[b-inza8lnbxe] {
        padding-top: 4.5rem;
    }

    .login-bubble-wrapper[b-inza8lnbxe] {
        right: 1rem;
    }

    .tool-card[b-inza8lnbxe] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-icon[b-inza8lnbxe] {
        width: 52px;
        height: 52px;
        font-size: 1.35rem;
    }

    .tool-heading[b-inza8lnbxe] {
        display: block;
    }

    .tool-heading .badge[b-inza8lnbxe] {
        margin-top: .75rem;
    }

    .generate-button[b-inza8lnbxe] {
        width: 100%;
    }

    .generation-note[b-inza8lnbxe] {
        display: block;
        margin: .75rem 0 0;
        text-align: center;
    }

    .maintenance-actions[b-inza8lnbxe],
    .repair-panel[b-inza8lnbxe] {
        align-items: stretch;
        flex-direction: column;
    }

    .maintenance-button[b-inza8lnbxe] {
        width: 100%;
    }

    .metrics-grid[b-inza8lnbxe] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Shared/FamilyTreeView.razor.rz.scp.css */
.family-tree-container[b-ivjjyx16gb] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 0.25rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.family-chart-shell[b-ivjjyx16gb] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #ffffff;
}

.family-member-menu[b-ivjjyx16gb] {
    position: fixed;
    z-index: 1050;
    width: 176px;
    padding: 0.25rem;
    direction: rtl;
    background: #ffffff;
    color: #1e293b;
    text-align: right;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
}

.family-member-menu button[b-ivjjyx16gb] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.4rem;
    border: 0;
    border-radius: 6px;
    color: #1e293b;
    background: transparent;
    text-align: right;
    justify-content: flex-start;
    font-size: 0.875rem;
    line-height: 1.2;
}

.family-member-menu button:hover[b-ivjjyx16gb],
.family-member-menu button:focus-visible[b-ivjjyx16gb] {
    background: #f1f5f9;
    outline: none;
}

.family-member-menu button.delete[b-ivjjyx16gb] {
    color: #b91c1c;
}

.family-action-icon[b-ivjjyx16gb] {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.7rem;
}

.family-action-icon.parent[b-ivjjyx16gb] { background: #4f46e5; }
.family-action-icon.edit[b-ivjjyx16gb] { background: #0ea5e9; }
.family-action-icon.spouse[b-ivjjyx16gb] { background: #e11d48; }
.family-action-icon.child[b-ivjjyx16gb] { background: #059669; }
.family-action-icon.delete[b-ivjjyx16gb] { background: #dc2626; }

.shul-family-chart[b-ivjjyx16gb] {
    --background-color: #ffffff !important;
    --text-color: #1e293b !important;
    flex: 1 1 auto;
    height: 100%;
    max-height: none;
    min-height: 520px;
    border: 1px solid #d8e1ec;
    border-radius: 8px;
    direction: rtl;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.shul-family-chart[b-ivjjyx16gb]  #f3Canvas,
.shul-family-chart[b-ivjjyx16gb]  svg.main_svg {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.shul-family-chart[b-ivjjyx16gb]  .link {
    fill: none;
    stroke: #2f9ae0;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shul-family-chart[b-ivjjyx16gb]  .link.f3-path-to-main {
    stroke-width: 4px;
}

.shul-family-chart[b-ivjjyx16gb]  svg.main_svg {
    direction: ltr;
}

.shul-family-chart[b-ivjjyx16gb]  div.card {
    direction: rtl;
    text-align: center;
    cursor: pointer;
}

.shul-family-chart[b-ivjjyx16gb]  div.card-inner {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-rect {
    width: 190px;
    height: 92px;
    padding: 12px 14px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-rect.male {
    background: #2f80d1;
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-rect.female {
    background: #f72585;
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-rect.deceased {
    background: #6b7280;
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shul-family-chart[b-ivjjyx16gb]  .shul-family-card-detail {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shul-family-chart[b-ivjjyx16gb]  div.card-main .card-inner {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

.shul-family-chart[b-ivjjyx16gb]  .card-label {
    direction: rtl;
    unicode-bidi: plaintext;
}

.empty-state[b-ivjjyx16gb] {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.empty-state i[b-ivjjyx16gb] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.loading-state[b-ivjjyx16gb] {
    text-align: center;
    padding: 3rem;
}

.loading-spinner[b-ivjjyx16gb] {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin-b-ivjjyx16gb 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin-b-ivjjyx16gb {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .shul-family-chart[b-ivjjyx16gb] {
        min-height: 420px;
    }
}
/* /Components/Shared/HebrewDatePicker.razor.rz.scp.css */
.hebrew-date-picker[b-lb8lb7dqje] {
    direction: rtl;
    min-width: 0;
    position: relative;
    width: 100%;
}

.hebrew-date-picker-summary[b-lb8lb7dqje] {
    align-items: center;
    background: #fff;
    border: 1px solid #e3e7ea;
    border-radius: .375rem;
    color: #273242;
    cursor: pointer;
    display: flex;
    gap: .35rem;
    height: 100%;
    justify-content: space-between;
    min-height: 2rem;
    padding: .2rem .48rem;
    text-align: right;
    width: 100%;
}

.hebrew-date-picker-summary span[b-lb8lb7dqje] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hebrew-date-picker-summary i[b-lb8lb7dqje] {
    color: #778293;
    flex: 0 0 auto;
    font-size: .78rem;
}

.hebrew-date-picker-summary:focus[b-lb8lb7dqje] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .16);
    outline: 0;
}

.hebrew-date-picker-menu[b-lb8lb7dqje] {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: .45rem;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .2);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    inset-inline-start: 0;
    margin-top: .35rem;
    max-height: min(22rem, 68vh);
    min-width: min(21rem, calc(100vw - 2rem));
    overflow: hidden;
    position: absolute;
    top: 100%;
    z-index: 1090;
}

.hebrew-date-picker-steps[b-lb8lb7dqje] {
    background: #f7f9fc;
    border-bottom: 1px solid #e6ebf1;
    display: grid;
    gap: .2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: .35rem;
}

.hebrew-date-picker-step[b-lb8lb7dqje] {
    background: transparent;
    border: 0;
    border-radius: .35rem;
    color: #66717d;
    font-size: .8rem;
    font-weight: 700;
    min-height: 2rem;
}

.hebrew-date-picker-step.active[b-lb8lb7dqje] {
    background: #0d6efd;
    color: #fff;
}

.hebrew-date-picker-step:disabled[b-lb8lb7dqje] {
    color: #a6b0bd;
    cursor: not-allowed;
}

.hebrew-date-picker-panel[b-lb8lb7dqje] {
    max-height: 16rem;
    overflow-y: auto;
    padding: .55rem;
}

.hebrew-date-picker-grid[b-lb8lb7dqje] {
    display: grid;
    gap: .35rem;
}

.hebrew-date-picker-grid--years[b-lb8lb7dqje] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hebrew-date-picker-grid--months[b-lb8lb7dqje],
.hebrew-date-picker-grid--days[b-lb8lb7dqje] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hebrew-date-picker-option[b-lb8lb7dqje] {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .35rem;
    color: #273242;
    display: inline-flex;
    flex-direction: column;
    font-size: .88rem;
    font-weight: 600;
    justify-content: center;
    min-height: 2.25rem;
    padding: .28rem .38rem;
}

.hebrew-date-picker-option small[b-lb8lb7dqje] {
    color: #7b8492;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.1;
}

.hebrew-date-picker-option:hover[b-lb8lb7dqje] {
    background: #f5f9ff;
    border-color: #b8d3ff;
}

.hebrew-date-picker-option.active[b-lb8lb7dqje] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.hebrew-date-picker-option.active small[b-lb8lb7dqje] {
    color: rgba(255, 255, 255, .82);
}

.hebrew-date-picker-footer[b-lb8lb7dqje] {
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e6ebf1;
    display: flex;
    gap: .35rem;
    justify-content: flex-start;
    padding: .45rem .55rem;
}

.hebrew-date-picker-footer .btn[b-lb8lb7dqje] {
    min-height: 1.9rem;
}

.hebrew-date-picker--compact .hebrew-date-picker-summary[b-lb8lb7dqje] {
    font-size: .78rem;
    min-height: calc(var(--editor-control-height, 2.55rem) - .55rem);
    padding: .12rem .3rem;
}

@media (max-width: 575.98px) {
    .hebrew-date-picker-menu[b-lb8lb7dqje] {
        inset-inline: auto 0;
        min-width: min(20rem, calc(100vw - 1.5rem));
    }

    .hebrew-date-picker-grid--years[b-lb8lb7dqje],
    .hebrew-date-picker-grid--months[b-lb8lb7dqje],
    .hebrew-date-picker-grid--days[b-lb8lb7dqje] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
