/* =====================================================================
   EPCC 3.1 — Mountain Modern design layer for EPCC+ (member app) and Admin.
   Loads after every other stylesheet. Tokens live in epcc.css (:root).
   Public-site component styles live in epcc.css ("MOUNTAIN MODERN — public").
   ===================================================================== */

/* ---------- shared primitives ---------- */
.v2 h1, .v2 h2, .v2 h3 { font-family: var(--font-head); font-weight: 400; color: var(--navy); letter-spacing: -0.005em; }
.v2 .eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 650; color: var(--slate-700); }
.v2 .muted, .v2 .small.muted { color: var(--muted); }
.v2 .btn, .v2 button.btn { font-family: var(--font-body); }
.v2 .panel, .v2 .member-panel, .v2 .card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.v2 .table th { font-family: var(--font-body); font-weight: 650; color: var(--slate-700); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.v2 .status, .v2 .badge { font-family: var(--font-body); }
.v2 .tab-btn { font-family: var(--font-body); }
.toggle { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; z-index: 1; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #c7d1d6; transition: background .15s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.toggle input:checked + span { background: var(--navy); }
.toggle input:checked + span::after { transform: translateX(18px); }
.toggle input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* =====================================================================
   EPCC+ — mobile-first member app
   ===================================================================== */
body[data-area="member"], body[data-plus="1"] { background: var(--mist); }
body[data-area="member"] #app.v2 { background: var(--mist); }
#app.v2 .member-app.plus-app { background: var(--mist); padding: 0 0 calc(96px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 60px); }
#app.v2 .plus-app .member-wrap { max-width: 1120px; padding: 0 16px; }
@media (min-width: 720px) { #app.v2 .plus-app .member-wrap { padding: 0 28px; } }

/* top bar */
.plus-top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line-2); backdrop-filter: blur(8px); padding-top: env(safe-area-inset-top); }
.plus-top-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 16px; }
.plus-brand { display: block; flex: none; }
.plus-brand img { height: 24px; width: auto; display: block; }
.plus-tabs { display: none; flex: 1; gap: 2px; justify-content: center; }
.plus-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 60px; padding: 0 12px; color: var(--ink-2); font-weight: 500; font-size: .9375rem; text-decoration: none; }
.plus-tab .i { width: 18px; height: 18px; color: var(--slate); }
.plus-tab:hover { color: var(--navy); }
.plus-tab.is-current { color: var(--navy); font-weight: 650; box-shadow: inset 0 -2px 0 var(--clay); }
.plus-tab.is-current .i { color: var(--navy); }
.plus-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 1; }
.plus-top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.plus-icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); text-decoration: none; }
.plus-icon-btn:hover { background: var(--spruce-50); color: var(--navy); }
.plus-icon-btn .i { width: 24px; height: 24px; }
.plus-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .6875rem; line-height: 18px; text-align: center; font-weight: 700; border: 2px solid #fff; box-sizing: content-box; }
.plus-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 650; font-size: .8125rem; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--slate-300); }
.plus-avatar img { width: 100%; height: 100%; object-fit: cover; }
.plus-avatar.is-xl { width: 104px; height: 104px; font-size: 2rem; font-family: var(--font-head); font-weight: 400; border-width: 4px; box-shadow: var(--shadow-2); }
.plus-site-link { display: none; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--slate-700); text-decoration: none; padding: 8px 10px; border-radius: var(--r-pill); }
.plus-site-link:hover { background: var(--spruce-50); color: var(--navy); }
@media (min-width: 1000px) {
  .plus-tabs { display: flex; }
  .plus-site-link { display: inline-flex; }
  .plus-top-inner { padding: 0 28px; }
}

