:root {
    --ch-bg: #f4f8fd;
    --ch-panel: #ffffff;
    --ch-border: #dfeaf6;
    --ch-text: #0c1b33;
    --ch-muted: #64748b;
    --ch-blue: #2f80ed;
    --ch-blue-soft: #eaf3ff;
    --ch-gold: #d9b45f;
    --ch-radius: 18px;
    --ch-nav-h: 78px;
    --ch-sidebar-w: 270px;
    --ch-rightbar-w: 340px;
}

body { background: var(--ch-bg); }
.ch-public-wrap, .ch-web { max-width: 1180px; margin: 0 auto; padding: 2rem 1rem; }
.ch-public-hero, .ch-profile-hero, .ch-panel, .ch-card, .ch-form-card {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    background: var(--ch-panel);
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}
.ch-public-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem; background: linear-gradient(135deg, #fff, #edf6ff); }
.ch-eyebrow { color: var(--ch-blue); font-weight: 900; text-transform: uppercase; font-size: .78rem; }
.ch-public-hero h1, .ch-profile-body h1, .ch-web-hero h1 { color: var(--ch-text); font-weight: 950; letter-spacing: -.03em; }
.ch-public-hero p, .ch-muted { color: var(--ch-muted); }
.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: .68rem 1rem; font-weight: 850; text-decoration: none; }
.ch-btn-primary { background: var(--ch-blue); color: #fff; box-shadow: 0 14px 30px rgba(47, 128, 237, .22); }
.ch-btn-ghost { background: #fff; border-color: var(--ch-border); color: var(--ch-text); }
.ch-btn-light { background: #fff; color: var(--ch-blue); }
.ch-btn-danger { background: #dc2626; color: #fff; }
.ch-card-grid, .ch-public-grid, .ch-dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.ch-card { overflow: hidden; }
.ch-card-cover { height: 120px; background: linear-gradient(135deg, #cfe4ff, #f9e8b7); background-size: cover; background-position: center; }
.ch-card-body { padding: 1rem; }
.ch-logo { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; border: 4px solid #fff; background: #fff; box-shadow: 0 10px 26px rgba(24, 69, 123, .16); }
.ch-logo-lg { width: 92px; height: 92px; }
.ch-card-body .ch-logo { margin-top: -42px; }
.ch-card h2 { font-size: 1.15rem; margin-top: .75rem; }
.ch-card-actions, .ch-profile-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.ch-card-actions a { color: var(--ch-blue); font-weight: 850; }
.ch-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--ch-muted); }

.ch-profile-cover { min-height: 240px; border-radius: var(--ch-radius) var(--ch-radius) 0 0; background: linear-gradient(135deg, #1f5da8, #d9b45f); background-size: cover; background-position: center; }
.ch-profile-body { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: end; padding: 0 1.5rem 1.5rem; }
.ch-profile-body .ch-logo { margin-top: -44px; }
.ch-meta-line { color: var(--ch-muted); font-weight: 750; }
.ch-panel { padding: 1.2rem; }
.ch-list-row { display: grid; gap: .18rem; padding: .85rem 0; border-bottom: 1px solid #edf2f8; }
.ch-list-row:last-child { border-bottom: 0; }
.ch-chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .55rem; }
.ch-chip-row span { border-radius: 999px; padding: .25rem .6rem; background: var(--ch-blue-soft); color: var(--ch-blue); font-size: .74rem; font-weight: 900; }
.ch-list-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: .65rem; }
.ch-list-actions .ch-btn { min-height: 36px; padding: .48rem .72rem; border-radius: 10px; font-size: .86rem; }

.ch-web-hero { min-height: 520px; display: grid; place-items: center; text-align: center; color: #fff; padding: 4rem 1rem; border-radius: 0 0 28px 28px; background: linear-gradient(135deg, #113b75, #2f80ed); background-size: cover; background-position: center; }
.ch-web-hero h1, .ch-web-hero p { color: #fff; max-width: 780px; }
.ch-web-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.ch-web-band article { padding: 1.4rem; border-radius: var(--ch-radius); background: #fff; border: 1px solid var(--ch-border); }
.ch-web-premium {
    max-width: none;
    padding: 0;
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #ffffff 100%);
}

.ch-web-premium > section,
.ch-web-premium > div,
.ch-web-premium > .ch-showcase-section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.ch-web-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1180px;
    margin: 1rem auto 0;
    padding: .75rem;
    border: 1px solid rgba(223, 234, 246, .86);
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(24, 69, 123, .1);
}

.ch-web-brand,
.ch-web-nav div {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ch-web-brand {
    color: var(--ch-text);
    font-weight: 950;
    text-decoration: none;
}

.ch-web-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.ch-web-nav div a {
    color: #385273;
    font-size: .9rem;
    font-weight: 850;
    text-decoration: none;
}

.ch-web-hero-premium-v2 {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
    gap: 2rem;
    align-items: end;
    min-height: 680px;
    margin-top: 1rem;
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: 34px;
    text-align: left;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, color-mix(in srgb, var(--ch-brand-secondary) 34%, transparent), transparent 28%),
        linear-gradient(135deg, #041225, color-mix(in srgb, var(--ch-brand-primary) 72%, #08213f));
    background-size: cover;
    background-position: center;
    box-shadow: 0 34px 90px rgba(16, 35, 63, .24);
}

.ch-web-hero-premium-v2::after {
    content: "";
    position: absolute;
    inset: auto -8% -32% 42%;
    height: 420px;
    background: radial-gradient(circle, color-mix(in srgb, var(--ch-brand-secondary) 34%, transparent), transparent 64%);
    pointer-events: none;
}

.ch-web-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: .9rem;
    max-width: 780px;
}

.ch-web-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: .42rem .85rem;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.ch-logo-xl {
    width: 118px;
    height: 118px;
    border-radius: 28px;
}

.ch-web-hero-premium-v2 h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: .95;
    letter-spacing: -.06em;
}

.ch-web-hero-premium-v2 p {
    color: rgba(255, 255, 255, .86);
    font-size: 1.12rem;
    font-weight: 750;
}

.ch-web-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .3rem;
}

.ch-btn-web-ghost {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.ch-web-hero-card {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.ch-web-hero-card h2 {
    color: #fff;
    font-weight: 950;
}

.ch-web-hero-card ul {
    display: grid;
    gap: .55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.ch-web-hero-card li {
    padding: .65rem .75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    font-weight: 800;
}

.ch-web-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ch-web-values article,
.ch-web-feature-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ch-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 12%, rgba(217, 180, 95, .18), transparent 30%),
        #fff;
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-web-values article {
    padding: 1.35rem;
}

.ch-web-values span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-weight: 950;
}

.ch-web-values h2,
.ch-web-feature-panel h2 {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-values p {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 1rem;
    margin-top: 1rem;
}

.ch-web-schedule-list,
.ch-web-leader-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.ch-web-schedule-list article,
.ch-web-leader-list article {
    display: grid;
    gap: .2rem;
    padding: .85rem;
    border: 1px solid #edf2f8;
    border-radius: 16px;
    background: #f8fbff;
}

.ch-web-schedule-list strong {
    color: var(--ch-blue);
    font-weight: 950;
}

.ch-web-schedule-list span,
.ch-web-leader-list strong {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-schedule-list small,
.ch-web-leader-list small {
    color: var(--ch-muted);
    font-weight: 800;
}

.ch-web-leader-list article {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.ch-web-leader-list img,
.ch-web-leader-list article > span {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    object-fit: cover;
}

.ch-web-leader-list article > span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ch-blue), var(--ch-gold));
    color: #fff;
    font-weight: 950;
}

.ch-web-communication {
    margin-top: 1rem;
}

.ch-web-final-cta {
    margin-top: 1rem;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 16% 20%, rgba(217, 180, 95, .2), transparent 28%),
        linear-gradient(135deg, #07182e, color-mix(in srgb, var(--ch-brand-primary) 70%, #08213f));
    color: #fff;
}

.ch-web-final-cta h2 {
    max-width: 820px;
    margin: .4rem auto;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -.05em;
}

.ch-web-final-cta p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .8);
    font-weight: 750;
}

.ch-web-final-cta .ch-web-hero-actions {
    justify-content: center;
}

.ch-site-fluid {
    --ch-site-dark: #07182e;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #fff;
}

.ch-site-fluid [id] {
    scroll-margin-top: 90px;
}

.ch-site-header {
    position: relative;
    z-index: 1050;
}

.ch-site-navbar {
    min-height: 72px;
    background: rgba(7, 24, 46, .94) !important;
    box-shadow: 0 16px 40px rgba(7, 24, 46, .2);
    backdrop-filter: blur(18px);
}

.ch-site-navbar .nav-link {
    color: rgba(255, 255, 255, .78);
    font-weight: 850;
}

.ch-site-navbar .nav-link:hover,
.ch-site-navbar .nav-link.active {
    color: #fff;
}

.ch-site-navbar .btn {
    border-radius: 999px;
    font-weight: 900;
}

.ch-site-top-actions {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.ch-site-login-btn,
.ch-site-user-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    padding: .42rem .9rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
}

.ch-site-login-btn:hover,
.ch-site-user-pill:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.ch-site-faithcore-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.ch-site-faithcore-btn:hover {
    transform: translateY(-1px);
}

.ch-site-faithcore-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ch-site-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 950;
}

.ch-site-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.ch-site-carousel {
    margin-bottom: 4rem;
}

.ch-site-carousel,
.ch-site-carousel .carousel-inner,
.ch-site-carousel .carousel-item {
    min-height: 680px;
}

.ch-site-slide {
    position: relative;
    height: min(860px, 100vh);
    min-height: 680px;
    background:
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ch-brand-secondary) 34%, transparent), transparent 30%),
        linear-gradient(135deg, #07182e, color-mix(in srgb, var(--ch-brand-primary) 62%, #09213f));
    background-size: cover;
    background-position: center;
}

.ch-site-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 24, 46, .18), rgba(7, 24, 46, .72)),
        radial-gradient(circle at 12% 82%, rgba(217, 180, 95, .22), transparent 28%);
    pointer-events: none;
}

