:root { --bg:#F4F5F7; --card:#FFFFFF; --ink:#16202E; --muted:#4A5563; --soft:#5A6472; --line:#E1E4E9; --accent:#1F4E8C; }
* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 Inter, system-ui, sans-serif; }
.he { font-family: 'Frank Ruhl Libre', serif; }
.wrap { max-width: 860px; margin: 0 auto; padding: 36px 16px 64px; display: flex; flex-direction: column; gap: 36px; }
.wrap.narrow { max-width: 620px; align-items: center; text-align: center; gap: 32px; }

.band { background: var(--accent); color: #FFFFFF; }
.band-inner { max-width: 860px; margin: 0 auto; padding: 18px 16px 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.band.small .band-inner { padding-bottom: 22px; }
.bsd { align-self: flex-end; font-size: 15px; color: #C9D6EA; }
.shul { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #E7C98F; }
h1 { margin: 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 42px; line-height: 1.1; font-weight: 700; }
.band h1 { font-family: 'Frank Ruhl Libre', serif; font-size: 46px; }
.year { font-size: 28px; font-weight: 700; color: #FFFFFF; }
.prices { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: #DCE6F3; }
.notice { text-align: center; color: var(--soft); margin: 0; }
.notice.error { color: #9B1C1C; }

.month { display: flex; flex-direction: column; gap: 12px; }
.month-head { display: flex; align-items: center; gap: 16px; padding: 4px 0; }
.ornament { flex: 1; display: flex; align-items: center; gap: 8px; }
.ornament span { flex: 1; height: 1px; background: #CDB98F; }
.ornament i { width: 7px; height: 7px; transform: rotate(45deg); background: #CDB98F; }
.month-head h2 { margin: 0; font-family: 'Frank Ruhl Libre', serif; font-size: 30px; font-weight: 700; }
.month-head .he { font-size: 32px; font-weight: 700; }

.week { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.week.past { opacity: .55; }
.when { width: 150px; flex: none; display: flex; flex-direction: column; gap: 2px; }
.parsha { font-size: 24px; font-weight: 700; text-align: left; }
.hdate { font-size: 21px; font-weight: 500; color: #3D4652; text-align: left; }
.info { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; font-weight: 600; color: #7A3D06; background: #FDF1E3; border-radius: 999px; padding: 3px 10px; }
.tag.chabad { color: #1F3F6E; background: #E6EEF8; }
.sponsor .name { font-size: 16px; font-weight: 600; }
.sponsor .reason { font-size: 15px; color: var(--muted); font-style: italic; }
.status { font-size: 15px; font-weight: 600; }
.status.open { color: var(--accent); }
.status.half { color: #9A4A07; }
.actions { display: flex; flex-direction: column; gap: 8px; width: 190px; }
@media (max-width: 560px) { .actions { width: 100%; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--accent); background: #fff; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn:hover { filter: brightness(0.95); }

.foot { margin: 0; text-align: center; font-size: 15px; color: var(--soft); }

.center { text-align: center; }
.thanks-card { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 44px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.thanks-card h1 { font-size: 36px; }
.thanks-card p { margin: 0; font-size: 16px; line-height: 1.55; color: #3D4652; max-width: 460px; }
.check { width: 64px; height: 64px; border-radius: 999px; background: #E3F1E8; display: flex; align-items: center; justify-content: center; }
.blessing { font-size: 24px; color: #3D4652; }
.choice { width: 100%; background: var(--bg); border-radius: 12px; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; text-align: left; }
.choice .amount { font-weight: 600; }
