/* /Layout/LoginLayout.razor.rz.scp.css */
.login-shell[b-s6l34mmkde] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #0E2A66;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Exactly one screen tall: app bar on top, tab bar at the bottom, and only the page between them
   scrolls - so nothing ever slides underneath the bottom menu. */
.shell[b-g0vbfdy7rv] {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ground);
}

.appbar[b-g0vbfdy7rv] {
    height: calc(var(--appbar-h) + var(--safe-top));
    padding-top: var(--safe-top);
    display: flex;
    align-items: center;
    gap: 9px;
    padding-left: 16px;
    padding-right: 16px;
    background: var(--brand-surface);
    color: #fff;
    flex: none;
    z-index: 20;
}

/* White disc so the CSI emblem's magenta/orange reads on the navy bar. */
.appbar__mark[b-g0vbfdy7rv] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    flex: none;
}

.appbar__mark img[b-g0vbfdy7rv] {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.appbar__title[b-g0vbfdy7rv] {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.body[b-g0vbfdy7rv] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
/* /Layout/TabBar.razor.rz.scp.css */
/* In the page flow (not floating), so the scrolling area above stops at its top edge. */
.tabbar[b-jkpzc4krlq] {
    flex: none;
    position: relative;
    z-index: 20;
    height: calc(var(--tabbar-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border-top: 1px solid var(--line);
}

/* The tabs are NavLink components, so scoped styles reach their <a> only through ::deep. */
.tabbar[b-jkpzc4krlq]  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-mute);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tabbar[b-jkpzc4krlq]  .tab svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tabbar[b-jkpzc4krlq]  .tab__icon {
    position: relative;
    display: inline-flex;
}

/* "Update waiting" dot, top-right of the Profile icon. */
.tabbar[b-jkpzc4krlq]  .tab__dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E53935;
    border: 2px solid var(--surface);
}

.tabbar[b-jkpzc4krlq]  .tab.active {
    color: var(--brand-2);
}

.tabbar[b-jkpzc4krlq]  .tab:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: -3px;
    border-radius: 8px;
}
/* /Pages/Celebrations.razor.rz.scp.css */
.cel[b-9px09xy9ap] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.cel__title[b-9px09xy9ap] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.cel__date[b-9px09xy9ap] {
    margin: -6px 0 4px;
    font-size: 0.8rem;
    color: var(--text-mute);
}

.cel__loading[b-9px09xy9ap], .cel__notice[b-9px09xy9ap] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    color: var(--text-mute);
    text-align: center;
}

.cel__verse[b-9px09xy9ap] {
    padding: 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-align: center;
}

.cel__verse-text[b-9px09xy9ap] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.cel__verse-text--ml[b-9px09xy9ap] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    line-height: 1.7;
}

.cel__verse-ref[b-9px09xy9ap] {
    margin: 4px 0 0;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand);
}

.cel__verse-prayer[b-9px09xy9ap] {
    margin: 10px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
}

.cel__section[b-9px09xy9ap] {
    margin: 6px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.cel__empty[b-9px09xy9ap] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-mute);
}

.cel__list[b-9px09xy9ap] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cel__row[b-9px09xy9ap] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.cel__row-body[b-9px09xy9ap] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cel__row-name[b-9px09xy9ap] {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
}

.cel__photo[b-9px09xy9ap] {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.cel__placeholder[b-9px09xy9ap] {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-surface);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.cel__upload[b-9px09xy9ap] {
    position: relative;
    flex: none;
    width: 48px;
    height: 48px;
}

.cel__placeholder--upload[b-9px09xy9ap] {
    width: 100%;
    height: 100%;
}

.cel__upload-input[b-9px09xy9ap] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cel__upload-error[b-9px09xy9ap] {
    font-size: 0.72rem;
    color: var(--danger);
}
/* /Pages/Directory.razor.rz.scp.css */
.dir[b-klr60omkzr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.dir__title[b-klr60omkzr] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.dir__loading[b-klr60omkzr], .dir__unavailable[b-klr60omkzr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    color: var(--text-mute);
    text-align: center;
}

/* The magnifier and the clear button sit inside the box's border, so the whole thing reads as one
   search field rather than a text box with decorations next to it. */
.dir__searchbar[b-klr60omkzr] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.dir__searchbar:focus-within[b-klr60omkzr] {
    border-color: var(--brand);
}

.dir__searchbar-icon[b-klr60omkzr] {
    flex: none;
    color: var(--text-mute);
}

.dir__search[b-klr60omkzr] {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    border: none;
    background: none;
    color: var(--text);
    font-size: 16px;   /* below 16px iPhone zooms the page when the box is tapped */
}

.dir__search:focus[b-klr60omkzr] {
    outline: none;
}

/* iOS draws its own clear button inside type="search"; ours is the one that works everywhere. */
.dir__search[b-klr60omkzr]::-webkit-search-cancel-button,
.dir__search[b-klr60omkzr]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.dir__search-clear[b-klr60omkzr] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--line);
    color: var(--text-soft);
}