.ch-site-slide > .container {
    position: relative;
    height: 100%;
}

.ch-site-slide-alt {
    background:
        radial-gradient(circle at 20% 20%, rgba(217, 180, 95, .28), transparent 30%),
        linear-gradient(135deg, #10233f, #2563eb);
}

.ch-site-slide-blue {
    background:
        radial-gradient(circle at 20% 20%, rgba(217, 180, 95, .22), transparent 30%),
        linear-gradient(135deg, #10233f, #2563eb);
}

.ch-site-slide-gold {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .22), transparent 28%),
        linear-gradient(135deg, #0c1b33, #b8860b);
}

.ch-site-slide-soft {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .22), transparent 28%),
        linear-gradient(135deg, #123b6f, #5bb4ff);
}

.ch-site-caption {
    left: 7%;
    right: 7%;
    bottom: clamp(4.5rem, 10vh, 7rem);
    z-index: 2;
}

.ch-site-caption h1 {
    max-width: 920px;
    color: #fff;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.06em;
}

.ch-site-caption p {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.18rem;
    font-weight: 750;
}

.ch-site-kicker {
    display: inline-flex;
    margin-bottom: .7rem;
    border-radius: 999px;
    padding: .42rem .85rem;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.ch-site-hero-logo {
    width: 118px;
    height: 118px;
    margin-bottom: 1rem;
    border: 5px solid rgba(255, 255, 255, .92);
    border-radius: 28px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .24);
}

.ch-site-tabs {
    position: sticky;
    top: 72px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .75rem clamp(1rem, 5vw, 5rem);
    border-bottom: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(12, 31, 63, .06);
    backdrop-filter: blur(16px);
}

.ch-site-tabs-scroll {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.ch-site-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.ch-site-tabs a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border-radius: 999px;
    padding: .48rem .85rem;
    color: var(--ch-muted);
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.ch-site-tabs-scroll a:hover,
.ch-site-tabs-scroll a.is-active {
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
}

.ch-site-tab-actions {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.ch-site-message-btn {
    border: 1px solid #d7e4f4;
    background: #fff;
    color: var(--ch-blue) !important;
    box-shadow: 0 10px 24px rgba(12, 31, 63, .06);
}

.ch-site-message-btn:hover {
    background: var(--ch-blue-soft);
}

.ch-site-follow-btn {
    background: linear-gradient(135deg, var(--ch-brand-primary), #0d6efd);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(13, 110, 253, .22);
}

.ch-site-follow-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.ch-site-marketing {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 3rem);
    max-width: none;
    margin-inline: auto;
    padding: 0 clamp(1rem, 5vw, 5rem) 0 0;
}

.ch-site-section-nav {
    align-self: stretch;
    width: 280px;
    min-height: 100vh;
    color-scheme: dark;
    --bs-body-color: #dee2e6;
    --bs-body-bg: #212529;
    --bs-emphasis-color: #fff;
    --bs-secondary-color: rgba(222, 226, 230, .75);
    --bs-secondary-bg: #343a40;
    --bs-tertiary-bg: #2b3035;
    --bs-link-color: #6ea8fe;
    --bs-link-hover-color: #8bb9fe;
    --bs-border-color: #495057;
    --bs-border-color-translucent: rgba(255, 255, 255, .15);
    border-right: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: none;
}

.ch-site-section-nav-inner {
    position: sticky;
    top: 90px;
    z-index: 10;
    padding: .85rem;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius-xl);
    background:
        radial-gradient(circle at 90% 0%, rgba(110, 168, 254, .16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)),
        var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-lg);
}