/* bottom navigation (phones/tablets) */
.plus-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--navy); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(16,34,47,.18); }
.plus-bottom-link { position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 2px 4px; min-height: 54px; color: rgba(255,255,255,.72); font-size: .6875rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.plus-bottom-link .i { width: 24px; height: 24px; }
.plus-bottom-link:hover { color: #fff; }
.plus-bottom-link.is-current { color: #fff; }
.plus-bottom-link.is-current::after { content: ""; position: absolute; bottom: -2px; width: 22px; height: 3px; border-radius: 3px; background: var(--clay); }
.plus-bottom-link .plus-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: .625rem; border: 2px solid var(--navy); box-sizing: content-box; }
@media (min-width: 1000px) { .plus-bottom { display: none; } #app.v2 .member-app.plus-app { padding-bottom: 56px; } }
body[data-plus="1"] .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* page heading */
.plus-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px 0 14px; }
.plus-pagehead h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); line-height: 1.05; margin: 0; }
.plus-eyebrow { margin: 0 0 4px; font-size: .6875rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-700); }
.plus-pagehead.is-dash { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.plus-pagehead.is-dash .plus-signout { display: none; }
.plus-signout { display: none !important; }
@media (min-width: 1000px) { .plus-signout { display: inline-flex !important; } }

/* content cards */
#app.v2 .plus-app .member-content { display: grid; gap: 16px; }
#app.v2 .plus-app .member-panel { border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow-card) !important; padding: 20px; background: #fff; }
#app.v2 .plus-app .member-panel h3, #app.v2 .plus-app .panel-head h3 { font-size: 1.375rem; margin: 0 0 2px; }
#app.v2 .plus-app .panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
#app.v2 .plus-app .panel-head > a, #app.v2 .plus-app .panel-head .link-btn { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--spruce-50); color: var(--navy); font-weight: 600; font-size: .8125rem; text-decoration: none; }
#app.v2 .plus-app .btn { border-radius: var(--r-pill); }
#app.v2 .plus-app .btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
#app.v2 .plus-app .eyebrow { color: var(--clay-700); }
#app.v2 .plus-app .notice { border-radius: var(--r); }
#app.v2 .plus-app input, #app.v2 .plus-app select, #app.v2 .plus-app textarea { border-radius: var(--r) !important; }

/* ---------- EPCC+ home ---------- */
.plus-home-top { display: grid; gap: 14px; margin: 0 -16px; }
@media (min-width: 720px) { .plus-home-top { margin: 18px 0 0; grid-template-columns: repeat(6, 1fr); } }
.plus-hero { position: relative; overflow: hidden; min-height: 268px; display: grid; align-items: end; color: #fff; background: var(--navy); }
.plus-hero-art, .plus-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plus-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,34,47,.15) 0%, rgba(16,34,47,.35) 45%, rgba(16,34,47,.82) 100%); }
.plus-hero-copy { position: relative; padding: 28px 20px 52px; display: grid; gap: 2px; }
.plus-hero-hello { margin: 0; font-size: 1.0625rem; font-weight: 500; color: rgba(255,255,255,.9); }
.plus-hero h2 { color: #fff; font-size: clamp(2.6rem, 2rem + 3vw, 3.5rem); line-height: 1; margin: 0 0 10px; }
.plus-verse { margin: 4px 0 0; max-width: 34ch; }
.plus-verse p { margin: 0; font-size: .9688rem; line-height: 1.45; color: rgba(255,255,255,.92); }
.plus-verse cite { display: block; margin-top: 6px; font-style: normal; font-size: .8125rem; color: rgba(255,255,255,.78); }
.plus-hero-refresh { position: absolute; top: 12px; right: 12px; }
.plus-hero .p216-refresh-line { display: flex; align-items: center; gap: 8px; margin: 0; }
.plus-hero .p216-refresh-btn { min-height: 34px !important; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(16,34,47,.35); color: #fff; font-size: .8125rem; font-weight: 600; backdrop-filter: blur(4px); }
.plus-hero #p216RefreshStatus { color: rgba(255,255,255,.85) !important; font-size: .75rem; }
@media (min-width: 720px) { .plus-hero { grid-column: 1 / -1; border-radius: var(--r-lg); min-height: 300px; } .plus-hero-copy { padding: 36px 36px 40px; } }

.plus-featured { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; margin: -40px 12px 0; padding: 16px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); text-decoration: none; color: var(--ink); }
.plus-featured:hover { color: var(--ink); box-shadow: 0 18px 40px rgba(16,34,47,.2); }
.plus-featured-body { display: grid; gap: 4px; min-width: 0; }
.plus-featured-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-700); }
.plus-featured-kicker .i { color: var(--clay); }
.plus-featured strong { font-family: var(--font-head); font-weight: 400; font-size: 1.375rem; line-height: 1.15; color: var(--navy); }
.plus-featured-text { font-size: .875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plus-featured-more { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 650; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.plus-featured img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }
.plus-featured-date { display: grid; place-items: center; width: 64px; height: 70px; border-radius: 12px; background: var(--clay); color: #fff; font-family: var(--font-head); font-size: 1.75rem; line-height: 1; padding-top: 6px; }
.plus-featured-date small { font-family: var(--font-body); font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 720px) { .plus-featured { grid-column: 1 / -1; margin: -56px 28px 0; padding: 20px 22px; } }

.plus-tiles { list-style: none; margin: 0; padding: 0 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .plus-tiles { grid-column: 1 / -1; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .plus-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.plus-tile { position: relative; display: grid; gap: 12px; align-content: space-between; height: 100%; min-height: 118px; padding: 16px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.plus-tile:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(16,34,47,.12); transform: translateY(-1px); }
.plus-tile-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--spruce-50); color: var(--navy); }
.plus-tile-icon .i { width: 22px; height: 22px; }
.plus-tile.is-alert .plus-tile-icon, .plus-tile.is-clay .plus-tile-icon { background: var(--clay-100); color: var(--clay-700); }
.plus-tile-body { display: grid; gap: 2px; min-width: 0; }
.plus-tile-body strong { font-family: var(--font-head); font-weight: 400; font-size: 1.1875rem; line-height: 1.15; color: var(--navy); }
.plus-tile-body small { font-size: .8125rem; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plus-tile.is-alert .plus-tile-body small { color: var(--clay-700); font-weight: 650; }
.plus-tile-go { position: absolute; top: 18px; right: 14px; width: 18px; height: 18px; color: var(--slate-300); }
.plus-post-cta, .plus-quicklinks { margin: 0 12px; }
@media (min-width: 720px) { .plus-post-cta, .plus-quicklinks { grid-column: 1 / -1; margin: 0; } }
.plus-post-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); background: var(--navy); color: #fff; text-decoration: none; }
.plus-post-cta:hover { color: #fff; background: var(--navy-700); }
.plus-post-cta > .i:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.12); }
.plus-post-cta strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; }
.plus-post-cta small { color: rgba(255,255,255,.8); font-size: .8125rem; }
.plus-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.plus-quicklinks > .i { color: var(--navy); }
.plus-quicklinks > strong { font-family: var(--font-head); font-weight: 400; font-size: 1.1875rem; color: var(--navy); }
.plus-quicklinks span { display: flex; flex-wrap: wrap; gap: 4px 0; }
.plus-quicklinks span a { font-size: .875rem; font-weight: 600; color: var(--slate-700); text-decoration: none; padding: 2px 12px; border-left: 1px solid var(--line); }
.plus-quicklinks span a:first-child { border-left: 0; padding-left: 0; }
.plus-quicklinks span a:hover { color: var(--navy); text-decoration: underline; }

