:root {
  --ink: #19383b;
  --muted: #6f8586;
  --teal: #174f55;
  --teal-2: #2f7a7d;
  --mint: #dff3ed;
  --cream: #faf8f2;
  --surface: #ffffff;
  --line: #dfe8e5;
  --coral: #ef6a5b;
  --coral-soft: #fff0ec;
  --gold: #edae49;
  --gold-soft: #fff7df;
  --blue-soft: #e8f2fb;
  --success: #2c8b68;
  --danger: #b9504d;
  --shadow: 0 14px 38px rgba(26, 70, 69, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }

.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(18px, 5vw, 72px); background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-logo { width: 48px; height: 48px; border-radius: 14px; object-fit: contain; background: white; padding: 2px; box-shadow: 0 8px 18px rgba(23,79,85,.16); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .92rem; }
.brand small { color: var(--muted); font-size: .75rem; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 9px 12px; }
.site-nav a:hover { color: var(--teal); background: var(--mint); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.privacy-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); background: var(--mint); border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 750; }
.privacy-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(44,139,104,.12); }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 12px; display: grid; place-items: center; color: var(--teal); }
.icon-button:hover { border-color: var(--teal-2); background: var(--mint); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

main { padding: 28px clamp(16px, 5vw, 72px) 64px; max-width: 1500px; margin: 0 auto; }
.hero { position: relative; overflow: hidden; min-height: 220px; border-radius: 28px; padding: clamp(28px, 5vw, 50px); background: linear-gradient(120deg, #174f55 0%, #246a6e 65%, #327e7d 100%); color: white; display: flex; align-items: center; justify-content: space-between; gap: 36px; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -80px; top: -150px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.055); }
.hero-copy { max-width: 720px; position: relative; z-index: 2; }
.community-name { margin: 0 0 8px; color: white; font-size: .7rem; font-weight: 900; letter-spacing: .11em; }
.community-name span { color: #f9aec7; }
.eyebrow { margin: 0 0 12px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: #d8efec; }
.eyebrow span { color: #fff; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 6vw, 4rem); letter-spacing: -.045em; line-height: .98; font-weight: 700; }
.hero h1 span { color: #f9aec7; }
.hero-description { max-width: 620px; margin: 17px 0 22px; color: #dceeed; font-size: clamp(.95rem, 2vw, 1.08rem); line-height: 1.6; }
.hero-description strong { color: white; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tags span { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 12px; font-size: .8rem; font-weight: 700; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-primary, .hero-secondary { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 11px 15px; font-weight: 850; text-decoration: none; }
.hero-primary { border: 1px solid var(--coral); background: var(--coral); color: white; box-shadow: 0 9px 20px rgba(239,106,91,.24); }
.hero-primary:hover { background: #df5b4c; transform: translateY(-1px); }
.hero-secondary { border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.08); color: white; }
.hero-secondary:hover { background: rgba(255,255,255,.16); }
.hero-side { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.hero-logo-card { width: 172px; height: 172px; flex: 0 0 172px; border-radius: 24px; background: white; padding: 8px; box-shadow: 0 16px 30px rgba(9,48,53,.2); overflow: hidden; }
.hero-logo-card img { width: 100%; height: 100%; display: block; object-fit: contain; }
.countdown-card { min-width: 150px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.95); color: var(--teal); text-align: center; position: relative; z-index: 2; box-shadow: 0 16px 30px rgba(9,48,53,.2); }
.countdown-card span, .countdown-card small { display: block; color: var(--muted); }
.countdown-card span { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 850; }
.countdown-card strong { display: block; font-family: Georgia, serif; font-size: 4rem; line-height: 1.05; color: var(--coral); }
.countdown-card small { font-size: .78rem; }
.confetti { position: absolute; width: 13px; height: 28px; border-radius: 999px; transform: rotate(25deg); opacity: .75; }
.confetti-one { background: var(--gold); left: 67%; top: 24px; }
.confetti-two { background: #f59aad; left: 60%; bottom: 25px; transform: rotate(-30deg); }
.confetti-three { background: #80d2c8; right: 31%; top: 36%; transform: rotate(70deg); }

.impact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--line); box-shadow: 0 5px 22px rgba(25,56,59,.035); }
.impact-strip article { min-height: 112px; display: flex; align-items: flex-start; gap: 14px; background: white; padding: 21px; }
.impact-number { color: var(--coral); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; line-height: 1; }
.impact-strip strong { display: block; font-size: .9rem; margin-bottom: 5px; }
.impact-strip p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }

.history-section, .events-section { scroll-margin-top: 98px; padding-top: 76px; }
.public-heading { margin-bottom: 28px; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.story-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 25px; box-shadow: 0 6px 25px rgba(25,56,59,.045); }
.story-main { grid-column: 1 / -1; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; }
.story-copy { padding: clamp(25px, 4vw, 42px); }
.story-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: white; background: var(--coral); font-size: 1.5rem; margin-bottom: 22px; }
.story-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.story-card p:not(.section-kicker) { color: var(--muted); line-height: 1.68; font-size: .88rem; }
.story-values { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.story-values span { background: var(--mint); color: var(--teal); border-radius: 999px; padding: 7px 10px; font-size: .7rem; font-weight: 850; }
.place-photo { min-height: 380px; margin: 0; position: relative; overflow: hidden; background: #dbe9e5; }
.place-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.place-photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(11,42,45,.78)); }
.place-photo figcaption { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: white; font-size: .69rem; font-weight: 800; }
.saint-card { background: linear-gradient(145deg, #fff 0%, #fff9eb 100%); }
.location-card { background: linear-gradient(145deg, #fff 0%, #edf8f5 100%); }
.supporters-card { grid-column: 1 / -1; background: linear-gradient(135deg, #fff 0%, #fff4f0 100%); }
.records-card { grid-column: 1 / -1; background: linear-gradient(135deg, #fff 0%, #edf8f5 100%); }
.supporters-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.supporters-list div { padding: 15px; border: 1px solid #f0ddd7; border-radius: 14px; background: rgba(255,255,255,.78); }
.supporters-list strong, .supporters-list span { display: block; }
.supporters-list strong { font-size: .83rem; }
.supporters-list span { margin-top: 5px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.source-link { color: var(--teal-2); font-size: .75rem; font-weight: 850; text-decoration: none; }
.source-link:hover { color: var(--coral); text-decoration: underline; }
.source-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; }

.impact-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.impact-numbers div { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.impact-numbers strong { font-family: Georgia, serif; font-size: 1.75rem; color: var(--coral); }
.impact-numbers span { color: var(--muted); font-size: .74rem; line-height: 1.35; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.event-card { position: relative; overflow: hidden; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 6px 25px rgba(25,56,59,.045); }
.event-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teal-2); }
.event-christmas::before { background: #c74a4a; }
.event-easter::before { background: #d8a32e; }
.event-mothers::before { background: #e65f91; }
.event-fathers::before { background: #327ca7; }
.event-june::before { background: #e99f2f; }
.event-kids::before { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.event-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.event-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); font-size: 1.25rem; }
.event-status { border-radius: 999px; padding: 6px 10px; font-size: .63rem; font-weight: 900; }
.event-status.done { color: var(--success); background: #eaf7f1; }
.event-status.upcoming { color: #8a6725; background: var(--gold-soft); }
.event-date { margin: 0 0 7px; color: var(--teal-2); font-size: .65rem; font-weight: 900; letter-spacing: .11em; }
.event-card h3 { font-family: Georgia, serif; font-size: 1.45rem; letter-spacing: -.02em; }
.event-card > p:not(.event-date) { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.event-results { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; }
.event-results li { position: relative; padding-left: 18px; color: var(--ink); font-size: .77rem; line-height: 1.4; }
.event-results li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.event-photo-placeholder { min-height: 92px; display: grid; place-items: center; margin-top: 20px; border: 1px dashed #c9d8d4; border-radius: 14px; background: #f8faf8; color: var(--muted); text-align: center; padding: 15px; font-size: .7rem; }
.featured-event, .upcoming-event { grid-column: 1 / -1; }
.featured-event { padding: clamp(22px, 4vw, 34px); }
.event-preview-cover { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 16 / 8; margin-bottom: 20px; border-radius: 18px; background: #17383b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.event-preview-cover::after { content: ""; position: absolute; z-index: 1; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,27,30,.82)); pointer-events: none; }
.event-preview-video { width: 100%; height: 100%; display: block; object-fit: cover; background: #17383b; }
.event-preview-badge, .event-preview-name { position: absolute; z-index: 2; color: white; pointer-events: none; }
.event-preview-badge { top: 14px; left: 14px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(7,35,38,.7); backdrop-filter: blur(7px); font-size: .65rem; font-weight: 900; letter-spacing: .02em; }
.event-preview-name { left: 18px; right: 18px; bottom: 16px; font-family: Georgia, serif; font-size: clamp(1.05rem, 2.4vw, 1.55rem); font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.event-gallery { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 9px; margin-top: 24px; }
.gallery-photo { border: 0; padding: 0; border-radius: 15px; overflow: hidden; background: #e8efec; }
.gallery-photo.tall { grid-row: 1 / 3; }
.gallery-photo:nth-child(4) { grid-column: 2 / 4; }
.gallery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.gallery-photo:hover img { transform: scale(1.035); }
.christmas-gallery { position: relative; overflow: hidden; margin-top: 24px; border-radius: 18px; background: #2f4141; }
.christmas-photo { width: 100%; height: clamp(280px, 46vw, 540px); display: block; border-radius: 0; }
.christmas-caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 38px 20px 18px; color: white; background: linear-gradient(transparent, rgba(8,30,31,.86)); pointer-events: none; }
.christmas-caption strong { font-family: Georgia, serif; font-size: 1.25rem; }
.christmas-caption span { font-size: .72rem; color: rgba(255,255,255,.88); }
.video-grid.christmas-videos { grid-template-columns: repeat(4, 1fr); }
.video-album { margin-top: 17px; border: 1px solid var(--line); border-radius: 15px; background: #f8faf8; }
.video-album summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 15px 17px; color: var(--teal); font-size: .78rem; font-weight: 900; list-style: none; }
.video-album summary::-webkit-details-marker { display: none; }
.video-album[open] summary { border-bottom: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; }
.video-grid.two-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-grid.single-video { grid-template-columns: minmax(0, 520px); justify-content: center; }
.video-grid figure { margin: 0; min-width: 0; }
.video-grid video { width: 100%; max-height: 420px; display: block; border-radius: 12px; background: #102b2d; }
.video-grid figcaption { color: var(--muted); font-size: .67rem; text-align: center; margin-top: 6px; }
.event-feature-photo { height: clamp(260px, 42vw, 520px); margin-top: 24px; }
.event-feature-photo .gallery-photo { width: 100%; height: 100%; display: block; }
.event-cta { margin-top: 22px; }
.public-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-top: 22px; padding: 16px; border-radius: 15px; background: var(--coral-soft); }
.public-progress > div:first-child { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.public-progress strong { font-family: Georgia, serif; color: var(--coral); font-size: 1.5rem; }
.public-progress span { color: var(--muted); font-size: .72rem; }
.public-progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: white; }
.public-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--gold)); transition: width .35s ease; }
.event-actions, .heading-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.event-actions .event-cta { margin-top: 16px; }
.organizer-section { scroll-margin-top: 90px; margin-top: 76px; padding: clamp(18px, 3vw, 32px); border-radius: 27px; border: 1px solid #d8e3df; background: #f1f3ee; }
.organizer-heading { margin-bottom: 4px; }
.organizer-section .tabs { background: #dfe5df; }
.organizer-section .workspace { padding-bottom: 5px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 54px 20px 20px; background: rgba(5,24,26,.88); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 88vh; object-fit: contain; border-radius: 16px; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.lightbox-close { position: fixed; right: 22px; top: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); color: white; font-size: 1.7rem; }

.tabs { display: flex; gap: 7px; margin: 26px 0 0; padding: 7px; border-radius: 17px; background: #eaece7; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1; min-width: 145px; border: 0; border-radius: 12px; padding: 12px 16px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; white-space: nowrap; }
.tab:hover { color: var(--teal); background: rgba(255,255,255,.65); }
.tab.active { background: white; color: var(--teal); box-shadow: 0 4px 14px rgba(25,56,59,.08); }
.tab-icon { font-size: 1.1rem; }
.tab-count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: #e9f2f0; color: var(--teal); font-size: .7rem; }
.tab.active .tab-count { background: var(--mint); }

.workspace { padding-top: 34px; }
.panel { display: none; animation: panelIn .28s ease both; }
.panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(7px); } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-kicker { margin: 0 0 7px; color: var(--teal-2); font-size: .67rem; font-weight: 900; letter-spacing: .14em; }
h2, h3 { margin: 0; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 4vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.02rem; }
.section-description { color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.primary-button, .secondary-button { border-radius: 12px; padding: 11px 16px; font-weight: 850; border: 1px solid transparent; }
.primary-button { background: var(--coral); color: white; box-shadow: 0 8px 18px rgba(239,106,91,.18); }
.primary-button:hover { background: #df5b4c; transform: translateY(-1px); }
.secondary-button { background: white; border-color: var(--line); color: var(--ink); }
.secondary-button:hover { background: #f4f7f5; }
.text-button { border: 0; background: transparent; color: var(--teal-2); font-weight: 800; padding: 6px; }
.text-button:hover { color: var(--coral); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 18px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 19px; padding: 20px; display: flex; gap: 15px; align-items: center; box-shadow: 0 5px 22px rgba(25,56,59,.045); }
.stat-icon { flex: 0 0 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 1.25rem; }
.stat-icon.mint { background: var(--mint); }
.stat-icon.coral { background: var(--coral-soft); }
.stat-icon.gold { background: var(--gold-soft); }
.stat-icon.blue { background: var(--blue-soft); }
.stat-card strong { display: block; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1; }
.stat-card span { color: var(--muted); font-size: .76rem; display: block; margin-top: 5px; }

.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin-bottom: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 21px; padding: 23px; box-shadow: 0 5px 22px rgba(25,56,59,.04); }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.live-badge { color: var(--success); background: #edf8f3; border-radius: 999px; padding: 6px 10px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.overall-progress { display: flex; align-items: center; gap: clamp(24px, 5vw, 55px); }
.progress-ring { --progress: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 132px; background: conic-gradient(var(--coral) calc(var(--progress) * 1%), #eaf0ed 0); position: relative; }
.progress-ring::before { content: ""; position: absolute; inset: 13px; background: white; border-radius: 50%; }
.progress-ring span { position: relative; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 700; }
.progress-legend { flex: 1; display: grid; gap: 13px; }
.legend-row { display: grid; grid-template-columns: 11px 1fr auto; gap: 10px; align-items: center; color: var(--muted); font-size: .82rem; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.legend-row strong { color: var(--ink); font-size: .85rem; }
.attention-list { display: grid; gap: 11px; }
.attention-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #f8faf8; }
.attention-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); }
.attention-item strong { display: block; font-size: .85rem; }
.attention-item small { color: var(--muted); display: block; margin-top: 3px; }
.attention-item button { border: 0; background: transparent; color: var(--teal-2); font-weight: 800; font-size: .75rem; }
.timeline-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.timeline-item { border-left: 3px solid var(--teal-2); padding: 3px 0 3px 14px; min-height: 62px; }
.timeline-item.overdue { border-color: var(--danger); }
.timeline-item strong { display: block; font-size: .86rem; }
.timeline-item span { display: block; color: var(--muted); font-size: .75rem; margin-top: 6px; }

.toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.search-field { flex: 1; max-width: 480px; display: flex; align-items: center; gap: 9px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; }
.search-field:focus-within { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(47,122,125,.1); }
.search-field input { width: 100%; border: 0; outline: 0; padding: 11px 0; color: var(--ink); background: transparent; }
select { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 38px 10px 12px; color: var(--ink); }
.data-list { display: grid; gap: 11px; }
.data-row { background: white; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(145px, .8fr) minmax(160px, 1fr) auto; align-items: center; gap: 18px; padding: 16px 18px; }
.company-cell { display: flex; gap: 12px; align-items: center; min-width: 0; }
.company-avatar { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--mint); color: var(--teal); font-weight: 900; }
.company-cell strong, .company-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-cell small, .cell-label, .cell-value small { color: var(--muted); font-size: .72rem; }
.cell-value strong { display: block; font-size: .84rem; }
.status-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.status-mapear { background: #edf0ef; color: #627372; }
.status-contatar { background: var(--blue-soft); color: #416e94; }
.status-aguardando { background: var(--gold-soft); color: #946d28; }
.status-confirmado { background: #e6f5ef; color: #28785b; }
.status-recusado { background: #f8e9e7; color: #a24c48; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.tiny-button { border: 1px solid var(--line); background: white; color: var(--teal); border-radius: 9px; padding: 7px 9px; font-weight: 800; font-size: .72rem; }
.tiny-button:hover { background: var(--mint); }
.tiny-button.danger:hover { background: #fff0ef; color: var(--danger); border-color: #f1cdca; }
.empty-state { padding: 48px 20px; text-align: center; background: white; border: 1px dashed #cbdad6; border-radius: 18px; color: var(--muted); }
.empty-state strong { color: var(--ink); display: block; margin-bottom: 7px; }

.donation-summary { padding: 18px 20px; margin-bottom: 18px; border-radius: 18px; background: var(--teal); color: white; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.donation-summary strong { font-family: Georgia, serif; font-size: 2rem; }
.summary-progress { height: 9px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; }
.summary-progress span { display: block; height: 100%; border-radius: inherit; background: var(--gold); transition: width .35s ease; }
.donation-summary small { color: #d9edeb; }
.donation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.donation-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 19px; }
.donation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.donation-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--coral-soft); display: grid; place-items: center; font-size: 1.2rem; }
.donation-card h3 { margin-top: 16px; }
.donation-card .category { color: var(--muted); font-size: .71rem; margin: 4px 0 17px; }
.quantity-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.quantity-line strong { font-size: 1.15rem; }
.quantity-line span { color: var(--muted); font-size: .72rem; }
.bar { height: 8px; overflow: hidden; border-radius: 999px; background: #ebf0ed; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--coral); transition: width .35s ease; }
.donation-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 17px; }
.donor-note { color: var(--muted); font-size: .69rem; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finance-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; margin-top: 18px; }
.pix-account { display: grid; gap: 3px; margin-bottom: 16px; }
.pix-account span, .pix-key-row span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.pix-account strong { font-size: 1rem; }
.pix-account small { color: var(--muted); }
.pix-key-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 13px; background: var(--mint); margin-bottom: 17px; }
.pix-key-row div { min-width: 0; display: grid; gap: 4px; }
.pix-key-row strong { overflow-wrap: anywhere; font-size: .82rem; }
.money-progress { display: grid; gap: 9px; margin: 0 0 17px; }
.money-progress > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.money-progress > div:first-child strong { color: var(--teal); font-size: 1.05rem; }
.money-progress > div:first-child span { color: var(--muted); font-size: .73rem; }
.pix-empty { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; padding: 16px; border-radius: 14px; background: var(--gold-soft); }
.pix-empty > span { font-size: 1.5rem; color: var(--coral); }
.pix-empty strong { display: block; font-size: .88rem; }
.pix-empty p { margin: 5px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.receipt-total { display: flex; align-items: baseline; gap: 8px; margin: -4px 0 15px; }
.receipt-total strong { color: var(--teal); font-family: Georgia, serif; font-size: 1.45rem; }
.receipt-total span { color: var(--muted); font-size: .72rem; }
.receipt-list { display: grid; gap: 9px; }
.receipt-row { display: grid; grid-template-columns: 38px minmax(140px, 1fr) auto auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfb; }
.receipt-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--teal); background: var(--mint); }
.receipt-row > div:nth-child(2) { min-width: 0; }
.receipt-row > div:nth-child(2) strong, .receipt-row > div:nth-child(2) span, .receipt-row > div:nth-child(2) small { display: block; }
.receipt-row > div:nth-child(2) strong { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-row > div:nth-child(2) span, .receipt-row > div:nth-child(2) small { color: var(--muted); font-size: .67rem; margin-top: 3px; }
.receipt-row > strong { font-size: .78rem; white-space: nowrap; }
.empty-state.compact { padding: 25px 16px; }
.storage-note { margin: 13px 0 0; color: var(--muted); font-size: .67rem; line-height: 1.45; }
.field small { color: var(--muted); font-size: .67rem; line-height: 1.4; }
.pix-share-intro { color: var(--muted); line-height: 1.55; }
.pix-share-key { display: grid; gap: 7px; margin: 18px 0; padding: 20px; border-radius: 16px; background: var(--mint); }
.pix-share-key span { color: var(--teal-2); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.pix-share-key strong { overflow-wrap: anywhere; color: var(--teal); font-size: 1.05rem; }
.pix-share-key small, .pix-safety { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.wide-button { width: 100%; }
.public-money { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pix-empty.public { margin-top: 5px; }

.task-filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; }
.filter-chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 13px; color: var(--muted); font-size: .77rem; font-weight: 800; }
.filter-chip.active { background: var(--teal); color: white; border-color: var(--teal); }
.task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: start; }
.task-column { border-radius: 18px; background: #edf0ec; padding: 13px; min-height: 260px; }
.task-column-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 13px; }
.task-column-header h3 { font-size: .86rem; }
.task-column-header span { background: rgba(255,255,255,.8); border-radius: 999px; min-width: 25px; height: 25px; padding: 0 7px; display: grid; place-items: center; font-size: .7rem; font-weight: 850; }
.task-stack { display: grid; gap: 10px; }
.task-card { border-radius: 14px; background: white; padding: 15px; border: 1px solid rgba(206,220,215,.85); box-shadow: 0 4px 12px rgba(25,56,59,.04); }
.task-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.priority { text-transform: uppercase; letter-spacing: .07em; font-size: .59rem; border-radius: 999px; padding: 5px 7px; font-weight: 900; }
.priority-alta { color: #a64f48; background: #fae9e6; }
.priority-media { color: #8b692a; background: var(--gold-soft); }
.priority-baixa { color: #3b7466; background: var(--mint); }
.task-card h4 { margin: 12px 0 14px; font-size: .87rem; line-height: 1.4; }
.task-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: .69rem; }
.owner { display: inline-flex; align-items: center; gap: 6px; }
.owner-initial { width: 24px; height: 24px; display: grid; place-items: center; background: var(--mint); border-radius: 8px; color: var(--teal); font-weight: 900; }
.task-card-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #edf1ef; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(13,42,44,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(660px, 100%); max-height: min(800px, 92vh); overflow: auto; border-radius: 23px; background: white; box-shadow: 0 30px 80px rgba(11,42,45,.28); padding: 25px; animation: modalIn .2s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.modal-header h2 { font-size: 1.9rem; }
.close-button { border: 0; width: 38px; height: 38px; border-radius: 12px; background: #eff2f0; color: var(--ink); font-size: 1.55rem; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 850; color: var(--ink); }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d5e0dd; border-radius: 11px; padding: 11px 12px; outline: none; color: var(--ink); background: white; }
.field textarea { min-height: 82px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(47,122,125,.11); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: .76rem; min-height: 18px; margin-top: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 80; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: .82rem; font-weight: 750; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.sync-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 22px; margin: 0 0 22px; border: 1px solid #c5e7e1; border-radius: 16px; background: #eefbf8; }
.sync-box strong { color: #165d57; }
.sync-box p { margin: 4px 0 0; font-size: .88rem; }
.sync-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.sync-form label { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; }
.sync-form input { min-width: 175px; padding: 10px; border: 1px solid #aacbc6; border-radius: 9px; font: inherit; }
.sync-form[hidden], #syncSignout[hidden] { display: none; }

footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; text-align: center; padding: 22px 18px 38px; }
.footer-button { border: 0; background: transparent; color: var(--teal-2); font-weight: 800; padding: 0; }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-side { flex-direction: column; }
  .hero-logo-card { width: 142px; height: 142px; flex-basis: 142px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .donation-grid { grid-template-columns: repeat(2, 1fr); }
  .finance-grid { grid-template-columns: 1fr; }
  .impact-numbers { grid-template-columns: repeat(2, 1fr); }
  .data-row { grid-template-columns: minmax(180px, 1.3fr) minmax(130px, .8fr) auto; }
  .data-row .contact-cell { display: none; }
}

@media (max-width: 720px) {
  .topbar { height: 68px; padding: 0 15px; }
  .brand small, .privacy-pill { display: none; }
  main { padding: 16px 13px 42px; }
  .hero { min-height: 0; padding: 26px 22px; border-radius: 22px; display: block; }
  .hero h1 { font-size: 2.65rem; }
  .impact-strip { grid-template-columns: 1fr; }
  .impact-strip article { min-height: 0; padding: 17px 18px; }
  .history-section, .events-section { padding-top: 54px; }
  .history-grid, .story-main, .events-grid { grid-template-columns: 1fr; }
  .story-main, .supporters-card, .records-card, .featured-event, .upcoming-event { grid-column: auto; }
  .supporters-list { grid-template-columns: 1fr 1fr; }
  .place-photo { min-height: 270px; }
  .impact-numbers { grid-template-columns: 1fr 1fr; gap: 9px; }
  .impact-numbers div { min-height: 72px; padding: 13px; }
  .event-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 180px 180px; }
  .gallery-photo.tall { grid-column: 1 / 3; grid-row: 1; }
  .gallery-photo:nth-child(4) { grid-column: 1 / 3; }
  .video-grid.christmas-videos { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid.single-video { grid-template-columns: 1fr; }
  .organizer-section { margin: 54px -2px 0; padding: 16px 11px 22px; border-radius: 22px; }
  .hero-side { margin-top: 25px; flex-direction: row; align-items: stretch; }
  .hero-logo-card { width: 142px; height: 142px; flex-basis: 142px; border-radius: 20px; }
  .countdown-card { margin-top: 0; width: 142px; min-width: 0; padding: 15px; text-align: left; }
  .countdown-card strong { font-size: 3.1rem; }
  .confetti-three { right: 12%; }
  .tabs { margin-top: 15px; justify-content: flex-start; position: sticky; top: 76px; z-index: 16; }
  .tab { flex: 0 0 auto; min-width: 112px; padding: 10px 12px; }
  .tab-icon { display: none; }
  .workspace { padding-top: 27px; }
  .section-heading { align-items: flex-start; }
  .section-heading .primary-button { flex: 0 0 auto; padding: 10px 12px; font-size: .78rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 15px; gap: 11px; }
  .stat-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .overall-progress { align-items: flex-start; gap: 22px; }
  .progress-ring { width: 104px; height: 104px; flex-basis: 104px; }
  .timeline-list { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; }
  .search-field { max-width: none; }
  .data-row { grid-template-columns: 1fr auto; gap: 11px; }
  .data-row .status-cell { grid-column: 1; }
  .row-actions { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; }
  .donation-grid { grid-template-columns: 1fr; }
  .donation-summary { grid-template-columns: auto 1fr; }
  .donation-summary small { grid-column: 1 / -1; }
  .receipt-row { grid-template-columns: 38px minmax(120px, 1fr) auto; }
  .receipt-row .row-actions { grid-column: 2 / -1; grid-row: 2; flex-direction: row; justify-content: flex-end; }
  .task-board { grid-template-columns: 1fr; }
  .task-column { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 430px) {
  .brand strong { font-size: .8rem; }
  .brand-logo { width: 42px; height: 42px; }
  .brand small { display: none; }
  .hero-side { gap: 10px; }
  .hero-logo-card, .countdown-card { width: 126px; flex-basis: 126px; }
  .hero-logo-card { height: 126px; }
  .impact-numbers { grid-template-columns: 1fr; }
  .supporters-list { grid-template-columns: 1fr; }
  .public-progress { grid-template-columns: 1fr; gap: 10px; }
  .event-actions > button { width: 100%; }
  .heading-actions { width: 100%; }
  .heading-actions > button { flex: 1; }
  .christmas-photo { height: 250px; }
  .christmas-caption { padding: 34px 14px 13px; }
  .christmas-caption span { font-size: .65rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid.christmas-videos, .video-grid.two-videos, .video-grid.single-video { grid-template-columns: 1fr; }
  .event-feature-photo { height: 250px; }
  .event-preview-cover { aspect-ratio: 4 / 3; margin-bottom: 16px; border-radius: 15px; }
  .event-preview-badge { top: 10px; left: 10px; padding: 6px 9px; }
  .event-preview-name { left: 13px; right: 13px; bottom: 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 14px 16px; }
  .card { padding: 18px; }
  .overall-progress { flex-direction: column; }
  .progress-legend { width: 100%; }
  .section-heading { display: grid; }
  .section-heading .primary-button { justify-self: start; }
  .modal { padding: 20px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