.ch-site-section-title {
    display: grid;
    gap: .2rem;
    margin-bottom: .8rem;
    padding: .2rem .35rem .75rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.ch-site-section-title span {
    color: var(--bs-secondary-color);
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ch-site-section-title strong {
    color: var(--bs-emphasis-color);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.2;
}

.ch-site-section-nav .btn-toggle {
    width: 100%;
    justify-content: space-between;
    padding: .62rem .75rem;
    color: var(--bs-body-color);
    font-size: .92rem;
    font-weight: 950;
    text-align: left;
}

.ch-site-section-nav .btn-toggle::after {
    content: "";
    width: .5rem;
    height: .5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
    opacity: .65;
}

.ch-site-section-nav .btn-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.ch-site-section-nav .btn-toggle:hover,
.ch-site-section-nav .btn-toggle:focus {
    background: var(--bs-secondary-bg);
    color: var(--bs-emphasis-color);
}

.ch-site-section-nav .btn-toggle-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 34px;
    margin-left: .45rem;
    padding: .42rem .75rem .42rem 1.25rem;
    border-radius: 12px;
    color: var(--bs-body-color) !important;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.ch-site-section-nav .btn-toggle-nav a:hover {
    background: var(--bs-tertiary-bg);
    color: var(--bs-link-hover-color) !important;
}

.ch-site-section-nav .border-top {
    border-color: var(--bs-border-color-translucent) !important;
}

.ch-site-section-nav [data-site-index] {
    display: none;
}

.ch-site-section-nav [data-site-index].is-active {
    display: block;
}

.ch-site-main-sections {
    min-width: 0;
}

.ch-site-tab-panel {
    display: none;
}

.ch-site-tab-panel.is-active {
    display: block;
    animation: chFadeUp .24s ease both;
}

@keyframes chFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ch-site-three-cols {
    row-gap: 2rem;
}

.ch-site-three-cols .col-lg-4 {
    padding-inline: 1.5rem;
}

.ch-site-circle {
    width: 140px;
    height: 140px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), transparent 28%),
        linear-gradient(135deg, var(--ch-brand-primary), var(--ch-brand-secondary));
    color: #fff;
    font-size: 2rem;
    font-weight: 950;
    box-shadow: 0 20px 48px rgba(24, 69, 123, .18);
}

.ch-site-three-cols h2 {
    color: var(--ch-text);
    font-weight: 900;
}

.ch-site-three-cols p {
    color: var(--ch-muted);
    font-weight: 750;
}

.featurette-divider {
    margin: 5rem 0;
}

.featurette-heading {
    color: var(--ch-text);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    letter-spacing: -.05em;
}

.featurette .lead {
    color: var(--ch-muted);
}

.ch-site-feature-img {
    min-height: 420px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 18%, rgba(217, 180, 95, .36), transparent 32%),
        linear-gradient(135deg, #123b6f, #2f80ed);
    box-shadow: 0 26px 70px rgba(24, 69, 123, .16);
}

.ch-site-editorial-blocks {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.ch-site-editorial-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    border: 1px solid #dbe8f6;
    border-radius: 26px;
    padding: clamp(1.2rem, 3vw, 2rem);
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 20px 54px rgba(12, 31, 63, .08);
    scroll-margin-top: 155px;
}

.ch-site-editorial-block:has(img) {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    align-items: center;
}

.ch-site-editorial-block img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    object-fit: cover;
}

.ch-site-editorial-block h2 {
    color: var(--ch-text);
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    font-weight: 950;
}

.ch-site-editorial-block p {
    color: var(--ch-muted);
    font-size: 1.02rem;
    font-weight: 720;
    line-height: 1.75;
}

.ch-site-feature-schedule {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .32), transparent 28%),
        linear-gradient(135deg, #0c1b33, #2f80ed);
}

.ch-site-feature-leaders {
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .28), transparent 30%),
        linear-gradient(135deg, #d9b45f, #123b6f);
}

.ch-site-feature-community {
    background:
        radial-gradient(circle at 25% 20%, rgba(217, 180, 95, .35), transparent 30%),
        linear-gradient(135deg, #082032, #2f80ed);
}

.ch-site-list,
.ch-site-leaders {
    display: grid;
    gap: .8rem;
    margin-top: 1.4rem;
}

.ch-site-list article,
.ch-site-leaders article,
.ch-site-mini-panel {
    padding: 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 18px;
    background: #f8fbff;
}

.ch-site-list strong,
.ch-site-list span {
    display: block;
}

.ch-site-list strong {
    color: var(--ch-blue);
    font-weight: 950;
}

.ch-site-list span {
    color: var(--ch-text);
    font-weight: 850;
}

.ch-site-leaders article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .75rem;
}

.ch-site-leaders img,
.ch-site-leaders article > span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
}

.ch-site-leaders article > span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ch-brand-primary), var(--ch-brand-secondary));
    color: #fff;
    font-weight: 950;
}

.ch-site-leaders strong,
.ch-site-leaders small {
    display: block;
}