/* restyle the existing home sections below the tiles */
#app.v2 .plus-home .p216-home-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { #app.v2 .plus-home .p216-home-grid { grid-template-columns: 1.4fr 1fr; } }
#app.v2 .plus-home .p216-home-event { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); background: none !important; border-radius: 0 !important; box-shadow: none !important; }
#app.v2 .plus-home .p216-home-event:last-child { border-bottom: 0; }
#app.v2 .plus-app .event-badge { display: grid; place-items: center; width: 56px; min-height: 60px; border-radius: 12px; background: var(--spruce-50) !important; color: var(--clay-700) !important; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 0 !important; }
#app.v2 .plus-app .event-badge strong { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--navy); letter-spacing: 0; }
#app.v2 .plus-home .p216-sermon-card { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)) !important; color: #fff; border: 0 !important; }
#app.v2 .plus-home .p216-sermon-card h3, #app.v2 .plus-home .p216-sermon-card .p216-scripture { color: #fff !important; background: none !important; }
#app.v2 .plus-home .p216-sermon-card .eyebrow { color: #f0c2b0 !important; }
#app.v2 .plus-home .p216-sermon-card .muted { color: rgba(255,255,255,.8) !important; }
#app.v2 .plus-home .p216-sermon-card .btn { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
#app.v2 .plus-home .p216-prayer-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { #app.v2 .plus-home .p216-prayer-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
#app.v2 .plus-home .p216-prayer-grid article { background: var(--mist) !important; border: 0 !important; border-radius: 14px !important; padding: 16px !important; box-shadow: none !important; }
#app.v2 .plus-app .pray-btn { border-radius: 999px !important; background: #fff !important; border: 1px solid var(--line) !important; color: var(--navy) !important; font-weight: 600 !important; min-height: 40px !important; font-size: .875rem !important; }
#app.v2 .plus-app .pray-btn.active { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
#app.v2 .plus-app .p216-care-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line-2) !important; border-radius: var(--r-lg) !important; box-shadow: var(--shadow-card) !important; text-decoration: none; color: var(--ink); }
#app.v2 .plus-app .p216-care-card > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--clay-100) !important; color: var(--clay-700) !important; }
#app.v2 .plus-app .p216-care-card strong { font-family: var(--font-head); font-weight: 400; font-size: 1.1875rem; color: var(--navy); }
#app.v2 .plus-app .p216-connected-home { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); padding: 0 4px; }
#app.v2 .plus-app .p216-connected-home b { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--navy); font-weight: 600; }
#app.v2 .plus-app .p24-urgent { border-radius: var(--r-lg) !important; background: var(--danger) !important; color: #fff !important; }
#app.v2 .plus-app .rsvp-row button, #app.v2 .plus-app .p213-rsvp button, #app.v2 .plus-app [data-p213-rsvp] { border-radius: 999px !important; }

