@import '_content/CWMC.AppUI/CWMC.AppUI.7gn9eqo1h5.bundle.scp.css';

/* /Components/Church/MobileAppPreview.razor.rz.scp.css */
.map-wrap[b-2ljqv134gt] {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}

/* ── Phone bezel ── */
.map-phone[b-2ljqv134gt] {
    width: 262px;
    border-radius: 38px;
    background: #1f2329;
    border: 10px solid #1f2329;
    box-shadow: 0 14px 36px rgba(0,0,0,0.28);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.map-notch[b-2ljqv134gt] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 20px;
    background: #1f2329;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.map-screen[b-2ljqv134gt] {
    height: 510px;
    border-radius: 28px;
    overflow: hidden;
}

/* ── Download CTA ── */
.map-cta[b-2ljqv134gt] { max-width: 280px; }

.map-cta-title[b-2ljqv134gt] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary, #1a1a1a);
    margin-bottom: 6px;
}

.map-cta-text[b-2ljqv134gt] {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary, #6b7280);
    margin-bottom: 16px;
}

.map-qr[b-2ljqv134gt] {
    display: inline-block;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--mud-palette-lines-default, #e5e7eb);
    border-radius: 12px;
    line-height: 0;
}

/* Let the QR render at its intrinsic size — do NOT force width/height (that distorts the
   modules and breaks scanning). */
.map-qr[b-2ljqv134gt]  svg {
    display: block;
}

.map-cta-note[b-2ljqv134gt] {
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--mud-palette-text-secondary, #6b7280);
    margin-top: 12px;
}

.map-qr-link[b-2ljqv134gt] {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--mud-palette-primary, #0094c0);
    word-break: break-all;
}
/* /Components/Directory/DirectoryPrintDialog.razor.rz.scp.css */
/* Sizes are the DESIGN_SYSTEM.md rem steps written out, because the church theme provider
   overrides --mud-typography-* inside page content (see "Known defect" there). */

.dp-label[b-jbinz8mssa] {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.dp-formats[b-jbinz8mssa] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.dp-format[b-jbinz8mssa] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    text-align: left;
    font: inherit;
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dp-format:hover[b-jbinz8mssa] {
    border-color: var(--mud-palette-primary);
}

.dp-format:focus-visible[b-jbinz8mssa] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* Chosen: a 2px ring drawn as a shadow so the card doesn't grow and shift its neighbours. */
.dp-format--on[b-jbinz8mssa] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
}

.dp-thumb[b-jbinz8mssa] {
    display: flex;
    align-self: stretch;
    justify-content: center;
    padding: 10px 0;
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    transition: color 0.15s ease;
}

.dp-format--on .dp-thumb[b-jbinz8mssa],
.dp-format:hover .dp-thumb[b-jbinz8mssa] {
    color: var(--mud-palette-primary);
}

.dp-thumb[b-jbinz8mssa]  .dp-paper {
    fill: var(--mud-palette-surface);
    stroke: var(--mud-palette-lines-default);
}

/* The head and shoulders cut out of a photo frame: the paper colour, so it works in dark mode. */
.dp-thumb[b-jbinz8mssa]  .dp-cut {
    fill: var(--mud-palette-surface);
}

.dp-format-text[b-jbinz8mssa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dp-format-name[b-jbinz8mssa] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.dp-format-name[b-jbinz8mssa]  .dp-check {
    font-size: 1rem;
}

.dp-format-desc[b-jbinz8mssa] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--mud-palette-text-secondary);
}

.dp-row[b-jbinz8mssa],
.dp-section[b-jbinz8mssa] {
    margin-bottom: 8px;
}

/* Lines a switch's helper text up under its label rather than under the switch track. */
.dp-hint[b-jbinz8mssa] {
    margin: -8px 0 0 58px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--mud-palette-text-secondary);
}

.dp-sections[b-jbinz8mssa] {
    margin-bottom: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
}

.dp-sections-title[b-jbinz8mssa] {
    font-size: 0.875rem;
    font-weight: 600;
}

.dp-sections-count[b-jbinz8mssa] {
    margin-left: 8px;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.dp-summary[b-jbinz8mssa] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.875rem;
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-background);
}

.dp-summary-lead[b-jbinz8mssa] {
    font-size: 0.875rem;
}

.dp-note[b-jbinz8mssa] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.dp-note[b-jbinz8mssa]  .dp-note-icon {
    margin-top: 1px;
    flex-shrink: 0;
}