.ch-site-leaders small,
.ch-site-mini-panel p {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-site-mini-panel h3 {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-site-fluid-sections {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

.ch-site-fluid-sections .ch-showcase-section {
    max-width: none;
}

.ch-site-footer {
    margin-top: 4rem;
    padding: 2rem clamp(1rem, 5vw, 5rem);
    border-top: 1px solid var(--ch-border);
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-site-footer a {
    color: var(--ch-blue);
    font-weight: 900;
}

.ch-web-admin-hero {
    background:
        radial-gradient(circle at 88% 16%, rgba(217, 180, 95, .2), transparent 30%),
        linear-gradient(135deg, #ffffff, #eef8ff);
}

.ch-web-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.ch-web-admin-grid .ch-panel {
    display: grid;
    align-content: start;
    gap: .65rem;
}

.ch-web-admin-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.ch-web-status-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: .25rem;
    min-height: 132px;
    padding: 1rem;
    border: 1px solid rgba(205, 221, 240, .95);
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 0%, rgba(47, 128, 237, .16), transparent 34%),
        linear-gradient(135deg, #ffffff, #f5f9ff);
    box-shadow: 0 20px 54px rgba(12, 31, 63, .08);
}

.ch-web-status-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(217, 180, 95, .16);
}

.ch-web-status-card.is-live {
    background:
        radial-gradient(circle at 90% 10%, rgba(117, 183, 152, .22), transparent 34%),
        linear-gradient(135deg, #ffffff, #f2fff8);
}

.ch-web-status-card span,
.ch-web-status-card small {
    color: var(--ch-muted);
    font-weight: 800;
}

.ch-web-status-card span {
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ch-web-status-card strong {
    color: var(--ch-text);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 950;
    line-height: 1;
}

.ch-web-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
    align-items: start;
}

.ch-web-admin-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.ch-web-admin-side {
    position: sticky;
    top: calc(var(--ch-nav-h) + 1rem);
    display: grid;
    gap: 1rem;
}

.ch-web-admin-console {
    display: grid;
    gap: 1rem;
}

.ch-web-section-manager {
    display: grid;
    gap: .75rem;
}

.ch-web-section-manager article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid #dbe8f6;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfdff, #f6fbff);
}

.ch-web-section-manager strong,
.ch-web-section-manager small {
    display: block;
}

.ch-web-section-manager strong {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-section-manager small {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-section-manager article > a,
.ch-web-section-manager article > span a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    padding: .34rem .7rem;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .82rem;
    font-weight: 950;
    text-decoration: none;
}

.ch-web-section-manager article > span {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.ch-web-checklist {
    display: grid;
    gap: .55rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.ch-web-checklist li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--ch-muted);
    font-weight: 850;
}

.ch-web-checklist li::before {
    content: "";
    width: .78rem;
    height: .78rem;
    border: 2px solid #c6d7ea;
    border-radius: 999px;
    background: #fff;
}

.ch-web-checklist li.is-done {
    color: var(--ch-text);
}

.ch-web-checklist li.is-done::before {
    border-color: #198754;
    background: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, .12);
}

.ch-web-admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.ch-web-admin-links a {
    border-radius: 999px;
    padding: .35rem .65rem;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .8rem;
    font-weight: 900;
    text-decoration: none;
}

.ch-web-admin-preview {
    overflow: hidden;
}

.ch-preview-device-controls {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .8rem 0 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 999px;
    padding: .32rem;
    background: #f8fbff;
}

.ch-preview-device-controls button {
    border: 0;
    border-radius: 999px;
    padding: .42rem .8rem;
    background: transparent;
    color: var(--ch-muted);
    font-size: .82rem;
    font-weight: 950;
}

.ch-preview-device-controls button.is-active {
    background: var(--ch-blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(13, 110, 253, .2);
}

.ch-preview-frame-wrap {
    display: flex;
    justify-content: center;
    overflow: auto;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .06), rgba(217, 180, 95, .08)),
        #eef4fb;
    padding: .75rem;
}

.ch-preview-frame-wrap iframe {
    width: 100%;
    min-height: 760px;
    border: 1px solid var(--ch-border);
    border-radius: 20px;
    background: #fff;
}

.ch-preview-frame-wrap.is-tablet iframe {
    width: 820px;
}

.ch-preview-frame-wrap.is-mobile iframe {
    width: 390px;
    min-height: 720px;
}

.ch-web-change-log {
    display: grid;
    gap: .7rem;
}

.ch-web-change-log article {
    border: 1px solid var(--ch-border);
    border-radius: 16px;
    padding: .8rem;
    background: #f8fbff;
}

.ch-web-change-log strong,
.ch-web-change-log small {
    display: block;
}

.ch-web-change-log strong {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-change-log small {
    margin-top: .15rem;
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-change-log p {
    margin: .45rem 0 0;
    color: var(--ch-muted);
    font-size: .88rem;
    font-weight: 700;
}

.ch-web-color-swatches {
    display: flex;
    gap: .7rem;
    margin: .85rem 0;
}

.ch-web-color-swatches span {
    width: 68px;
    height: 48px;
    border: 4px solid #fff;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(12, 31, 63, .12);
}

.ch-site-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}

.ch-site-socials a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: .4rem .8rem;
    color: #fff;
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
}

.ch-site-socials a:hover {
    background: rgba(255, 255, 255, .16);
}

.ch-web-section-form {
    display: grid;
    gap: 1rem;
}

.ch-web-section-edit-grid {
    display: grid;
    gap: 1rem;
}

.ch-web-section-edit-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe8f6;
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 0%, rgba(217, 180, 95, .12), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7fbff);
}

.ch-web-slide-edit-grid {
    display: grid;
    gap: 1rem;
}

.ch-web-slide-edit-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe8f6;
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 0%, rgba(47, 128, 237, .14), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7fbff);
}

.ch-web-branding-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
    align-items: start;
}

.ch-web-branding-preview {
    position: sticky;
    top: calc(var(--ch-nav-h) + 1rem);
}

.ch-web-brand-card {
    overflow: hidden;
    display: grid;
    gap: .75rem;
    border: 1px solid #dbe8f6;
    border-radius: 22px;
    background: #fff;
}

.ch-web-brand-cover {
    min-height: 150px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 180, 95, .28), transparent 30%),
        linear-gradient(135deg, #07182e, #2f80ed);
    background-size: cover;
    background-position: center;
}

.ch-web-brand-card img {
    width: 82px;
    height: 82px;
    margin: -48px 1rem 0;
    border: 5px solid #fff;
    border-radius: 24px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 14px 30px rgba(12, 31, 63, .16);
}

.ch-web-brand-card strong,
.ch-web-brand-card p,
.ch-web-brand-card .ch-web-color-swatches {
    margin-inline: 1rem;
}

.ch-web-brand-card strong {
    color: var(--ch-text);
    font-size: 1.2rem;
    font-weight: 950;
}

.ch-web-brand-card p {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-content-sections {
    display: grid;
    gap: 1.25rem;
}

.ch-web-content-section {
    display: grid;
    gap: 1rem;
}

.ch-web-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-web-content-card {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    padding: 1rem;
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 16px 40px rgba(12, 31, 63, .06);
}

.ch-web-content-card header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.ch-web-content-card h3,
.ch-web-content-card p {
    margin: 0;
}

.ch-web-content-card h3 {
    color: var(--ch-text);
    font-size: 1.15rem;
    font-weight: 950;
}

.ch-web-content-card p {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-content-counts {
    display: flex;
    gap: .5rem;
}

.ch-web-content-counts span {
    display: grid;
    min-width: 74px;
    padding: .5rem .65rem;
    border-radius: 16px;
    background: #eef7ff;
    color: var(--ch-muted);
    font-size: .72rem;
    font-weight: 850;
    text-align: center;
}

.ch-web-content-counts strong {
    color: var(--ch-blue);
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1;
}

.ch-web-content-items {
    display: grid;
    gap: .5rem;
}

.ch-web-content-items div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .8rem;
    border: 1px solid #dbe8f6;
    border-radius: 16px;
    background: #f8fbff;
}

.ch-web-content-items strong {
    color: var(--ch-text);
    font-weight: 900;
}

.ch-web-content-items small {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: .25rem .55rem;
    background: #fff;
    color: var(--ch-muted);
    font-size: .75rem;
    font-weight: 900;
}

.ch-web-content-card footer {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
}

.ch-web-builder {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 280px;
    gap: 1rem;
    align-items: start;
}

.ch-web-builder-tabs,
.ch-web-builder-side {
    position: sticky;
    top: 92px;
}

.ch-web-builder-tabs nav {
    display: grid;
    gap: .55rem;
}

.ch-web-builder-tabs nav a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .15rem .65rem;
    align-items: center;
    border: 1px solid #dbe8f6;
    border-radius: 18px;
    padding: .78rem;
    background: #f8fbff;
    color: var(--ch-text);
    text-decoration: none;
}

.ch-web-builder-tabs nav a.is-active {
    border-color: rgba(13, 110, 253, .34);
    background: linear-gradient(135deg, var(--ch-blue-soft), #fff);
    box-shadow: 0 16px 36px rgba(13, 110, 253, .12);
}

.ch-web-builder-tabs nav a span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff;
    color: var(--ch-blue);
    font-weight: 950;
}

.ch-web-builder-tabs nav a strong,
.ch-web-builder-tabs nav a small {
    display: block;
}

.ch-web-builder-tabs nav a strong {
    font-weight: 950;
}