/* ---------- More / profile / composer ---------- */
#app.v2 .plus-app .p24-more-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; border-top: 0 !important; }
@media (min-width: 720px) { #app.v2 .plus-app .p24-more-grid { grid-template-columns: 1fr 1fr !important; } }
#app.v2 .plus-app .p24-more-grid > a { display: grid !important; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px !important; background: var(--mist) !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; text-decoration: none; color: var(--ink); }
#app.v2 .plus-app .p24-more-grid > a:hover { background: var(--spruce-50) !important; }
#app.v2 .plus-app .p24-more-grid > a > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff !important; color: var(--navy) !important; font-size: 1.125rem; }
#app.v2 .plus-app .p24-more-grid > a strong { font-family: var(--font-head); font-weight: 400; font-size: 1.1875rem; color: var(--navy); display: block; }
#app.v2 .plus-app .p24-more-grid > a small { color: var(--muted); font-size: .8125rem; }
#app.v2 .plus-app .p24-more-grid > a > b { color: var(--slate-300); font-size: 1.4rem; font-weight: 400; }
#app.v2 .plus-app .p24-mobile-signout { width: 100%; }

.plus-profile-hero { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; padding-bottom: 18px; }
.plus-profile-band { height: 112px; background: linear-gradient(180deg, rgba(16,34,47,.0), rgba(16,34,47,.25)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 160' preserveAspectRatio='none'%3E%3Crect width='800' height='160' fill='%236f8998'/%3E%3Cpath d='M0 100 C120 70 220 90 330 60 C440 30 520 40 620 70 C700 92 760 80 800 74 V160 H0Z' fill='%234f6876'/%3E%3Cpath d='M0 130 C140 108 260 122 380 104 C500 86 620 100 800 112 V160 H0Z' fill='%23183247'/%3E%3C/svg%3E") center / cover; }
.plus-profile-id { display: grid; justify-items: center; text-align: center; margin-top: -68px; gap: 2px; padding: 0 16px; }
.plus-profile-id h2 { margin: 10px 0 0; font-size: 2rem; }
.plus-profile-id p { margin: 0; font-size: .875rem; }
.plus-profile-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 12px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.plus-profile-actions a { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; text-decoration: none; color: var(--ink-2); font-size: .75rem; font-weight: 600; text-align: center; border-radius: 12px; }
.plus-profile-actions a .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--spruce-50); color: var(--navy); }
.plus-profile-actions a:hover { background: var(--mist); }
.plus-card { margin: 0 16px; }
.plus-card-head h3 { font-size: 1.375rem; margin: 0 0 6px; }
.plus-groups ul { list-style: none; margin: 0; padding: 0; }
.plus-groups li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.plus-groups li:last-child { border-bottom: 0; }
.plus-groups li strong { display: block; font-weight: 650; color: var(--navy); }
.plus-groups li small { color: var(--muted); font-size: .8125rem; }
.plus-group-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; }
.plus-group-icon .i { width: 20px; height: 20px; }

.plus-compose-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .plus-compose-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.plus-push-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--laurel-100); color: var(--ink); }
.plus-push-note > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--laurel-700); color: #fff; }
.plus-push-note strong { color: var(--navy); }
.plus-push-note p { margin: 2px 0 0; font-size: .875rem; color: var(--ink-2); }
.plus-when { border: 0; padding: 0; margin: 4px 0 12px; }
.plus-when legend { font-weight: 600; font-size: .9375rem; margin-bottom: 4px; }
.plus-when .check-row span { display: grid; }
.plus-when .check-row small { color: var(--muted); font-size: .8125rem; }
.plus-compose-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.plus-compose-actions .btn { min-width: 120px; }
.plus-recent ul { list-style: none; margin: 0; padding: 0; }
.plus-recent li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.plus-recent li strong { color: var(--navy); }
.plus-recent li small { color: var(--muted); font-size: .8125rem; }
.plus-chip { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 650; background: var(--laurel-100); color: var(--laurel-700); }
.plus-chip.is-pending { background: var(--warning-100); color: var(--warning); }
.plus-chip.is-scheduled { background: var(--ridge-100); color: var(--slate-700); }
.plus-chip.is-hidden { background: var(--mist); color: var(--muted); }
.plus-empty { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 36px 20px !important; }
.plus-empty > .i { width: 40px; height: 40px; color: var(--slate); }

