:root {
  --ink: #15251f;
  --muted: #6d7974;
  --paper: #f4f6f2;
  --card: #fff;
  --green: #0c6647;
  --green-2: #16815d;
  --lime: #b9d94f;
  --gold: #d5a844;
  --red: #b8443f;
  --line: #dde3dd;
  --shadow: 0 18px 45px rgba(20, 48, 37, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
html.spa-loading { cursor: progress; }
html.spa-loading body { opacity: .72; transition: opacity .12s ease; }
body { margin: 0; color: var(--ink); font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.js .bible-submit { display: none; }
.bible-book-combobox { display: none; }
.js .bible-book-combobox { display: block; }
.js .bible-book-select { display: none; }

.app-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 30px 22px 22px; color: #eef7f2; background: #103d30; display: flex; flex-direction: column; }
.sidebar-menu { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.menu-toggle { display: none; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.brand small { color: #a5c3b5; font-weight: 600; }
.brand-logo { width: 40px; height: 40px; flex: 0 0 auto; padding: 3px; object-fit: contain; background: #fff; border: 1px solid rgba(16,61,48,.13); border-radius: 10px; box-shadow: 0 3px 12px rgba(16,61,48,.1); }
.sidebar nav { display: grid; gap: 5px; margin-top: 46px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: #bcd0c7; border-radius: 9px; font-weight: 650; }
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-icon { width: 21px; color: var(--lime); font-size: 18px; text-align: center; }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.user-chip { display: grid; min-width: 0; }
.user-chip b { overflow: hidden; text-overflow: ellipsis; }
.user-chip small { color: #9db6aa; text-transform: capitalize; }
.link-button { padding: 0; color: #c5d8d0; background: none; border: 0; }

.main { min-width: 0; padding: 40px clamp(24px, 4vw, 62px) 60px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-head span, .card-head span, .report-title span, .member-welcome span, .offering-hero > span { color: var(--green-2); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font: 800 clamp(27px, 3vw, 38px)/1.08 Georgia, serif; letter-spacing: -.035em; }
h2 { margin-bottom: 0; font: 750 20px/1.2 Georgia, serif; letter-spacing: -.02em; }
.actions { display: flex; gap: 9px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; }
.button.primary { color: #fff; background: var(--green); box-shadow: 0 8px 20px rgba(12,102,71,.18); }
.button.primary:hover { background: #084f37; }
.button.secondary { color: #fff; background: var(--ink); }
.button.ghost { color: var(--green); background: transparent; border-color: #b8cbc1; }
.button.danger { color: #fff; background: var(--red); }
.button.danger:hover { background: #96332f; }
.button:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }
.card { background: var(--card); border: 1px solid #e4e8e3; border-radius: 13px; box-shadow: var(--shadow); }

.hero-card { min-height: 185px; padding: 32px 35px; color: #fff; background: linear-gradient(110deg, #0a5f42, #137655); border-radius: 16px; box-shadow: 0 20px 50px rgba(12,102,71,.2); display: flex; justify-content: space-between; overflow: hidden; position: relative; }
.hero-card > div:first-child { display: grid; align-content: center; position: relative; z-index: 1; }
.hero-card span { color: #c7dfd4; font-weight: 650; }
.hero-card strong { margin: 6px 0 5px; font: 800 clamp(30px, 4vw, 44px)/1 Georgia, serif; letter-spacing: -.04em; }
.hero-card small { color: #b5d3c5; }
.hero-orbit { position: relative; width: 180px; display: grid; place-items: center; }
.hero-orbit::before, .hero-orbit::after, .hero-orbit i { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero-orbit::before { width: 210px; height: 210px; }
.hero-orbit::after { width: 140px; height: 140px; }
.hero-orbit i { width: 76px; height: 76px; background: var(--lime); border: 0; box-shadow: 0 0 0 15px rgba(185,217,79,.1); }
.hero-orbit b { z-index: 1; color: #21442f; letter-spacing: .12em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.stat { padding: 21px 23px; display: grid; gap: 4px; box-shadow: none; }
.stat > span { color: var(--muted); font-weight: 700; }
.stat strong { font: 750 24px Georgia, serif; }
.stat small.naik { color: var(--green-2); }
.stat small.turun { color: var(--red); }
.stat small.netral { color: #8b6b20; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; }
.grid-2 > .card { min-width: 0; padding: 24px; }
.card-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.card-head a { color: var(--green); font-weight: 750; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 10px 12px; color: #77827d; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
td { padding: 13px 12px; border-bottom: 1px solid #edf0ec; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td small { display: block; color: var(--muted); white-space: normal; }
.right { text-align: right; }
.amount { font-weight: 750; }
.income { color: var(--green-2); }
.expense { color: var(--red); }
.type-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; }
.type-dot.income { background: var(--green-2); }
.type-dot.expense { background: var(--red); }
code { padding: 3px 6px; color: #53635c; background: #eff2ef; border-radius: 4px; font-size: 11px; }
.status, .badge { display: inline-flex; padding: 4px 8px; border-radius: 20px; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.status.posted, .badge { color: #176344; background: #e5f3e9; }
.status.pending { color: #86641a; background: #fff4d8; }
.status.void { color: #8b4643; background: #fae8e7; }
.muted-row { opacity: .55; text-decoration: line-through; }
.link { padding: 0; color: var(--green); background: none; border: 0; font-weight: 750; }
.link.edit { color: #0f6f89; }
.link.danger { color: var(--red); }
.member-code-link code { transition: color .15s, background .15s; }
.member-code-link:hover code { color: #fff; background: var(--green); }
.member-name-link { color: var(--green); display: inline-block; max-width: 100%; }
.member-name-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.table-actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; white-space: nowrap; }
.table-actions form { margin: 0; }
.members-table table { table-layout: fixed; }
.members-table th, .members-table td { padding-inline: 14px; }
.members-table .member-code-col { width: 112px; }
.members-table .member-name-col { width: 190px; }
.members-table .member-family-col { width: 145px; }
.members-table .member-sector-col { width: 135px; }
.members-table .member-phone-col { width: 145px; }
.members-table .member-total-col { width: 142px; }
.members-table .member-status-col { width: 96px; }
.members-table .member-action-col { width: 136px; }
.members-table td:nth-child(2) b { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.members-table td:nth-child(3),
.members-table td:nth-child(4) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edit-member-form { padding-top: 2px; }

.bars { display: grid; gap: 17px; }
.bar-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bar-row b { font-size: 12px; }
.bar { height: 7px; background: #edf1ec; border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: inherit; }
.empty { padding: 30px 15px; color: var(--muted); text-align: center; white-space: normal; }
.notice, .error { margin-bottom: 18px; padding: 11px 14px; border-radius: 8px; font-weight: 650; }
.notice { color: #145b3f; background: #ddf1e5; border: 1px solid #c5e6d1; }
.error { color: #8b3834; background: #fbe8e6; border: 1px solid #f0d0cd; }

.filters { margin-bottom: 18px; padding: 16px; display: flex; align-items: end; gap: 12px; box-shadow: none; }
.filters > * { min-width: 0; max-width: 100%; }
.filters label { min-width: 0; max-width: 100%; }
.filters input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  inline-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
}
.member-filters label { flex: 1 1 300px; }
.member-count { margin-left: auto; padding: 10px 3px; color: var(--muted); font-size: 12px; font-weight: 750; white-space: nowrap; }
.mobile-table-hint { display: none; }
.pagination { margin-top: 17px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.pagination > :first-child { justify-self: start; }
.pagination > :last-child { justify-self: end; }
.pagination > span { color: var(--muted); font-size: 12px; font-weight: 750; }
label { display: grid; gap: 6px; color: #45534d; font-size: 12px; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid #cfd7d1; border-radius: 7px; outline: none; }
select { padding-right: 34px; text-overflow: ellipsis; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(22,129,93,.1); }
textarea { min-height: 92px; resize: vertical; }
.form-card { max-width: 840px; padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.span-2 { grid-column: span 2; }
.form-actions { display: flex; justify-content: end; margin-top: 6px; }

dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.25); overflow: auto; }
dialog::backdrop { background: rgba(7,27,20,.62); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dialog-head button { width: 32px; height: 32px; background: #eef1ee; border: 0; border-radius: 50%; font-size: 22px; }

.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.campaign { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.campaign:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(20,48,37,.13); }
.campaign-link { flex: 1 1 auto; padding: 23px 23px 18px; display: block; }
.campaign-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.badge.closed { color: #675527; background: #f3ead1; }
.campaign h2 { margin: 21px 0 7px; }
.campaign p { min-height: 42px; color: var(--muted); }
.progress { height: 6px; margin: 20px 0 16px; background: #e9eee9; border-radius: 5px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--lime); }
.campaign-numbers { display: grid; grid-template-columns: 1fr 1fr .65fr; gap: 8px; }
.campaign-numbers div { display: grid; }
.campaign-numbers span { color: var(--muted); font-size: 10px; }
.campaign-numbers b { font-size: 12px; }
.campaign-detail-actions { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 9px; }
.campaign-detail-actions .button { width: 100%; }
.campaign-card-actions { padding: 13px 15px 15px; border-top: 1px solid #edf0ec; background: #fbfcfa; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.campaign-card-actions form { margin: 0; }
.campaign-card-actions .button { width: 100%; min-height: 36px; padding: 7px 11px; font-size: 12px; }
.campaign-closed-note { min-height: 36px; padding: 8px 10px; color: var(--muted); background: #eef2ee; border: 1px solid #dbe4dc; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 750; }
.pledge-line { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pledge-line:last-child { border-bottom: 0; }
.pledge-line div { display: grid; }
.pledge-line small { color: var(--muted); }
.pledge-line strong { text-align: right; font-size: 12px; }
.report-title { margin: 32px 0 6px; text-align: center; }
.report-title h2 { margin-top: 5px; }

.public-shell { background: #f1f5f0; }
.public-main { min-height: 100vh; }
.public-nav { max-width: 1160px; margin: auto; padding: 24px 25px; display: flex; justify-content: space-between; align-items: center; }
.site-home { --site-dark: #102d24; --site-cream: #f7f2e8; overflow: hidden; background: var(--site-cream); }
.site-nav { max-width: 1240px; height: 92px; margin: auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { color: var(--site-dark); }
.site-brand small { color: #78887f; }
.site-nav nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-nav nav a { color: #52645b; font-size: 13px; font-weight: 750; }
.site-nav nav a:hover { color: var(--green); }
.site-login-menu { display: none; }
.public-menu-toggle { display: none; }
.site-login { min-height: 38px; color: var(--site-dark); border-color: #aebbb3; background: transparent; }
.site-login:hover { color: #fff; background: var(--site-dark); border-color: var(--site-dark); }

.site-hero { max-width: 1320px; min-height: 690px; margin: auto; padding: 70px clamp(32px, 7vw, 98px) 80px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: clamp(45px, 7vw, 100px); position: relative; }
.site-hero::before { content: ""; position: absolute; width: 320px; height: 320px; left: -250px; top: 70px; border: 1px solid #d5ddcf; border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.28), 0 0 0 110px rgba(255,255,255,.15); }
.site-hero-copy { position: relative; z-index: 1; }
.site-kicker { color: var(--green-2); font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.site-hero h1 { max-width: 680px; margin: 18px 0 24px; color: var(--site-dark); font-size: clamp(54px, 6.8vw, 92px); line-height: .94; letter-spacing: -.055em; }
.site-hero-copy > p { max-width: 600px; margin-bottom: 30px; color: #5f6e66; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.site-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.site-primary { min-height: 50px; padding: 12px 21px; color: #fff; background: var(--green); border-radius: 5px; box-shadow: 0 13px 28px rgba(12,102,71,.17); }
.site-primary:hover { background: #084f37; }
.site-text-link { color: var(--site-dark); font-weight: 850; }
.site-text-link span { display: inline-block; margin-left: 7px; color: var(--green-2); transition: transform .2s; }
.site-text-link:hover span { transform: translateX(4px); }
.site-hero-notes { margin-top: 54px; padding-top: 23px; border-top: 1px solid #d9dfd5; display: grid; grid-template-columns: auto 1fr; gap: 45px; }
.site-hero-notes div { display: grid; gap: 3px; }
.site-hero-notes strong { color: var(--site-dark); font-size: 12px; }
.site-hero-notes span { color: #849088; font-size: 11px; }

.site-hero-art { min-height: 520px; border-radius: 240px 240px 18px 18px; background: linear-gradient(155deg, #1b7b58 0%, #0b4836 68%, #082f25 100%); position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(16,45,36,.24); }
.site-hero-art::before, .site-hero-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.site-hero-art::before { width: 480px; height: 480px; right: -250px; bottom: -180px; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.025); }
.site-hero-art::after { width: 250px; height: 250px; left: -130px; top: 80px; }
.site-sun { position: absolute; width: 100px; height: 100px; top: 76px; right: 67px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 18px rgba(185,217,79,.09); }
.site-cross { position: absolute; width: 170px; height: 260px; left: 50%; top: 47%; transform: translate(-50%, -50%); }
.site-cross i, .site-cross b { position: absolute; display: block; background: rgba(255,255,255,.93); box-shadow: 0 5px 35px rgba(0,0,0,.12); }
.site-cross i { width: 31px; height: 240px; left: 69px; top: 0; }
.site-cross b { width: 150px; height: 31px; left: 10px; top: 63px; }
.site-verse { position: absolute; width: calc(100% - 50px); left: 25px; bottom: 24px; padding: 21px 23px; color: #fff; background: rgba(5,37,28,.74); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; backdrop-filter: blur(10px); }
.site-verse span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.site-verse p { margin: 7px 0 3px; font: 700 20px Georgia, serif; }
.site-verse small { color: #b7ccc2; }

.site-values { max-width: 1240px; margin: 0 auto 65px; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); }
.site-values article { min-height: 150px; padding: 29px 30px; display: flex; gap: 21px; border: 1px solid #d9dfd6; border-right: 0; background: rgba(255,255,255,.38); }
.site-values article:first-child { border-radius: 12px 0 0 12px; }
.site-values article:last-child { border-right: 1px solid #d9dfd6; border-radius: 0 12px 12px 0; }
.site-values article > span { color: var(--green-2); font: 800 12px Georgia, serif; }
.site-values article div { display: grid; align-content: start; gap: 7px; }
.site-values strong { color: var(--site-dark); font: 750 18px Georgia, serif; }
.site-values p { margin: 0; color: #748078; font-size: 12px; line-height: 1.65; }

.site-section { max-width: 1180px; margin: auto; padding: 105px 32px; }
.site-section-heading h2, .site-giving h2 { margin-top: 13px; color: var(--site-dark); font-size: clamp(38px, 4.8vw, 62px); line-height: 1.03; }
.site-section-heading.compact { max-width: 690px; margin-bottom: 43px; }
.site-section-heading.compact h2 { margin-bottom: 16px; }
.site-section-heading.compact p { color: #718078; font-size: 16px; }
.site-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.site-about-copy { color: #66746c; font-size: 16px; line-height: 1.8; }
.site-about-copy p { margin-bottom: 20px; }
.site-about-copy .site-text-link { display: inline-block; margin-top: 8px; font-size: 13px; }

.site-services { padding-top: 75px; padding-bottom: 75px; }
.site-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.site-service-grid a { min-height: 245px; padding: 25px; background: #fff; border: 1px solid #dce3dc; border-radius: 10px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.site-service-grid a:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20,48,37,.1); }
.site-service-grid a > span { color: var(--green-2); font: 800 12px Georgia, serif; }
.site-service-grid h3 { margin: 34px 0 10px; color: var(--site-dark); font: 750 22px Georgia, serif; }
.site-service-grid p { color: #748078; font-size: 12px; line-height: 1.65; }
.site-service-grid b { margin-top: auto; color: var(--green); font-size: 12px; }

.site-schedule-section { max-width: none; padding-left: max(32px, calc((100vw - 1116px) / 2)); padding-right: max(32px, calc((100vw - 1116px) / 2)); background: #e7eee7; }
.site-schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.site-schedule-card { min-height: 285px; padding: 26px; background: #fff; border: 1px solid #dce3dc; border-radius: 9px; box-shadow: 0 14px 35px rgba(27,65,50,.06); display: flex; flex-direction: column; }
.site-schedule-card > div { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #e3e8e3; }
.site-schedule-card > div span { color: var(--green-2); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.site-schedule-card > div strong { color: var(--site-dark); font: 800 15px Georgia, serif; }
.site-schedule-card h3, .site-ministry-card h3 { margin: 28px 0 8px; color: var(--site-dark); font: 750 24px Georgia, serif; }
.site-schedule-card p, .site-ministry-card p { color: #748078; }
.site-schedule-card a { margin-top: auto; color: var(--green); font-size: 12px; font-weight: 850; }
.site-schedule-card a span { margin-left: 4px; }

.site-ministry-section { padding-top: 120px; padding-bottom: 120px; }
.site-ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.site-ministry-card { min-height: 360px; padding: 28px; border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.site-ministry-card:nth-child(1) { color: #fff; background: #174e3d; }
.site-ministry-card:nth-child(2) { background: #d9e5ab; }
.site-ministry-card:nth-child(3) { color: #fff; background: #b16d3f; }
.site-ministry-card::after { content: ""; position: absolute; width: 270px; height: 270px; right: -135px; top: -130px; border: 1px solid currentColor; border-radius: 50%; opacity: .18; box-shadow: 0 0 0 35px currentColor; }
.site-ministry-mark { font: 800 55px Georgia, serif; opacity: .45; }
.site-ministry-card h3 { color: inherit; }
.site-ministry-card p { max-width: 290px; margin: 0; color: inherit; opacity: .78; }

.public-campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.public-campaign-card { min-width: 0; padding: 25px; background: #fff; border: 1px solid #dce3dc; border-radius: 11px; box-shadow: 0 14px 35px rgba(27,65,50,.06); }
.public-campaign-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--green-2); font-size: 11px; font-weight: 850; }
.public-campaign-card h3 { margin: 22px 0 9px; color: var(--site-dark); font: 750 23px Georgia, serif; overflow-wrap: anywhere; }
.public-campaign-card > p { min-height: 62px; color: #748078; font-size: 12px; line-height: 1.65; }
.public-progress { height: 7px; margin: 23px 0 19px; background: #e9eee9; border-radius: 8px; overflow: hidden; }
.public-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: inherit; }
.public-campaign-stats { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.public-campaign-stats div { min-width: 0; display: grid; gap: 3px; }
.public-campaign-stats span { color: #7b877f; font-size: 9px; text-transform: uppercase; }
.public-campaign-stats strong { color: var(--site-dark); font-size: 11px; overflow-wrap: anywhere; }
.public-campaign-more { margin-top: 25px; }
.public-empty { grid-column: 1 / -1; padding: 55px 25px; color: var(--muted); background: #fff; border: 1px solid #dce3dc; border-radius: 11px; text-align: center; }

.public-page-menu { display: flex; align-items: center; gap: 23px; }
.public-page-menu > a:not(.button) { color: #52645b; font-size: 12px; font-weight: 750; }
.public-page-menu > a:not(.button):hover { color: var(--green); }
.public-page-menu-toggle { display: none; }
.public-page-hero { padding: 75px 25px 100px; color: #fff; background: radial-gradient(circle at 75% 10%, rgba(185,217,79,.22), transparent 26%), #0e5c42; text-align: center; }
.public-page-hero > span { color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.public-page-hero h1 { margin: 9px 0 14px; font-size: clamp(39px, 6vw, 67px); }
.public-page-hero p { max-width: 630px; margin: auto; color: #c4d8cf; font-size: 16px; }
.public-campaign-page { max-width: 1160px; margin: -45px auto 70px; padding: 0 25px; position: relative; }

.pericope-page, .bible-page { max-width: 1160px; margin: -45px auto 75px; padding: 0 25px; position: relative; }
.pericope-months { margin-bottom: 10px; padding-bottom: 8px; display: flex; gap: 8px; overflow-x: auto; scrollbar-gutter: stable; }
.pericope-months a { flex: 0 0 auto; min-height: 36px; padding: 10px 13px; color: #596b61; background: #fff; border: 1px solid #dce3dc; border-radius: 999px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 850; text-transform: uppercase; box-shadow: 0 8px 24px rgba(27,65,50,.05); }
.pericope-months a.active { color: #fff; background: var(--green); border-color: var(--green); }
.pericope-weeks { margin-bottom: 17px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.pericope-weeks a { padding: 13px 15px; color: #5f6e66; background: #fff; border: 1px solid #dce3dc; border-radius: 9px; display: grid; gap: 2px; box-shadow: 0 8px 24px rgba(27,65,50,.05); }
.pericope-weeks a span { color: var(--green-2); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.pericope-weeks a b { font-size: 12px; }
.pericope-weeks a small { color: #7d8982; font-size: 10px; font-weight: 750; line-height: 1.35; }
.pericope-weeks a.active { color: #fff; background: var(--green); border-color: var(--green); }
.pericope-weeks a.active span { color: var(--lime); }
.pericope-weeks a.active small { color: #d8ead2; }
.pericope-layout { display: block; }
.pericope-card, .bible-reader-card { padding: 31px; background: #fff; border: 1px solid #dce3dc; border-radius: 13px; box-shadow: var(--shadow); }
.pericope-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--green-2); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pericope-meta b { display: inline-flex; align-items: center; gap: 7px; }
.pericope-meta i { width: 10px; height: 10px; background: #21905f; border-radius: 50%; }
.pericope-sunday { margin: 31px 0 8px; color: #819087; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pericope-agenda { margin: -2px 0 12px; color: var(--green-2); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pericope-card h2 { max-width: 620px; color: var(--site-dark, #102d24); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.pericope-translation { margin: 9px 0 30px; color: var(--green-2); font: italic 18px Georgia, serif; }
.pericope-readings { border-top: 1px solid var(--line); }
.pericope-readings > div { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pericope-readings span { color: #7d8982; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.pericope-readings strong { color: var(--ink); text-align: right; }
.pericope-readings .key-verse { align-items: flex-start; }
.pericope-readings .key-verse > div { max-width: 72%; display: grid; gap: 8px; text-align: right; }
.pericope-readings .key-verse strong { color: var(--green); }
.pericope-readings .key-verse p { margin: 0; color: #344840; font: 17px/1.55 Georgia, serif; }
.pericope-readings .key-verse p[lang="id"] { color: var(--muted); font-size: 14px; font-style: italic; }
.pericope-hymns, .pericope-daily { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.pericope-hymns h3, .pericope-daily h3 { margin-bottom: 13px; color: var(--site-dark); font-size: 18px; }
.pericope-hymns > div { display: grid; gap: 8px; }
.pericope-hymns p { margin: 0; padding: 12px 14px; background: #f6f9f5; border: 1px solid #e1e8e0; border-radius: 9px; display: flex; justify-content: space-between; gap: 18px; }
.pericope-hymns span { color: #718078; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.pericope-hymns strong { color: var(--green); text-align: right; }
.pericope-daily-table { overflow-x: auto; scrollbar-gutter: stable; }
.pericope-daily table { width: 100%; min-width: 680px; border-collapse: collapse; }
.pericope-daily th, .pericope-daily td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: #33463d; font-size: 13px; text-align: left; vertical-align: top; }
.pericope-daily th { color: #748279; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.pericope-empty { margin: 0; padding: 15px; color: var(--muted); background: #f6f9f5; border: 1px solid #e1e8e0; border-radius: 9px; }
.pericope-actions { margin-top: 27px; display: flex; gap: 9px; flex-wrap: wrap; }

.bible-reader-card { padding: 38px; }
.bible-reader-copy { max-width: 700px; }
.bible-reader-copy h2 { margin: 10px 0 13px; color: var(--site-dark, #102d24); font-size: clamp(34px, 5vw, 55px); }
.bible-reader-copy > p { color: var(--muted); font-size: 15px; }
.bible-zoom { margin-top: 12px; padding: 13px 15px; background: #f7f9f6; border: 1px solid #e0e7df; border-radius: 9px; display: flex; align-items: center; gap: 13px; }
.bible-zoom > span { color: #53635c; font-size: 11px; font-weight: 850; line-height: 1; text-transform: uppercase; }
.bible-zoom > div { display: flex; gap: 5px; }
.bible-zoom button { min-width: 42px; height: 38px; padding: 0 9px; color: var(--green); background: #fff; border: 1px solid #cbd8cf; border-radius: 7px; font-weight: 850; }
.bible-zoom button:hover, .bible-zoom button:focus-visible { color: #fff; background: var(--green); border-color: var(--green); outline: none; }
.bible-zoom output { min-width: 43px; margin-left: auto; color: var(--green); font-size: 12px; font-weight: 850; text-align: right; }
.bible-picker { margin-top: 31px; padding: 22px; background: #f2f6f1; border: 1px solid #e0e7df; border-radius: 10px; display: grid; grid-template-columns: minmax(180px, 1fr) 120px auto; align-items: end; gap: 12px; }
.bible-book-field { min-width: 0; }
.bible-book-combobox { min-height: 46px; padding-left: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23617469' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 13px 50%; }
.bible-verse-picker { grid-column: 1 / -1; margin-top: 2px; padding: 16px; background: #f7f9f6; border: 1px solid #e0e7df; border-radius: 9px; }
.bible-verse-picker > span { display: block; margin-bottom: 10px; color: #53635c; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.bible-verse-picker > div { max-height: 170px; display: flex; flex-wrap: wrap; gap: 6px; overflow-y: auto; scrollbar-gutter: stable; }
.bible-verse-picker a { width: 32px; height: 32px; display: grid; place-items: center; color: var(--green); background: #fff; border: 1px solid #cbd8cf; border-radius: 7px; font-size: 11px; font-weight: 850; transition: color .15s, background .15s, border-color .15s, transform .15s; }
.bible-verse-picker a:hover, .bible-verse-picker a:focus-visible, .bible-verse-picker a.active { color: #fff; background: var(--green); border-color: var(--green); outline: none; transform: translateY(-1px); }
.bible-verses { margin-top: 28px; padding: 4px 2px; }
.bible-verses h3 { margin: 34px 0 15px; padding: 13px 16px; color: var(--green); background: #edf6ef; border-left: 4px solid var(--lime); border-radius: 0 7px 7px 0; font: 750 18px/1.4 Georgia, serif; }
.bible-verses h3:first-child { margin-top: 0; }
.bible-verses p { margin: 0; padding: 10px 5px; color: #283a33; font: var(--bible-font-size, 17px)/1.8 Georgia, serif; }
.bible-verses p:hover { background: #f5f8f4; border-radius: 7px; }
.bible-verses p.selected-verse { background: #edf6ef; border-left: 4px solid var(--lime); border-radius: 0 7px 7px 0; }
.bible-verses sup { min-width: 27px; margin-right: 8px; color: var(--green-2); font: 850 10px/1 sans-serif; display: inline-block; vertical-align: .35em; }
.bible-source-error { margin-top: 24px; }
.bible-extra-grid { margin-top: 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.bible-extra-grid a { min-height: 210px; padding: 27px; background: #fff; border: 1px solid #dce3dc; border-radius: 11px; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(27,65,50,.05); }
.bible-extra-grid span { color: var(--green-2); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.bible-extra-grid h3 { margin: 23px 0 8px; font: 750 24px Georgia, serif; }
.bible-extra-grid p { color: var(--muted); }
.bible-extra-grid b { margin-top: auto; color: var(--green); font-size: 12px; }

.site-giving { max-width: 1180px; margin: 0 auto 115px; padding: 55px 60px; color: #fff; background: linear-gradient(115deg, #0c6647, #123b30); border-radius: 15px; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; }
.site-giving::after { content: ""; position: absolute; width: 330px; height: 330px; right: -170px; top: -180px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025); }
.site-giving > div { max-width: 720px; position: relative; z-index: 1; }
.site-giving .site-kicker { color: var(--lime); }
.site-giving h2 { color: #fff; font-size: clamp(34px, 4vw, 51px); }
.site-giving p { max-width: 650px; margin: 18px 0 0; color: #bdd2c8; font-size: 15px; }
.site-light { flex: 0 0 auto; min-height: 48px; color: #154432; background: var(--lime); border-radius: 5px; position: relative; z-index: 1; }
.site-light:hover { background: #c9e763; }

.site-footer { max-width: 1180px; margin: auto; padding: 55px 32px 35px; border-top: 1px solid #d8ded4; display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 45px; position: relative; }
.site-footer > div:first-child p { max-width: 330px; margin-top: 19px; color: #7b877f; font-size: 12px; }
.site-footer > div:not(:first-child) { display: grid; align-content: start; gap: 9px; }
.site-footer > div:not(:first-child) span { margin-bottom: 7px; color: var(--green-2); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.site-footer > div:not(:first-child) a { color: #65736b; font-size: 12px; font-weight: 700; }
.site-footer > div:not(:first-child) a:hover { color: var(--green); }
.site-copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 24px; color: #8a958e; border-top: 1px solid #e1e5dd; font-size: 10px; }

.public-brand { margin-bottom: 60px; }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.login-panel { padding: clamp(45px, 8vw, 110px); color: #fff; background: radial-gradient(circle at 85% 15%, rgba(185,217,79,.2), transparent 28%), linear-gradient(135deg, #092f25, #0d6949); display: flex; flex-direction: column; justify-content: center; }
.login-panel h1 { max-width: 620px; margin-bottom: 22px; font-size: clamp(38px, 5vw, 67px); }
.login-panel > p:not(.eyebrow) { max-width: 560px; color: #c1d5cc; font-size: 16px; }
.eyebrow { color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.text-link { margin-top: 22px; color: var(--lime); font-weight: 750; }
.login-card { width: min(420px, calc(100% - 40px)); margin: auto; padding: 35px; display: grid; gap: 17px; }
.login-card h2 { margin-top: 7px; font-size: 30px; }
.login-card > p { color: var(--muted); margin-top: -10px; }
.hint { color: var(--muted); text-align: center; }

.offering-hero { padding: 75px 25px 110px; color: #fff; background: radial-gradient(circle at 75% 10%, rgba(185,217,79,.22), transparent 26%), #0e5c42; text-align: center; }
.offering-hero > span { color: var(--lime); }
.offering-hero h1 { margin: 9px 0 13px; font-size: clamp(39px, 6vw, 67px); }
.offering-hero p { max-width: 570px; margin: 0 auto 27px; color: #c4d8cf; font-size: 16px; }
.offering-hero form { max-width: 520px; margin: auto; padding: 7px; background: #fff; border-radius: 10px; display: flex; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.offering-hero input { border: 0; }
.offering-help { display: block; margin-top: 13px; color: #b9d0c5; font-size: 11px; }
.public-result { max-width: 1120px; margin: -52px auto 60px; padding: 0 25px; position: relative; }
.public-result.card { padding: 25px; }
.member-welcome { margin-bottom: 18px; padding: 27px 31px; background: #fff; border: 1px solid #e4e8e3; border-radius: 13px; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; }
.member-welcome p { margin: 5px 0 0; color: var(--muted); }
.member-welcome > div:last-child { display: grid; text-align: right; }
.member-welcome strong { font: 800 26px Georgia, serif; color: var(--green); }
.member-detail-stats { margin-top: 0; }
.member-detail-stats > div { padding: 19px 21px; background: #fff; border: 1px solid #e4e8e3; border-radius: 13px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.member-detail-stats span, .member-detail-list span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.member-detail-stats strong { color: var(--ink); font: 750 20px Georgia, serif; overflow-wrap: anywhere; }
.member-detail-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.member-profile-card, .member-pledge-card, .member-transactions-card { padding: 24px; }
.member-detail-list { display: grid; gap: 13px; }
.member-detail-list div { padding-bottom: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.member-detail-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.member-detail-list strong { overflow-wrap: anywhere; }
.privacy-note { color: var(--muted); text-align: center; margin-top: 25px; }
.not-found { padding: 100px 20px; text-align: center; }
.not-found b { font: 900 100px Georgia, serif; color: #d8e2db; }

@media (max-width: 1050px) {
  .campaign-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-hero { min-height: 620px; grid-template-columns: 1fr .75fr; gap: 45px; }
  .site-hero h1 { font-size: clamp(50px, 7vw, 72px); }
  .site-hero-art { min-height: 440px; }
  .site-sun { width: 76px; height: 76px; top: 60px; right: 45px; }
  .site-service-grid { grid-template-columns: 1fr 1fr; }
  .public-campaign-grid { grid-template-columns: 1fr 1fr; }
  .bible-picker { grid-template-columns: 1fr 1fr; }
  .bible-picker .button { width: 100%; }
}
@media (max-width: 800px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 20; width: 100%; height: 66px; padding: 13px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 11px; box-shadow: 0 8px 24px rgba(6,31,23,.18); }
  .sidebar .brand-logo { width: 36px; height: 36px; }
  .menu-toggle { width: 42px; height: 40px; padding: 10px; display: grid; align-content: center; gap: 5px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
  .menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 3px; transition: transform .2s, opacity .2s; }
  .sidebar.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sidebar.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .sidebar.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sidebar-menu { position: fixed; top: 66px; right: 0; left: 0; max-height: calc(100dvh - 66px); min-height: auto; padding: 0 16px 14px; background: #103d30; box-shadow: 0 20px 35px rgba(6,31,23,.28); overflow-y: auto; display: none; }
  .sidebar.menu-open .sidebar-menu { display: block; }
  .sidebar nav { margin-top: 11px; padding: 10px 0; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .sidebar nav a { padding: 11px 12px; }
  .sidebar-foot { margin-top: 0; padding: 12px 2px 1px; border-top: 0; display: flex; }
  .sidebar-foot .user-chip { display: grid; }
  .sidebar-foot .link-button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; font-size: 12px; }
  .main { padding: 27px 16px 45px; }
  .page-head { align-items: flex-start; }
  .page-head h1 { font-size: 31px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .hero-card { min-height: 165px; padding: 26px; }
  .hero-orbit { display: none; }
  .grid-2 > .card { padding: 20px; }
  input, select, textarea { font-size: 16px; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-panel { min-height: 48vh; padding: 45px 28px; }
  .public-brand { margin-bottom: 35px; }
  .login-card { margin: 35px auto; }
  .site-nav { height: 78px; padding: 0 20px; position: relative; z-index: 30; }
  .site-nav nav { position: absolute; top: 70px; right: 14px; left: 14px; padding: 10px; background: #fff; border: 1px solid #d8e0d8; border-radius: 10px; box-shadow: 0 20px 45px rgba(16,45,36,.18); display: none; }
  .site-nav.menu-open nav { display: grid; }
  .site-nav nav a { padding: 12px 13px; border-radius: 7px; }
  .site-nav nav a:hover { background: #eef3ed; }
  .site-nav nav .site-login-menu { min-height: 42px; color: #fff; display: flex; }
  .public-menu-toggle { width: 42px; height: 40px; margin-left: auto; padding: 10px; display: grid; align-content: center; gap: 5px; color: var(--site-dark); background: transparent; border: 1px solid #b8c4bc; border-radius: 8px; }
  .public-menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 3px; transition: transform .2s, opacity .2s; }
  .site-nav.menu-open .public-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav.menu-open .public-menu-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.menu-open .public-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-hero { min-height: 0; padding: 60px 24px 70px; grid-template-columns: 1fr; }
  .site-hero-copy { text-align: center; }
  .site-hero h1, .site-hero-copy > p { margin-left: auto; margin-right: auto; }
  .site-actions { justify-content: center; }
  .site-hero-notes { max-width: 560px; margin-left: auto; margin-right: auto; text-align: left; }
  .site-hero-art { width: min(520px, 100%); margin: auto; min-height: 500px; }
  .site-values { grid-template-columns: 1fr; }
  .site-values article { border-right: 1px solid #d9dfd6; border-bottom: 0; }
  .site-values article:first-child { border-radius: 12px 12px 0 0; }
  .site-values article:last-child { border-bottom: 1px solid #d9dfd6; border-radius: 0 0 12px 12px; }
  .site-about { grid-template-columns: 1fr; }
  .site-schedule-grid, .site-ministry-grid { grid-template-columns: 1fr; }
  .site-schedule-card { min-height: 245px; }
  .site-ministry-card { min-height: 300px; }
  .site-giving { margin-left: 20px; margin-right: 20px; padding: 45px 35px; align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1.4fr .8fr .8fr; }
  .public-campaign-grid { grid-template-columns: 1fr; }
  .public-page-nav { position: relative; z-index: 30; }
  .public-page-menu-toggle { width: 42px; height: 40px; padding: 10px; display: grid; align-content: center; gap: 5px; color: var(--ink); background: transparent; border: 1px solid #b8c4bc; border-radius: 8px; }
  .public-page-menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 3px; transition: transform .2s, opacity .2s; }
  .public-page-nav.menu-open .public-page-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .public-page-nav.menu-open .public-page-menu-toggle span:nth-child(2) { opacity: 0; }
  .public-page-nav.menu-open .public-page-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .public-page-menu { position: absolute; top: 70px; right: 14px; left: 14px; padding: 10px; background: #fff; border: 1px solid #d8e0d8; border-radius: 10px; box-shadow: 0 20px 45px rgba(16,45,36,.18); display: none; }
  .public-page-nav.menu-open .public-page-menu { display: grid; }
  .public-page-menu > a { min-height: 42px; padding: 11px 13px; border-radius: 7px; display: flex; align-items: center; }
  .public-page-menu > a:not(.button):hover { background: #eef3ed; }
  .public-page-menu .button { width: 100%; }
  .member-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .page-head { display: grid; }
  .page-head .actions, .page-head .actions .button { width: 100%; }
  .campaign-detail-actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .stats .stat:last-child { grid-column: auto; }
  .dashboard-page .hero-card strong { font-size: 34px; }
  .dashboard-page .stats { grid-template-columns: 1fr; }
  .dashboard-page .stats .stat:last-child { grid-column: auto; }
  .dashboard-page .stat { padding: 18px 20px; }
  .dashboard-page .grid-2 { gap: 14px; }
  .dashboard-page .grid-2 > .card { padding: 17px; }
  .dashboard-page .card-head { align-items: flex-start; gap: 12px; }
  .dashboard-page .card-head h2 { font-size: 19px; }
  .main .table-wrap { overflow: visible; }
  .main .table-wrap table, .main .table-wrap tbody, .main .table-wrap tr, .main .table-wrap td { display: block; width: 100%; }
  .main .table-wrap table { white-space: normal; }
  .main .table-wrap thead { display: none; }
  .main .table-wrap tr { margin-bottom: 12px; padding: 13px 14px; background: #f7f9f6; border: 1px solid #e4e9e4; border-radius: 9px; }
  .main .table-wrap tr:last-child { margin-bottom: 0; }
  .main .table-wrap td { min-height: 30px; padding: 6px 0; border: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; text-align: right; overflow-wrap: anywhere; }
  .main .table-wrap td::before { content: attr(data-label); flex: 0 0 82px; color: #7c8781; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
  .main .table-wrap td:empty { display: none; }
  .main .table-wrap td small { text-align: right; }
  .main .table-wrap td form { margin-left: auto; }
  .main .table-wrap td .link { padding: 5px 0; }
  .main .table-wrap td[colspan] { display: block; text-align: center; }
  .main .table-wrap td[colspan]::before { display: none; }
  .main .members-table, .main .transactions-table, .main .audit-table { margin: 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
  .main .members-table table, .main .transactions-table table, .main .audit-table table { display: table; white-space: nowrap; }
  .main .members-table table { min-width: 1120px; }
  .main .transactions-table table { min-width: 980px; }
  .main .audit-table table { min-width: 760px; }
  .main .members-table thead, .main .transactions-table thead, .main .audit-table thead { display: table-header-group; }
  .main .members-table tbody, .main .transactions-table tbody, .main .audit-table tbody { display: table-row-group; }
  .main .members-table tr, .main .transactions-table tr, .main .audit-table tr { display: table-row; width: auto; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .main .members-table th, .main .members-table td,
  .main .transactions-table th, .main .transactions-table td,
  .main .audit-table th, .main .audit-table td { width: auto; min-height: 0; padding: 12px; border-bottom: 1px solid #edf0ec; display: table-cell; text-align: left; overflow-wrap: normal; }
  .main .members-table td::before, .main .transactions-table td::before, .main .audit-table td::before { display: none; }
  .main .members-table th.right, .main .members-table td.right,
  .main .transactions-table th.right, .main .transactions-table td.right,
  .main .audit-table th.right, .main .audit-table td.right { text-align: right; }
  .main .members-table td small, .main .transactions-table td small, .main .audit-table td small { text-align: inherit; }
  .mobile-table-hint { display: block; margin: -5px 0 9px; color: var(--muted); font-size: 11px; }
  .bar-row > div:first-child { align-items: flex-start; }
  .bar-row > div:first-child span { max-width: 55%; }
  .filters { align-items: stretch; flex-direction: column; }
  .filters label { width: 100%; }
  .filters input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
  }
  .filters input[type="date"]::-webkit-date-and-time-value {
    min-width: 0;
    margin: 0;
    text-align: center;
  }
  .filters .button { width: 100%; }
  .member-filters label { flex: 0 0 auto; }
  .member-count { margin-left: 0; padding: 2px 0 0; text-align: center; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .pagination > :first-child { grid-column: 1; grid-row: 2; width: 100%; }
  .pagination > :last-child { grid-column: 2; grid-row: 2; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .form-card { padding: 20px; }
  .form-actions, .form-actions .button { width: 100%; }
  dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 19px; border-radius: 11px; }
  .dialog-head { position: sticky; top: -19px; z-index: 2; margin: -19px -19px 18px; padding: 17px 19px 13px; background: #fff; border-bottom: 1px solid var(--line); }
  .campaign-grid { grid-template-columns: 1fr; }
  .campaign-numbers { grid-template-columns: 1fr 1fr; }
  .campaign-numbers div:last-child { grid-column: 1 / -1; }
  .campaign-link { padding: 20px 20px 16px; }
  .campaign-card-actions { grid-template-columns: 1fr; }
  .pledge-line { align-items: flex-start; flex-direction: column; }
  .pledge-line strong { text-align: left; }
  .report-title { margin-top: 25px; }
  .report-title h2 { font-size: 17px; }
  .member-welcome { display: grid; gap: 22px; }
  .member-welcome > div:last-child { text-align: left; }
  .offering-hero { padding: 58px 20px 92px; }
  .offering-hero form { display: grid; }
  .offering-hero input { min-height: 48px; font-size: 16px; }
  .offering-hero .button { min-height: 46px; }
  .public-result { padding-left: 16px; padding-right: 16px; }
  .site-login { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .site-nav .site-login { display: none; }
  .site-hero h1 { font-size: clamp(45px, 15vw, 64px); }
  .site-hero-notes { grid-template-columns: 1fr; gap: 15px; }
  .site-hero-art { min-height: 410px; }
  .site-cross { transform: translate(-50%, -50%) scale(.8); }
  .site-sun { width: 65px; height: 65px; }
  .site-values { padding: 0 20px; }
  .site-section { padding: 78px 22px; }
  .site-services { padding-top: 55px; padding-bottom: 55px; }
  .site-service-grid { grid-template-columns: 1fr; }
  .site-service-grid a { min-height: 205px; }
  .site-section-heading h2, .site-giving h2 { font-size: 39px; }
  .site-schedule-section { padding-left: 22px; padding-right: 22px; }
  .site-giving { margin-bottom: 75px; padding: 39px 27px; }
  .site-footer { padding-left: 22px; padding-right: 22px; grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .public-nav .brand, .public-page-nav .brand, .site-brand { min-width: 0; }
  .public-nav .brand span, .public-page-nav .brand span, .site-brand span { min-width: 0; font-size: 13px; line-height: 1.05; }
  .public-nav .brand small, .public-page-nav .brand small, .site-brand small { font-size: 10px; }
  .public-page-hero { padding: 58px 20px 82px; }
  .public-campaign-page { padding: 0 16px; }
  .public-campaign-stats { grid-template-columns: 1fr 1fr; }
  .public-campaign-stats div:last-child { grid-column: 1 / -1; }
  .pericope-page, .bible-page { padding: 0 16px; }
  .pericope-months { gap: 6px; }
  .pericope-months a { min-height: 34px; padding: 9px 11px; font-size: 10px; }
  .pericope-weeks { gap: 7px; }
  .pericope-weeks a { padding: 11px; }
  .pericope-weeks { grid-template-columns: 1fr 1fr; }
  .pericope-card, .bible-reader-card { padding: 24px; }
  .pericope-readings > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .pericope-readings strong { text-align: left; }
  .pericope-readings .key-verse > div { max-width: 100%; text-align: left; }
  .pericope-hymns p { display: grid; gap: 4px; }
  .pericope-hymns strong { text-align: left; }
  .pericope-actions, .pericope-actions .button { width: 100%; }
  .bible-picker { padding: 16px; grid-template-columns: 1fr; }
  .bible-extra-grid { grid-template-columns: 1fr; }
  .bible-zoom { align-items: center; flex-wrap: wrap; }
  .bible-zoom output { align-self: center; }
}

@media print {
  .sidebar, .page-head .actions, .filters { display: none !important; }
  .app-shell { display: block; }
  .main { padding: 0; }
  .card, .stat { box-shadow: none; }
}