.ch-web-builder-tabs nav a small {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-builder-main,
.ch-web-builder-blocks {
    display: grid;
    gap: 1rem;
}

.ch-web-builder-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ch-web-builder-head h2,
.ch-web-builder-head p,
.ch-web-builder-block h3,
.ch-web-builder-block p {
    margin: 0;
}

.ch-web-builder-head h2,
.ch-web-builder-block h3 {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-builder-head p,
.ch-web-builder-block p {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-builder-block {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.ch-web-builder-block.is-muted {
    opacity: .68;
}

.ch-web-builder-block-order {
    display: grid;
    justify-items: center;
    gap: .3rem;
}

.ch-web-builder-block-order button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dbe8f6;
    border-radius: 12px;
    background: #f8fbff;
    color: var(--ch-blue);
    font-weight: 950;
}

.ch-web-builder-block-order strong {
    color: var(--ch-muted);
    font-size: .78rem;
}

.ch-web-builder-block-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.ch-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    padding: .35rem .7rem;
    background: #f1f5f9;
    color: var(--ch-muted);
    font-size: .78rem;
    font-weight: 950;
}

.ch-status-pill.is-success {
    background: #ecfdf4;
    color: #16803a;
}

.ch-web-share-preview {
    overflow: hidden;
    display: grid;
    gap: .65rem;
    border: 1px solid #dbe8f6;
    border-radius: 20px;
    background: #fff;
}

.ch-web-share-preview > div {
    min-height: 160px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 180, 95, .24), transparent 30%),
        linear-gradient(135deg, #07182e, #2f80ed);
    background-size: cover;
    background-position: center;
}

.ch-web-share-preview strong,
.ch-web-share-preview p,
.ch-web-share-preview small {
    margin-inline: 1rem;
}

.ch-web-share-preview strong {
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-share-preview p,
.ch-web-share-preview small {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-web-share-preview small {
    margin-bottom: 1rem;
}

.ch-web-unpublished {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 20% 18%, rgba(217, 180, 95, .18), transparent 30%),
        linear-gradient(135deg, #07182e, #123b6f);
}

.ch-web-unpublished section {
    width: min(720px, 100%);
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 32px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.ch-web-unpublished img {
    width: 96px;
    height: 96px;
    border: 5px solid rgba(255, 255, 255, .85);
    border-radius: 26px;
    object-fit: cover;
    background: #fff;
}

.ch-web-unpublished span {
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ch-web-unpublished h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: .98;
}

.ch-web-unpublished p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    font-weight: 750;
}

.ch-web-section-edit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ch-web-section-edit-head span,
.ch-web-section-edit-head strong {
    display: block;
}

.ch-web-section-edit-head span {
    color: var(--ch-muted);
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ch-web-section-edit-head strong {
    color: var(--ch-text);
    font-size: 1.05rem;
    font-weight: 950;
}

.ch-web-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .35rem .65rem;
    background: #eef7ff;
    color: var(--ch-blue);
    font-size: .82rem;
    font-weight: 950;
}
.ch-form-wrap { max-width: 980px; }
.ch-form-card { padding: 1.25rem; }
.ch-form-card p { display: grid; gap: .35rem; }
.ch-form-actions { display: flex; gap: .7rem; }

.ch-shell { min-height: 100vh; padding-top: var(--ch-nav-h); background: linear-gradient(180deg, #f8fbff, #eef5fc); }
.ch-navbar { position: fixed; inset: 0 0 auto 0; z-index: 1040; height: var(--ch-nav-h); display: grid; grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr) auto; align-items: center; gap: 1rem; padding: 0 1.4rem; background: linear-gradient(135deg, rgba(219, 238, 255, .96), rgba(240, 248, 255, .92)); border-bottom: 1px solid #c9e3fb; backdrop-filter: blur(18px); box-shadow: 0 14px 34px rgba(47, 128, 237, .08); }
.ch-brand { display: flex; align-items: center; gap: .75rem; color: var(--ch-text); font-weight: 950; text-decoration: none; }
.ch-brand img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.ch-search input, .ch-search-panel input, .ch-composer textarea { width: 100%; border: 1px solid var(--ch-border); border-radius: 14px; background: #f8fbff; padding: .8rem 1rem; outline: 0; }
.ch-icon-btn { border: 0; background: #eef5ff; border-radius: 10px; width: 42px; height: 42px; }
.ch-sidebar, .ch-rightbar { position: fixed; top: var(--ch-nav-h); bottom: 0; overflow-y: auto; padding: 1.1rem; }
.ch-sidebar { left: 0; width: var(--ch-sidebar-w); background: linear-gradient(180deg, #eff8ff 0%, #ffffff 42%, #f6fbff 100%); border-right: 1px solid #d2e9fb; box-shadow: 16px 0 36px rgba(47, 128, 237, .05); }
.ch-rightbar { right: 0; width: var(--ch-rightbar-w); }
.ch-main { margin-left: var(--ch-sidebar-w); margin-right: var(--ch-rightbar-w); padding: 1.5rem; }
.ch-sidebar a, .ch-sidebar button { display: flex; width: 100%; align-items: center; gap: .72rem; min-height: 42px; border: 0; border-radius: 12px; background: transparent; color: #385273; padding: .7rem .8rem; font-weight: 800; text-align: left; text-decoration: none; }
.ch-sidebar a:hover, .ch-sidebar button:hover { background: var(--ch-blue-soft); color: var(--ch-blue); }
.ch-sidebar [data-ch-icon] { display: inline-grid; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; place-items: center; color: inherit; }
.ch-sidebar [data-ch-icon] svg { width: 1.15rem; height: 1.15rem; stroke-width: 2; }
.ch-sidebar .ch-soon { margin-left: auto; }
.ch-soon { border-radius: 999px; background: #fff6db; color: #8a6219; padding: .12rem .42rem; font-size: .68rem; }
.ch-header-card { border: 1px solid var(--ch-border); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 45px rgba(24, 69, 123, .08); }
.ch-header-cover { min-height: 160px; background: linear-gradient(135deg, #bddcff, #f7dea1); background-size: cover; background-position: center; }
.ch-header-body { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: end; padding: 0 1.3rem 1.2rem; }
.ch-header-body .ch-logo { margin-top: -38px; }
.ch-status { align-self: center; border-radius: 999px; background: #ecfdf4; color: #16803a; padding: .35rem .7rem; font-weight: 900; }
.ch-search-panel { display: grid; grid-template-columns: 1fr auto; gap: .75rem; margin-top: 1rem; }
.ch-composer { margin-top: 1rem; }
.ch-composer div { display: flex; justify-content: flex-end; gap: .7rem; margin-top: .75rem; }
.ch-stat-row { display: flex; justify-content: space-between; padding: .5rem 0; border-top: 1px solid #edf2f8; }
.ch-related-card { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; color: var(--ch-text); text-decoration: none; }
.ch-related-card img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.ch-backdrop { display: none; }

.ch-profile-hero-premium {
    overflow: hidden;
    border-color: color-mix(in srgb, var(--ch-brand-primary, var(--ch-blue)) 24%, #dfeaf6);
}

.ch-profile-hero-premium .ch-profile-cover {
    position: relative;
    min-height: 320px;
    background:
        radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--ch-brand-secondary, var(--ch-gold)) 42%, transparent), transparent 26%),
        linear-gradient(135deg, var(--ch-brand-primary, #1f5da8), #0c1b33);
    background-size: cover;
    background-position: center;
}

.ch-profile-hero-premium .ch-profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 36%, rgba(12, 27, 51, .52)),
        linear-gradient(115deg, rgba(255,255,255,.16), transparent 32%);
}

.ch-profile-summary-grid .ch-panel {
    position: relative;
    overflow: hidden;
}

.ch-panel-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-bottom: .7rem;
    place-items: center;
    border-radius: 12px;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .78rem;
    font-weight: 950;
}

.ch-section-inline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.ch-section-inline-head h2 {
    margin: 0;
    color: var(--ch-text);
    font-weight: 950;
}

.ch-web-hero-premium {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 0 0 34px 34px;
    background:
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ch-brand-secondary, var(--ch-gold)) 42%, transparent), transparent 28%),
        linear-gradient(135deg, var(--ch-brand-primary, #113b75), #0c1b33);
    background-size: cover;
    background-position: center;
}

.ch-web-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255,255,255,.18), transparent 28%, transparent 68%, rgba(255,255,255,.08)),
        radial-gradient(circle at 18% 88%, rgba(255,255,255,.18), transparent 26%);
    pointer-events: none;
}

.ch-web-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    max-width: 860px;
    gap: .65rem;
}

.ch-web-hero-inner .ch-logo {
    width: 108px;
    height: 108px;
    border-radius: 28px;
}

.ch-btn-web-ghost {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
}

.ch-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .8rem;
}

.ch-social-links a {
    border-radius: 999px;
    padding: .32rem .62rem;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
}

.ch-settings-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.3rem;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #edf7ff);
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-settings-hero h1 {
    margin: .15rem 0;
    color: var(--ch-text);
    font-weight: 950;
    letter-spacing: -.03em;
}

.ch-settings-hero p {
    margin: 0;
    color: var(--ch-muted);
}

.ch-settings-form {
    display: grid;
    gap: 1rem;
}

.ch-form-section-head {
    margin-bottom: 1rem;
}

.ch-form-section-head span {
    color: var(--ch-blue);
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ch-form-section-head h2 {
    margin: .15rem 0;
    color: var(--ch-text);
    font-size: 1.25rem;
    font-weight: 950;
}

.ch-form-section-head p {
    margin: 0;
    color: var(--ch-muted);
}

.ch-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-form-field {
    display: grid;
    gap: .38rem;
}

.ch-form-field label {
    color: var(--ch-text);
    font-size: .82rem;
    font-weight: 850;
}

.ch-field-description,
.ch-field-short_description,
.ch-field-service_times,
.ch-field-mission_statement,
.ch-field-vision_statement,
.ch-field-values_statement,
.ch-field-cover_image,
.ch-field-logo,
.ch-field-span-2 {
    grid-column: 1 / -1;
}

.ch-form-check {
    align-content: end;
}

.ch-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    justify-content: flex-end;
}

.ch-management-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #edf7ff);
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-management-hero h1 {
    margin: .15rem 0;
    color: var(--ch-text);
    font-weight: 950;
    letter-spacing: -.03em;
}

.ch-management-hero p {
    margin: 0;
    color: var(--ch-muted);
}

.ch-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 220px auto;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .9rem;
    border: 1px solid var(--ch-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(24, 69, 123, .06);
}

.ch-filter-bar input,
.ch-filter-bar select {
    min-height: 44px;
    border: 1px solid var(--ch-border);
    border-radius: 12px;
    background: #f8fbff;
    padding: .65rem .85rem;
}

.ch-member-grid,
.ch-leadership-grid,
.ch-council-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-member-card,
.ch-leader-card,
.ch-request-card,
.ch-council-card {
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-council-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.ch-member-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem;
}

.ch-member-avatar,
.ch-leader-photo {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ch-blue), var(--ch-gold));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(47, 128, 237, .16);
}

.ch-member-body h2,
.ch-leader-card h2,
.ch-request-card h2 {
    margin: 0;
    color: var(--ch-text);
    font-size: 1.1rem;
    font-weight: 950;
}

.ch-member-body p,
.ch-leader-card p,
.ch-request-card p {
    margin: .25rem 0 .6rem;
    color: var(--ch-muted);
}

.ch-member-badges,
.ch-leader-contact,
.ch-request-topline {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .55rem 0;
}

.ch-member-badges span,
.ch-leader-contact span,
.ch-request-topline span,
.ch-request-topline strong {
    border-radius: 999px;
    padding: .24rem .55rem;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .74rem;
    font-weight: 900;
}

.ch-request-topline strong {
    background: #fff6db;
    color: #8a6219;
}

.ch-mini-definition {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin: .7rem 0;
}

.ch-mini-definition dt {
    color: var(--ch-muted);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ch-mini-definition dd {
    margin: 0;
    color: var(--ch-text);
    font-weight: 850;
}

.ch-leader-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem;
}

.ch-leader-photo {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    overflow: hidden;
}

.ch-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-request-stack {
    display: grid;
    gap: 1rem;
}

.ch-request-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1rem;
}

.ch-request-card small {
    display: block;
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-content: start;
    justify-content: flex-end;
}

.ch-request-actions form {
    margin: 0;
}

.ch-catalog-hero, .ch-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #edf7ff);
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-catalog-hero h1, .ch-showcase-head h2 {
    margin: .15rem 0;
    color: var(--ch-text);
    font-weight: 950;
    letter-spacing: -.03em;
}

.ch-catalog-hero p, .ch-showcase-head p {
    margin: 0;
    color: var(--ch-muted);
}

.ch-catalog-grid, .ch-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.ch-showcase-section {
    margin-top: 1.2rem;
}

.ch-catalog-card, .ch-showcase-card {
    overflow: hidden;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-catalog-media, .ch-showcase-media {
    position: relative;
    min-height: 150px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 180, 95, .38), transparent 32%),
        linear-gradient(135deg, #123b6f, #2f80ed);
    background-size: cover;
    background-position: center;
}

.ch-product-card .ch-showcase-media {
    background:
        radial-gradient(circle at 80% 20%, rgba(47, 128, 237, .34), transparent 32%),
        linear-gradient(135deg, #0c1b33, #d9b45f);
}

.ch-event-card .ch-showcase-media {
    background:
        radial-gradient(circle at 82% 18%, rgba(217, 180, 95, .4), transparent 32%),
        linear-gradient(135deg, #0f62fe, #7cc7ff);
}

.ch-ministry-card .ch-showcase-media {
    background:
        radial-gradient(circle at 82% 18%, rgba(217, 180, 95, .38), transparent 32%),
        linear-gradient(135deg, #0c1b33, #2f80ed);
}

.ch-catalog-media span, .ch-showcase-media span {
    position: absolute;
    top: .8rem;
    left: .8rem;
    border-radius: 999px;
    padding: .28rem .62rem;
    background: rgba(255,255,255,.92);
    color: #123b6f;
    font-size: .75rem;
    font-weight: 950;
}

.ch-catalog-body, .ch-showcase-card > div:last-child {
    padding: 1rem;
}

.ch-catalog-body h2, .ch-showcase-card h3 {
    color: var(--ch-text);
    font-size: 1.1rem;
    font-weight: 950;
}

.ch-catalog-body p, .ch-showcase-card p {
    color: var(--ch-muted);
}

.ch-catalog-meta, .ch-showcase-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    color: var(--ch-muted);
    font-weight: 800;
}

.ch-catalog-meta strong, .ch-showcase-meta strong {
    color: var(--ch-blue);
}

.ch-communication-hero {
    background:
        radial-gradient(circle at 88% 18%, rgba(217, 180, 95, .26), transparent 28%),
        linear-gradient(135deg, #ffffff, #edf7ff 58%, #f8fbff);
}

.ch-communication-filter {
    grid-template-columns: minmax(220px, 1fr) 190px 180px auto;
}

.ch-communication-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-announcement-card,
.ch-prayer-card {
    position: relative;
    overflow: hidden;
    padding: 1.1rem;
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 69, 123, .08);
}

.ch-announcement-card::before,
.ch-prayer-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--ch-blue), var(--ch-gold));
}

.ch-announcement-card.is-pinned {
    border-color: rgba(217, 180, 95, .55);
    box-shadow: 0 20px 48px rgba(217, 180, 95, .14);
}

.ch-comm-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .8rem;
}

.ch-comm-card-top > div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ch-comm-card-top small,
.ch-comm-meta,
.ch-public-prayer-card small,
.ch-list-row small {
    color: var(--ch-muted);
    font-size: .78rem;
    font-weight: 750;
}

.ch-announcement-card h2,
.ch-prayer-card h2 {
    margin: 0 0 .45rem;
    color: var(--ch-text);
    font-size: 1.18rem;
    font-weight: 950;
}

.ch-announcement-card p,
.ch-prayer-card p {
    color: #334155;
}

.ch-visibility-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .24rem .58rem;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-size: .72rem;
    font-weight: 950;
}

