/* साहू एकता मंच — डिज़ाइन (केसरिया + मैरून + क्रीम) */
/* hidden गुण हमेशा जीते — .lb{display:grid}, .chat{display:flex} आदि इसे न खोलें */
[hidden] { display: none !important; }
:root {
  --saffron: #e8730c;
  --saffron-d: #a84d06;
  --saffron-fill: #b45309;
  --maroon: #7a1f2b;
  --maroon-d: #5e151f;
  --gold: #c99a2e;
  --cream: #fffaf0;
  --ivory: #fdf4e3;
  --ink: #2a1a12;
  --ink-2: #6b5a4e;
  --line: #e7d8bf;
  --white: #fff;
  --green: #1f7a3d;
  --red: #b3261e;
  --wrap: 1180px;
  --rad: 14px;
  --rad-l: 22px;
  --shadow: 0 2px 10px rgba(80, 40, 10, 0.08);
  --shadow-l: 0 10px 30px rgba(80, 40, 10, 0.16);
  --sans: "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 0.4em; color: var(--maroon); }
h1 { font-size: clamp(1.7rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
p { margin: 0 0 0.8em; }
a { color: var(--maroon); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted, .note { color: var(--ink-2); }
.note { font-size: 0.85rem; }
.mono { font-family: ui-monospace, "Courier New", monospace; }
.center { text-align: center; }
.sub-h { margin-top: 28px; }
.skip { position: absolute; left: -9999px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--maroon); color: #fff; padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* बटन */
.btn, .b-donate {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--maroon);
  background: #fff; color: var(--maroon); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover, .b-donate:hover { transform: translateY(-1px); }
.btn--lg { padding: 12px 24px; font-size: 1.02rem; }
.btn--saffron, .b-donate { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.btn--saffron:hover, .b-donate:hover { background: var(--saffron-d); }
.btn--maroon { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-d); }
.btn--wa { background: #25d366; border-color: #1da851; color: #07321a; }
.btn--ghost { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.link { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ऊपरी पट्टी + हेडर */
.tb { background: var(--maroon-d); color: #f7e6cf; font-size: 0.82rem; }
.tb__in { display: flex; align-items: center; gap: 14px; min-height: 38px; flex-wrap: wrap; }
.tb a { color: #ffe9c9; text-decoration: none; }
.tb__lang { margin-left: auto; background: transparent; border: 1px solid #b58b63; color: #ffe9c9; border-radius: 999px; padding: 3px 12px; min-height: 28px; font: inherit; cursor: pointer; }
.soc { display: inline-flex; gap: 8px; }
.soc a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; }
.soc svg { width: 17px; height: 17px; }
@media (max-width: 640px) { .tb__mail { display: none; } }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 240, 0.97); border-bottom: 3px solid var(--gold); box-shadow: var(--shadow); }
.hdr__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); }
.emb { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #ffd98a; border: 2px solid var(--gold); font-family: var(--serif); font-size: 0.78rem; flex: none; }
.emb--sm { width: 34px; height: 34px; font-size: 0.6rem; display: inline-grid; vertical-align: middle; }
.logo__t { display: flex; flex-direction: column; line-height: 1.15; }
.logo__t b { font-family: var(--serif); font-size: 1.22rem; }
.logo__t small { color: var(--saffron-d); font-size: 0.72rem; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav .dd { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 11px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav .dd:hover { background: #f4e3c9; color: var(--maroon); }
.has { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 215px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad); box-shadow: var(--shadow-l); list-style: none; margin: 0; padding: 6px; z-index: 5; }
.has.is-open .sub { display: block; }
.sub a { width: 100%; }
.nav__lang { display: none; }
.nav__lang button { min-height: 44px; border: 1.5px solid var(--maroon); background: #fff; color: var(--maroon); border-radius: 999px; padding: 6px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.b-donate { padding: 9px 18px; }
.burger { display: none; width: 46px; height: 46px; font-size: 1.3rem; border: 1.5px solid var(--maroon); background: #fff; color: var(--maroon); border-radius: 12px; cursor: pointer; }
.scrim { display: none; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: var(--cream); padding: 76px 16px 24px; transform: translateX(105%); transition: transform 0.25s ease; overflow-y: auto; z-index: 45; box-shadow: var(--shadow-l); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav .dd { width: 100%; font-size: 1rem; }
  .sub { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; background: transparent; }
  .sub a { font-size: 0.93rem; color: var(--ink-2); }
  .nav__lang { display: block; margin-top: 10px; }
  .hdr.is-open .nav { transform: none; }
  .hdr.is-open .scrim { display: block; position: fixed; inset: 0; background: rgba(40, 20, 10, 0.45); z-index: 44; }
  .b-donate { margin-left: auto; }
}
@media (max-width: 480px) { .logo__t b { font-size: 1.05rem; } .b-donate { padding: 8px 13px; font-size: 0.9rem; } }

/* सूचना पट्टी */
.ticker { background: var(--saffron); color: #fff; }
.ticker__in { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.ticker__tag { background: #fff; color: var(--saffron-d); border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; white-space: nowrap; }
.ticker__txt { margin: 0; font-size: 0.9rem; flex: 1; }
.ticker__txt a { color: #fff; }
.ticker__x { background: none; border: 0; color: #fff; font-size: 1.05rem; width: 32px; height: 32px; cursor: pointer; }

/* हीरो */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(60, 14, 20, 0.92) 0%, rgba(90, 25, 25, 0.78) 45%, rgba(40, 20, 10, 0.5) 100%); }
.hero__in { display: grid; gap: 26px; padding: 56px 0 60px; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr); align-items: center; }
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35); }
.hero__sub { font-size: 1.04rem; max-width: 42ch; }
.hero__meta { font-size: 0.92rem; color: #ffdfb0; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: none; color: var(--saffron-d); font-weight: 600; margin: 0 0 6px; }
.eyebrow--light { color: #ffcf8d; }
.cd { background: rgba(255, 250, 240, 0.95); color: var(--ink); border-radius: var(--rad-l); padding: 16px; border: 2px solid var(--gold); box-shadow: var(--shadow-l); }
.cd__t { margin: 0 0 8px; font-weight: 600; color: var(--maroon); text-align: center; }
.cd__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.cd__row b { display: block; font-size: clamp(1.3rem, 4vw, 1.9rem); font-family: var(--serif); color: var(--saffron-d); }
.cd__row small { font-size: 0.72rem; color: var(--ink-2); }
@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; padding: 40px 0 44px; } }

/* विश्वास पट्टी */
.trust { background: var(--maroon); color: #ffeccd; padding: 26px 0; }
.trust__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: center; }
.trust__stats b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 4.6vw, 2.4rem); color: #ffc46b; }
.trust__stats span { font-size: 0.84rem; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.badges li { border: 1px solid #b2745a; border-radius: 999px; padding: 4px 14px; font-size: 0.82rem; }
@media (max-width: 620px) { .trust__stats { grid-template-columns: repeat(2, 1fr); } }

/* सेक्शन */
.sec { padding: 54px 0; }
.sec--tint { background: var(--ivory); border-block: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: 26px; }
.sec__sub { color: var(--ink-2); }
.prose p { max-width: 68ch; }

/* कार्ड व ग्रिड */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); padding: 20px; box-shadow: var(--shadow); }
.card__lab { font-weight: 700; color: var(--maroon); margin: 0 0 8px; font-size: 0.95rem; }
.card__ic { font-size: 1.7rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card--prog { border-top: 4px solid var(--saffron); }

/* परिचय */
.about { display: grid; gap: 24px; }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.leader { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); padding: 18px; box-shadow: var(--shadow); }
.leader__img { width: 104px; height: 128px; object-fit: cover; border-radius: 12px; border: 2px solid var(--gold); flex: none; }
.leader__rank { color: var(--saffron-d); font-weight: 600; font-size: 0.82rem; margin: 0; }
.leader__meta { font-size: 0.87rem; color: var(--ink-2); }
.leader h3 { margin: 2px 0 4px; }
.quote { font-family: var(--serif); color: var(--maroon); border-left: 3px solid var(--gold); padding-left: 12px; margin: 10px 0; }
.leader--pres { border-top: 4px solid var(--maroon); }
@media (max-width: 420px) { .leader { flex-direction: column; } .leader__img { width: 100%; height: 220px; } }

/* पदाधिकारी */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.people > div { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); padding: 18px; text-align: center; box-shadow: var(--shadow); }
.av { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); color: var(--maroon); font-family: var(--serif); font-size: 1.6rem; margin-bottom: 8px; }
.av--img { object-fit: cover; }
.role { font-size: 0.86rem; color: var(--ink-2); min-height: 2.4em; }

/* विवाह */
.vgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .vgrid { grid-template-columns: 1fr; } }
.tl { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--gold); }
.tl li { position: relative; padding: 0 0 18px 16px; }
.tl li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--saffron); border: 3px solid var(--cream); }
.tl__when { margin: 0; font-weight: 700; color: var(--maroon); }
.tl__what { color: var(--ink); }
.vside { display: grid; gap: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 7px; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.sides { margin-top: 22px; }
.side--k { border-left: 5px solid #a3245e; }
.side--g { border-left: 5px solid #1f5f8b; }

/* पंजीकरण हब */
.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.hub__c { display: grid; gap: 2px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--rad); padding: 14px; cursor: pointer; font: inherit; min-height: 88px; }
.hub__c span { font-size: 1.4rem; }
.hub__c b { color: var(--maroon); font-size: 1rem; }
.hub__c small { color: var(--ink-2); font-size: 0.8rem; }
.hub__c[aria-selected="true"] { border-color: var(--saffron); background: #fff6e8; box-shadow: var(--shadow); }
.fpanel { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); padding: 20px; box-shadow: var(--shadow); }
.fpanel__head { border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 16px; }
.fpanel__head h3 { margin: 0; }

/* फॉर्म */
.fgrid, .x-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.f, .x-f { display: grid; gap: 5px; font-size: 0.92rem; }
.f.wide, .x-f.wide, .wide { grid-column: 1 / -1; }
.f > span, .x-f > span, .x-f > [id^="lb-"] { font-weight: 600; color: var(--maroon); }
input, select, textarea { font: inherit; width: 100%; padding: 11px 12px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 22px; }
input:focus, select:focus, textarea:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px rgba(232, 115, 12, 0.18); }
.x-h { grid-column: 1 / -1; margin: 12px 0 0; font-family: var(--serif); font-size: 1.1rem; color: var(--maroon); border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.x-req { color: var(--red); }
.x-err { color: var(--red); font-size: 0.8rem; min-height: 1em; }
.x-check { display: flex !important; align-items: flex-start; gap: 10px; }
.x-check input { flex: none; margin-top: 3px; }
.x-dsel { display: flex; gap: 6px; }
.x-dsel select { padding: 10px 6px; }
.x-age { font-size: 0.8rem; color: var(--green); }
.out, .x-out { margin-top: 14px; }
.x-msg { color: var(--ink-2); }
.x-result { background: #f2fbf3; border: 1.5px solid #9ed3ab; border-radius: var(--rad); padding: 14px; }
.x-result.is-bad { background: #fdf2f1; border-color: #e3a6a1; }
.x-ok { font-weight: 700; color: var(--green); margin: 0 0 6px; }
.x-warn { color: #9a5b00; font-weight: 600; }
.x-loc, .x-loc [data-grp] { display: contents; }
.x-loc [data-grp][hidden], .x-f[hidden] { display: none !important; }
.x-sheet { border: 1.5px solid var(--line); border-radius: var(--rad); padding: 16px; margin-top: 12px; background: #fff; }
.x-sheet h3 { margin: 4px 0; text-align: center; color: var(--maroon); }
.x-sheet__top, .x-sheet__org, .x-sheet__ref, .x-sheet__foot { text-align: center; margin: 2px 0; font-size: 0.9rem; }
.x-sheet__body { display: flex; gap: 14px; align-items: flex-start; margin-top: 10px; }
.x-sheet dl { flex: 1; display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 4px 10px; margin: 0; }
.x-sheet dt { font-weight: 600; color: var(--maroon); }
.x-sheet dd { margin: 0; }
.x-sheet dt.x-sec { grid-column: 1 / -1; margin-top: 8px; border-bottom: 1px solid var(--line); }
.x-sheet__pics { display: grid; gap: 8px; width: 120px; }
.x-sheet__pics img { width: 100%; border-radius: 8px; }

/* बायोडाटा / सेवा पूर्वावलोकन */
.bio, .svc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr); gap: 20px; align-items: start; }
.svc--one { grid-template-columns: 1fr; }
@media (max-width: 900px) { .bio, .svc { grid-template-columns: 1fr; } }
.bio__prev canvas, .svc__prev canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--rad); background: #fff; }
.vform { display: flex; gap: 10px; flex-wrap: wrap; max-width: 620px; }
.vform input { flex: 1 1 240px; }

/* जनगणना सदस्य कार्ड */
.mem { border: 1.5px solid var(--line); border-radius: var(--rad); padding: 14px; margin-bottom: 12px; background: var(--ivory); }
.mem__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.mem__top b { color: var(--maroon); }
.mem__x { background: #fff; border: 1.5px solid var(--red); color: var(--red); border-radius: 999px; min-height: 36px; padding: 4px 12px; cursor: pointer; font: inherit; }
.totals { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.totals span { background: var(--maroon); color: #ffe9c9; border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; }

/* सूचनाएँ */
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notices li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--rad); padding: 14px 16px; }
.notices time { color: var(--ink-2); font-size: 0.82rem; }
.notices b { display: block; color: var(--maroon); font-family: var(--serif); font-size: 1.05rem; }

/* सहयोगी */
.donors { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.dchip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.dchip .av { width: 42px; height: 42px; font-size: 1rem; margin: 0; }
.dchip img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.dchip b { display: block; font-size: 0.92rem; }
.dchip small { color: var(--ink-2); }
.transp { margin-top: 24px; background: #fff; border: 2px dashed var(--gold); border-radius: var(--rad-l); padding: 18px; }

/* दान */
.donate { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.amts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.amt { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; min-height: 44px; padding: 8px 16px; font: inherit; cursor: pointer; }
.amt[aria-pressed="true"] { background: var(--saffron); border-color: var(--saffron); color: #fff; font-weight: 600; }
.upi { display: flex; gap: 14px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.upi canvas { width: 160px; height: 160px; border: 1px solid var(--line); border-radius: 10px; }
.kv { margin: 0; }
.kv .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

/* गैलरी */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { padding: 0; border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; background: #fff; cursor: pointer; }
.tile img { width: 100%; height: 170px; object-fit: cover; }
.tile small { display: block; padding: 8px; font-size: 0.82rem; color: var(--ink-2); }
.soon { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; background: #fff; border: 2px dashed var(--gold); border-radius: var(--rad-l); padding: 20px; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.vids iframe, .vids video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--rad); }
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(25, 10, 5, 0.92); display: grid; place-content: center; gap: 12px; padding: 20px; }
.lb__media img { max-width: min(92vw, 1000px); max-height: 74vh; object-fit: contain; border-radius: var(--rad); }
.lb__cap, .lb .btn { justify-self: center; color: #fff; }
.lb__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }

/* संपर्क व फुटर */
.phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.socrow { display: flex; flex-wrap: wrap; gap: 8px; }
.socbtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; font-size: 0.88rem; }
.socbtn svg { width: 17px; height: 17px; }
.cta { background: linear-gradient(120deg, var(--maroon) 0%, var(--saffron-d) 100%); color: #fff; padding: 40px 0; }
.cta h2 { color: #fff; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: 18px; align-items: center; }
.cta__bank { font-size: 0.85rem; color: #ffdfb0; }
@media (max-width: 760px) { .cta__in { grid-template-columns: 1fr; } }
.foot { background: #2e1013; color: #e9d6bb; padding: 36px 0 16px; }
.foot h3, .foot__h { font-weight: 700; color: #ffc46b; margin: 0 0 10px; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.foot__brand b { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.foot__slogan { font-family: var(--serif); color: #ffc46b; }
.foot__links { list-style: none; margin: 0; padding: 0; }
.foot__links a { color: #e9d6bb; text-decoration: none; display: inline-block; min-height: 32px; }
.foot__links a:hover { color: #fff; text-decoration: underline; }
.foot .soc a { color: #ffc46b; }
.foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #553036; margin-top: 24px; padding-top: 12px; font-size: 0.8rem; }
.foot__adm a { color: #c9a98c; }

/* तैरते बटन व चैट */
.float-wa, .float-chat { position: fixed; bottom: 18px; z-index: 50; box-shadow: var(--shadow-l); }
.float-wa { right: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #07321a; display: grid; place-items: center; }
.float-wa svg { width: 30px; height: 30px; }
.float-chat { left: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--maroon); color: #ffe9c9; border: 2px solid var(--gold); font: inherit; font-weight: 600; cursor: pointer; }
.chat { position: fixed; left: 12px; bottom: 76px; z-index: 55; width: min(94vw, 370px); max-height: min(74vh, 560px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); box-shadow: var(--shadow-l); overflow: hidden; }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--maroon); color: #ffe9c9; padding: 10px 14px; }
.chat__x { background: none; border: 0; color: #ffe9c9; font-size: 1rem; width: 36px; height: 36px; cursor: pointer; }
.chat__log { flex: 1; overflow-y: auto; padding: 12px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 0.92rem; }
.msg--bot { background: var(--ivory); border: 1px solid var(--line); justify-self: start; }
.msg--me { background: var(--saffron); color: #fff; justify-self: end; }
.msg .btn { margin-top: 8px; min-height: 38px; padding: 5px 14px; font-size: 0.85rem; }
.chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid var(--line); }
.chat__chips button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; min-height: 36px; font: inherit; font-size: 0.82rem; cursor: pointer; }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
@media (max-width: 420px) { .float-chat span:last-child { display: none; } }

/* टोस्ट, प्रिंट */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 90; background: var(--maroon); color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-l); font-size: 0.9rem; }
.printbox { display: none; }
.sheet { background: #fff; color: #000; padding: 18px; border: 2px solid var(--maroon); border-radius: var(--rad); margin-top: 12px; }
.sheet__top { text-align: center; color: var(--maroon); font-family: var(--serif); margin: 0; }
.sheet h3 { text-align: center; margin: 6px 0; }
.sheet__org, .sheet__ref, .sheet__foot { text-align: center; font-size: 0.85rem; }
.sheet dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 12px; margin: 12px 0; }
.sheet dt { font-weight: 600; color: var(--maroon); }
.sheet dd { margin: 0; }
.sheet .sec-row { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-top: 8px; }
.sheet__pics { display: flex; gap: 10px; flex-wrap: wrap; }
.sheet__pics img { width: 110px; border: 1px solid var(--line); border-radius: 8px; }
@media print {
  body > *:not(.printbox) { display: none !important; }
  .printbox { display: block !important; }
  .printbox img { max-width: 100%; }
}

/* एडमिन ओवरले */
.adm { position: fixed; inset: 0; z-index: 80; background: var(--cream); overflow-y: auto; }
.adm__bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--maroon); color: #ffe9c9; padding: 10px 14px; flex-wrap: wrap; }
.adm__bar b { font-family: var(--serif); font-size: 1.1rem; }
.adm__bar .btn { background: transparent; border-color: #d8a97a; color: #ffe9c9; min-height: 40px; }
.adm__bar .spacer { flex: 1; }
.adm__in { padding: 16px; max-width: 1240px; margin-inline: auto; }
.adm__tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
.adm__tabs button { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 40px; font: inherit; font-size: 0.88rem; cursor: pointer; }
.adm__tabs button[aria-selected="true"] { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.adm__pane { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l); padding: 18px; margin-top: 12px; }
.login { max-width: 380px; margin: 8px auto; }
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.count { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--rad); padding: 12px; text-align: center; }
.count b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--maroon); }
.count small { color: var(--ink-2); }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tbl th { color: var(--maroon); white-space: nowrap; }
.tbl tbody th small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.78rem; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 0.78rem; border: 1px solid var(--line); }
.pill--ok { background: #e8f7ec; color: var(--green); border-color: #9ed3ab; }
.pill--no { background: #fdeceb; color: var(--red); border-color: #e3a6a1; }
.pill--del { background: #eee; color: #555; }
.bars { display: grid; gap: 6px; }
.bars svg { width: 100%; height: auto; }
.stub { background: var(--ivory); border: 2px dashed var(--gold); border-radius: var(--rad-l); padding: 26px; text-align: center; color: var(--ink-2); }
.stub b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--maroon); }
.det { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.det img { max-width: 220px; border: 1px solid var(--line); border-radius: 10px; }
.adm__who { font-size: 0.85rem; opacity: 0.9; }
.adm__wrap { display: grid; grid-template-columns: 220px 1fr; align-items: start; }
.adm__menu { position: sticky; top: 62px; display: grid; gap: 4px; padding: 16px 0 16px 14px; }
.adm__menu button { text-align: left; border: 1.5px solid transparent; background: transparent; border-radius: var(--rad); padding: 10px 12px; min-height: 44px; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.adm__menu button:hover { background: var(--ivory); }
.adm__menu button[aria-selected="true"] { background: var(--maroon); color: #fff; }
.adm__wrap .adm__in { min-width: 0; width: 100%; }
.adm__wrap .adm__pane { margin-top: 0; }
.adm__h { margin: 0 0 8px; font-family: var(--serif); color: var(--maroon); }
.adm__count { font: inherit; cursor: pointer; }
.adm__count:hover { border-color: var(--gold); }
.adm__q { grid-column: 1 / -1; }
.adm__filters .x-f select, .adm__filters .x-f input { width: 100%; min-height: 44px; }
.adm__tools { align-items: center; margin-bottom: 10px; }
.adm__n { font-weight: 600; color: var(--maroon); margin-right: auto; }
.adm__cards { display: none; gap: 8px; }
.adm__card { display: grid; gap: 2px; text-align: left; width: 100%; font: inherit; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--rad); padding: 12px; min-height: 44px; cursor: pointer; color: var(--ink); }
.adm__card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.adm__card small { color: var(--ink-2); }
.adm__drawer { position: fixed; inset: 0; z-index: 90; }
.adm__scrim { position: absolute; inset: 0; background: rgba(30, 10, 5, 0.45); }
.adm__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--cream); overflow-y: auto; padding: 0 16px 24px; box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2); }
.adm__panel-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--cream); padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm__panel-head .spacer { flex: 1; }
.adm__acts { margin: 12px 0; }
.adm__note textarea { width: 100%; }
.adm__pics figure { margin: 0; }
@media (max-width: 899px) {
  .adm__wrap { display: block; padding-bottom: 72px; }
  .adm__menu { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 4; display: flex; overflow-x: auto; gap: 4px; padding: 6px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08); }
  .adm__menu button { white-space: nowrap; flex: none; }
  .adm__wrap .adm__in { padding: 10px; }
  .adm__wrap .adm__pane { padding: 12px; }
}
@media (max-width: 759px) {
  .adm__desk { display: none; }
  .adm__cards { display: grid; }
}
.outbox-note { background: #fff6e8; border: 1.5px solid var(--saffron); border-radius: var(--rad); padding: 10px 14px; margin-bottom: 14px; font-size: 0.9rem; }

/* ===== पठनीयता: सफ़ेद पाठ वाले भराव गहरे केसरिया में (4.5:1), गहरी पृष्ठभूमि ===== */
.btn--saffron, .b-donate, .amt[aria-pressed="true"], .ticker, .msg--me { background: var(--saffron-fill); border-color: var(--saffron-fill); }
.btn--saffron:hover, .b-donate:hover { background: var(--saffron-d); }
.ticker__tag { color: var(--saffron-d); }
.hero { background-color: #3c0e14; }
.btn--ghost { background: rgba(0, 0, 0, 0.28); }
.cta { background-color: var(--maroon); }
.logo__t small, .cd__row small { font-size: 0.78rem; }
.emb--sm { width: 44px; height: 44px; font-size: 0.75rem; }

/* ===== फ़ोन पर हर टैप लक्ष्य कम से कम 44px ===== */
@media (max-width: 1079px) {
  .skip:focus { min-height: 44px; display: inline-flex; align-items: center; }
  .tb a, .tb__lang, .soc a, .link, .tab, .foot__links a, .foot__adm a, .socbtn, .chat__x, .chat__chips button, #k-mail, #k-web {
    min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
  }
  .soc a, .chat__x { justify-content: center; }
  .tb__lang { padding: 0 14px; }
  .phones .link { width: 100%; }
}

/* ===== बिरादरी जनगणना (app-census.js) ===== */
.x-mems { display: grid; gap: 12px; margin-top: 10px; }
.x-mem { margin: 0; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--rad); background: var(--ivory); padding: 12px; }
.x-mem[data-head] { border-color: var(--gold); }
.x-mem__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.x-mem__t { margin: 0; font-weight: 700; color: var(--maroon); }
.x-mem__del { min-height: 44px; color: #b42318; border-color: #e3a6a1; }
.x-mgrid { display: grid; grid-template-columns: 1fr; gap: 10px 12px; }
@media (min-width: 480px) { .x-mgrid { grid-template-columns: 1fr 1fr; } }
.x-mgrid .x-f input, .x-mgrid .x-f select { min-height: 44px; }
.x-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.x-tot { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 14px 0 8px; padding: 8px 10px; background: var(--maroon); color: #fff; border-radius: var(--rad); box-shadow: 0 -4px 14px rgba(42, 26, 18, 0.18); }
.x-tot p { margin: 0; display: grid; justify-items: center; line-height: 1.15; }
.x-tot b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.x-tot span { font-size: 0.78rem; opacity: 0.92; }
.x-mem .x-mem__no { color: var(--saffron-d); }

/* ===== सत्यापन कार्ड (app-services.js) ===== */
.x-vf { border: 2px solid #9ed3ab; background: #f2fbf3; border-radius: var(--rad-l); padding: 16px; max-width: 720px; }
.x-vf--warn { border-color: #e9b45c; background: #fff6e5; }
.x-vf--bad { border-color: #e3a6a1; background: #fdf2f1; }
.x-vf__st { margin: 0 0 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--green); }
.x-vf--warn .x-vf__st { color: #9a5b00; }
.x-vf--bad .x-vf__st { color: var(--red); }
.x-vf__body { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.x-vf__pics { display: flex; gap: 10px; flex-wrap: wrap; }
.x-vf__pics figure { margin: 0; text-align: center; font-size: 0.8rem; color: var(--ink-2); }
.x-vf__pics img { width: 110px; height: 132px; object-fit: cover; border-radius: 10px; border: 2px solid var(--gold); background: #fff; }
.x-vf dl { flex: 1; min-width: 220px; display: grid; grid-template-columns: minmax(100px, 36%) 1fr; gap: 4px 12px; margin: 0; }
.x-vf dt { font-weight: 600; color: var(--maroon); }
.x-vf dd { margin: 0; overflow-wrap: anywhere; }
.x-vf__foot { margin: 12px 0 0; font-size: 0.82rem; color: var(--ink-2); }
.x-idc canvas { width: 100%; max-width: 520px; height: auto; border: 1px solid var(--line); border-radius: var(--rad); background: #fff; }

/* ===== एडमिन: सदस्य व ID कार्ड (app-admin4.js) ===== */
.x-a4-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 10px; }
.x-a4-bar .x-f input, .x-a4-bar .x-f select { width: 100%; min-height: 44px; }
.x-a4-q { grid-column: 1 / -1; }
.x-a4-list { display: grid; gap: 8px; }
.x-a4-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--rad); padding: 12px; }
.x-a4-row b { color: var(--ink); }
.x-a4-row small { display: block; color: var(--ink-2); }
.x-a4-no { font-weight: 700; color: var(--maroon); font-variant-numeric: tabular-nums; }
.x-a4-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.x-a4-acts .btn { min-height: 44px; }
.pill--warn { background: #fff3dc; color: #9a5b00; border-color: #e9b45c; }
.x-a4-form .x-f input, .x-a4-form .x-f select, .x-a4-form .x-f textarea { width: 100%; min-height: 44px; }
.x-a4-ph { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.x-a4-ph img { width: 80px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 560px) { .x-a4-row { grid-template-columns: 1fr; } .x-a4-acts { justify-content: flex-start; } }

/* app-admin5.js — विवाह प्रमाण पत्र व दान रसीद */
.x-a5-tot { font-weight: 700; color: var(--maroon); }
.x-a5-pick { display: grid; gap: 8px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--rad); padding: 12px; margin-bottom: 12px; }
.x-a5-pick input, .x-a5-pick select { width: 100%; min-height: 44px; }
.x-a5-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.x-a5-chk { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.x-a5-chk input { width: 20px; height: 20px; }
.x-a5-cv canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--rad); background: #fff; display: block; }
.x-a5-cv { margin: 12px 0; }
.x-a5-cv--cert canvas { max-width: 460px; margin-inline: auto; }
.x-a5-dash h3 { margin: 6px 0 8px; }