/* sign-in */
#app.v2 .plus-login { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
#app.v2 .plus-login .login-card { border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.plus-login-logo { display: block; margin: 0 auto 6px; }
.plus-login-logo img { height: 34px; width: auto; margin: 0 auto; }
.plus-login-tag { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .2em; font-size: .6875rem; font-weight: 650; color: var(--slate-700); }
#app.v2 .plus-login .login-card > .eyebrow { display: none; }
#app.v2 .plus-login .auth-switch { border-radius: 999px; background: var(--mist); padding: 4px; }
#app.v2 .plus-login .auth-switch button { border-radius: 999px; font-weight: 600; }
#app.v2 .plus-login .auth-switch button.active { background: var(--navy); color: #fff; }

/* giving page */
#app.v2 .plus-app .p233-giving-hero { background: var(--navy) !important; border-radius: var(--r-lg) !important; }
#app.v2 .plus-app .p233-give-button { border-radius: 999px !important; background: var(--laurel-700) !important; color: #fff !important; }
#app.v2 .plus-app .p233-giving-grid article { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
#app.v2 .plus-app .p233-giving-grid article > span { color: var(--clay-700); font-family: var(--font-head); }

/* hide legacy duplicate chrome inside EPCC+ */
#app.v2 .plus-app .p231-brandmark, #app.v2 .plus-app .member-identity { display: none !important; }

/* ---------- legacy member variables → Mountain Modern palette ---------- */
#app.v2, body .v2, :root {
  --p228-deep: var(--navy); --p228-green: var(--laurel); --p228-warm-soft: var(--clay-100); --p228-warm: var(--clay);
  --p233-blue: var(--mist); --p233-cream: var(--mist); --p233-deep2: var(--navy-900); --p233-deep: var(--navy); --p233-gold: var(--clay-100);
  --p233-ink: var(--charcoal); --p233-line: var(--line-2); --p233-muted: var(--muted); --p233-paper: var(--mist); --p233-rose: var(--clay-100); --p233-sage: var(--mist);
  --p233-shadow: var(--shadow-card);
  --p234-bg: var(--mist); --p234-blue-soft: var(--mist); --p234-blue: var(--slate-700); --p234-green-2: var(--navy-900); --p234-green-soft: var(--spruce-50);
  --p234-green: var(--navy); --p234-line: var(--line-2); --p234-muted: var(--muted); --p234-shadow: var(--shadow-card); --p234-surface-2: var(--mist); --p234-text: var(--charcoal);
}
#app.v2 .plus-app .p216-rsvp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#app.v2 .plus-app .p216-rsvp button { border-radius: 999px !important; min-height: 36px !important; padding: 0 14px !important; font-size: .8125rem !important; font-weight: 600 !important; background: #fff !important; color: var(--navy) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
#app.v2 .plus-app .p216-rsvp button.active { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
#app.v2 .plus-app .p216-rsvp button[data-p216-volunteer].active { background: var(--laurel-700) !important; border-color: var(--laurel-700) !important; }
#app.v2 .plus-app .member-wrap { display: block; }
.plus-tab { white-space: nowrap; padding: 0 10px; }
@media (max-width: 1199px) { .plus-tab .i { display: none; } }
.plus-profile-actions button { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; background: none; border: 0; color: var(--ink-2); font-size: .75rem; font-weight: 600; border-radius: 12px; min-height: 0 !important; }
.plus-profile-actions button .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--spruce-50); color: var(--navy); }
.plus-profile-actions button:hover { background: var(--mist); }
@media (min-width: 720px) { .plus-hero-copy { padding-bottom: 84px; } }
#app.v2 .plus-app [data-p216-rsvp], #app.v2 .plus-app [data-p216-volunteer] { border-radius: 999px !important; min-height: 36px !important; padding: 0 14px !important; font-size: .8125rem !important; font-weight: 600 !important; background: #fff !important; color: var(--navy) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
#app.v2 .plus-app [data-p216-rsvp].active { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
#app.v2 .plus-app [data-p216-volunteer].active { background: var(--laurel-700) !important; color: #fff !important; border-color: var(--laurel-700) !important; }
#app.v2 .plus-app .member-panel h3 sup, #app.v2 .plus-app h3 .plus { font-family: var(--font-body); }

/* =====================================================================
   ADMIN — operational mode of the same system (desktop-first, dense)
   ===================================================================== */