.ch-visibility-pill.is-public {
    background: #ecfdf4;
    color: #16803a;
}

.ch-visibility-pill.is-internal {
    background: #f1f5f9;
    color: #475569;
}

.ch-visibility-pill.is-pinned {
    background: #fff6db;
    color: #8a6219;
}

.ch-comm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .75rem;
}

.ch-comm-meta span {
    border-radius: 999px;
    background: #f8fbff;
    padding: .24rem .55rem;
}

.ch-prayer-count {
    display: grid;
    min-width: 78px;
    justify-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef7ff, #fff8e7);
    padding: .5rem .7rem;
}

.ch-prayer-count strong {
    color: var(--ch-blue);
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1;
}

.ch-prayer-count span {
    color: var(--ch-muted);
    font-size: .68rem;
    font-weight: 850;
}

.ch-public-prayer-grid,
.ch-public-communication-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-public-prayer-card {
    padding: 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 14%, rgba(47, 128, 237, .12), transparent 32%),
        #fff;
}

.ch-public-prayer-card span {
    color: var(--ch-blue);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.ch-public-prayer-card h3 {
    margin: .35rem 0;
    color: var(--ch-text);
    font-size: 1rem;
    font-weight: 950;
}

.ch-public-prayer-card p {
    color: var(--ch-muted);
}

.ch-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ch-resource-grid-single {
    grid-template-columns: 1fr;
}

.ch-resource-grid .ch-list-row a {
    color: var(--ch-blue);
    font-weight: 900;
    text-decoration: none;
}

.ch-media-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.ch-media-mini-card {
    overflow: hidden;
    border: 1px solid var(--ch-border);
    border-radius: 16px;
    background: #f8fbff;
}

.ch-media-mini-card > div {
    min-height: 112px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 180, 95, .32), transparent 32%),
        linear-gradient(135deg, #123b6f, #2f80ed);
    background-size: cover;
    background-position: center;
}