/* Download progress, written by site.js (cwmcPdfDownload) while the PDF builds. */
.dp-status[b-jbinz8mssa] {
    min-height: 1.25rem;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.dp-status:empty[b-jbinz8mssa] {
    margin-top: 0;
    min-height: 0;
}

.dp-status.dp-status--error[b-jbinz8mssa] {
    color: var(--mud-palette-error-darken);
}

@media (max-width: 700px) {
    /* Side by side, each card is too narrow to read; stack them with the thumbnail beside the text. */
    .dp-formats[b-jbinz8mssa] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dp-format[b-jbinz8mssa] {
        flex-direction: row;
        align-items: center;
        min-height: 44px;
    }

    .dp-thumb[b-jbinz8mssa] {
        align-self: auto;
        padding: 6px 10px;
    }

    .dp-hint[b-jbinz8mssa] {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-format[b-jbinz8mssa],
    .dp-thumb[b-jbinz8mssa] {
        transition: none;
    }
}
/* /Components/Giving/StripeOnboardingPanel.razor.rz.scp.css */
/* Stripe Connect onboarding — a guided, in-app experience.
   Colors use MudBlazor palette vars so church theming + light/dark all work for free. */

/* ---------- Hero ---------- */
.cwmc-onboard-hero[b-kfi68e53yd] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mud-palette-primary) 12%, transparent),
        color-mix(in srgb, var(--mud-palette-primary) 3%, transparent));
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.cwmc-onboard-hero--live[b-kfi68e53yd] {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mud-palette-success) 16%, transparent),
        color-mix(in srgb, var(--mud-palette-success) 4%, transparent));
    border-color: color-mix(in srgb, var(--mud-palette-success) 40%, transparent);
}

/* Live, but Stripe is waiting on something (heading for "Restricted"). Warning, not alarm —
   giving still works today, so this must read as "do this soon", never as an outage. */
.cwmc-onboard-hero--attention[b-kfi68e53yd] {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mud-palette-warning) 18%, transparent),
        color-mix(in srgb, var(--mud-palette-warning) 4%, transparent));
    border-color: color-mix(in srgb, var(--mud-palette-warning) 45%, transparent);
}

.cwmc-onboard-hero__badge[b-kfi68e53yd] {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: var(--mud-palette-primary);
    color: #fff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
}

.cwmc-onboard-hero--live .cwmc-onboard-hero__badge[b-kfi68e53yd] {
    background: var(--mud-palette-success);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mud-palette-success) 35%, transparent);
}

.cwmc-onboard-hero--attention .cwmc-onboard-hero__badge[b-kfi68e53yd] {
    background: var(--mud-palette-warning);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mud-palette-warning) 35%, transparent);
}