.dir__az[b-klr60omkzr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dir__az-btn[b-klr60omkzr] {
    min-width: 28px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 600;
}

.dir__az-btn--active[b-klr60omkzr] {
    background: var(--brand-surface);
    border-color: var(--brand);
    color: #fff;
}

.dir__chips[b-klr60omkzr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dir__chip[b-klr60omkzr] {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.dir__chip--active[b-klr60omkzr] {
    background: var(--brand-2);
    border-color: var(--brand-2);
    color: #fff;
}

.dir__count[b-klr60omkzr] {
    margin: 0;
    font-size: 0.76rem;
    color: var(--text-mute);
}

/* Says which filter emptied the list, and carries the one tap that lifts it. */
.dir__empty[b-klr60omkzr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 8px;
    color: var(--text-mute);
    text-align: center;
}

.dir__empty p[b-klr60omkzr] {
    margin: 0;
}

.dir__list[b-klr60omkzr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* A column now: the link (avatar + name + dates) on top, and under it the contact line, which must
   stay outside the link to be tappable in its own right. */
.dir__card[b-klr60omkzr] {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
}

/* The person's row and the shortcut to their family, side by side. They are two separate
   links to two different places, so they cannot be one anchor. */
.dir__card-row[b-klr60omkzr] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dir__card-main[b-klr60omkzr] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

/* The Family button that sits at the right extreme of this row is <FamilyLink>, and is styled
   with it - the same button, in Celebrations too. */

.dir__avatar[b-klr60omkzr] {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-surface);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.dir__card-body[b-klr60omkzr] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dir__card-name[b-klr60omkzr] {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
}

.dir__card-sub[b-klr60omkzr] {
    font-size: 0.76rem;
    color: var(--text-mute);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Why this row is in the results, when it wasn't the name that matched. Deliberately plain - it's
   an explanation, not another piece of the person's detail. */
.dir__why[b-klr60omkzr] {
    align-self: flex-start;
    max-width: 100%;
    margin-top: 3px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text-mute);
    font-size: 0.7rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Birthday in rose, wedding in gold - two colours so they're told apart at a glance. */
.dir__dates[b-klr60omkzr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 3px;
}

.dir__date[b-klr60omkzr] {
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.dir__date--dob[b-klr60omkzr] { background: #FDE7EF; color: #B0215A; }
.dir__date--dow[b-klr60omkzr] { background: #FFF3D6; color: #8A5A00; }

@media (prefers-color-scheme: dark) {
    .dir__date--dob[b-klr60omkzr] { background: #3A1626; color: #F9A8C9; }
    .dir__date--dow[b-klr60omkzr] { background: #33270F; color: #F5CF7A; }
}

.dir__card-count[b-klr60omkzr] {
    flex: none;
    font-size: 0.7rem;
    color: var(--text-mute);
}

/* The number on the left, Share on the right, divided off from the name above so it reads as an
   action and not as another line of detail. */
.dir__contact[b-klr60omkzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.dir__num[b-klr60omkzr] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    min-width: 0;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.dir__num svg[b-klr60omkzr] {
    flex: none;
    color: var(--brand);
}
/* /Pages/DirectoryFamily.razor.rz.scp.css */
.famdet[b-we0za361jn] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.famdet__loading[b-we0za361jn] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-mute);
    padding: 32px 0;
}

.famdet__notice[b-we0za361jn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    text-align: center;
    color: var(--text-mute);
}

.famdet__header[b-we0za361jn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* The photo <img> is rendered by PhotoViewer, so a scoped style reaches it only through ::deep.
   Scaled (never cropped) to fit the space between the app bar and tab bar, leaving room for the
   back link and the name below it — the whole photo is visible without scrolling. */
.famdet__header[b-we0za361jn]  .famdet__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - var(--appbar-h) - var(--safe-top) - var(--tabbar-h) - var(--safe-bottom) - 130px);
    object-fit: contain;
    border-radius: 14px;
    background: var(--surface-2);
}

.famdet__avatar[b-we0za361jn] {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.famdet__header-text[b-we0za361jn] {
    width: 100%;
    min-width: 0;
}

.famdet__name[b-we0za361jn], .famdet__sub[b-we0za361jn] {
    overflow-wrap: break-word;
}

.famdet__avatar--placeholder[b-we0za361jn] {
    background: var(--brand-surface);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.famdet__name[b-we0za361jn] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.famdet__sub[b-we0za361jn] {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-mute);
}

.famdet__grid[b-we0za361jn] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.84rem;
}

.famdet__grid dt[b-we0za361jn] {
    color: var(--text-mute);
    font-weight: 600;
}

.famdet__grid dd[b-we0za361jn] {
    margin: 0;
    color: var(--text);
}

.famdet__section-title[b-we0za361jn] {
    margin: 4px 0 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text);
}

.famdet__members[b-we0za361jn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.famdet__member[b-we0za361jn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
}

/* the person picked in the Directory search */
.famdet__member--hl[b-we0za361jn] {
    border-color: var(--brand-2);
    box-shadow: inset 4px 0 0 var(--brand-2);
}

.famdet__member-name[b-we0za361jn] {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
}

.famdet__member-relation[b-we0za361jn] {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: var(--text-mute);
}

.famdet__member-profession[b-we0za361jn] {
    display: inline-block;
    margin-top: 2px;
    margin-left: 6px;
    font-size: 0.72rem;
    color: var(--text-mute);
}
/* /Pages/Families.razor.rz.scp.css */
.fam[b-9ngc61t5se] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* tight top so a whole family (about 5 members) fits on one phone screen without scrolling */
    padding: 8px 12px 16px;
}

/* Same box, same behaviour and the same wording as Member Directory's, deliberately: a member
   who has learnt to search in one place should not have to learn it again in the other. */
.fam__searchbar[b-9ngc61t5se] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.fam__searchbar:focus-within[b-9ngc61t5se] {
    border-color: var(--brand);
}

.fam__searchbar-icon[b-9ngc61t5se] {
    flex: none;
    color: var(--text-mute);
}

.fam__search[b-9ngc61t5se] {
    flex: 1;
    min-width: 0;
    padding: 11px 0;
    border: none;
    background: none;
    color: var(--text);
    font-size: 16px;   /* below 16px iPhone zooms the page when the box is tapped */
}

.fam__search:focus[b-9ngc61t5se] {
    outline: none;
}

/* iOS draws its own clear button inside type="search"; ours is the one that works everywhere. */
.fam__search[b-9ngc61t5se]::-webkit-search-cancel-button,
.fam__search[b-9ngc61t5se]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.fam__search-clear[b-9ngc61t5se] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--line);
    color: var(--text-soft);
}

.fam__loading[b-9ngc61t5se], .fam__notice[b-9ngc61t5se] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    color: var(--text-mute);
    text-align: center;
}

/* A fixed 10-column grid, not a wrapping row: A–J, K–T, then U–Z plus the four « ‹ › » buttons in
   the four spare cells - so the buttons sit right after Z on every screen width. (With flex-wrap
   they dropped to a line of their own whenever the space after Z was a few pixels short.) */
.fam__az[b-9ngc61t5se] {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
    gap: 5px 4px;
    position: sticky;
    /* top:0 of the page's own scroll area (.body, which already starts below the app bar).
       Offsetting by the app-bar height here pushed the bar ~110px down on an iPhone - the big gap. */
    top: 0;
    background: var(--ground);
    padding: 4px 0;
    z-index: 1;
}

.fam__az-btn[b-9ngc61t5se] {
    min-width: 0;
    padding: 5px 0;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.fam__sheet[b-9ngc61t5se] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    min-width: 0;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.fam__position[b-9ngc61t5se] {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-2);
}

/* The photo <img> is rendered by PhotoViewer, so a scoped style reaches it only through ::deep. */
.fam__sheet[b-9ngc61t5se]  .fam__photo {
    display: block;
    width: 100%;
    max-height: 45dvh;
    object-fit: contain;
    border-radius: 12px;
    background: var(--surface-2);
}

.fam__photo--placeholder[b-9ngc61t5se] {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-surface);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}

.fam__name[b-9ngc61t5se] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
}

.fam__address[b-9ngc61t5se] {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.fam__contact[b-9ngc61t5se] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fam__contact-number[b-9ngc61t5se] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.fam__parish[b-9ngc61t5se] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.fam__parish strong[b-9ngc61t5se] {
    color: var(--text);
}

/* Must fit the phone width — no sideways scrolling. Cells wrap; stacked values keep columns narrow. */
.fam__grid[b-9ngc61t5se] {
    width: 100%;
    margin-top: 4px;
    border-collapse: collapse;
    font-size: 0.74rem;
}

.fam__grid th[b-9ngc61t5se], .fam__grid td[b-9ngc61t5se] {
    padding: 6px 4px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.fam__grid th[b-9ngc61t5se] {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-mute);
    font-weight: 700;
}

.fam__grid td:first-child[b-9ngc61t5se], .fam__grid th:first-child[b-9ngc61t5se] {
    width: 1.4em;
    padding-left: 0;
}

/* DOB/DOM and mobile are short fixed-shape values: keep each line whole. */
.fam__grid td:nth-child(4)[b-9ngc61t5se], .fam__grid td:nth-child(5)[b-9ngc61t5se] {
    white-space: nowrap;
    overflow-wrap: normal;
}

.fam__grid td:last-child[b-9ngc61t5se], .fam__grid th:last-child[b-9ngc61t5se] {
    padding-right: 0;
}

.fam__grid td > span[b-9ngc61t5se] {
    display: block;
}

.fam__grid-name[b-9ngc61t5se] {
    color: var(--text);
    font-weight: 600;
}

.fam__grid-sub[b-9ngc61t5se] {
    font-size: 0.66rem;
    color: var(--text-mute);
}

.fam__grid a[b-9ngc61t5se] {
    color: var(--brand-2);
    text-decoration: none;
}

/* « ‹ › » — right-aligned after Z so it doesn't read as more letters; ends and steps in different colours. */
/* "display: contents" lets the four buttons take grid cells 7–10 of the U–Z row directly. */
.fam__nav[b-9ngc61t5se] {
    display: contents;
}

.fam__nav-btn[b-9ngc61t5se] {
    min-width: 0;
    padding: 1px 0;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
}

.fam__nav-btn--end[b-9ngc61t5se] {
    background: var(--brand);
    color: var(--surface);   /* white on navy; dark text on the light-blue brand in dark mode */
}

.fam__nav-btn--step[b-9ngc61t5se] {
    background: var(--ok);
    color: #fff;
}

.fam__nav-btn:disabled[b-9ngc61t5se] {
    opacity: 0.35;
}

.fam__mine[b-9ngc61t5se],
.fam__mine-link[b-9ngc61t5se] {
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.fam__mine[b-9ngc61t5se] {
    background: var(--ok);
    color: #fff;
}

.fam__mine-link[b-9ngc61t5se] {
    border: 1px solid var(--brand);
    background: var(--surface);
    color: var(--brand);
}
/* /Pages/FamilyTree.razor.rz.scp.css */
/* Kudumba Vriksham - a playful tree scene: sky-to-grass stage, family cards joined by green
   "vine" connectors (classic org-chart borders, rounded where they turn). */
.kv[b-t5v5dpdmt5] {
    --vine: #3B8A3E;
    --sky-top: #E3F1FF;
    --sky-bottom: #F4FBEF;
    --grass: #CDEBC0;
    --root-bg: #FFF7E0;
    --root-line: #E0A21B;
    --branch-bg: #FFFFFF;
    --branch-line: #BFE0B3;

    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px 20px;
    max-width: 720px;
    margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
    .kv[b-t5v5dpdmt5] {
        --vine: #5DB361;
        --sky-top: #10223A;
        --sky-bottom: #132A1E;
        --grass: #1E3A22;
        --root-bg: #33290F;
        --root-line: #C98500;
        --branch-bg: #16202F;
        --branch-line: #2F5A33;
    }
}

/* ---------- hero ---------- */
.kv__hero[b-t5v5dpdmt5] {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1F6F3A 0%, #3B8A3E 55%, #7CB342 100%);
    color: #fff;
    overflow: hidden;
}

.kv__hero-leaf[b-t5v5dpdmt5] { position: absolute; font-size: 2rem; opacity: .9; }
.kv__hero-leaf--1[b-t5v5dpdmt5] { right: 18px; top: 10px; transform: rotate(-18deg); }
.kv__hero-leaf--2[b-t5v5dpdmt5] { right: 58px; bottom: 6px; font-size: 1.5rem; transform: rotate(24deg); }

.kv__hero-title[b-t5v5dpdmt5] { margin: 0; font-size: 1.7rem; font-weight: 800; line-height: 1.3; }
.kv__hero-latin[b-t5v5dpdmt5] { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .04em; color: #E8F5D9; }
.kv__hero-sub[b-t5v5dpdmt5] { margin: 4px 0 0; font-size: .88rem; color: #E8F5D9; }

/* ---------- intro ---------- */
.kv__intro[b-t5v5dpdmt5] {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.kv__intro > p[b-t5v5dpdmt5] { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-soft); }

/* Three generations under one church roof (above the verse). */
.kv__roof[b-t5v5dpdmt5] { margin: 14px 0 0; text-align: center; }
.kv__roof-svg[b-t5v5dpdmt5] { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto -6px; stroke: var(--vine); }
.kv__roof-people[b-t5v5dpdmt5] {
    display: flex;
    justify-content: center;
    gap: 14px;
    max-width: 220px;
    margin: 0 auto;
    padding: 4px 0 6px;
    border-bottom: 4px solid var(--vine);
    font-size: 1.6rem;
    line-height: 1.2;
}
.kv__roof figcaption[b-t5v5dpdmt5] { margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--text-soft); }

.kv__verse[b-t5v5dpdmt5] {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 4px solid var(--vine);
    border-radius: 12px;
    background: var(--sky-bottom);
}

.kv__verse p[b-t5v5dpdmt5] { margin: 0 0 4px; font-size: .86rem; font-style: italic; color: var(--text); }
.kv__verse cite[b-t5v5dpdmt5] { font-size: .74rem; font-style: normal; font-weight: 700; color: var(--text-soft); }

/* ---------- counts strip, A-Z, navigator ---------- */
.kv__strip[b-t5v5dpdmt5] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    font-size: .86rem;
    color: var(--text-soft);
}

.kv__strip strong[b-t5v5dpdmt5] { color: var(--text); }

.kv__az[b-t5v5dpdmt5] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.kv__az-btn[b-t5v5dpdmt5] {
    min-width: 28px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: .78rem;
    font-weight: 700;
}

.kv__az-btn:disabled[b-t5v5dpdmt5] { opacity: .3; }
.kv__az-btn--active[b-t5v5dpdmt5] { background: var(--vine); border-color: var(--vine); color: #fff; }

.kv__nav[b-t5v5dpdmt5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kv__nav-btn[b-t5v5dpdmt5] {
    width: 48px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--vine);
    color: #fff;
    font-size: 1.05rem;
}

.kv__nav-btn:disabled[b-t5v5dpdmt5] { opacity: .3; }
.kv__nav-count[b-t5v5dpdmt5] { font-size: .95rem; color: var(--text-soft); }
.kv__nav-count strong[b-t5v5dpdmt5] { font-size: 1.15rem; color: var(--text); }

/* Names / Photos switch */
.kv__view[b-t5v5dpdmt5] {
    display: flex;
    align-self: center;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.kv__view-btn[b-t5v5dpdmt5] {
    padding: 6px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font-size: .82rem;
    font-weight: 700;
}

.kv__view-btn--on[b-t5v5dpdmt5] { background: var(--vine); color: #fff; }

/* ---------- the tree stage ---------- */
.kv__card[b-t5v5dpdmt5] {
    padding: 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.kv__stage[b-t5v5dpdmt5] {
    position: relative;
    padding: 46px 10px 0;
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 75%);
    overflow: hidden;
    touch-action: pan-y;
}

.kv__badge[b-t5v5dpdmt5] {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface);
    font-size: .76rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}

.kv__sun[b-t5v5dpdmt5] { position: absolute; right: 14px; top: 8px; font-size: 1.6rem; }
.kv__bird[b-t5v5dpdmt5] { position: absolute; right: 52px; top: 12px; font-size: 1.1rem; transform: scaleX(-1); }

.kv__tree[b-t5v5dpdmt5] { display: flex; justify-content: center; }

.kv__node[b-t5v5dpdmt5] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kv__fam[b-t5v5dpdmt5] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    max-width: 240px;
    padding: 10px 10px 12px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(15, 23, 42, .10);
}

.kv__fam--root[b-t5v5dpdmt5] { background: var(--root-bg); border: 2px solid var(--root-line); min-width: 190px; }
.kv__fam--branch[b-t5v5dpdmt5] { background: var(--branch-bg); border: 2px solid var(--branch-line); }

.kv__fam-tag[b-t5v5dpdmt5] { font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--text-mute); }

.kv__avatar[b-t5v5dpdmt5] {
    width: 44px;
    height: 44px;
    margin: 4px 0 2px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--vine);
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
}

.kv__fam--root .kv__avatar[b-t5v5dpdmt5] { width: 52px; height: 52px; font-size: 1.05rem; background: #C98500; }

/* Photo view: the photo fills the top of the card, names sit at the bottom. */
.kv__fam--photo[b-t5v5dpdmt5] { padding: 8px 8px 10px; }
.kv__fam--root.kv__fam--photo[b-t5v5dpdmt5] { min-width: 0; width: 100%; max-width: 260px; }

.kv__pic[b-t5v5dpdmt5] {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 4px 0 6px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sky-bottom);
}

/* Family photos come in every shape, so show the whole photo (contain) over a blurred,
   enlarged copy of itself - no heads trimmed, no empty bars (the Instagram / WhatsApp Status way). */
.kv__pic img[b-t5v5dpdmt5] { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kv__pic-fill[b-t5v5dpdmt5] { object-fit: cover; filter: blur(14px) brightness(.85); transform: scale(1.15); }
.kv__pic-img[b-t5v5dpdmt5] { object-fit: contain; }
.kv__pic-none[b-t5v5dpdmt5] { font-size: 1.4rem; font-weight: 800; color: var(--vine); opacity: .7; }

.kv__fam-name[b-t5v5dpdmt5] { font-size: .9rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.kv__fam-spouse[b-t5v5dpdmt5] { font-size: .8rem; color: var(--text-soft); line-height: 1.25; overflow-wrap: anywhere; }

/* Vine connectors: a drop from the parent card, a bar across the branches, a drop into each. */
.kv__kids[b-t5v5dpdmt5] {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 22px;
}

.kv__kids[b-t5v5dpdmt5]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 22px;
    border-left: 4px solid var(--vine);
    transform: translateX(-2px);
}

.kv__leaf[b-t5v5dpdmt5] {
    position: absolute;
    top: 2px;
    left: calc(50% + 6px);
    font-size: .95rem;
    animation: kv-sway-b-t5v5dpdmt5 3s ease-in-out infinite;
    transform-origin: left center;
}

.kv__kid[b-t5v5dpdmt5] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding: 22px 5px 0;
}

.kv__kid[b-t5v5dpdmt5]::before,
.kv__kid[b-t5v5dpdmt5]::after {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    width: 50%;
    height: 22px;
    border-top: 4px solid var(--vine);
}

.kv__kid[b-t5v5dpdmt5]::after {
    right: auto;
    left: 50%;
    border-left: 4px solid var(--vine);
    margin-left: -2px;
}

/* *-of-type, not *-child: the swaying leaf <span> is the first child of .kv__kids. */
.kv__kid:first-of-type[b-t5v5dpdmt5]::before,
.kv__kid:last-of-type[b-t5v5dpdmt5]::after { border: 0 none; }
.kv__kid:last-of-type[b-t5v5dpdmt5]::before { border-right: 4px solid var(--vine); border-radius: 0 14px 0 0; margin-right: -2px; }
.kv__kid:first-of-type[b-t5v5dpdmt5]::after { border-radius: 14px 0 0 0; }

/* A single branch: just carry the vine straight down. */
.kv__kid:only-of-type[b-t5v5dpdmt5] { padding-top: 0; }
.kv__kid:only-of-type[b-t5v5dpdmt5]::before,
.kv__kid:only-of-type[b-t5v5dpdmt5]::after { display: none; }

.kv__ground[b-t5v5dpdmt5] {
    margin: 18px -10px 0;
    padding: 10px 0 8px;
    border-top: 6px solid var(--grass);
    background: var(--grass);
    text-align: center;
    letter-spacing: .3em;
    font-size: .95rem;
}

.kv__hint[b-t5v5dpdmt5] { margin: 0; text-align: center; font-size: .78rem; color: var(--text-mute); }

/* ---------- states ---------- */
.kv__loading[b-t5v5dpdmt5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
    color: var(--text-mute);
    font-size: .92rem;
}

.spinner[b-t5v5dpdmt5] {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--line);
    border-top-color: var(--vine);
    animation: kv-spin-b-t5v5dpdmt5 .8s linear infinite;
}

.btn-primary[b-t5v5dpdmt5] {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: var(--brand-surface);
    color: #fff;
    font-weight: 700;
}

.kv__empty[b-t5v5dpdmt5] { text-align: center; color: var(--text-soft); }
.kv__empty-emoji[b-t5v5dpdmt5] { font-size: 2rem; margin: 0; }

@keyframes kv-spin-b-t5v5dpdmt5 { to { transform: rotate(360deg); } }
@keyframes kv-sway-b-t5v5dpdmt5 { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }

@media (prefers-reduced-motion: reduce) {
    .kv__leaf[b-t5v5dpdmt5] { animation: none; }
}
/* /Pages/Home.razor.rz.scp.css */
.home[b-i5vbhbfs2e] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.welcome[b-i5vbhbfs2e] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    background: var(--brand-surface);
    color: #fff;
}

.welcome__eyebrow[b-i5vbhbfs2e] {
    margin: 0 0 4px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #C7D2FE;
}

.welcome__title[b-i5vbhbfs2e] {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.welcome__text[b-i5vbhbfs2e] {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #E0E7FF;
    max-width: 42ch;
}

.welcome__mark[b-i5vbhbfs2e] {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
}

.tiles[b-i5vbhbfs2e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tile[b-i5vbhbfs2e] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
}

.tile__icon[b-i5vbhbfs2e] {
    font-size: 1.5rem;
}

/* The just-for-fun pages get a cheerful tint to invite a tap. */
.tile--fun[b-i5vbhbfs2e] { background: linear-gradient(135deg, #EAF3FF 0%, #F3ECFF 100%); }
.tile--green[b-i5vbhbfs2e] { background: linear-gradient(135deg, #EAF7E4 0%, #F4FBEF 100%); }

/* Suggestion Box (post-office cream-and-red) sits beside In Loving Memory (quiet lavender). */
.tile--post[b-i5vbhbfs2e] { background: linear-gradient(135deg, #FFF3E0 0%, #FFE0DB 100%); }
.tile--memory[b-i5vbhbfs2e] { background: linear-gradient(135deg, #F5F1FA 0%, #EDE7F6 100%); }

/* Birthdays (rose to peach) and Wedding Anniversaries (lilac to rose), matching their pages. */
.tile--bday[b-i5vbhbfs2e] { background: linear-gradient(135deg, #FFE3EC 0%, #FFEBD9 100%); }
.tile--wed[b-i5vbhbfs2e] { background: linear-gradient(135deg, #F3E5FA 0%, #FFE3EC 100%); }

/* Share the App: WhatsApp green, since that is where the link usually goes. */
.tile--share[b-i5vbhbfs2e] { background: linear-gradient(135deg, #E3F8EC 0%, #E6F4FF 100%); }

.tile__badge[b-i5vbhbfs2e] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #D32F2F;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    vertical-align: 2px;
}

@media (prefers-color-scheme: dark) {
    .tile--fun[b-i5vbhbfs2e] { background: linear-gradient(135deg, #14233A 0%, #221A38 100%); }
    .tile--green[b-i5vbhbfs2e] { background: linear-gradient(135deg, #132A1E 0%, #10223A 100%); }
    .tile--post[b-i5vbhbfs2e] { background: linear-gradient(135deg, #2A2018 0%, #3A2020 100%); }
    .tile--memory[b-i5vbhbfs2e] { background: linear-gradient(135deg, #1E1A2A 0%, #231C33 100%); }
    .tile--bday[b-i5vbhbfs2e] { background: linear-gradient(135deg, #3A1626 0%, #3A2416 100%); }
    .tile--wed[b-i5vbhbfs2e] { background: linear-gradient(135deg, #2E1A38 0%, #3A1626 100%); }
    .tile--share[b-i5vbhbfs2e] { background: linear-gradient(135deg, #12291F 0%, #12233A 100%); }
}

.tile__name[b-i5vbhbfs2e] {
    font-size: 0.9rem;
    font-weight: 700;
}

.tile__hint[b-i5vbhbfs2e] {
    font-size: 0.74rem;
    color: var(--text-mute);
}

.card[b-i5vbhbfs2e] {
    padding: 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.card__label[b-i5vbhbfs2e] {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.card__muted[b-i5vbhbfs2e] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-mute);
}
/* /Pages/Memorials.razor.rz.scp.css */
/* In Loving Memory - calm and respectful: soft lavender and ivory, generous space, no jokes. */
.mem[b-a3uszbstgd] {
    --lav: #EDE7F6;
    --lav-deep: #7E57C2;
    --ivory: #FFFDF7;
    --frame: #D7CCE8;

    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 14px 24px;
    max-width: 760px;
    margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
    .mem[b-a3uszbstgd] {
        --lav: #231C33;
        --lav-deep: #B39DDB;
        --ivory: #1B1726;
        --frame: #3A3050;
    }
}

.mem__hero[b-a3uszbstgd] {
    padding: 18px 16px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--lav) 0%, var(--ivory) 100%);
    border: 1px solid var(--frame);
    text-align: center;
}

.mem__hero-art[b-a3uszbstgd] { position: relative; display: inline-block; }
.mem__candle[b-a3uszbstgd] { width: 56px; height: 70px; }
.mem__dove[b-a3uszbstgd] { position: absolute; right: -34px; top: 4px; font-size: 1.5rem; }

.mem__flame[b-a3uszbstgd] { transform-origin: 32px 26px; animation: mem-flicker-b-a3uszbstgd 2.8s ease-in-out infinite; }
.mem__flame-glow[b-a3uszbstgd] { opacity: .55; animation: mem-glow-b-a3uszbstgd 2.8s ease-in-out infinite; }

@keyframes mem-flicker-b-a3uszbstgd {
    0%, 100% { transform: scale(1) rotate(-1deg); }
    50% { transform: scale(.94, 1.04) rotate(1.5deg); }
}

@keyframes mem-glow-b-a3uszbstgd {
    0%, 100% { opacity: .5; }
    50% { opacity: .75; }
}

.mem__title[b-a3uszbstgd] { margin: 6px 0 0; font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; color: var(--text); }
.mem__title-ml[b-a3uszbstgd] { margin: 2px 0 0; font-size: 1.05rem; color: var(--lav-deep); font-weight: 600; }
.mem__sub[b-a3uszbstgd] { margin: 8px auto 0; max-width: 420px; font-size: .92rem; line-height: 1.5; color: var(--text-soft); }

.mem__verse[b-a3uszbstgd] {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--lav-deep);
    border-radius: 10px;
    background: var(--ivory);
    text-align: left;
}

.mem__verse p[b-a3uszbstgd] { margin: 0 0 4px; font-size: .86rem; line-height: 1.5; font-style: italic; color: var(--text); }
.mem__verse cite[b-a3uszbstgd] { font-size: .74rem; font-style: normal; font-weight: 600; color: var(--text-mute); }
.mem__verse--hero[b-a3uszbstgd] { max-width: 460px; margin-left: auto; margin-right: auto; }

.mem__count[b-a3uszbstgd] { margin: 0; text-align: center; font-size: .9rem; color: var(--text-soft); }
.mem__count strong[b-a3uszbstgd] { color: var(--text); }

.mem__az[b-a3uszbstgd] { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

.mem__az-btn[b-a3uszbstgd] {
    min-width: 30px;
    padding: 5px 0;
    border-radius: 8px;
    border: 1px solid var(--frame);
    background: var(--ivory);
    color: var(--text);
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

/* The album: one card per row on phones, two on wider screens. */
.mem__album[b-a3uszbstgd] { display: grid; grid-template-columns: 1fr; gap: 14px; }

@media (min-width: 560px) {
    .mem__album[b-a3uszbstgd] { grid-template-columns: 1fr 1fr; }
}

.mem__card[b-a3uszbstgd] {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid var(--frame);
    background: var(--ivory);
    overflow: hidden;
    scroll-margin-top: 70px;
}

.mem__photo[b-a3uszbstgd] {
    aspect-ratio: 4 / 4.2;
    display: grid;
    place-items: center;
    background: var(--lav);
    font-size: 3.4rem;
    border-bottom: 1px solid var(--frame);
}

.mem__photo img[b-a3uszbstgd] { width: 100%; height: 100%; object-fit: cover; }

/* No photo: a short dove banner instead of a big empty frame. */
.mem__photo--none[b-a3uszbstgd] { aspect-ratio: auto; height: 110px; font-size: 2.6rem; }

.mem__body[b-a3uszbstgd] { padding: 14px 16px 16px; text-align: center; }
.mem__name[b-a3uszbstgd] { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.mem__dates[b-a3uszbstgd] { margin: 4px 0 0; font-size: .88rem; font-weight: 600; color: var(--lav-deep); letter-spacing: .02em; }
.mem__relation[b-a3uszbstgd] { margin: 6px 0 0; font-size: .9rem; color: var(--text-soft); }
.mem__line[b-a3uszbstgd] { margin: 10px 0 0; font-size: .9rem; font-style: italic; color: var(--text-soft); }

.mem__loading[b-a3uszbstgd], .mem__empty[b-a3uszbstgd] { text-align: center; padding: 24px 0; color: var(--text-mute); }
.mem__empty-icon[b-a3uszbstgd] { font-size: 2rem; margin: 0; }

.mem__retry[b-a3uszbstgd] {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: var(--lav-deep);
    color: #fff;
    font-weight: 700;
}

.spinner[b-a3uszbstgd] {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: -3px;
    border-radius: 50%;
    border: 2px solid var(--frame);
    border-top-color: var(--lav-deep);
    animation: mem-spin-b-a3uszbstgd .8s linear infinite;
}

@keyframes mem-spin-b-a3uszbstgd { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .mem__flame[b-a3uszbstgd], .mem__flame-glow[b-a3uszbstgd] { animation: none; }
}
/* /Pages/ParishMap.razor.rz.scp.css */
.pmap[b-r0u3yq6al3] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    overflow-x: hidden;
}

/* The map while the PIN list is shown: kept at full size but off-screen, so Leaflet never has to
   re-measure a hidden box and the map is just as it was when the member switches back. */
.pmap__mapview[b-r0u3yq6al3] { display: flex; flex-direction: column; gap: 12px; }
.pmap__offstage[b-r0u3yq6al3] {
    position: absolute;
    top: 0;
    left: -200vw;
    width: calc(100% - 32px);
    visibility: hidden;
    pointer-events: none;
}

.pmap__stat--tap[b-r0u3yq6al3] {
    border-color: var(--brand-2);
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.pmap__stat--tap .pmap__stat-label[b-r0u3yq6al3] { color: var(--brand-2); font-weight: 700; }

.pmap__toggle[b-r0u3yq6al3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.pmap__toggle--small[b-r0u3yq6al3] { max-width: 260px; }

.pmap__toggle-btn[b-r0u3yq6al3] {
    min-height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.pmap__toggle-btn--on[b-r0u3yq6al3] {
    background: var(--brand);
    color: var(--surface);
}

/* PIN list: PIN | Place | Members | Families. */
.pgrid[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
}

.pgrid__row[b-r0u3yq6al3] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.2em 4.6em 4.8em;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    text-align: left;
}

.pgrid__row--head[b-r0u3yq6al3] {
    border-top: none;
    background: var(--surface-2);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.pgrid__row--tap:disabled[b-r0u3yq6al3] { color: var(--text-mute); }
.pgrid__row--tap:not(:disabled):active[b-r0u3yq6al3] { background: var(--surface-2); }
.pgrid__row--open[b-r0u3yq6al3] { background: color-mix(in srgb, var(--brand-2) 12%, transparent); font-weight: 700; }

.pgrid__row--total[b-r0u3yq6al3] {
    border-top: 2px solid var(--line-strong);
    font-weight: 700;
}

.pgrid__row--total small[b-r0u3yq6al3] {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-mute);
}

.pgrid__row--total .pgrid__num[b-r0u3yq6al3] { color: var(--brand); font-size: 1rem; }

.pgrid__divider[b-r0u3yq6al3] { height: 6px; background: var(--surface-2); border-top: 1px solid var(--line); }

.pgrid__pin[b-r0u3yq6al3] { font-variant-numeric: tabular-nums; color: var(--text-soft); }
.pgrid__place[b-r0u3yq6al3] { overflow-wrap: anywhere; }

.pgrid__num[b-r0u3yq6al3] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pgrid__chev[b-r0u3yq6al3] { display: inline-block; width: 0.9em; color: var(--brand-2); }

.pgrid__fams[b-r0u3yq6al3] {
    padding: 4px 12px 12px;
    background: color-mix(in srgb, var(--brand-2) 6%, transparent);
}

.pgrid__muted[b-r0u3yq6al3] {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--text-mute);
}

.pgrid__names[b-r0u3yq6al3] { display: flex; flex-direction: column; }

.pgrid__names .pgrid__fam[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    padding: 8px 2px;
    border-bottom: 1px dashed var(--line);
    text-decoration: none;
}

.pgrid__photos[b-r0u3yq6al3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding-top: 8px;
}

.pgrid__photos .pgrid__fam[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

/* Family photos come in every shape: a rounded box showing the whole photo (contain) over a
   blurred, enlarged copy of itself - no heads trimmed, no empty bars. Same as Kudumba Vriksham. */
.pgrid__photo[b-r0u3yq6al3] {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 4px;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    box-shadow: 0 0 0 1px var(--line);
}

.pgrid__photo img[b-r0u3yq6al3] { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pgrid__photo-fill[b-r0u3yq6al3] { object-fit: cover; filter: blur(14px) brightness(.85); transform: scale(1.15); }
.pgrid__photo-img[b-r0u3yq6al3] { object-fit: contain; }

.pgrid__initial[b-r0u3yq6al3] { font-size: 1.6rem; font-weight: 700; color: var(--brand); }

.pgrid__fam-name[b-r0u3yq6al3] { font-size: 0.88rem; font-weight: 700; color: var(--brand-2); }
.pgrid__fam-sub[b-r0u3yq6al3] { font-size: 0.72rem; color: var(--text-mute); }

.pmap__title[b-r0u3yq6al3] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.pmap__sub[b-r0u3yq6al3] {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-mute);
}

.pmap__loading[b-r0u3yq6al3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    color: var(--text-mute);
}

.pmap__notice[b-r0u3yq6al3] {
    padding: 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.86rem;
    color: var(--text-soft);
}

.pmap__notice p[b-r0u3yq6al3] { margin: 0 0 8px; }
.pmap__notice p:last-child[b-r0u3yq6al3] { margin: 0; }

.pmap__stats[b-r0u3yq6al3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pmap__stat[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.pmap__stat-num[b-r0u3yq6al3] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.pmap__stat-label[b-r0u3yq6al3] {
    font-size: 0.72rem;
    color: var(--text-mute);
}

.pmap__map[b-r0u3yq6al3] {
    height: min(62vh, 520px);
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.pmap__legend[b-r0u3yq6al3] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.76rem;
    color: var(--text-soft);
}

.pmap__legend li[b-r0u3yq6al3] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pmap__key[b-r0u3yq6al3] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.pmap__key--church[b-r0u3yq6al3] { background: #B7791F; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.pmap__key--bubble[b-r0u3yq6al3] { background: rgba(20, 53, 126, .72); }

/* All our families: on the map + outside Kerala + abroad = the Parish at a Glance total. */
.pmap__tally[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    padding: 6px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.pmap__tally-row[b-r0u3yq6al3] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.pmap__tally-row + .pmap__tally-row[b-r0u3yq6al3] { border-top: 1px dashed var(--line); }
.pmap__tally-row strong[b-r0u3yq6al3] { color: var(--text); font-variant-numeric: tabular-nums; }
.pmap__tally-row--total[b-r0u3yq6al3] { border-top: 2px solid var(--line) !important; font-weight: 700; color: var(--text); }
.pmap__tally-row--total strong[b-r0u3yq6al3] { color: var(--brand); font-size: 1.05rem; }
.pmap__tally-row small[b-r0u3yq6al3] { font-weight: 400; color: var(--text-mute); }

.pmap__note[b-r0u3yq6al3] {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-mute);
}

.pmap__link[b-r0u3yq6al3] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-2);
    font-weight: 600;
    font-size: inherit;
}

.pmap__section-title[b-r0u3yq6al3] {
    margin: 6px 0 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text);
}

.pmap__list[b-r0u3yq6al3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pmap__row[b-r0u3yq6al3] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    text-align: left;
    overflow: hidden;
}

.pmap__row:disabled[b-r0u3yq6al3] { opacity: 1; }

/* Share-of-largest bar behind the row text - a quick read of relative size. */
.pmap__row-bar[b-r0u3yq6al3] {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--share) * 100%);
    background: color-mix(in srgb, var(--brand-2) 12%, transparent);
    pointer-events: none;
}

.pmap__row-name[b-r0u3yq6al3],
.pmap__row-count[b-r0u3yq6al3] {
    position: relative;
    font-size: 0.88rem;
}

.pmap__row-name small[b-r0u3yq6al3],
.pmap__row-count small[b-r0u3yq6al3] {
    display: block;
    font-size: 0.72rem;
    color: var(--text-mute);
}

.pmap__row-count[b-r0u3yq6al3] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* A post office that isn't one of its PIN's offices - a wrong PIN in the family record. */
.pgrid__row--warn[b-r0u3yq6al3] { background: color-mix(in srgb, #d97706 12%, transparent); }
.pgrid__place small[b-r0u3yq6al3] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #b45309;
}

.pgrid__warn[b-r0u3yq6al3] {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, #d97706 45%, transparent);
    background: color-mix(in srgb, #d97706 10%, transparent);
    font-size: 0.8rem;
    color: var(--text);
}

.pmap__sort[b-r0u3yq6al3] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-mute);
}

.pmap__sort-btn[b-r0u3yq6al3] {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

.pmap__sort-btn--on[b-r0u3yq6al3] {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--surface);
}
/* /Pages/Profile.razor.rz.scp.css */
.profile[b-d6woy70hzd] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.profile__card[b-d6woy70hzd] {
    padding: 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.profile__name[b-d6woy70hzd] {
    margin: 0 0 2px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.profile__muted[b-d6woy70hzd] {
    margin: 0;
    color: var(--text-mute);
    font-size: 0.86rem;
}

.profile__grid[b-d6woy70hzd] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 14px 0 0;
    font-size: 0.86rem;
}

.profile__grid dt[b-d6woy70hzd] {
    color: var(--text-mute);
    font-weight: 600;
}

.profile__grid dd[b-d6woy70hzd] {
    margin: 0;
    color: var(--text);
}

.profile__photos[b-d6woy70hzd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.profile__photo-row[b-d6woy70hzd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile__photo-label[b-d6woy70hzd] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
}

/* Styling for CelebrationPhoto/PhotoUploadPrompt's markup — Blazor CSS isolation propagates this
   component's scope down onto child components' rendered root elements, same pattern already used
   for PhotoViewer in Families.razor.css/DirectoryFamily.razor.css. */
.cel__photo[b-d6woy70hzd] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.cel__placeholder[b-d6woy70hzd] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-surface);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.cel__upload[b-d6woy70hzd] {
    position: relative;
    width: 56px;
    height: 56px;
}

.cel__placeholder--upload[b-d6woy70hzd] {
    width: 100%;
    height: 100%;
}

.cel__upload-input[b-d6woy70hzd] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cel__upload-error[b-d6woy70hzd] {
    font-size: 0.72rem;
    color: var(--danger);
}

.profile__moved[b-d6woy70hzd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--brand-2);
    color: var(--text);
    font-size: 0.86rem;
    text-decoration: none;
}

.profile__moved > span:last-child[b-d6woy70hzd] {
    font-size: 1.4rem;
    color: var(--brand-2);
}

/* App version card: quiet at the bottom normally; red, at the top, when an update is waiting. */
.profile__app[b-d6woy70hzd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
    border-radius: 14px;
    text-align: center;
}

.profile__app-name[b-d6woy70hzd] {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.profile__app-name strong[b-d6woy70hzd] {
    color: var(--text);
}

.profile__app-ok[b-d6woy70hzd] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ok);
}

.profile__app-status[b-d6woy70hzd] {
    font-size: 0.8rem;
    color: var(--text-mute);
}

.profile__app-build[b-d6woy70hzd] {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    font-size: 0.68rem;
    color: var(--text-mute);
}

.profile__app--update[b-d6woy70hzd] {
    background: #FDECEC;
    border: 2px solid #E53935;
}

.profile__app-alert[b-d6woy70hzd] {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    color: #B71C1C;
}

.profile__app-btn--update[b-d6woy70hzd] {
    align-self: stretch;
    margin-top: 2px;
    padding: 12px;
    border-radius: 10px;
    border: 0;
    background: #E53935;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

@media (prefers-color-scheme: dark) {
    .profile__app--update[b-d6woy70hzd] { background: #3A1616; }
    .profile__app-alert[b-d6woy70hzd] { color: #FFB4B0; }
}

.profile__signout[b-d6woy70hzd] {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: #DC2626;
    font-weight: 700;
    font-size: 0.9rem;
}

/* "This phone": which phone, which number, whose, which family. */
.profile__phone-title[b-d6woy70hzd] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.profile__phone-note[b-d6woy70hzd] {
    margin: 12px 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-mute);
}

/* Re-register sits under Sign out: rare, deliberate, and confirmed before anything happens. */
.profile__reregister[b-d6woy70hzd] {
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed var(--line);
    background: transparent;
    color: var(--text-mute);
    font-weight: 700;
    font-size: 0.88rem;
}

.profile__rereg[b-d6woy70hzd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text);
    border-color: #DC2626;
}

.profile__rereg p[b-d6woy70hzd], .profile__rereg ul[b-d6woy70hzd] { margin: 0; }
.profile__rereg ul[b-d6woy70hzd] { padding-left: 18px; }

.profile__rereg-yes[b-d6woy70hzd] {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #DC2626;
    color: #fff;
    font-weight: 700;
}

.profile__rereg-no[b-d6woy70hzd] {
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-mute);
    font-weight: 600;
}

.profile__error[b-d6woy70hzd] {
    color: #DC2626;
    font-weight: 600;
}
/* /Pages/SelfService.razor.rz.scp.css */
.ss[b-krb3lbth5t] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.ss__title[b-krb3lbth5t] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
}

.ss__lead[b-krb3lbth5t] {
    margin: 2px 0 0;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.ss__notice[b-krb3lbth5t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    color: var(--text-mute);
    text-align: center;
}

.ss__section[b-krb3lbth5t] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
}

.ss__section-no[b-krb3lbth5t] {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--surface);
    font-size: 0.78rem;
}

.ss__card[b-krb3lbth5t] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.ss__card-title[b-krb3lbth5t] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
}

.ss__card-text[b-krb3lbth5t] {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.ss__card--wedding[b-krb3lbth5t] {
    background: linear-gradient(160deg, #FFF6F8 0%, var(--surface) 55%);
    border-color: #F3D3DC;
}

.ss__footnote[b-krb3lbth5t] {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-mute);
    text-align: center;
}

.ss__rule[b-krb3lbth5t] {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px dashed var(--line-strong);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-soft);
}

.ss__row-head[b-krb3lbth5t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ss__edit[b-krb3lbth5t] {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-2);
    text-decoration: none;
}

.ss__member[b-krb3lbth5t] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.ss__member:first-of-type[b-krb3lbth5t] {
    border-top: 0;
}

.ss__member-body[b-krb3lbth5t] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ss__member-name[b-krb3lbth5t] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ss__member-sub[b-krb3lbth5t] {
    font-size: 0.76rem;
    color: var(--text-mute);
    overflow-wrap: anywhere;
}

.ss__member-go[b-krb3lbth5t] {
    font-size: 1.5rem;
    color: var(--brand-2);
}

.ss__pill[b-krb3lbth5t] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 10px;
    background: #FFF4D6;
    color: #7A5200;
    font-size: 0.66rem;
    font-weight: 700;
    vertical-align: 2px;
}

.ss__add[b-krb3lbth5t] {
    display: block;
    margin-top: 4px;
    padding: 11px;
    border-radius: 12px;
    border: 1px dashed var(--brand-2);
    color: var(--brand-2);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.ss__req[b-krb3lbth5t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    border-left: 4px solid #E0A800;
    background: var(--surface-2);
}

.ss__req--approved[b-krb3lbth5t] { border-left-color: var(--ok); }
.ss__req--rejected[b-krb3lbth5t] { border-left-color: var(--danger); }

.ss__req-head[b-krb3lbth5t] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text);
}

.ss__req-status[b-krb3lbth5t] {
    flex: none;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-soft);
}

.ss__req-line[b-krb3lbth5t] {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.ss__req-note[b-krb3lbth5t] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--danger);
}

.ss__req-date[b-krb3lbth5t] {
    font-size: 0.68rem;
    color: var(--text-mute);
}

.ss__people[b-krb3lbth5t] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 16px 10px;
}

.ss__person[b-krb3lbth5t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.ss__person-name[b-krb3lbth5t] {
    margin-top: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ss__person-rel[b-krb3lbth5t] {
    font-size: 0.72rem;
    color: var(--text-mute);
}

@media (prefers-color-scheme: dark) {
    .ss__card--wedding[b-krb3lbth5t] {
        background: linear-gradient(160deg, #2A1C24 0%, var(--surface) 55%);
        border-color: #4A2F3B;
    }
}
/* /Pages/ShareApp.razor.rz.scp.css */
.sa[b-o89dx1i6c5] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 16px 28px;
}

.sa__head[b-o89dx1i6c5] {
    text-align: center;
}

.sa__title[b-o89dx1i6c5] {
    margin: 4px 0 4px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.sa__sub[b-o89dx1i6c5] {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.sa__card[b-o89dx1i6c5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.sa__label[b-o89dx1i6c5] {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* Always dark-on-white, also in dark mode: phone cameras read a QR far better that way. */
.sa__qr[b-o89dx1i6c5] {
    align-self: center;
    width: min(78vw, 300px);
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}

.sa__qr img[b-o89dx1i6c5] {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.sa__hint[b-o89dx1i6c5] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-soft);
    text-align: center;
}

.sa__url[b-o89dx1i6c5] {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-2);
    text-align: center;
    overflow-wrap: anywhere;
}

.sa__btn[b-o89dx1i6c5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.sa__btn--wa[b-o89dx1i6c5] {
    border-color: transparent;
    background: var(--whatsapp);
    color: #fff;
}

.sa__card--note[b-o89dx1i6c5] {
    background: var(--surface-2);
}

.sa__notes[b-o89dx1i6c5] {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-soft);
}

.sa__notes em[b-o89dx1i6c5] {
    font-style: normal;
    font-weight: 600;
    color: var(--text);
}
/* /Pages/Stats.razor.rz.scp.css */
/* Parish at a Glance - a cheerful page: tinted cards, big numbers, thin bars.
   Chart colours are the validated blue/orange pair (light and dark steps checked against the
   app's own card surfaces); all numbers and labels stay in text ink, never in a series colour. */
.st[b-ds5p7xod1j] {
    --men: #2a78d6;
    --women: #eb6834;
    --unspecified: #c3c2b7;
    --bar: #2a78d6;
    --track: #EEF2F8;
    --tint-sky: #EAF3FF;
    --tint-mint: #E8F7EF;
    --tint-rose: #FDEEF2;
    --gold-1: #FFF6D8;
    --gold-2: #FFE7A3;
    --gold-ink: #6B4A00;

    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 14px 20px;
    max-width: 720px;
    margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
    .st[b-ds5p7xod1j] {
        --men: #3987e5;
        --women: #d95926;
        --unspecified: #4a4f5a;
        --bar: #3987e5;
        --track: #1E2838;
        --tint-sky: #14233A;
        --tint-mint: #122A22;
        --tint-rose: #2E1820;
        --gold-1: #2E2510;
        --gold-2: #3D3013;
        --gold-ink: #FFE7A3;
    }
}

/* ---------- hero ---------- */
.st__hero[b-ds5p7xod1j] {
    position: relative;
    padding: 20px 18px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #14357E 0%, #3F51B5 60%, #7B4FC9 100%);
    color: #fff;
    overflow: hidden;
}

.st__hero-confetti[b-ds5p7xod1j] {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 2.4rem;
    transform: rotate(12deg);
}

.st__hero-title[b-ds5p7xod1j] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.st__hero-sub[b-ds5p7xod1j] {
    margin: 4px 0 0;
    font-size: .9rem;
    color: #DCE3FF;
}

.st__loading[b-ds5p7xod1j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
    color: var(--text-mute);
    font-size: .92rem;
    text-align: center;
}

.spinner[b-ds5p7xod1j] {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--line);
    border-top-color: var(--brand);
    animation: st-spin-b-ds5p7xod1j .8s linear infinite;
}

@keyframes st-spin-b-ds5p7xod1j { to { transform: rotate(360deg); } }

.btn-primary[b-ds5p7xod1j] {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: var(--brand-surface);
    color: #fff;
    font-weight: 700;
}

/* ---------- cards ---------- */
.st__card[b-ds5p7xod1j] {
    padding: 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.st__card--sky[b-ds5p7xod1j] { background: var(--tint-sky); }
.st__card--mint[b-ds5p7xod1j] { background: var(--tint-mint); }
.st__card--rose[b-ds5p7xod1j] { background: var(--tint-rose); }

.st__unavailable[b-ds5p7xod1j] { text-align: center; }

.st__title[b-ds5p7xod1j] {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
}

.st__title span[b-ds5p7xod1j] { margin-right: 4px; }

.st__caption[b-ds5p7xod1j] {
    margin: 12px 0 8px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-mute);
}

.st__quip[b-ds5p7xod1j] {
    margin: 12px 0 0;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.st__note[b-ds5p7xod1j] {
    margin: 10px 0 0;
    font-size: .78rem;
    color: var(--text-mute);
}

/* ---------- big number tiles ---------- */
.st__big3[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.st__tile[b-ds5p7xod1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 4px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.st__tile-emoji[b-ds5p7xod1j] { font-size: 1.6rem; line-height: 1; }

.st__tile-num[b-ds5p7xod1j] {
    margin-top: 6px;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.st__tile-label[b-ds5p7xod1j] {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.25;
}

.st__tile-label small[b-ds5p7xod1j] { font-weight: 500; color: var(--text-mute); }

/* ---------- men & women split bar ---------- */
.st__split[b-ds5p7xod1j] {
    display: flex;
    gap: 2px;   /* surface gap between segments */
    height: 22px;
}

.st__split-seg:first-child[b-ds5p7xod1j] { border-radius: 6px 0 0 6px; }
.st__split-seg:last-child[b-ds5p7xod1j] { border-radius: 0 6px 6px 0; }
.st__split-seg:only-child[b-ds5p7xod1j] { border-radius: 6px; }
.st__split-seg--m[b-ds5p7xod1j] { background: var(--men); }
.st__split-seg--f[b-ds5p7xod1j] { background: var(--women); }
.st__split-seg--n[b-ds5p7xod1j] { background: var(--unspecified); }

.st__legend[b-ds5p7xod1j] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 10px;
    font-size: .84rem;
    color: var(--text-soft);
}

.st__legend--center[b-ds5p7xod1j] { justify-content: center; margin: 0 0 10px; }
.st__legend strong[b-ds5p7xod1j] { color: var(--text); }

.st__key[b-ds5p7xod1j] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: -1px;
}

.st__key--m[b-ds5p7xod1j] { background: var(--men); }
.st__key--f[b-ds5p7xod1j] { background: var(--women); }
.st__key--n[b-ds5p7xod1j] { background: var(--unspecified); }

/* ---------- age pyramid ---------- */
.pyr[b-ds5p7xod1j] { display: flex; flex-direction: column; gap: 4px; }

.pyr__row[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    align-items: center;
    height: 22px;
}

.pyr__side[b-ds5p7xod1j] {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.pyr__side--m[b-ds5p7xod1j] { justify-content: flex-end; }

.pyr__bar[b-ds5p7xod1j] { height: 14px; }
.pyr__bar--m[b-ds5p7xod1j] { background: var(--men); border-radius: 4px 0 0 4px; }     /* rounded at the data end, square at the axis */
.pyr__bar--f[b-ds5p7xod1j] { background: var(--women); border-radius: 0 4px 4px 0; }

.pyr__val[b-ds5p7xod1j] {
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-soft);
    font-variant-numeric: tabular-nums;
}

.pyr__label[b-ds5p7xod1j] {
    text-align: center;
    font-size: .74rem;
    font-weight: 700;
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
}

/* ---------- life stages ---------- */
.st__stages[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.st__stage[b-ds5p7xod1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 4px 12px;
    border-radius: 14px;
    background: var(--surface);
}

.st__stage-emoji[b-ds5p7xod1j] { font-size: 1.7rem; line-height: 1; }
.st__stage-num[b-ds5p7xod1j] { margin-top: 4px; font-size: 1.35rem; font-weight: 800; color: var(--text); }
.st__stage-label[b-ds5p7xod1j] { font-size: .78rem; font-weight: 700; color: var(--text); }
.st__stage-age[b-ds5p7xod1j] { font-size: .7rem; color: var(--text-mute); }
.st__stage-quip[b-ds5p7xod1j] { margin-top: 4px; font-size: .7rem; line-height: 1.3; color: var(--text-soft); }

/* ---------- Senior Stars ---------- */
.st__senior[b-ds5p7xod1j] {
    text-align: center;
    background: radial-gradient(circle at 50% 0%, var(--gold-2) 0%, var(--gold-1) 60%);
    border-color: #F2D27A;
    color: var(--gold-ink);
}

.st__crown[b-ds5p7xod1j] { width: 72px; height: 72px; }

.st__senior-num[b-ds5p7xod1j] {
    margin: 2px 0 0;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.st__senior-title[b-ds5p7xod1j] { margin: 4px 0 0; font-size: 1.25rem; font-weight: 800; }

.st__senior-sub[b-ds5p7xod1j] {
    margin: 6px auto 0;
    max-width: 420px;
    font-size: .88rem;
    line-height: 1.45;
}

.st__senior-pills[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.st__pill[b-ds5p7xod1j] {
    display: flex;
    flex-direction: column;
    padding: 10px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .6);
}

@media (prefers-color-scheme: dark) {
    .st__senior[b-ds5p7xod1j] { border-color: #5A4718; }
    .st__pill[b-ds5p7xod1j] { background: rgba(0, 0, 0, .25); }
}

.st__pill strong[b-ds5p7xod1j] { font-size: 1.3rem; font-weight: 800; }
.st__pill span[b-ds5p7xod1j] { font-size: .74rem; font-weight: 700; }
.st__pill em[b-ds5p7xod1j] { margin-top: 3px; font-size: .7rem; font-style: normal; line-height: 1.3; opacity: .85; }

.st__verse[b-ds5p7xod1j] {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    border-left: 4px solid #E0A21B;
    background: rgba(255, 255, 255, .5);
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    .st__verse[b-ds5p7xod1j] { background: rgba(0, 0, 0, .2); }
}

.st__verse p[b-ds5p7xod1j] { margin: 0 0 6px; font-size: .88rem; line-height: 1.5; font-style: italic; }
.st__verse cite[b-ds5p7xod1j] { font-size: .76rem; font-style: normal; font-weight: 700; }

/* ---------- professions ---------- */
.st__rows[b-ds5p7xod1j] { display: flex; flex-direction: column; gap: 12px; }

.st__row[b-ds5p7xod1j] { display: flex; gap: 10px; align-items: flex-start; }

.st__row-emoji[b-ds5p7xod1j] {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--track);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.st__row-body[b-ds5p7xod1j] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.st__row-head[b-ds5p7xod1j] { display: flex; justify-content: space-between; gap: 8px; }
.st__row-label[b-ds5p7xod1j] { font-size: .88rem; font-weight: 700; color: var(--text); }
.st__row-val[b-ds5p7xod1j] { font-size: .9rem; font-weight: 800; color: var(--text); }

.st__bar[b-ds5p7xod1j] {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: var(--track);
}

.st__bar-fill[b-ds5p7xod1j] {
    display: block;
    height: 100%;
    border-radius: 0 4px 4px 0;
    background: var(--bar);
}

.st__row-quip[b-ds5p7xod1j] { font-size: .74rem; color: var(--text-mute); }

/* ---------- marriages ---------- */
.st__facts[b-ds5p7xod1j] {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .86rem;
    line-height: 1.45;
    color: var(--text-soft);
}

.st__facts strong[b-ds5p7xod1j] { color: var(--text); }

/* ---------- households ---------- */
.st__cols[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: end;
}

.st__col[b-ds5p7xod1j] { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.st__col-val[b-ds5p7xod1j] { font-size: .84rem; font-weight: 800; color: var(--text); }

.st__col-track[b-ds5p7xod1j] {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 44px;
    height: 110px;
}

.st__col-fill[b-ds5p7xod1j] {
    display: block;
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: var(--bar);
}

.st__col-label[b-ds5p7xod1j] {
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid var(--line-strong);
    text-align: center;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-mute);
}

.st__duo[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.st__duo-item[b-ds5p7xod1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 6px;
    border-radius: 14px;
    background: var(--tint-mint);
}

.st__duo-emoji[b-ds5p7xod1j] { font-size: 1.4rem; }
.st__duo-item strong[b-ds5p7xod1j] { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.st__duo-item span[b-ds5p7xod1j] { font-size: .78rem; font-weight: 700; color: var(--text); }
.st__duo-item em[b-ds5p7xod1j] { margin-top: 3px; font-size: .72rem; font-style: normal; color: var(--text-soft); }

/* ---------- blood groups ---------- */
.st__blood[b-ds5p7xod1j] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.st__drop[b-ds5p7xod1j] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    border-radius: 14px;
    background: var(--tint-rose);
    border: 2px solid transparent;
}

.st__drop--rare[b-ds5p7xod1j] { border-color: #E0A21B; }
.st__drop-group[b-ds5p7xod1j] { font-size: .95rem; font-weight: 800; color: #B91C1C; }
.st__drop-num[b-ds5p7xod1j] { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.st__drop-tag[b-ds5p7xod1j] { font-size: .62rem; font-weight: 700; color: var(--text-soft); }

@media (prefers-color-scheme: dark) {
    .st__drop-group[b-ds5p7xod1j] { color: #F87171; }
}

/* ---------- near & far ---------- */
.st__places[b-ds5p7xod1j] { display: flex; flex-direction: column; gap: 8px; }

.st__place[b-ds5p7xod1j] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--surface);
    font-size: .88rem;
    color: var(--text-soft);
}

.st__place-emoji[b-ds5p7xod1j] { font-size: 1.3rem; }
.st__place strong[b-ds5p7xod1j] { font-size: 1.1rem; font-weight: 800; color: var(--text); }

/* ---------- about these figures ---------- */
.st__about[b-ds5p7xod1j] { background: var(--surface-2); }

.st__about-title[b-ds5p7xod1j] {
    margin: 0 0 8px;
    font-size: .98rem;
    font-weight: 800;
    color: var(--text);
}

.st__about p[b-ds5p7xod1j] {
    margin: 0 0 8px;
    font-size: .84rem;
    line-height: 1.55;
    color: var(--text-soft);
}

.st__about p:last-child[b-ds5p7xod1j] { margin-bottom: 0; }
.st__about strong[b-ds5p7xod1j] { color: var(--text); }
/* /Pages/Suggestions.razor.rz.scp.css */
/* Suggestion Box - warm post-office red and cream, big friendly targets, chat-style bubbles. */
.sb[b-yfz890uii4] {
    --post: #D32F2F;
    --post-deep: #B71C1C;
    --cream: #FFF8EE;
    --me: #FFE9E3;
    --team: #E7F0FF;

    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px 20px;
    max-width: 720px;
    margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
    .sb[b-yfz890uii4] {
        --cream: #2A2018;
        --me: #3A2420;
        --team: #172640;
    }
}

/* ---------- hero ---------- */
.sb__hero[b-yfz890uii4] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCCBC 55%, #FFAB91 100%);
    color: #4E1A0E;
    overflow: hidden;
}

@media (prefers-color-scheme: dark) {
    .sb__hero[b-yfz890uii4] { background: linear-gradient(135deg, #4A2A1A 0%, #5A2A22 60%, #6A2A26 100%); color: #FFE3D8; }
}

.sb__postbox[b-yfz890uii4] { flex: none; width: 104px; height: 120px; }

.sb__letter[b-yfz890uii4] { animation: sb-bob-b-yfz890uii4 2.4s ease-in-out infinite; transform-origin: 90px 25px; }

@keyframes sb-bob-b-yfz890uii4 {
    0%, 100% { transform: translate(0, 0) rotate(-8deg); }
    50% { transform: translate(-6px, 6px) rotate(-14deg); }
}

.sb__title[b-yfz890uii4] { margin: 0; font-size: 1.55rem; font-weight: 800; line-height: 1.15; }
.sb__title-ml[b-yfz890uii4] { margin: 2px 0 0; font-size: 1.05rem; font-weight: 700; opacity: .85; }
.sb__tagline[b-yfz890uii4] { margin: 6px 0 0; font-size: .88rem; line-height: 1.4; }

/* ---------- primary action ---------- */
.sb__cta[b-yfz890uii4] {
    min-height: 56px;
    border: none;
    border-radius: 16px;
    background: var(--post);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(211, 47, 47, .3);
    -webkit-tap-highlight-color: transparent;
}

.sb__cta:active[b-yfz890uii4] { transform: scale(.98); }

/* ---------- cards & compose ---------- */
.sb__card[b-yfz890uii4] {
    padding: 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.sb__compose[b-yfz890uii4] { display: flex; flex-direction: column; gap: 10px; background: var(--cream); }

.sb__step[b-yfz890uii4] { margin: 4px 0 0; font-size: .95rem; font-weight: 800; color: var(--text); }

.sb__chips[b-yfz890uii4] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.sb__chip[b-yfz890uii4] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: .86rem;
    font-weight: 700;
    text-align: left;
    line-height: 1.2;
}

.sb__chip.is-on[b-yfz890uii4] { border-color: var(--post); background: #FFEBE8; color: #7A1F1F; }
@media (prefers-color-scheme: dark) { .sb__chip.is-on[b-yfz890uii4] { background: #3A2020; color: #FFD9D4; } }

.sb__chip-emoji[b-yfz890uii4] { font-size: 1.35rem; }
.sb__chip--static[b-yfz890uii4] { display: inline-flex; min-height: 0; padding: 4px 10px; font-size: .8rem; }

.sb__or[b-yfz890uii4] {
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    color: var(--text-mute);
}

.sb__or[b-yfz890uii4]::before, .sb__or[b-yfz890uii4]::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.sb__text[b-yfz890uii4] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    resize: vertical;
}

.sb__text:focus[b-yfz890uii4] { outline: none; border-color: var(--post); }

.sb__actions[b-yfz890uii4] { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.sb__send[b-yfz890uii4] {
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    background: var(--post);
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
}

.sb__send:disabled[b-yfz890uii4] { opacity: .45; }

.sb__link[b-yfz890uii4] { border: none; background: none; color: var(--text-soft); font-weight: 700; padding: 8px; }

.sb__error[b-yfz890uii4] { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: .86rem; font-weight: 600; }

.sb__toast[b-yfz890uii4] {
    padding: 12px 14px;
    border-radius: 14px;
    background: #E8F7EE;
    color: #14532D;
    font-weight: 700;
    text-align: center;
}

@media (prefers-color-scheme: dark) { .sb__toast[b-yfz890uii4] { background: #12301F; color: #BBF7D0; } }

/* ---------- tabs & list ---------- */
.sb__tabs[b-yfz890uii4] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: var(--line); }

.sb__tab[b-yfz890uii4] {
    min-height: 44px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--text-soft);
    font-size: .95rem;
    font-weight: 800;
}

.sb__tab.is-on[b-yfz890uii4] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

.sb__badge[b-yfz890uii4] {
    display: inline-block;
    min-width: 20px;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--post);
    color: #fff;
    font-size: .74rem;
}

.sb__count[b-yfz890uii4] { font-size: .78rem; color: var(--text-mute); margin-left: 2px; }

.sb__list[b-yfz890uii4] { display: flex; flex-direction: column; gap: 8px; }

.sb__item[b-yfz890uii4] {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
}

.sb__item.is-unread[b-yfz890uii4] { border-color: var(--post); box-shadow: 0 0 0 1px var(--post) inset; }

.sb__item-emoji[b-yfz890uii4] {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--cream);
    font-size: 1.3rem;
}

.sb__item-body[b-yfz890uii4] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sb__item-top[b-yfz890uii4] { display: flex; justify-content: space-between; gap: 8px; }
.sb__item-cat[b-yfz890uii4] { font-size: .88rem; font-weight: 800; }
.sb__item-date[b-yfz890uii4] { font-size: .76rem; color: var(--text-mute); white-space: nowrap; }
.sb__item-preview[b-yfz890uii4] { font-size: .84rem; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sb__status[b-yfz890uii4] { align-self: flex-start; margin-top: 2px; font-size: .72rem; font-weight: 700; color: var(--text-mute); }
.sb__status--replied[b-yfz890uii4] { color: #1D4ED8; }
.sb__status--resolved[b-yfz890uii4] { color: #15803D; }
@media (prefers-color-scheme: dark) {
    .sb__status--replied[b-yfz890uii4] { color: #93C5FD; }
    .sb__status--resolved[b-yfz890uii4] { color: #86EFAC; }
}

/* On the corner of the category icon, clear of the date. */
.sb__dot[b-yfz890uii4] {
    position: absolute;
    top: 8px;
    left: 48px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    background: var(--post);
}

/* ---------- conversation ---------- */

.sb__thread-head[b-yfz890uii4] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.sb__bubbles[b-yfz890uii4] { display: flex; flex-direction: column; gap: 10px; }

.sb__bubble[b-yfz890uii4] {
    max-width: 88%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 16px;
}

.sb__bubble--me[b-yfz890uii4] { align-self: flex-end; background: var(--me); border-bottom-right-radius: 4px; }
.sb__bubble--team[b-yfz890uii4] { align-self: flex-start; background: var(--team); border-bottom-left-radius: 4px; }

.sb__who[b-yfz890uii4] { font-size: .72rem; font-weight: 700; color: var(--text-mute); }
.sb__body[b-yfz890uii4] { font-size: .95rem; line-height: 1.45; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.sb__bubble audio[b-yfz890uii4] { width: 100%; min-width: 220px; height: 40px; }

.sb__play[b-yfz890uii4] {
    align-self: flex-start;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
}

/* ---------- misc ---------- */
.sb__empty[b-yfz890uii4] { text-align: center; color: var(--text-soft); }
.sb__empty-emoji[b-yfz890uii4] { font-size: 2.2rem; margin: 0; }
.sb__foot[b-yfz890uii4] { margin: 0; text-align: center; font-size: .76rem; color: var(--text-mute); }

.sb__loading[b-yfz890uii4] { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px 0; color: var(--text-mute); }

.spinner[b-yfz890uii4] {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--line);
    border-top-color: var(--post);
    animation: sb-spin-b-yfz890uii4 .8s linear infinite;
}

@keyframes sb-spin-b-yfz890uii4 { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .sb__letter[b-yfz890uii4] { animation: none; }
}
/* /Shared/AppBarSignOut.razor.rz.scp.css */
.appbar__signout[b-wylxni1vsa] {
    margin-left: auto;          /* pushed to the right end of the app bar */
    margin-right: -8px;
    width: 44px;
    height: 44px;               /* comfortable thumb target */
    display: grid;
    place-items: center;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #fff;
}

.appbar__signout:active[b-wylxni1vsa] {
    background: rgba(255, 255, 255, 0.16);
}

.signout__scrim[b-wylxni1vsa] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px 16px calc(16px + var(--safe-bottom, 0px));
    background: rgba(8, 12, 24, 0.5);
}

.signout__sheet[b-wylxni1vsa] {
    width: 100%;
    max-width: 420px;
    padding: 20px 18px 16px;
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.signout__title[b-wylxni1vsa] {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.signout__text[b-wylxni1vsa] {
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-soft);
}

.signout__actions[b-wylxni1vsa] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.signout__btn[b-wylxni1vsa] {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
}

.signout__btn--go[b-wylxni1vsa] {
    border-color: #c62828;
    background: #c62828;
    color: #fff;
}

.signout__btn:disabled[b-wylxni1vsa] {
    opacity: 0.6;
}
/* /Shared/BackTo.razor.rz.scp.css */
.appbar__back[b-g0kmwjcbm5] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    flex: none;
    min-height: 40px;            /* comfortable thumb target */
    margin-left: -8px;
    padding: 4px 10px 4px 2px;
    border-radius: 10px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.appbar__back:active[b-g0kmwjcbm5] {
    background: rgba(255, 255, 255, 0.16);
}
/* /Shared/BiometricCard.razor.rz.scp.css */
.bio[b-jw7ip3h7p1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.bio__title[b-jw7ip3h7p1] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
}

.bio__text[b-jw7ip3h7p1] {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.bio__small[b-jw7ip3h7p1] {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--text-mute);
}

.bio__btn[b-jw7ip3h7p1] {
    padding: 11px;
    border: none;
    border-radius: 12px;
    background: var(--brand);
    color: var(--surface);
    font-size: 0.9rem;
    font-weight: 700;
}

.bio__btn:disabled[b-jw7ip3h7p1] { opacity: 0.6; }
/* /Shared/CharCount.razor.rz.scp.css */
.charcount[b-ph54ebjcjn] {
    margin: -4px 2px 0;
    text-align: right;
    font-size: 0.74rem;
    color: var(--text-mute);
}

.charcount--near[b-ph54ebjcjn] { color: #C25E00; font-weight: 700; }
.charcount--full[b-ph54ebjcjn] { color: var(--danger); font-weight: 700; }
/* /Shared/ChurchWebsiteLink.razor.rz.scp.css */
.cweb[b-z2ccaz40vo] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.cweb__icon[b-z2ccaz40vo] {
    flex: none;
    font-size: 1.5rem;
}

.cweb__body[b-z2ccaz40vo] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cweb__name[b-z2ccaz40vo] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.cweb__sub[b-z2ccaz40vo] {
    font-size: 0.74rem;
    color: var(--text-mute);
    overflow-wrap: anywhere;
}

.cweb__out[b-z2ccaz40vo] {
    flex: none;
    color: var(--brand-2);
}
/* /Shared/ComingSoon.razor.rz.scp.css */
.soon[b-bmoyawtkm9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 56px 28px;
}

.soon__icon[b-bmoyawtkm9] {
    font-size: 2.4rem;
}

.soon__title[b-bmoyawtkm9] {
    margin: 4px 0 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.soon__text[b-bmoyawtkm9] {
    margin: 0;
    max-width: 34ch;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.soon__phase[b-bmoyawtkm9] {
    margin: 6px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mute);
}
/* /Shared/ConnectivityBar.razor.rz.scp.css */
.offline-bar[b-kajp318py7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #92400E;
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.35;
}

.offline-bar svg[b-kajp318py7] {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* /Shared/ContactActions.razor.rz.scp.css */
.contact-actions[b-n89mlncbzk] {
    display: flex;
    gap: 8px;
}

.contact-actions__btn[b-n89mlncbzk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.contact-actions__btn--call[b-n89mlncbzk] {
    background: var(--brand-surface);
    color: #fff;
}

.contact-actions__btn--whatsapp[b-n89mlncbzk] {
    background: var(--whatsapp);
    color: #fff;
}
/* /Shared/FamilyLink.razor.rz.scp.css */
/* Fixed width and never stretched: it sits at the end of a flex row whose middle (the name and
   the contact buttons) takes whatever is left. */
.famlink[b-om4owca0mw] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 52px;
    padding: 6px 2px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    text-decoration: none;
    color: var(--text-mute);
}

.famlink:active[b-om4owca0mw] {
    background: var(--line);
}

.famlink__icon[b-om4owca0mw] {
    font-size: 1.05rem;
    line-height: 1.1;
}

.famlink__label[b-om4owca0mw] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
/* /Shared/HouseLocationCard.razor.rz.scp.css */
.hloc[b-em0w8ydszu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.hloc__head[b-em0w8ydszu] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.hloc__title[b-em0w8ydszu] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
}

.hloc__meta[b-em0w8ydszu] {
    font-size: 0.74rem;
    color: var(--text-mute);
}

.hloc__text[b-em0w8ydszu] {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.hloc__warn[b-em0w8ydszu] { color: #B45309; }

.hloc__map[b-em0w8ydszu] {
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.hloc__actions[b-em0w8ydszu] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hloc__btn[b-em0w8ydszu] {
    flex: 1 1 auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.hloc__btn:disabled[b-em0w8ydszu] { opacity: 0.6; }

.hloc__btn--primary[b-em0w8ydszu] {
    background: var(--brand-surface);
    border-color: var(--brand);
    color: #fff;
}

@media (prefers-color-scheme: dark) {
    .hloc__btn--primary[b-em0w8ydszu] { color: #0C121D; }
}

.hloc__btn--danger[b-em0w8ydszu] { color: var(--danger); }

.hloc__link[b-em0w8ydszu] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-2);
    font-weight: 600;
    font-size: inherit;
}

.hloc__message[b-em0w8ydszu] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ok);
}

.hloc__message--error[b-em0w8ydszu] { color: var(--danger); }
/* /Shared/HouseLocationLink.razor.rz.scp.css */
.hlink[b-139izhjdju] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--brand);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    text-align: left;
}

.hlink__icon[b-139izhjdju] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: #ea4335;   /* Google Maps pin red - reads as "map" at a glance */
    color: #fff;
}

.hlink__body[b-139izhjdju] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.hlink__title[b-139izhjdju] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.hlink__sub[b-139izhjdju] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand);
}

.hlink__chev[b-139izhjdju] {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--brand);
}
/* /Shared/IosInstallBanner.razor.rz.scp.css */
.ios-banner[b-1djavrlcn9] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    background: var(--brand-2);
    color: #fff;
}

/* The "you cannot install from here" case is a dead end until they act on it, so it is amber
   rather than the ordinary brand blue - this one is not a tip, it is a blocker. */
.ios-banner--blocked[b-1djavrlcn9] {
    background: #8A5A00;
}

.ios-banner__body[b-1djavrlcn9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.ios-banner__body strong[b-1djavrlcn9] {
    font-size: 0.86rem;
}

.ios-banner__body em[b-1djavrlcn9] {
    font-style: normal;
    font-weight: 600;
}

.ios-banner__body svg[b-1djavrlcn9] {
    width: 15px;
    height: 15px;
    vertical-align: -3px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ios-banner__ml[b-1djavrlcn9] {
    font-size: 0.76rem;
    opacity: 0.92;
}

.ios-banner__actions[b-1djavrlcn9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ios-banner__cta[b-1djavrlcn9] {
    background: #fff;
    color: #14357E;
    border: 0;
    border-radius: 8px;
    padding: 6px 12px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.ios-banner__cta:active[b-1djavrlcn9] {
    transform: scale(0.97);
}

.ios-banner__link[b-1djavrlcn9] {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 5px 10px;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.ios-banner__help[b-1djavrlcn9] {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.76rem;
    line-height: 1.45;
}

.ios-banner__close[b-1djavrlcn9] {
    margin-left: auto;
    flex: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
}
/* /Shared/MpinInput.razor.rz.scp.css */
/* Fixed colours, not theme tokens: this sits on the login screen's white card in every theme,
   and the boxes must stay crisp and high-contrast. */
.mpin[b-gm7u9fmf9z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    outline: none;
}

.mpin__boxes[b-gm7u9fmf9z] {
    display: flex;
    gap: 9px;
    justify-content: center;
}

.mpin__box[b-gm7u9fmf9z] {
    width: 46px;
    height: 56px;
    border-radius: 12px;
    border: 2px solid #CBD5E1;
    background: #F8FAFC;
    display: grid;
    place-items: center;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.mpin__box.is-filled[b-gm7u9fmf9z] {
    border-color: #14357E;
    background: #fff;
}

/* The next box to fill: gold, from the trim around the church's arched windows. */
.mpin__box.is-active[b-gm7u9fmf9z],
.mpin__box--input:focus[b-gm7u9fmf9z] {
    border-color: #D9A21B;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 162, 27, .22);
}

.mpin__dot[b-gm7u9fmf9z] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #14357E;
}

.mpin__box--input[b-gm7u9fmf9z] {
    padding: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F1F44;
    outline: none;
    -webkit-text-security: disc;
}

.mpin__box--input[type="text"][b-gm7u9fmf9z] { -webkit-text-security: none; }

.mpin__box--input:disabled[b-gm7u9fmf9z] { opacity: .6; }

.is-shaking .mpin__boxes[b-gm7u9fmf9z] { animation: mpin-shake-b-gm7u9fmf9z .42s ease-in-out; }
.is-shaking .mpin__box[b-gm7u9fmf9z] { border-color: #DC2626; }

@keyframes mpin-shake-b-gm7u9fmf9z {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-9px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(4px); }
}

/* ---------- on-screen keypad ---------- */
.mpin__pad[b-gm7u9fmf9z] {
    width: 100%;
    max-width: 300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 14px;
}

.mpin__key[b-gm7u9fmf9z] {
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #EEF2FA;
    color: #0F1F44;
    font-size: 1.5rem;
    font-weight: 600;
    display: grid;
    place-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background .1s, transform .1s;
}

.mpin__key:active:not(:disabled)[b-gm7u9fmf9z] {
    background: #D5DEF0;
    transform: scale(.96);
}

.mpin__key:disabled[b-gm7u9fmf9z] { opacity: .45; }

.mpin__key--back[b-gm7u9fmf9z] {
    background: transparent;
    color: #475569;
}

@media (max-width: 360px) {
    .mpin__box[b-gm7u9fmf9z] { width: 40px; height: 50px; }
    .mpin__boxes[b-gm7u9fmf9z] { gap: 7px; }
    .mpin__key[b-gm7u9fmf9z] { height: 46px; }
}

@media (max-height: 720px) {
    .mpin[b-gm7u9fmf9z] { gap: 12px; }
    .mpin__box[b-gm7u9fmf9z] { height: 50px; }
    .mpin__key[b-gm7u9fmf9z] { height: 44px; }
    .mpin__pad[b-gm7u9fmf9z] { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .is-shaking .mpin__boxes[b-gm7u9fmf9z] { animation: none; }
}
/* /Shared/OverlayHost.razor.rz.scp.css */
.overlayhost[b-d8x2ddzchb] {
    position: fixed;
    inset: 0;
    z-index: 2000;
}
/* /Shared/PhotoSlot.razor.rz.scp.css */
.pslot[b-9u7qnbwf1f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pslot__frame[b-9u7qnbwf1f] {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.pslot--round .pslot__frame[b-9u7qnbwf1f] {
    width: 84px;
    height: 84px;
    border-radius: 50%;
}

.pslot--wide[b-9u7qnbwf1f] {
    align-items: stretch;
}

.pslot--wide .pslot__frame[b-9u7qnbwf1f] {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 50dvh;
    border-radius: 14px;
}

/* The <img> is rendered by PhotoViewer, so it's reached through ::deep. */
.pslot__frame[b-9u7qnbwf1f]  .pslot__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pslot--wide .pslot__frame[b-9u7qnbwf1f]  .pslot__img {
    object-fit: contain;   /* a family photo is never cropped */
}

.pslot__placeholder[b-9u7qnbwf1f] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-mute);
}

.pslot--round .pslot__placeholder[b-9u7qnbwf1f] {
    background: var(--brand-surface);
    color: #fff;
    font-size: 1.6rem;
}

.pslot__btn[b-9u7qnbwf1f] {
    position: relative;
    align-self: center;
    padding: 7px 14px;
    border-radius: 9px;
    border: 1px solid var(--brand-2);
    background: var(--surface);
    color: var(--brand-2);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.pslot__btn--busy[b-9u7qnbwf1f] {
    opacity: 0.6;
}

/* the real file input covers the button, invisible, so a tap anywhere on it opens the picker */
.pslot__btn[b-9u7qnbwf1f]  .pslot__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.pslot__msg[b-9u7qnbwf1f] {
    font-size: 0.74rem;
    color: var(--ok);
    text-align: center;
}

.pslot__msg--error[b-9u7qnbwf1f] {
    color: var(--danger);
}
/* /Shared/PhotoViewer.razor.rz.scp.css */
.photoviewer__overlay[b-c3orz6jdx7] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: grid;
    place-items: center;
    z-index: 1000;
    padding: 24px;
}

.photoviewer__full[b-c3orz6jdx7] {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
/* /Shared/PushNotificationsCard.razor.rz.scp.css */
.push[b-ymvtn5belv] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.push--compact[b-ymvtn5belv] {
    background: linear-gradient(150deg, #FFF7E1 0%, var(--surface) 60%);
    border-color: #F1D98F;
}

.push__title[b-ymvtn5belv] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
}

.push__text[b-ymvtn5belv] {
    margin: 0;
    padding-right: 18px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.push__small[b-ymvtn5belv] {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--text-mute);
}

.push__btn[b-ymvtn5belv] {
    padding: 11px;
    border-radius: 11px;
    border: 0;
    background: var(--brand);
    color: var(--surface);
    font-size: 0.9rem;
    font-weight: 800;
}

.push__btn:disabled[b-ymvtn5belv] { opacity: 0.6; }

.push__switch[b-ymvtn5belv] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.push__switch input[b-ymvtn5belv] {
    width: 22px;
    height: 22px;
    accent-color: var(--ok);
}

.push__row[b-ymvtn5belv] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.push__link[b-ymvtn5belv] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-2);
    font-size: 0.82rem;
    font-weight: 700;
}

.push__link--muted[b-ymvtn5belv] { color: var(--text-mute); }

.push__close[b-ymvtn5belv] {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: none;
    color: var(--text-mute);
    font-size: 1.4rem;
    line-height: 1;
}

.push__msg[b-ymvtn5belv] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ok);
}

.push__msg--error[b-ymvtn5belv] { color: var(--danger); }

@media (prefers-color-scheme: dark) {
    .push--compact[b-ymvtn5belv] {
        background: linear-gradient(150deg, #2E2610 0%, var(--surface) 60%);
        border-color: #5A4A1C;
    }
}
/* /Shared/ShareContact.razor.rz.scp.css */
/* The trigger matches the Call/WhatsApp pills in ContactActions, so a row's actions read as one set. */
.sharec__trigger[b-niy0cqd0mj] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 13px;
    border: none;
    border-radius: 20px;
    background: var(--brand-surface);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

/* A sheet rising from the bottom edge, not a centred box: the actions land under the thumb
   that just tapped Share, and the list stays visible behind them. */
.sharec__overlay[b-niy0cqd0mj] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.sharec__card[b-niy0cqd0mj] {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px calc(18px + var(--safe-bottom));
    border-radius: 18px 18px 0 0;
    background: var(--surface);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}

.sharec__eyebrow[b-niy0cqd0mj] {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.sharec__name[b-niy0cqd0mj] {
    margin: 2px 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.sharec__num[b-niy0cqd0mj] {
    margin: 0 0 8px;
    font-size: 0.88rem;
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.sharec__act[b-niy0cqd0mj] {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;   /* every action reachable without aiming */
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.sharec__act svg[b-niy0cqd0mj] { flex: none; }

/* Copy name and number first and in brand colour: it is the one the enquiry actually needs. */
.sharec__act--main[b-niy0cqd0mj] {
    background: var(--brand-surface);
    border-color: var(--brand);
    color: #fff;
    font-weight: 700;
}

.sharec__act--wa[b-niy0cqd0mj] {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
    font-weight: 700;
}

.sharec__act--close[b-niy0cqd0mj] {
    justify-content: center;
    min-height: 44px;
    background: transparent;
    border-color: transparent;
    color: var(--text-mute);
    font-weight: 700;
}

/* --brand-2 rather than a green: it is the only confirmation colour that holds its contrast in
   both the light and the dark theme (--ok is defined for light only). */
.sharec__note[b-niy0cqd0mj] {
    margin: 2px 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-2);
    text-align: center;
}

.sharec__note--err[b-niy0cqd0mj] {
    color: var(--danger);
    font-weight: 600;
    line-height: 1.45;
}
/* /Shared/UpdateToast.razor.rz.scp.css */
.update-toast[b-u57091z32b] {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 12px);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--brand-ink);
    color: #fff;
    font-size: 0.85rem;
    box-shadow: 0 8px 28px rgba(15, 30, 60, 0.35);
}

.update-toast span[b-u57091z32b] {
    flex: 1;
}

.update-toast button[b-u57091z32b] {
    flex: none;
    border: 0;
    border-radius: 8px;
    padding: 7px 12px;
    background: #fff;
    color: var(--brand-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
/* /Shared/VoiceNoteRecorder.razor.rz.scp.css */
.vn__btn[b-cx56kr6tmx] {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border: 2px dashed #F2A9A9;
    border-radius: 18px;
    background: #FFF4F2;
    color: #7A1F1F;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.vn__btn:disabled[b-cx56kr6tmx] { opacity: .5; }

.vn__mic[b-cx56kr6tmx] {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #D32F2F;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(211, 47, 47, .35);
}

.vn__main[b-cx56kr6tmx] { font-size: 1.02rem; font-weight: 800; }
.vn__sub[b-cx56kr6tmx] { font-size: .76rem; color: #9A4A4A; }

.vn__btn--recording[b-cx56kr6tmx] { border-style: solid; border-color: #D32F2F; background: #FFE9E6; }

.vn__dot[b-cx56kr6tmx] {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #D32F2F;
    animation: vn-pulse-b-cx56kr6tmx 1.1s ease-in-out infinite;
}

@keyframes vn-pulse-b-cx56kr6tmx {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, .45); }
    50% { transform: scale(.9); box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); }
}

.vn__clip[b-cx56kr6tmx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #FFF4F2;
}

.vn__clip-label[b-cx56kr6tmx] { font-size: .84rem; font-weight: 700; color: #7A1F1F; }
.vn__clip audio[b-cx56kr6tmx] { width: 100%; height: 40px; }

.vn__again[b-cx56kr6tmx] {
    align-self: flex-start;
    padding: 6px 12px;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: #7A1F1F;
    font-size: .84rem;
    font-weight: 700;
}

.vn__unsupported[b-cx56kr6tmx], .vn__error[b-cx56kr6tmx] { margin: 6px 0 0; font-size: .82rem; color: #9A4A4A; }
.vn__error[b-cx56kr6tmx] { color: #B91C1C; font-weight: 600; }

@media (prefers-color-scheme: dark) {
    .vn__btn[b-cx56kr6tmx], .vn__clip[b-cx56kr6tmx] { background: #2A1717; border-color: #6B2B2B; color: #FFD9D4; }
    .vn__sub[b-cx56kr6tmx], .vn__clip-label[b-cx56kr6tmx], .vn__unsupported[b-cx56kr6tmx] { color: #F2B8B0; }
    .vn__again[b-cx56kr6tmx] { background: #3A2020; color: #FFD9D4; }
}

@media (prefers-reduced-motion: reduce) {
    .vn__dot[b-cx56kr6tmx] { animation: none; }
}
/* /Shared/WordOfDayModal.razor.rz.scp.css */
.wordmodal__overlay[b-2u324ay97l] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: grid;
    place-items: center;
    z-index: 1000;
    padding: 24px;
}

.wordmodal__card[b-2u324ay97l] {
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 22px;
    border-radius: 18px;
    background: var(--surface);
    text-align: center;
    /* Two languages of a multi-verse passage can outgrow a small phone. */
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}

.wordmodal__eyebrow[b-2u324ay97l] {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.wordmodal__scripture[b-2u324ay97l] {
    margin: 4px 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

.wordmodal__scripture--ml[b-2u324ay97l] {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 0.98rem;
    line-height: 1.7;
}

.wordmodal__ref[b-2u324ay97l] {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand);
}

.wordmodal__reflection[b-2u324ay97l] {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--text-mute);
    line-height: 1.5;
}

/* The day's one-line prayer; the Amen button beneath it is its "Amen". */
.wordmodal__prayer[b-2u324ay97l] {
    margin: 10px 0 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
}

/* Pinned to the card's bottom edge: on a small phone a two-language passage scrolls, and Amen
   below the fold went unseen. */
.wordmodal__card .btn-primary[b-2u324ay97l] {
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
    box-shadow: 0 -8px 12px var(--surface);
    margin-top: 10px;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    background: var(--brand-surface);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}