.ch-media-mini-card strong,
.ch-media-mini-card small {
    display: block;
    padding: .65rem .75rem 0;
}

.ch-media-mini-card small {
    padding-top: .1rem;
    padding-bottom: .7rem;
    color: var(--ch-muted);
    font-weight: 800;
}

.ch-message-hero {
    background:
        radial-gradient(circle at 88% 16%, rgba(47, 128, 237, .18), transparent 30%),
        linear-gradient(135deg, #fff, #eef8ff);
}

.ch-thread-list {
    display: grid;
    gap: .85rem;
}

.ch-thread-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .9rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 20px;
    background: #fff;
    color: var(--ch-text);
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(24, 69, 123, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ch-thread-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(24, 69, 123, .11);
}

.ch-thread-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ch-blue), #7cc7ff);
    color: #fff;
    font-weight: 950;
}

.ch-thread-card h2 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
    font-weight: 950;
}

.ch-thread-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .25rem;
}

.ch-thread-heading h2 {
    margin: 0;
}

.ch-thread-card p {
    margin: 0;
    color: var(--ch-muted);
}

.ch-thread-card small {
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-chat-panel {
    display: grid;
    gap: 1rem;
}

.ch-message-stack {
    display: grid;
    gap: .75rem;
}

.ch-message-bubble {
    max-width: min(760px, 92%);
    padding: .95rem 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(24, 69, 123, .06);
}

.ch-message-bubble.is-mine {
    justify-self: end;
    border-radius: 18px 18px 6px 18px;
    background: linear-gradient(135deg, #eef7ff, #fff);
    border-color: #c9e3fb;
}

.ch-message-bubble:has(strong:first-child) {
    overflow-wrap: anywhere;
}

.ch-message-bubble:not(.is-mine) strong {
    color: var(--ch-blue);
}

.ch-message-bubble > div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .4rem;
}

.ch-message-bubble strong {
    color: var(--ch-text);
}

.ch-message-bubble small,
.ch-message-bubble p {
    color: var(--ch-muted);
}

.ch-message-bubble p {
    margin: 0;
}

.ch-message-bubble a {
    display: inline-flex;
    margin-top: .55rem;
    color: var(--ch-blue);
    font-weight: 900;
    text-decoration: none;
}

.ch-message-reply {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--ch-border);
    border-radius: 20px;
    background: #fff;
}

.ch-message-form select {
    min-height: 150px;
}

.ch-message-audience-help {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.ch-message-audience-help article {
    padding: .85rem;
    border: 1px solid #cfe5f8;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fcff, #ffffff);
}

.ch-message-audience-help strong,
.ch-message-audience-help span {
    display: block;
}

.ch-message-audience-help strong {
    color: var(--ch-text);
    font-weight: 950;
    margin-bottom: .2rem;
}

.ch-message-audience-help span {
    color: var(--ch-muted);
    font-size: .86rem;
    line-height: 1.35;
}

.ch-finance-public-section {
    margin-top: 1.2rem;
}

.ch-finance-campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ch-finance-campaign-grid-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ch-finance-campaign-card {
    overflow: hidden;
    border: 1px solid rgba(205, 221, 240, 0.95);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(217, 180, 95, 0.18), transparent 30%),
        linear-gradient(135deg, #ffffff, #f5f9ff);
    box-shadow: 0 20px 54px rgba(12, 31, 63, 0.09);
}

.ch-finance-campaign-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.ch-finance-campaign-card > div {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
}

.ch-finance-campaign-card span {
    width: max-content;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0f62d6;
    font-size: 0.75rem;
    font-weight: 950;
    padding: 0.25rem 0.62rem;
}

.ch-finance-campaign-card h3 {
    margin: 0;
    color: var(--ch-text);
    font-weight: 950;
}

.ch-finance-campaign-card p,
.ch-finance-campaign-card small {
    margin: 0;
    color: var(--ch-muted);
    font-weight: 750;
}

.ch-finance-progress {
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: #e7effa;
}

.ch-finance-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f80ed, #d9b45f);
}