body[data-area="admin"] { background: var(--mist); }
.ad-shell { background: var(--mist); }
.ad-side { background: var(--navy); color: #dbe5eb; padding: 18px 12px 16px; }
.ad-brand { padding: 4px 8px 18px; border-bottom-color: rgba(255,255,255,.12); }
.ad-brand a { gap: 10px; align-items: center; }
.ad-brand .ad-brand-logo { width: auto; height: 24px; border-radius: 0; background: none; padding: 0; }
.ad-brand-label { font-family: var(--font-body); font-size: .6875rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: #9fb3c0; padding: 3px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.ad-nav-label { color: #8fa6b4; font-size: .6875rem; letter-spacing: .16em; font-weight: 650; }
.ad-nav a { font-weight: 500; font-size: .9375rem; color: #d3dee5; border-radius: 10px; min-height: 40px; padding: 7px 10px; }
.ad-nav a .i { width: 19px; height: 19px; opacity: .8; }
.ad-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.ad-nav a.is-current { background: rgba(255,255,255,.12); color: #fff; font-weight: 650; box-shadow: inset 3px 0 0 var(--clay); }
.ad-nav .ad-count { background: var(--clay); color: #fff; }
.ad-side-foot { border-top-color: rgba(255,255,255,.12); }
.ad-side-brandline { display: grid; gap: 6px; padding: 6px 8px 12px; color: rgba(255,255,255,.55); }
.ad-side-brandline p { margin: 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; color: #fff; }
.ad-top { background: #fff; border-bottom: 1px solid var(--line-2); min-height: 64px; }
.ad-top-id { display: grid; min-width: 0; }
.ad-top-title { font-weight: 650; color: var(--navy); font-size: .9375rem; }
.ad-top-console { display: none; margin: 0; line-height: 1.2; }
.ad-top-console strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; color: var(--navy); }
.ad-top-console span { font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-700); font-weight: 650; }
@media (min-width: 1024px) { .ad-top-console { display: block; } .ad-top-title { display: none; } }
.ad-user { display: inline-flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.ad-user-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 650; }
.ad-user-text { display: grid; line-height: 1.2; }
.ad-user-text strong { font-size: .875rem; color: var(--ink); }
.ad-user-text small { font-size: .75rem; color: var(--muted); }
@media (max-width: 760px) { .ad-user-text, .ad-view-site { display: none !important; } .ad-user { border: 0; padding: 0; } }
.ad-content { max-width: 1320px; }
body[data-area="admin"] .btn, .ad-shell .btn, .dialog .btn { border-radius: 8px; }
.ad-shell .btn-dark, .dialog .btn-dark { --bg: var(--navy); --bd: var(--navy); }
.ad-shell [data-x-publish], .ad-shell .btn-publish, .ad-shell .btn-accent, .dialog .btn-accent { --bg: var(--laurel-700); --bd: var(--laurel-700); --fg: #fff; }
.ad-shell [data-x-publish]:hover:not(:disabled), .ad-shell .btn-accent:hover { --bg: #3f5142; --bd: #3f5142; color: #fff; }
.ad-eyebrow { color: var(--slate-700); }
.ad-h1 { font-family: var(--font-head); font-weight: 400; color: var(--navy); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.ad-intro { color: var(--muted); max-width: 70ch; }
.ad-card { border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-1); }
.ad-card h2 { font-family: var(--font-head); font-weight: 400; color: var(--navy); font-size: 1.5rem; }
.ad-card form h2, .ad-form h2 { font-family: var(--font-body); font-weight: 650; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-700); }
.ad-tabs { border-bottom: 1px solid var(--line); gap: 2px; }
.ad-tab { font-weight: 500; color: var(--muted); font-size: .9375rem; border-bottom-width: 2px; }
.ad-tab:hover { color: var(--navy); }
.ad-tab.is-active { color: var(--navy); font-weight: 650; border-bottom-color: var(--clay); }
.ad-row { border-color: var(--line-2); border-radius: 12px; box-shadow: var(--shadow-1); }
.ad-row-thumb { border-radius: 10px; }
.ad-row-thumb.is-icon { background: var(--spruce-50); color: var(--navy); }
.ad-row-thumb.tone-celebrate { background: var(--clay-100); color: var(--clay-700); }
.ad-shell .chip-ok, .chip.chip-ok { background: var(--laurel-100); color: var(--laurel-700); border-color: transparent; }
.ad-shell .chip-warn, .chip.chip-warn { background: var(--warning-100); color: var(--warning); border-color: transparent; }
.ad-shell .chip-info, .chip.chip-info { background: var(--ridge-100); color: var(--slate-700); border-color: transparent; }
.ad-shell .chip { min-height: 26px; padding: 2px 10px; font-size: .75rem; }
.ad-shell .field > label, .ad-shell .field-label { font-size: .875rem; }
.ad-shell input:not([type=checkbox]):not([type=radio]):not([type=file]), .ad-shell select, .ad-shell textarea { min-height: 42px; font-size: .9375rem; border-radius: 8px; }
.ad-shell .table th, .ad-legacy .table th { background: var(--mist); }
.ad-legacy .panel, .ad-legacy .card, .ad-legacy .stat-card { border-radius: 14px !important; border-color: var(--line-2) !important; box-shadow: var(--shadow-1) !important; }
.ad-legacy .admin-heading h2 { font-family: var(--font-head); font-weight: 400; color: var(--navy); }
.ad-legacy .btn-dark, .ad-legacy .btn.primary { background: var(--navy) !important; border-color: var(--navy) !important; }

/* Website & App */
.bd-bar-title .ad-eyebrow { margin: 0; }
.bd-intro { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }
.bd-section-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.bd-section-head h2 { font-family: var(--font-head) !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1.625rem !important; color: var(--navy) !important; margin: 0 0 2px !important; }
.bd-logo-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bd-logo-grid .ad-image-field { background: var(--mist); border-radius: 12px; padding: 12px; margin: 0 0 4px; }
.bd-logo-grid .ad-image-field:nth-child(even) .ad-image-thumb { background: var(--navy); }
.bd-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bd-fonts span { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.bd-fonts b { font-size: 2rem; line-height: 1; color: var(--navy); font-weight: 400; }
.bd-font-serif { font-family: var(--font-head); }
.bd-font-sans { font-family: var(--font-body); font-weight: 600 !important; }
.bd-fonts small { color: var(--muted); font-size: .75rem; }
.bd-fonts strong { font-size: .875rem; }
.bd-palette { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.bd-palette li { display: grid; justify-items: center; text-align: center; gap: 2px; }
.bd-palette span { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); margin-bottom: 4px; }
.bd-palette strong { font-size: .75rem; line-height: 1.2; }
.bd-palette small { font-size: .6875rem; color: var(--muted); }
.bd-tiles .bd-item-head { display: flex; justify-content: space-between; align-items: center; }
.bd-tile-on { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.bd-item.is-hidden { opacity: .62; }
.bd-app-preview { display: grid; align-content: start; justify-items: center; background: var(--mist); }
.bd-phone { width: 360px; max-width: 100%; margin: 12px auto 24px; border-radius: 36px; border: 10px solid var(--charcoal); background: var(--mist); overflow: hidden; box-shadow: var(--shadow-2); }
.plus-preview { position: relative; font-size: 16px; pointer-events: none; }
.plus-preview-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line-2); }
.plus-preview-top img { height: 20px; width: auto; }
.plus-preview .plus-home-top { margin: 0; grid-template-columns: 1fr; padding-bottom: 14px; }
.plus-preview .plus-hero { border-radius: 0; min-height: 230px; grid-column: auto; }
.plus-preview .plus-hero-copy { padding: 22px 18px 52px; }
.plus-preview .plus-hero h2 { font-size: 2.6rem; }
.plus-preview .plus-featured { margin: -40px 12px 0; grid-column: auto; }
.plus-preview .plus-tiles { grid-template-columns: repeat(2, 1fr); padding: 0 12px; grid-column: auto; }
.plus-preview .plus-quicklinks { margin: 0 12px; grid-column: auto; }
.plus-preview-nav { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--navy); padding: 8px 4px 10px; }
.plus-preview-nav span { display: grid; justify-items: center; gap: 2px; color: rgba(255,255,255,.7); }
.plus-preview-nav span.is-current { color: #fff; }
.plus-preview-nav small { font-size: .625rem; font-weight: 600; }
.bd-logo-grid .ad-image-thumb img { object-fit: contain; padding: 6px; background: transparent; }

/* Announcements & permissions */
.an-grid { display: grid; gap: 20px; }
@media (min-width: 1100px) { .an-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); align-items: start; } }
.an-side { display: grid; gap: 20px; }
.an-side .ad-card { margin: 0; }
.an-compose { margin: 0; }
.an-push-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 16px; margin: 0 0 18px; border-radius: 12px; background: var(--laurel-100); border: 1px solid #d3dfd1; }
.an-push-note > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--laurel-700); color: #fff; }
.an-push-note strong { color: var(--navy); font-size: .9375rem; }
.an-push-note p { margin: 2px 0 0; font-size: .8125rem; color: var(--ink-2); }
.an-aud { display: grid; gap: 4px 16px; }
@media (min-width: 760px) { .an-aud { grid-template-columns: 1fr 220px; align-items: start; } .an-aud .an-hint { margin-top: 30px; } }
.an-hint { display: flex; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--mist); font-size: .75rem; color: var(--muted); line-height: 1.45; }
.an-hint .i { flex: none; color: var(--slate); margin-top: 1px; }
.an-count { justify-self: end; margin-top: -2px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.an-flags { display: flex; flex-wrap: wrap; gap: 0 24px; }
.an-site { margin: 6px 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.an-site summary { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 600; color: var(--navy); }
.an-site-body { padding: 0 14px 6px; }
.an-when { border: 0; padding: 0; margin: 4px 0 12px; }
.an-when legend { font-weight: 600; font-size: .875rem; margin-bottom: 4px; }
.an-when .check-row span { display: grid; }
.an-when .check-row small { color: var(--muted); font-size: .8125rem; }
.an-at { max-width: 320px; margin-top: 4px; }
.an-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.an-actions .btn { min-width: 140px; }
.an-actions .btn-accent { min-width: 220px; }
.an-row .ad-row-main { min-width: 0; }
.an-status { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 650; background: var(--laurel-100); color: var(--laurel-700); }
.an-status.is-pending { background: var(--warning-100); color: var(--warning); }
.an-status.is-scheduled { background: var(--ridge-100); color: var(--slate-700); }
.an-status.is-hidden { background: var(--mist); color: var(--muted); }
.an-recent .ad-row { padding: 10px 12px; box-shadow: none; }
.an-recent .ad-row-thumb { width: 44px; height: 44px; }
.an-recent .ad-row-main > strong { font-size: .9375rem; }
.an-mod p { font-size: .875rem; }
.an-perms { overflow: hidden; }
.an-add { display: flex; gap: 8px; align-items: center; }
.an-add select { min-width: 220px; }
.an-table-wrap { overflow-x: auto; margin: 0 -4px; }
.an-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.an-table th, .an-table td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.an-table thead th { position: sticky; top: 0; background: var(--mist); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-700); font-weight: 650; }
.an-table .an-aud-col { text-align: center; min-width: 76px; }
.an-table .an-aud-col span { display: inline-block; max-width: 90px; line-height: 1.25; }
.an-table td input[type=checkbox] { width: 20px; height: 20px; }
.an-person { display: flex; gap: 10px; align-items: center; min-width: 210px; }
.an-person strong { display: block; font-weight: 650; color: var(--navy); }
.an-person small { color: var(--muted); font-size: .75rem; }
.an-ini { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--slate-700); color: #fff; font-size: .75rem; font-weight: 650; }
.an-table tr.is-admin .an-ini { background: var(--navy); }
.an-admin-all { color: var(--muted); font-size: .8125rem; }
.an-admin-all .i { color: var(--navy); }
.an-push-inline { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--laurel-100); color: var(--laurel-700); font-weight: 600; font-size: .875rem; }
.an-table tbody th { text-transform: none !important; letter-spacing: 0 !important; background: #fff !important; font-size: .875rem !important; color: inherit !important; font-weight: 400 !important; position: sticky; left: 0; z-index: 1; }
.an-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.an-table tbody tr:hover td, .an-table tbody tr:hover th { background: #f7f9fa !important; }

/* Community Listening (public survey + admin analysis) — palette only; layout/print rules untouched */
:root { --cream: var(--mist); --paper: #ffffff; }
.cl-callout { border: 1px solid var(--line-2); border-left: 4px solid var(--clay); }
.cl-progress progress { accent-color: var(--navy); }
.cl-tabs [aria-current] { background: var(--navy) !important; }
.cl-bars li div { background: var(--navy) !important; }
.cl-rating, .cl-panel { border-color: var(--line-2) !important; box-shadow: var(--shadow-1); }
/* small-screen fit */
@media (max-width: 360px) { .site-brand img { height: 36px; } .menu-toggle span { display: none; } .menu-toggle { padding: 0 12px; } .header-bar { gap: 6px; } }
.an-compose .ad-card-head > div, .an-compose .ad-card-head { min-width: 0; }
.an-compose .ad-card-head h2 { overflow-wrap: anywhere; }
.an-mod .link-btn, .an-side .link-btn { min-height: 44px; padding: 10px 0; }
.an-when .check-row, .an-flags .check-row { min-height: 44px; }
@media (max-width: 560px) { .an-actions { flex-direction: column-reverse; } .an-actions .btn { width: 100%; } .an-compose { padding: 16px; } }