.cwmc-onboard-hero__badge[b-kfi68e53yd]  .mud-icon-root { color: #fff; }

.cwmc-onboard-hero__title[b-kfi68e53yd] { font-weight: 700; line-height: 1.2; }
.cwmc-onboard-hero__subtitle[b-kfi68e53yd] { color: var(--mud-palette-text-secondary); margin-top: 2px; }

/* ---------- Stepper (desktop) ---------- */
.cwmc-stepper[b-kfi68e53yd] {
    display: flex;
    align-items: flex-start;
    margin-top: 24px;
    padding: 4px 4px 0;
}

.cwmc-step[b-kfi68e53yd] {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.cwmc-step__node[b-kfi68e53yd] {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: var(--mud-palette-surface, #fff);
    border: 2px solid var(--mud-palette-lines-default, #d0d0d0);
    color: var(--mud-palette-text-secondary);
    transition: all .25s ease;
}

.cwmc-step__label[b-kfi68e53yd] {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.25;
    color: var(--mud-palette-text-secondary);
    max-width: 96px;
    transition: color .25s ease;
}

/* Connector bar to the next node */
.cwmc-step__bar[b-kfi68e53yd] {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--mud-palette-lines-default, #e0e0e0);
    z-index: 0;
    transition: background .25s ease;
}

/* States */
.cwmc-step--done .cwmc-step__node[b-kfi68e53yd] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: #fff;
}
.cwmc-step--done .cwmc-step__node[b-kfi68e53yd]  .mud-icon-root { color: #fff; }
.cwmc-step--done .cwmc-step__bar[b-kfi68e53yd] { background: var(--mud-palette-primary); }
.cwmc-step--done .cwmc-step__label[b-kfi68e53yd] { color: var(--mud-palette-text-primary); }

.cwmc-step--active .cwmc-step__node[b-kfi68e53yd] {
    background: var(--mud-palette-surface, #fff);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent);
}
.cwmc-step--active .cwmc-step__label[b-kfi68e53yd] {
    color: var(--mud-palette-text-primary);
    font-weight: 700;
}

/* ---------- Stepper (mobile compact) ---------- */
.cwmc-stepper-mobile[b-kfi68e53yd] { display: none; margin-top: 18px; }
.cwmc-stepper-mobile__label[b-kfi68e53yd] { font-size: 13px; color: var(--mud-palette-text-secondary); margin-bottom: 6px; }
.cwmc-stepper-mobile__bar[b-kfi68e53yd] { height: 8px; border-radius: 8px; }

@media (max-width: 640px) {
    .cwmc-stepper[b-kfi68e53yd] { display: none; }
    .cwmc-stepper-mobile[b-kfi68e53yd] { display: block; }
    .cwmc-onboard-hero[b-kfi68e53yd] { padding: 16px; gap: 12px; }
    .cwmc-onboard-hero__badge[b-kfi68e53yd] { width: 44px; height: 44px; font-size: 22px; }

    /* Stripe's embedded form has its own generous internal padding. Ours on
       top of it (20px card + 12px embed frame, inside the page container's
       own gutters) was costing ~70px of a ~390px screen, squeezing Stripe's
       inputs and labels. Give the form the width. */
    .cwmc-onboard-card[b-kfi68e53yd] { padding: 14px; border-radius: 12px; }
    .cwmc-onboard-embed[b-kfi68e53yd] { padding: 4px; }
}

/* ---------- Embedded form frame ---------- */
.cwmc-onboard-card[b-kfi68e53yd] {
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 16px;
    padding: 20px;
    background: var(--mud-palette-surface, #fff);
}

.cwmc-onboard-embed[b-kfi68e53yd] { padding: 12px; }

.cwmc-connect-onboarding[b-kfi68e53yd] {
    min-height: 320px;
    position: relative;
}

.cwmc-embed-skeleton[b-kfi68e53yd] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ---------- Handoff note (sits directly under the embedded form) ---------- */
.cwmc-handoff-note[b-kfi68e53yd] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--mud-palette-background-grey, #f1f3f5);
    color: var(--mud-palette-text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.cwmc-handoff-note .mud-icon-root[b-kfi68e53yd] {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---------- Trust row ---------- */
.cwmc-trust[b-kfi68e53yd] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
}
.cwmc-trust__item[b-kfi68e53yd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--mud-palette-text-secondary);
}
.cwmc-trust__item[b-kfi68e53yd]  .mud-icon-root {
    font-size: 16px;
    color: var(--mud-palette-primary);
}

/* ---------- Footer ---------- */
.cwmc-onboard-foot[b-kfi68e53yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* ---------- Next steps (live state) ---------- */
.cwmc-nextsteps[b-kfi68e53yd] { display: flex; flex-direction: column; gap: 10px; }
.cwmc-nextstep[b-kfi68e53yd] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cwmc-nextstep:hover[b-kfi68e53yd] {
    border-color: var(--mud-palette-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
}
.cwmc-nextstep__icon[b-kfi68e53yd]  .mud-icon-root,
.cwmc-nextstep__icon[b-kfi68e53yd] {
    flex: 0 0 auto;
    color: var(--mud-palette-primary);
    font-size: 26px;
}
.cwmc-nextstep__title[b-kfi68e53yd] { font-weight: 600; }
.cwmc-nextstep__desc[b-kfi68e53yd] { font-size: 13px; color: var(--mud-palette-text-secondary); }
.cwmc-nextstep__go[b-kfi68e53yd] { margin-left: auto; color: var(--mud-palette-text-secondary); }
/* /Components/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-fpez8fpr9k] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-fpez8fpr9k] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-fpez8fpr9k] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-fpez8fpr9k] {
    font-size: 1.1rem;
}

.bi[b-fpez8fpr9k] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-fpez8fpr9k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-fpez8fpr9k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-fpez8fpr9k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-fpez8fpr9k] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-fpez8fpr9k] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-fpez8fpr9k] {
        padding-bottom: 1rem;
    }

    .nav-item[b-fpez8fpr9k]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-fpez8fpr9k]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-fpez8fpr9k]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-fpez8fpr9k] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-fpez8fpr9k] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-fpez8fpr9k] {
        display: none;
    }

    .nav-scrollable[b-fpez8fpr9k] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/ReloadBar.razor.rz.scp.css */
/* The height is fixed and the bar is optional inside it, which is the entire trick: the strip
   is here whether or not anything is loading, so a reload cannot move the list. 4px is
   MudProgressLinear's own default height, so the bar fills the strip exactly. */
.reload-bar[b-834lb9n2a0] {
    height: 4px;
    margin-bottom: 8px;
}

/* ::deep because the bar is rendered by MudProgressLinear, not by this component, so it never
   carries this file's scope attribute. Without it these rules silently match nothing. */
.reload-bar[b-834lb9n2a0]  .mud-progress-linear {
    /* The strip owns the spacing; MudProgressLinear carries its own margin in some contexts. */
    margin: 0;

    /* A fade only, no delay. The delay used to live here and it could not do the other half of
       the job: CSS cannot keep an element on screen after Blazor removes it, so a reload that
       landed just past the delay still blinked. Both halves of the timing are in the component
       now, and this is purely so the bar arrives softly rather than snapping on. */
    animation: reload-bar-fade-in-b-834lb9n2a0 150ms ease-out;
}

@keyframes reload-bar-fade-in-b-834lb9n2a0 {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* /Components/Shared/SortableTh.razor.rz.scp.css */
/* The header cell keeps whatever padding MudSimpleTable gave it; the button fills that cell so
   the whole heading is the target, not just the few characters of the word. */
th.sortable[b-ztsxod8it8] {
    padding: 0 !important;
}

/* Only the last word of the heading is held together with the arrow. Nowrap on the whole cell
   was the obvious version and it cost the Transaction Details table 39px on a 430px phone,
   where it already has one column more than fits. */
th.sortable .tail[b-ztsxod8it8] {
    white-space: nowrap;
}

th.sortable > button[b-ztsxod8it8] {
    /* Inherit rather than restate: the font, weight and colour are the table's, and text-align
       comes from the Style the page already had on its <th>, so a right-aligned money column
       stays right-aligned without a second parameter saying so. */
    font: inherit;
    color: inherit;
    text-align: inherit;
    background: none;
    border: 0;
    display: block;
    width: 100%;
    padding: 6px 16px;
    min-height: 32px;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
}

th.sortable > button:hover[b-ztsxod8it8] {
    background-color: var(--mud-palette-action-default-hover);
}

th.sortable > button:focus-visible[b-ztsxod8it8] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* ::deep because the arrow is an <svg> rendered by MudIcon, not by this component, so it never
   carries this file's scope attribute. Without it these four rules silently match nothing. */
th.sortable[b-ztsxod8it8]  .arrow {
    /* 0.875rem rather than a MudIcon Size, the smallest of which is 1.25rem and towers over a
       14px heading. docs/DESIGN_SYSTEM.md: a literal is written here because the second theme
       provider makes the typography variables unreliable inside page content. */
    font-size: 0.875rem;
    vertical-align: -0.1875rem;
    margin-left: 2px;
    opacity: 0.25;
    transition: opacity 120ms ease;
}

th.sortable[b-ztsxod8it8]  .arrow.on {
    opacity: 1;
    color: var(--mud-palette-primary);
}

th.sortable > button:hover[b-ztsxod8it8]  .arrow {
    opacity: 0.6;
}

th.sortable > button:hover[b-ztsxod8it8]  .arrow.on {
    opacity: 1;
}

/* A finger needs more than a dense table row gives it. Only on touch, so the mouse version of
   these tables stays as compact as it was. */
@media (pointer: coarse) {
    th.sortable > button[b-ztsxod8it8] {
        min-height: 44px;
    }
}
/* /Pages/Admin/Directory.razor.rz.scp.css */
/* Admin directory. Colours are palette variables and the radius is the theme's, per
   DESIGN_SYSTEM.md; type sizes are its rem steps written out because the church theme
   provider overrides --mud-typography-* inside page content. */

/* Header actions: search and Print side by side; cwmc-page-actions stacks them on a phone. */
[b-2vk1jt2wkf] .dir-search {
    min-width: 260px;
}

/* ── At a glance ── */

.dir-stats[b-2vk1jt2wkf] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
}

.dir-stat[b-2vk1jt2wkf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
}

.dir-stat + .dir-stat[b-2vk1jt2wkf] {
    border-left: 1px solid var(--mud-palette-lines-default);
}

.dir-stat-value[b-2vk1jt2wkf] {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

.dir-stat-of[b-2vk1jt2wkf] {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.dir-stat-label[b-2vk1jt2wkf] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

/* ── List ── */

.dir-meta[b-2vk1jt2wkf] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.dir-family[b-2vk1jt2wkf] {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) minmax(180px, 280px);
    gap: 16px;
    align-items: start;
    padding: 16px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
}

.dir-photo-btn[b-2vk1jt2wkf] {
    padding: 0;
    border: 0;
    background: none;
    border-radius: 50%;
    cursor: zoom-in;
    width: 56px;
    height: 56px;
}

.dir-photo-btn:focus-visible[b-2vk1jt2wkf] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.dir-photo[b-2vk1jt2wkf] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid var(--mud-palette-lines-default);
}

.dir-photo--initial[b-2vk1jt2wkf] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
    border: 0;
}

.dir-family-main[b-2vk1jt2wkf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.dir-family-name[b-2vk1jt2wkf] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.dir-person[b-2vk1jt2wkf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
}

[b-2vk1jt2wkf] .dir-person-name {
    min-width: 140px;
    font-weight: 500;
}

.dir-family-side[b-2vk1jt2wkf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* Phone, email and map links: actions, so they read as links, with the icon as the cue. */
.dir-contact[b-2vk1jt2wkf],
.dir-fact[b-2vk1jt2wkf] {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--mud-palette-text-secondary);
}

.dir-contact[b-2vk1jt2wkf] {
    text-decoration: none;
}

.dir-contact:hover[b-2vk1jt2wkf] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.dir-contact[b-2vk1jt2wkf]  .mud-icon-root,
.dir-fact[b-2vk1jt2wkf]  .mud-icon-root {
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.dir-empty[b-2vk1jt2wkf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 48px 16px;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
}

.dir-empty[b-2vk1jt2wkf]  .dir-empty-icon {
    font-size: 3rem;
    color: var(--mud-palette-text-disabled);
    margin-bottom: 8px;
}

.dir-pager[b-2vk1jt2wkf] {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

[b-2vk1jt2wkf] .dir-overlay {
    cursor: zoom-out;
}

.dir-overlay-img[b-2vk1jt2wkf] {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--mud-default-borderradius);
}

/* ── Narrower ── */

@media (max-width: 960px) {
    /* The address moves under the names rather than squeezing them. */
    .dir-family[b-2vk1jt2wkf] {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .dir-family-side[b-2vk1jt2wkf] {
        grid-column: 2;
    }
}

@media (max-width: 700px) {
    [b-2vk1jt2wkf] .dir-search {
        min-width: 0;
    }

    .dir-stats[b-2vk1jt2wkf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dir-stat:nth-child(3)[b-2vk1jt2wkf] {
        border-left: 0;
    }

    .dir-stat:nth-child(n + 3)[b-2vk1jt2wkf] {
        border-top: 1px solid var(--mud-palette-lines-default);
    }

    .dir-family[b-2vk1jt2wkf] {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .dir-photo[b-2vk1jt2wkf],
    .dir-photo-btn[b-2vk1jt2wkf] {
        width: 44px;
        height: 44px;
    }

    /* Touch targets: every phone, email and map link is a 44px row on a phone. */
    .dir-contact[b-2vk1jt2wkf] {
        min-height: 44px;
        align-items: center;
    }

    .dir-person[b-2vk1jt2wkf] {
        flex-direction: column;
        align-items: flex-start;
    }

    [b-2vk1jt2wkf] .dir-person-name {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
/* /Pages/Admin/Super/PlatformGiving.razor.rz.scp.css */
/* Stripe account health rows. A card list rather than a table: the content per church is variable
   length (Stripe's reason text, a list of needed items), which a stacked table handles badly on a
   phone. Colors come from the MudBlazor palette so light/dark and church theming work for free. */
.cwmc-health-row[b-ryg7lrqn32] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    min-height: 56px; /* comfortable touch target */
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.cwmc-health-row + .cwmc-health-row[b-ryg7lrqn32] {
    margin-top: 8px;
}

.cwmc-health-row:hover[b-ryg7lrqn32] {
    background-color: var(--mud-palette-action-default-hover);
    border-color: color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
}

.cwmc-health-row__main[b-ryg7lrqn32] {
    flex: 1 1 auto;
    min-width: 0; /* lets long reason text wrap instead of pushing the chevron off-row */
}