@media (max-width: 1199.98px) {
    .ch-navbar { grid-template-columns: auto 1fr auto; }
    .ch-search { display: none; }
    .ch-sidebar { transform: translateX(-100%); transition: transform .2s ease; z-index: 1050; }
    .ch-sidebar.is-open { transform: translateX(0); }
    .ch-backdrop.is-visible { position: fixed; inset: 0; display: block; z-index: 1045; background: rgba(12,27,51,.48); }
    .ch-rightbar { display: none; }
    .ch-main { margin: 0; }
    .ch-card-grid, .ch-public-grid, .ch-dash-grid, .ch-web-band, .ch-catalog-grid, .ch-showcase-grid, .ch-finance-campaign-grid, .ch-message-audience-help, .ch-web-values, .ch-web-admin-grid, .ch-web-admin-status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ch-web-admin-layout { grid-template-columns: 1fr; }
    .ch-web-admin-side { position: static; }
    .ch-web-builder { grid-template-columns: 1fr; }
    .ch-web-builder-tabs,
    .ch-web-builder-side { position: static; }
    .ch-web-branding-layout { grid-template-columns: 1fr; }
    .ch-web-branding-preview { position: static; }
    .ch-web-content-grid { grid-template-columns: 1fr; }
    .ch-web-hero-premium-v2, .ch-web-split { grid-template-columns: 1fr; }
    .ch-site-marketing { grid-template-columns: 1fr; }
    .ch-site-section-nav {
        z-index: 12;
        width: 100%;
        min-height: auto;
        overflow: visible;
        padding: .7rem;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    .ch-site-section-nav-inner { top: 72px; }
    .ch-site-section-nav .btn-toggle-nav a {
        min-height: 36px;
        white-space: normal;
    }
    .ch-site-caption { left: 6%; right: 6%; }
    .ch-site-caption h1 { font-size: clamp(2.7rem, 9vw, 5.5rem); }
    .ch-site-feature-img { min-height: 340px; }
}

@media (max-width: 767.98px) {
    .ch-public-hero, .ch-profile-body, .ch-header-body { grid-template-columns: 1fr; align-items: start; }
    .ch-public-hero { flex-direction: column; align-items: flex-start; }
    .ch-card-grid, .ch-public-grid, .ch-dash-grid, .ch-web-band, .ch-catalog-grid, .ch-showcase-grid, .ch-finance-campaign-grid, .ch-message-audience-help, .ch-web-values, .ch-web-admin-grid, .ch-web-admin-status-grid { grid-template-columns: 1fr; }
    .ch-catalog-hero, .ch-showcase-head { align-items: flex-start; flex-direction: column; }
    .ch-settings-hero { align-items: flex-start; flex-direction: column; }
    .ch-form-grid { grid-template-columns: 1fr; }
    .ch-management-hero { align-items: flex-start; flex-direction: column; }
    .ch-filter-bar, .ch-communication-filter { grid-template-columns: 1fr; }
    .ch-member-grid, .ch-leadership-grid { grid-template-columns: 1fr; }
    .ch-communication-grid, .ch-public-prayer-grid, .ch-public-communication-grid, .ch-resource-grid, .ch-media-mini-grid { grid-template-columns: 1fr; }
    .ch-member-card, .ch-leader-card, .ch-request-card { grid-template-columns: 1fr; }
    .ch-thread-card { grid-template-columns: 1fr; }
    .ch-request-actions { justify-content: flex-start; }
    .ch-navbar { padding: 0 .8rem; }
    .ch-navbar .ch-btn { display: none; }
    .ch-main { padding: 1rem; }
    .ch-search-panel { grid-template-columns: 1fr; }
    .ch-web-nav { position: static; align-items: flex-start; flex-direction: column; margin-inline: 1rem; }
    .ch-web-builder-head,
    .ch-web-builder-block {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .ch-web-builder-block-order {
        display: flex;
        justify-content: flex-start;
    }
    .ch-web-builder-block-actions {
        justify-content: flex-start;
    }
    .ch-web-nav div { flex-wrap: wrap; }
    .ch-web-hero-premium-v2 { min-height: auto; margin-inline: 1rem; padding: 2rem 1.2rem; border-radius: 26px; }
    .ch-web-hero-card { width: 100%; }
    .ch-web-premium > section,
    .ch-web-premium > div,
    .ch-web-premium > .ch-showcase-section { margin-left: 1rem; margin-right: 1rem; }
    .ch-web-section-manager article {
        grid-template-columns: 1fr;
    }
    .ch-web-section-manager article > span {
        justify-content: flex-start;
    }
    .ch-web-content-card header {
        grid-template-columns: 1fr;
    }
    .ch-web-content-card footer {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .ch-site-navbar { min-height: 64px; }
    .ch-site-brand span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ch-site-top-actions {
        align-items: stretch;
        margin-top: .75rem;
    }
    .ch-site-login-btn,
    .ch-site-user-pill {
        justify-content: center;
        flex: 1 1 auto;
    }
    .ch-site-tabs {
        top: 64px;
        grid-template-columns: 1fr;
        gap: .55rem;
        padding: .65rem 1rem;
    }
    .ch-site-follow-btn {
        justify-content: center;
        width: 100%;
    }
    .ch-site-tab-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .ch-site-message-btn,
    .ch-site-follow-btn {
        justify-content: center;
        width: 100%;
    }
    .ch-site-carousel,
    .ch-site-carousel .carousel-inner,
    .ch-site-carousel .carousel-item,
    .ch-site-slide {
        min-height: 620px;
    }
    .ch-site-slide { height: 620px; }
    .ch-site-caption {
        left: 1.4rem;
        right: 1.4rem;
        bottom: 4rem;
        text-align: left !important;
    }
    .ch-site-caption h1 {
        font-size: clamp(2.45rem, 15vw, 4rem);
        letter-spacing: -.045em;
    }
    .ch-site-caption p {
        font-size: 1rem;
    }
    .ch-site-hero-logo {
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }
    .ch-site-marketing,
    .ch-site-fluid-sections {
        padding-inline: 1rem;
    }
    .featurette-divider {
        margin: 3rem 0;
    }
    .featurette-heading {
        font-size: clamp(2rem, 11vw, 3rem);
    }
    .ch-site-feature-img {
        min-height: 260px;
        margin-top: 1.25rem;
        border-radius: 24px;
    }
    .ch-site-footer .float-end {
        float: none !important;
        margin-bottom: .75rem;
    }
}
