/* Hirnoda Gram Portal — works with any theme, tuned for Hirnoda Neel */
.hgp-portal, .hgp-share, .hgp-list, .hgp-stats, .hgp-single, .hgp-people, .hgp-filters, .hgp-faq, .hisab, .gov, .mc, .hb, .hb-single, .hb-manage, .bd, .hp {
  --p-neel: var(--hn-neel, #1F3A68);
  --p-neel-soft: var(--hn-neel-soft, #e7ecf5);
  --p-haldi: var(--hn-haldi, #E8A317);
  --p-haldi-soft: var(--hn-haldi-soft, #fdf3dc);
  --p-mehndi: var(--hn-mehndi, #3F7D3A);
  --p-sindoor: var(--hn-sindoor, #C23B22);
  --p-ink: var(--hn-ink, #1B1B1F);
  --p-muted: var(--hn-muted, #5b6474);
  --p-line: var(--hn-line, #d9dee8);
  --p-paper: var(--hn-paper, #ffffff);
  --p-r: 14px;
}
.hgp-sr, .hgp-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.hgp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .55em 1.3em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background-color .15s, color .15s, border-color .15s; }
.hgp-btn--primary { background: var(--p-neel); color: #fff !important; }
.hgp-btn--primary:hover { background: #152a4d; }
.hgp-btn--ghost { background: transparent; border-color: var(--p-neel); color: var(--p-neel) !important; }
.hgp-btn--ghost:hover { background: var(--p-neel-soft); }
.hgp-btn--wa { background: #1f9d55; color: #fff !important; }
.hgp-btn--wa:hover { background: #17834a; }
.hgp-btn:disabled { opacity: .6; cursor: progress; }
.hgp-btn:focus-visible, .hgp-share__btn:focus-visible, .hgp-chip input:focus-visible + span, .hgp-seg__opt input:focus-visible + span { outline: 3px solid var(--p-haldi); outline-offset: 2px; }

/* ---------- form ---------- */
.hgp-portal { margin: 1.5rem 0 2.5rem; }
.hgp-form { display: grid; gap: 1.25rem; }
.hgp-step { margin: 0; padding: 1.25rem 1.25rem 1.4rem; border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-paper); min-width: 0; }
.hgp-step legend { display: flex; align-items: center; gap: .6rem; padding: 0 .4rem; font-size: 1.15rem; font-weight: 700; color: var(--p-neel); }
.hgp-step__n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--p-haldi); color: var(--p-ink); font-size: 1rem; }
.hgp-field { display: grid; gap: .4rem; margin-top: 1rem; }
.hgp-label { font-weight: 600; color: var(--p-ink); }
.hgp-label b { color: var(--p-sindoor); }
.hgp-label small, .hgp-help, .hgp-fine { color: var(--p-muted); font-weight: 400; font-size: .9rem; }
.hgp-help { justify-self: end; }
.hgp-form input[type=text], .hgp-form input[type=tel], .hgp-form input[type=email], .hgp-form input[type=search], .hgp-form select, .hgp-form textarea,
.hgp-filters input, .hgp-filters select, .hgp-refcheck input {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: .6rem .85rem; border: 1.5px solid var(--p-line); border-radius: 10px; background: #fff; color: var(--p-ink); font: inherit; font-size: 1.02rem;
}
.hgp-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.hgp-form input:focus, .hgp-form select:focus, .hgp-form textarea:focus, .hgp-filters input:focus, .hgp-filters select:focus { outline: none; border-color: var(--p-neel); box-shadow: 0 0 0 3px rgba(31,58,104,.15); }
.hgp-grid2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.hgp-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--p-neel-soft); margin-top: .5rem; }
.hgp-seg__opt input, .hgp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hgp-seg__opt span { display: block; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; color: var(--p-neel); cursor: pointer; }
.hgp-seg__opt input:checked + span { background: var(--p-neel); color: #fff; }
.hgp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hgp-chip { position: relative; }
.hgp-chip span { display: block; padding: .45rem .95rem; border: 1.5px solid var(--p-line); border-radius: 999px; cursor: pointer; background: #fff; }
.hgp-chip input:checked + span { border-color: var(--p-neel); background: var(--p-neel); color: #fff; }

.hgp-drop { position: relative; display: grid; place-items: center; min-height: 92px; border: 2px dashed var(--p-line); border-radius: 12px; background: #fafbfd; cursor: pointer; text-align: center; padding: 1rem; }
.hgp-drop:hover { border-color: var(--p-neel); }
.hgp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hgp-drop__txt { font-weight: 600; color: var(--p-neel); }
.hgp-drop__txt::before { content: "+"; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .5rem; border-radius: 50%; background: var(--p-haldi); color: var(--p-ink); font-weight: 800; }
.is-busy { opacity: .6; pointer-events: none; }
.hgp-previews { display: flex; flex-wrap: wrap; gap: .6rem; }
.hgp-prev { position: relative; margin: 0; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; }
.hgp-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hgp-prev button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.hgp-selfie__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hgp-selfie__ph { width: 92px; height: 92px; border-radius: 50%; background: var(--p-neel-soft) center/cover no-repeat; border: 3px solid var(--p-haldi); position: relative; }
.hgp-selfie__ph:not(.has-img)::after { content: ""; position: absolute; inset: 22px 28px 30px; border-radius: 50% 50% 40% 40%; background: rgba(31,58,104,.25); }
.hgp-selfie label.hgp-btn { position: relative; }

.hgp-check { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; cursor: pointer; line-height: 1.55; }
.hgp-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; flex: none; accent-color: var(--p-neel); }
.hgp-check--private { padding: .9rem 1rem; border-radius: 12px; background: var(--p-neel-soft); }
.hgp-consent { padding: 1rem 1.1rem; border-radius: 12px; background: var(--p-haldi-soft); border: 1px solid #f1d58c; margin-top: .5rem; }
.hgp-consent__list { display: grid; gap: .45rem; margin-top: .5rem; }
.hgp-consent__list span { position: relative; padding-left: 1.1rem; }
.hgp-consent__list span::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--p-haldi); }
.hgp-error { padding: .85rem 1rem; border-radius: 10px; background: #fdecea; color: #8a1c0f; font-weight: 600; border: 1px solid #f5c2bb; }
.hgp-submit { width: 100%; min-height: 56px; font-size: 1.15rem; }
.hgp-notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1rem; }
.hgp-notice--ok { background: #e9f5e7; border: 1px solid #b9dcb3; color: #1e4d1b; }

/* ---------- success + card ---------- */
.hgp-success { border: 1px solid var(--p-line); border-radius: var(--p-r); padding: 1.4rem; background: var(--p-paper); }
.hgp-success__head h3 { margin: 0 0 .4rem; color: var(--p-mehndi); font-size: 1.5rem; }
.hgp-card-wrap { margin: 1.2rem auto; max-width: 420px; }
.hgp-card { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 10px 30px rgba(21,42,77,.18); }
.hgp-card-toggle { justify-content: center; }
.hgp-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1rem; }

/* ---------- share ---------- */
.hgp-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 2rem 0; padding: 1rem 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.hgp-share__label { font-weight: 700; color: var(--p-neel); }
.hgp-share__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.hgp-share__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid var(--p-line); background: #fff; color: var(--p-ink) !important; font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.hgp-share__btn:hover { border-color: currentColor; }
.hgp-share__btn--wa { color: #128c4b !important; }
.hgp-share__btn--fb { color: #1877f2 !important; }
.hgp-share__btn--tg { color: #229ed9 !important; }
.hgp-share__btn--x, .hgp-share__btn--copy, .hgp-share__btn--native { color: var(--p-ink) !important; }
.hgp-share__btn span { color: var(--p-ink); }
.hgp-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 9999; padding: .7rem 1.2rem; border-radius: 999px; background: var(--hn-ink, #1B1B1F); color: #fff; font-weight: 600; transition: opacity .2s, transform .2s; }
.hgp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- stats + list ---------- */
.hgp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border: 1px solid var(--p-line); border-radius: var(--p-r); overflow: hidden; background: var(--p-paper); margin: 1.2rem 0; }
.hgp-stat { padding: 1rem 1.1rem; border-right: 1px solid var(--p-line); display: grid; gap: .1rem; }
.hgp-stat:last-child { border-right: 0; }
.hgp-stat__n { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.hgp-stat__l { font-size: .92rem; color: var(--p-muted); }
.hgp-stat--total { background: var(--p-neel); }
.hgp-stat--total .hgp-stat__n, .hgp-stat--total .hgp-stat__l { color: #fff; }
.hgp-stat--progress .hgp-stat__n { color: #9a6a00; }
.hgp-stat--resolved .hgp-stat__n { color: var(--p-mehndi); }

.hgp-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .7rem; margin: 1rem 0 1.4rem; padding: 1rem; border-radius: var(--p-r); background: var(--p-neel-soft); }
.hgp-filters label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 600; color: var(--p-neel); min-width: 150px; flex: 1 1 150px; }
.hgp-filters .hgp-grow { flex: 3 1 220px; }
.hgp-filters .hgp-btn { min-height: 48px; }

.hgp-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hgp-item { display: flex; flex-direction: column; background: var(--p-paper); border: 1px solid var(--p-line); border-radius: var(--p-r); overflow: hidden; border-top: 5px solid var(--p-neel); }
.hgp-item--progress { border-top-color: var(--p-haldi); }
.hgp-item--resolved { border-top-color: var(--p-mehndi); }
.hgp-item--closed { border-top-color: #9aa3b2; }
.hgp-item__media img { display: block; width: 100%; height: 170px; object-fit: cover; }
.hgp-item__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.hgp-item__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.hgp-item__title { margin: 0; font-size: 1.15rem; line-height: 1.4; }
.hgp-item__title a { color: var(--p-ink); text-decoration: none; }
.hgp-item__title a:hover { color: var(--p-neel); text-decoration: underline; }
.hgp-item__text { margin: 0; color: #3b4352; font-size: .97rem; }
.hgp-item__foot { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; font-size: .88rem; color: var(--p-muted); padding-top: .5rem; border-top: 1px dashed var(--p-line); }
.hgp-item__sup { font-weight: 700; color: var(--p-neel); white-space: nowrap; }
.hgp-badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--p-neel-soft); color: var(--p-neel); }
.hgp-badge--progress { background: var(--p-haldi-soft); color: #8a5d00; }
.hgp-badge--resolved { background: #e3f1e1; color: #2d5f29; }
.hgp-badge--closed { background: #eceef2; color: #4b5260; }
.hgp-tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .82rem; background: #f2f3f6; color: #3b4352; }
.hgp-empty { padding: 1.2rem; border: 1px dashed var(--p-line); border-radius: var(--p-r); text-align: center; }
.hgp-pager { display: flex; gap: .4rem; justify-content: center; margin: 1.5rem 0; }
.hgp-pager a, .hgp-pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--p-line); text-decoration: none; }
.hgp-pager span { background: var(--p-neel); color: #fff; border-color: var(--p-neel); }
.hgp-refcheck { margin: 2rem 0; border: 1px solid var(--p-line); border-radius: var(--p-r); padding: .8rem 1rem; background: var(--p-paper); }
.hgp-refcheck summary { cursor: pointer; font-weight: 700; color: var(--p-neel); }
.hgp-refcheck form { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-top: .8rem; }
.hgp-refcheck label { display: grid; gap: .25rem; flex: 1 1 180px; font-size: .9rem; font-weight: 600; }
.hgp-refcheck__out { flex-basis: 100%; margin: 0; font-weight: 600; }

/* ---------- single ---------- */
.hgp-single__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.hgp-person { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--p-r); background: var(--p-neel-soft); margin-bottom: 1.2rem; }
.hgp-person > div { display: grid; gap: .1rem; }
.hgp-person span { color: var(--p-muted); font-size: .95rem; }
.hgp-person__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--p-haldi); flex: none; }
.hgp-person__img--blank { display: grid; place-items: center; background: #fff; color: var(--p-neel); font-size: 1.8rem; font-weight: 800; }
.hgp-reveal { border: 0; background: none; padding: 0; color: var(--p-neel); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.hgp-photos { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 1.2rem 0; }
.hgp-photos img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; display: block; }
.hgp-support { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--p-line); border-radius: var(--p-r); }
.hgp-support__n { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .4rem; border-radius: 999px; background: var(--p-haldi); color: var(--p-ink); }
[data-support].is-done { background: var(--p-mehndi); }
.hgp-timeline h2 { font-size: 1.3rem; }
.hgp-timeline ol { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--p-line); }
.hgp-timeline li { position: relative; padding: 0 0 1.1rem .4rem; }
.hgp-timeline li::before { content: ""; position: absolute; left: -1.95rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--p-neel); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--p-neel); }
.hgp-timeline li.hgp-timeline--progress::before { background: var(--p-haldi); box-shadow: 0 0 0 2px var(--p-haldi); }
.hgp-timeline li.hgp-timeline--resolved::before { background: var(--p-mehndi); box-shadow: 0 0 0 2px var(--p-mehndi); }
.hgp-timeline li.is-next::before { background: #fff; box-shadow: 0 0 0 2px #9aa3b2; }
.hgp-timeline time { display: block; font-size: .88rem; color: var(--p-muted); }
.hgp-timeline li.is-next span { color: var(--p-muted); }

/* ---------- directory ---------- */
.hgp-count { color: var(--p-muted); font-weight: 600; }
.hgp-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hgp-person-card { display: flex; gap: .9rem; padding: 1rem; background: var(--p-paper); border: 1px solid var(--p-line); border-radius: var(--p-r); }
.hgp-person-card__img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--p-haldi); flex: none; }
.hgp-person-card__body { min-width: 0; display: grid; gap: .15rem; align-content: start; }
.hgp-person-card h3 { margin: 0; font-size: 1.1rem; }
.hgp-person-card p { margin: 0; font-size: .92rem; color: var(--p-muted); }
.hgp-person-card__occ { color: var(--p-neel) !important; font-weight: 600; }
.hgp-person-card__act { display: flex; gap: .4rem; margin-top: .45rem; flex-wrap: wrap; }
.hgp-mini { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none !important; }
.hgp-mini--call { background: var(--p-neel-soft); color: var(--p-neel) !important; }
.hgp-mini--wa { background: #dcf5e6; color: #13703d !important; }
.hgp-mini--map { background: var(--p-haldi-soft, #FDF3DC); color: #7A5200 !important; }
.hgp-person-card__img--ph { display: grid; place-items: center; background: var(--p-neel-soft); color: var(--p-neel); font-size: 2rem; font-weight: 700; line-height: 1; }

/* ---------- faq ---------- */
.hgp-faq { margin: 2.5rem 0 1rem; }
.hgp-faq details { border: 1px solid var(--p-line); border-radius: 12px; background: var(--p-paper); margin-bottom: .6rem; }
.hgp-faq summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; color: var(--p-ink); list-style: none; position: relative; padding-right: 2.6rem; }
.hgp-faq summary::-webkit-details-marker { display: none; }
.hgp-faq summary::after { content: "+"; position: absolute; right: 1rem; top: .65rem; font-size: 1.4rem; color: var(--p-neel); }
.hgp-faq details[open] summary::after { content: "−"; }
.hgp-faq__a { padding: 0 1.1rem .4rem; }

.hgp-lekh-list { padding-left: 1.2rem; }
.hgp-lekh-list li { margin-bottom: .4rem; }
.hgp-lekh-list span { color: var(--p-muted); }

@media print {
  .hgp-filters, .hgp-refcheck, .hgp-share, .hgp-pager, header, footer, nav { display: none !important; }
  .hgp-list { grid-template-columns: 1fr 1fr; }
  .hgp-item { break-inside: avoid; }
  .hgp-item__media { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hgp-toast, .hgp-btn { transition: none; } }

/* merged: ward tag, panchayat reply */
.hgp-tag--ward { background: var(--p-haldi-soft); color: #7a5200; font-weight: 700; }
.hgp-item__reply { margin: 0; padding: .55rem .7rem; border-radius: 10px; background: #e9f5e7; color: #1e4d1b; font-size: .92rem; line-height: 1.5; }
.hgp-reply { margin: 1.2rem 0; padding: 1rem 1.2rem; border-radius: var(--p-r); background: #e9f5e7; border: 1px solid #b9dcb3; color: #1e4d1b; }
.hgp-reply > strong { display: block; margin-bottom: .3rem; }
.hgp-reply p:last-child { margin-bottom: 0; }
.hgp-item[hidden] { display: none !important; }

/* ---------- मेरा हिरनोदा कार्ड ---------- */
.mc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.mc__form { display: grid; gap: .2rem; padding: 1.2rem; border: 1px solid var(--hn-line, #d9dee8); border-radius: 14px; background: #fff; }
.mc__form .hgp-field:first-child { margin-top: 0; }
.mc__form input[type=text], .mc__form select { width: 100%; box-sizing: border-box; min-height: 48px; padding: .6rem .85rem; border: 1.5px solid var(--hn-line, #d9dee8); border-radius: 10px; background: #fff; font: inherit; font-size: 1.02rem; }
.mc__form input[type=text]:focus, .mc__form select:focus { outline: none; border-color: var(--hn-neel, #1F3A68); box-shadow: 0 0 0 3px rgba(31,58,104,.15); }
.mc__quotes .hgp-chip span { font-size: .95rem; }
.mc__preview { position: sticky; top: 90px; }
.mc__canvas { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 16px 40px rgba(21,42,77,.22); }
@media (max-width: 860px) {
  .mc__grid { grid-template-columns: 1fr; }
  .mc__preview { position: static; width: 100%; max-width: 420px; margin: 0 auto; scroll-margin-top: 80px; }
}
.mc__intro { margin: 0 0 .4rem; font-weight: 600; color: var(--hn-neel, #1F3A68); }
.mc__go { margin-top: .6rem; width: 100%; justify-content: center; }
.mc__ready { display: none; margin: 0 0 .7rem; font-weight: 600; color: #1e6b34; text-align: center; }
@media (min-width: 861px) { .mc__go { display: none; } .mc__intro { display: none; } }
@media (max-width: 860px) { .mc__ready { display: block; } }
.entry-content > .mc { max-width: 64rem; }

/* ---------- सरकारी वेबसाइट ---------- */
.gov { --g: #1F3A68; margin: 1.5rem 0 2rem; }
.gov ul, .entry-content .gov ul { list-style: none; margin: 0; padding: 0; }
.entry-content .gov li { margin: 0; }
.gov__topsec[hidden] { display: none; }
.gov__title, .gov__st { font-size: 1.25rem; margin: 1.8rem 0 .8rem; color: var(--hn-ink, #1B1B1F); }
.gov__st { display: flex; align-items: center; gap: .55rem; }
.gov__st::before { content: ""; width: .8rem; height: .8rem; border-radius: 3px; background: var(--g); }
.gov__top { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.gov__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.gov__i { position: relative; background: #fff; border: 1px solid var(--hn-line, #d9dee8); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.gov__i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--g); }
.gov__a { display: flex; gap: .85rem; align-items: flex-start; padding: .95rem 1rem .9rem 1.15rem; color: inherit !important; text-decoration: none !important; flex: 1; }
.gov__a:hover .gov__n { color: var(--g); }
.gov__a:focus-visible { outline: 3px solid var(--hn-haldi, #E8A317); outline-offset: -3px; }
.gov__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--g); background: color-mix(in srgb, var(--g) 12%, #fff); }
.gov__tx { display: grid; gap: .15rem; min-width: 0; }
.gov__n { font-size: 1.05rem; line-height: 1.35; }
.gov__h { font-size: .8rem; color: var(--hn-muted, #5b6474); overflow-wrap: anywhere; }
.gov__d { font-size: .92rem; line-height: 1.55; color: #333a47; margin-top: .2rem; }
.gov__tel { align-self: flex-start; margin: 0 1rem .85rem 1.15rem; font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--hn-haldi-soft, #fdf3dc); color: #6b4a00 !important; text-decoration: none !important; }
.gov__i--big { border: 0; background: color-mix(in srgb, var(--g) 9%, #fff); }
.gov__i--big::before { display: none; }
.gov__i--big .gov__a { flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: .9rem .35rem; }
.gov__i--big .gov__ic { background: var(--g); color: #fff; width: 58px; height: 58px; border-radius: 50%; }
.gov__i--big .gov__n { font-size: .92rem; line-height: 1.3; }
.gov__i--big .gov__h { font-size: .72rem; }
.gov__bar { padding: .2rem 0 .4rem; margin-top: 1rem; }
.gov__search input { width: 100%; min-height: 50px; padding: .6rem 1rem; border: 2px solid var(--hn-neel, #1F3A68); border-radius: 999px; font: inherit; font-size: 1.05rem; background: #fff; }
.gov__cats { display: flex; gap: .45rem; overflow-x: auto; padding: .7rem 0 .2rem; scrollbar-width: none; }
.gov__cats::-webkit-scrollbar { display: none; }
.gov__cats button { flex: none; font: inherit; font-size: .9rem; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--hn-line, #d9dee8); background: #fff; cursor: pointer; color: inherit; }
.gov__cats button.is-on { background: var(--g, #1F3A68); border-color: var(--g, #1F3A68); color: #fff; }
.gov__cats button:focus-visible { outline: 3px solid var(--hn-haldi, #E8A317); outline-offset: 2px; }
.gov__warn { margin-top: 1.6rem; padding: .9rem 1.1rem; border-radius: 14px; background: #fdecea; color: #7a1d12; font-size: .95rem; }
.gov__none { padding: 1rem; text-align: center; color: var(--hn-muted, #5b6474); }
.gov__sec[hidden], .gov__i[hidden] { display: none; }
@media (max-width: 720px) {
  .gov__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .gov__i--big .gov__ic { width: 48px; height: 48px; }
  .gov__i--big .gov__n { font-size: .84rem; }
  .gov__list { grid-template-columns: 1fr; }
}

/* ---------- पंचायत का हिसाब ---------- */
.hisab { margin: 1.2rem 0 2rem; }
.hisab__id { display: inline-block; margin: 0 0 .4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--hn-neel-soft, #e7ecf5); color: var(--hn-neel, #1F3A68); font-weight: 700; font-size: .92rem; }
.hisab__asof { margin: .2rem 0 1rem; color: var(--hn-muted, #5b6474); font-size: .92rem; }
.hisab__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; }
.hisab__num { padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--hn-line, #d9dee8); display: grid; gap: .15rem; }
.hisab__num span { font-size: .92rem; color: var(--hn-muted, #5b6474); }
.hisab__num b { font-family: var(--hn-display, "Rozha One", serif); font-weight: 400; font-size: 2rem; line-height: 1.2; color: var(--hn-neel, #1F3A68); }
.hisab__num small { font-size: .85rem; color: var(--hn-muted, #5b6474); }
.hisab__num--bal { background: var(--hn-neel, #1F3A68); border-color: var(--hn-neel, #1F3A68); }
.hisab__num--bal span, .hisab__num--bal b { color: #fff; }
.hisab__key { display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--hn-muted, #5b6474); margin-bottom: .6rem; }
.hisab__key i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-left: .5rem; }
.k-in, .b-in { background: var(--hn-mehndi, #3F7D3A); }
.k-out, .b-out { background: var(--hn-haldi, #E8A317); }
.hisab__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.hisab__bars li { display: grid; gap: .25rem; }
.hisab__bn { font-weight: 700; }
.hisab__bar { position: relative; display: flex; align-items: center; gap: .5rem; height: 22px; }
.hisab__bar i { display: block; height: 100%; min-width: 3px; border-radius: 0 6px 6px 0; }
.hisab__bar em { font-style: normal; font-size: .85rem; white-space: nowrap; }
.hisab__tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.hisab__tbl th, .hisab__tbl td { padding: .65rem .9rem; border-bottom: 1px solid var(--hn-line, #d9dee8); text-align: left; font-weight: 400; }
.hisab__tbl td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hisab__tbl .is-total th, .hisab__tbl .is-total td { font-weight: 700; background: var(--hn-neel-soft, #e7ecf5); }
.hisab__filter { display: grid; gap: .5rem; margin-bottom: .8rem; }
.hisab__works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .7rem; }
.hisab__w { --s: var(--hn-haldi, #E8A317); padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--hn-line, #d9dee8); border-top: 4px solid var(--s); display: grid; gap: .3rem; align-content: start; }
.hisab__w.is-done { --s: var(--hn-mehndi, #3F7D3A); }
.hisab__w.is-planned { --s: #8a93a3; }
.hisab__w[hidden] { display: none; }
.hisab__ws { justify-self: start; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; color: #fff; background: var(--s); }
.hisab__wn { font-size: 1.02rem; line-height: 1.4; }
.hisab__wm, .hisab__wa { font-size: .85rem; color: var(--hn-muted, #5b6474); }
.hisab__wp { height: 8px; border-radius: 99px; background: #eef1f6; overflow: hidden; margin-top: .2rem; }
.hisab__wp i { display: block; height: 100%; background: var(--s); }
.hisab__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hisab__links .hgp-btn { min-height: 42px; font-size: .92rem; }
.hisab__empty { padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--hn-haldi-soft, #fdf3dc); }
.hisab__note { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 5px solid var(--hn-haldi, #E8A317); background: #fff; border-radius: 0 12px 12px 0; }
.hisab__fine { margin-top: 1.4rem; font-size: .88rem; color: var(--hn-muted, #5b6474); }
.entry-content .hisab ul { margin: 0; padding: 0; }
.entry-content .hisab li { margin: 0; }
@media (max-width: 720px) {
  .hisab__nums { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hisab__num--bal, .hisab__num:last-child:nth-child(even) { grid-column: 1 / -1; }
  .hisab__num { padding: .85rem .9rem; }
  .hisab__num b { font-size: 1.55rem; }
}

/* ---------- हिरनोदा बाज़ार ---------- */
.hb { margin: 1rem 0 2rem; }
.hb__top { display: grid; gap: .7rem; }
.hb__sell { justify-self: start; }
.hb__search input { width: 100%; min-height: 48px; padding: .5rem 1rem; border: 2px solid var(--p-neel); border-radius: 999px; font: inherit; background: #fff; }
.hb__cats { margin-top: .4rem; }
.hb__cats a { flex: none; font-size: .9rem; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--p-line); background: #fff; color: inherit; text-decoration: none; }
.hb__cats a.is-on { background: var(--p-neel); border-color: var(--p-neel); color: #fff; }
.hb__sort { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin: .5rem 0 .9rem; font-size: .9rem; color: var(--p-muted); }
.hb__sort select { font: inherit; padding: .3rem .5rem; border-radius: 8px; border: 1px solid var(--p-line); background: #fff; }
.entry-content .hb__grid, .hb__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.entry-content .hb__grid li { margin: 0; }
.hb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; }
.hb-card[hidden] { display: none; }
.hb-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--hn-neel-soft, #e7ecf5); }
.hb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-card__n { position: absolute; right: 8px; bottom: 8px; padding: .1rem .5rem; border-radius: 999px; background: rgba(21,42,77,.78); color: #fff; font-size: .75rem; }
.hb-card__sold { position: absolute; inset: auto 0 0 0; padding: .3rem; text-align: center; background: var(--hn-sindoor, #C23B22); color: #fff; font-weight: 800; }
.hb-card.is-sold .hb-card__img img { filter: grayscale(.8); opacity: .75; }
.hb-card__body { display: grid; gap: .2rem; padding: .7rem .8rem .8rem; align-content: start; flex: 1; }
.hb-card__price { margin: 0; font-family: var(--hn-display, "Rozha One", serif); font-size: 1.4rem; line-height: 1.2; color: var(--hn-mehndi, #3F7D3A); }
.hb-card__t { margin: 0; font-size: 1rem; line-height: 1.4; }
.hb-card__t a { color: inherit; text-decoration: none; }
.hb-card__m { margin: 0; font-size: .82rem; color: var(--p-muted); }
.hb-card__act { display: flex; gap: .4rem; margin-top: .4rem; flex-wrap: wrap; }
.hb__pages { display: flex; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.hb__empty { padding: 1.4rem; border-radius: 16px; background: var(--hn-haldi-soft, #fdf3dc); text-align: center; }
.hb__safe { margin-top: 1.4rem; padding: .8rem 1rem; border-radius: 12px; background: #fdecea; color: #7a1d12; }
.hb-keylink { margin: 1rem 0; padding: 1rem 1.1rem; border-radius: 14px; background: var(--hn-haldi-soft, #fdf3dc); display: grid; gap: .6rem; }
.hb-keylink p { margin: 0; }
.hb-keylink__url { overflow-wrap: anywhere; font-size: .9rem; }
.hb-keylink .hgp-btn { justify-self: start; }
.hb-manage { margin: 1rem 0 1.6rem; padding: 1.1rem 1.2rem; border-radius: 16px; border: 2px solid var(--p-neel); background: #fff; }
.hb-manage h2 { margin: .1rem 0 .3rem; font-size: 1.3rem; }
.hb-manage__k { margin: 0; color: var(--p-muted); font-size: .88rem; }
.hb-manage__s { margin: 0 0 .6rem; font-weight: 700; }
.hb-manage__out { font-weight: 700; color: var(--hn-mehndi, #3F7D3A); min-height: 1.4em; }
.hb-single__gal { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; }
.hb-single__ph { scroll-snap-align: start; display: block; }
.hb-single__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.hb-single__box { margin: 1rem 0; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--p-line); }
.hb-single__price { margin: 0 0 .4rem; font-family: var(--hn-display, "Rozha One", serif); font-size: 2rem; color: var(--hn-mehndi, #3F7D3A); }
.hb-single__sold { margin: 0 0 .4rem; display: inline-block; padding: .2rem .8rem; border-radius: 999px; background: var(--hn-sindoor, #C23B22); color: #fff; font-weight: 800; }
.hb-single__dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.hb-single__dl div { min-width: 0; }
.hb-single__dl dt { font-size: .8rem; color: var(--p-muted); }
.hb-single__dl dd { margin: 0; font-weight: 700; }
.hb-single__act { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@media (max-width: 560px) {
  .hb__grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hb-card__price { font-size: 1.15rem; }
  .hb-card__t { font-size: .92rem; }
  .hb-card__act .hgp-mini { flex: 1; text-align: center; }
}

/* ---------- गाँव का जनमत ---------- */
.hp { --p-neel: var(--hn-neel, #1F3A68); margin: 1.2rem 0 1.6rem; padding: 1.2rem 1.2rem 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--hn-line, #d9dee8); border-top: 6px solid var(--hn-haldi, #E8A317); }
.hp.is-closed { border-top-color: var(--hn-muted, #5b6474); }
.hp__k { margin: 0; font-size: .85rem; font-weight: 700; color: var(--hn-mehndi, #3F7D3A); }
.hp.is-closed .hp__k { color: var(--hn-muted, #5b6474); }
.hp__q { margin: .2rem 0 .4rem; font-size: 1.35rem; line-height: 1.35; }
.hp__q a { color: inherit; text-decoration: none; }
.hp__d { margin: 0 0 .6rem; color: var(--hn-muted, #5b6474); font-size: .95rem; }
.entry-content .hp__opts, .hp__opts { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem; }
.entry-content .hp__opts li { margin: 0; }
.hp__opt { position: relative; width: 100%; min-height: 52px; display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border: 2px solid var(--hn-line, #d9dee8); border-radius: 14px; background: #fff; font: inherit; font-size: 1.02rem; font-weight: 700; color: var(--hn-ink, #1B1B1F); text-align: left; cursor: pointer; overflow: hidden; }
.hp__opt:not(:disabled):hover { border-color: var(--p-neel); }
.hp__opt:focus-visible { outline: 3px solid var(--hn-haldi, #E8A317); outline-offset: 2px; }
.hp__opt:disabled { cursor: default; }
.hp__bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--hn-neel-soft, #e7ecf5); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.hp.is-voted .hp__bar, .hp.is-closed .hp__bar, .hp[data-show="1"] .hp__bar { width: var(--p, 0%); }
.hp__opt.is-mine { border-color: var(--p-neel); }
.hp__opt.is-mine .hp__bar { background: color-mix(in srgb, var(--hn-haldi, #E8A317) 35%, #fff); }
.hp__opt.is-mine .hp__t::after { content: " ✓ आपका वोट"; font-size: .8rem; color: var(--p-neel); }
.hp__opt.is-busy { opacity: .7; }
.hp__t, .hp__pct { position: relative; }
.hp__t { flex: 1; min-width: 0; }
.hp__pct { font-variant-numeric: tabular-nums; color: var(--p-neel); }
.hp__total { margin: .7rem 0 0; font-size: .9rem; color: var(--hn-muted, #5b6474); }
.hp__msg { margin: .5rem 0 0; font-size: .92rem; font-weight: 700; color: var(--hn-mehndi, #3F7D3A); min-height: 1.3em; }
.hp__share { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.hp__share .hgp-btn { min-height: 44px; font-size: .95rem; }
.hp-h { margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) { .hp__bar { transition: none; } }

/* ---------- डिजिटल ब्लड बैंक ---------- */
.bd { --rakt: #B3261E; margin: 1rem 0 2rem; }
.bd__urgent { padding: .8rem 1rem; border-radius: 14px; background: #fdecea; color: #6d1a12; font-size: .95rem; }
.bd__urgent p { margin: 0; }
.bd__urgent a { color: var(--rakt); font-weight: 800; }
.bd__h { margin: 1.3rem 0 .7rem; font-size: 1.2rem; }
.bd__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.bd__g { display: grid; justify-items: center; gap: .05rem; padding: .6rem .3rem; border-radius: 16px; border: 2px solid #f1c9c5; background: #fff; cursor: pointer; font: inherit; color: var(--rakt); }
.bd__g b { font-size: 1.45rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bd__g small { font-size: .78rem; color: var(--p-muted); }
.bd__g.is-on { background: var(--rakt); border-color: var(--rakt); color: #fff; }
.bd__g.is-on small { color: #ffe3e0; }
.bd__g:focus-visible { outline: 3px solid var(--hn-haldi, #E8A317); outline-offset: 2px; }
.bd__hint { margin: .7rem 0 .9rem; font-size: .92rem; color: var(--p-muted); }
.entry-content .bd__list, .bd__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.entry-content .bd__list li { margin: 0; }
.bd-card { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 16px; background: #fff; border: 1px solid var(--p-line); flex-wrap: wrap; }
.bd-card[hidden] { display: none; }
.bd-card__g { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: var(--rakt); color: #fff; font-weight: 800; font-size: 1.05rem; }
.bd-card.is-wait .bd-card__g { background: #c9a5a2; }
.bd-card__b { flex: 1; min-width: 140px; display: grid; gap: .05rem; }
.bd-card__b b { font-size: 1.02rem; }
.bd-card__b small { color: var(--p-muted); font-size: .85rem; }
.bd-card__s { font-size: .8rem; font-weight: 700; color: var(--hn-mehndi, #3F7D3A); }
.bd-card.is-wait .bd-card__s { color: var(--p-muted); font-weight: 600; }
.bd-card__compat { font-size: .78rem; color: var(--rakt); }
.bd-card__act { display: flex; gap: .4rem; }
.bd__none { padding: 1rem; border-radius: 14px; background: var(--hn-haldi-soft, #fdf3dc); }
.bd-pick .hgp-chip span { min-width: 3.2rem; text-align: center; font-weight: 800; }
@media (max-width: 420px) { .bd-card__act { width: 100%; } .bd-card__act .hgp-mini { flex: 1; justify-content: center; } }

/* ---------- विकास कार्य (सरपंच) ---------- */
.hk, .hk-single, .hk-gate { --p-neel: var(--hn-neel, #1F3A68); --p-line: var(--hn-line, #d9dee8); --p-muted: var(--hn-muted, #5b6474); }
.hk { margin: 1.4rem 0 2rem; }
.hk-terms { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.hk-terms a { padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--p-line); background: #fff; color: var(--p-neel); font-weight: 700; text-decoration: none; }
.hk-terms a.is-on { background: var(--p-neel); border-color: var(--p-neel); color: #fff; }
.hk-terms small { font-weight: 400; opacity: .8; }
.hk-head { display: grid; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--hn-neel, #1F3A68); color: #fff; }
.hk-head__who { display: flex; align-items: center; gap: .9rem; }
.hk-head__ph { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid var(--hn-haldi, #E8A317); flex: none; }
.hk-head__ph--blank { display: grid; place-items: center; font-size: 2rem; background: rgba(255,255,255,.12); }
.hk-head__k { margin: 0; color: #ffd27a; font-weight: 700; font-size: .9rem; }
.hk-head__n { margin: 0; font-family: var(--hn-display, "Rozha One", serif); font-size: 1.7rem; line-height: 1.2; }
.hk-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; }
.hk-stats div { padding: .6rem .7rem; border-radius: 12px; background: rgba(255,255,255,.1); }
.hk-stats dt { font-size: .8rem; color: #d5deee; }
.hk-stats dd { margin: 0; font-family: var(--hn-display, "Rozha One", serif); font-size: 1.6rem; line-height: 1.2; color: #fff; }
.hk-tools { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.hk-search { width: 100%; min-height: 48px; padding: .5rem 1rem; border: 1.5px solid var(--p-line); border-radius: 12px; font: inherit; background: #fff; }
.hk-chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.hk-chips button { flex: none; padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid var(--p-line); background: #fff; font: inherit; font-size: .9rem; cursor: pointer; color: var(--hn-ink, #1B1B1F); }
.hk-chips button.is-on { background: var(--hn-haldi, #E8A317); border-color: var(--hn-haldi, #E8A317); font-weight: 700; }
.hk-year[hidden], .hk-card[hidden] { display: none; }
.hk-year__y { position: sticky; top: 0; z-index: 1; margin: 1.4rem 0 .6rem; padding: .3rem 0; font-family: var(--hn-display, "Rozha One", serif); font-weight: 400; font-size: 2rem; color: var(--p-neel); background: var(--hn-bg, #fbfbf7); }
.hk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.hk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; }
.hk-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--hn-neel-soft, #e7ecf5); }
.hk-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-card__noimg { display: grid; place-items: center; height: 100%; font-size: 2.6rem; }
.hk-card__n { position: absolute; right: 8px; bottom: 8px; padding: .1rem .5rem; border-radius: 999px; background: rgba(21,42,77,.78); color: #fff; font-size: .75rem; }
.hk-badge { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; background: var(--hn-mehndi, #3F7D3A); }
.hk-badge--progress { background: #B5530F; }
.hk-card__img .hk-badge { position: absolute; left: 8px; top: 8px; }
.hk-card__body { display: grid; gap: .15rem; padding: .7rem .85rem .9rem; }
.hk-card__cat { margin: 0; font-size: .78rem; font-weight: 700; color: var(--hn-sindoor, #C23B22); }
.hk-card__t { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.hk-card__t a { color: inherit; text-decoration: none; }
.hk-card__m { margin: 0; font-size: .85rem; color: var(--p-muted); }
.hk-empty, .hk-gate { margin: 1.2rem 0; padding: 1.2rem 1.3rem; border-radius: 16px; border: 2px dashed var(--p-line); background: #fff; }
.hk-empty p, .hk-gate p { margin: .3rem 0; }
.hk-gate h2 { margin: 0 0 .4rem; font-size: 1.3rem; }
.hk-gate__act { display: flex; flex-wrap: wrap; gap: .5rem; }
.hk-hello { margin: 1rem 0 0; padding: .7rem 1rem; border-radius: 12px; background: var(--hn-haldi-soft, #fdf3dc); }
.hk-loc { display: flex; flex-wrap: wrap; gap: .5rem; }
.hk-loc input { flex: 1 1 220px; }
.hgp-form input[type=date] { min-height: 48px; padding: .5rem .8rem; border: 1.5px solid var(--hn-line, #d9dee8); border-radius: 12px; font: inherit; background: #fff; width: 100%; }
.hk-mine__h { margin-top: 2rem; font-size: 1.3rem; }
.hk-mine { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.hk-mine li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; padding: .6rem .8rem; border: 1px solid var(--hn-line, #d9dee8); border-radius: 12px; background: #fff; }
.hk-mine li > a:first-child { font-weight: 700; flex: 1 1 200px; }
.hk-mine span { color: var(--hn-muted, #5b6474); font-size: .85rem; }
.hk-single__top { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; }
.hk-single__ref { color: var(--p-muted); font-size: .9rem; }
.hk-single__h { margin: 1.4rem 0 .6rem; font-size: 1.3rem; }
.hk-gal { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.hk-gal a { scroll-snap-align: start; display: block; }
.hk-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.hk-gal--before img { filter: saturate(.75); }
@media (min-width: 700px) { .hk-gal { grid-auto-columns: 48%; } .hk-head { grid-template-columns: auto 1fr; align-items: center; } }
.hk-single__dl { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--p-line); }
.hk .hk-list, .hk .hk-mine, .hk-mine { padding-left: 0 !important; margin-left: 0 !important; }
.hk .hk-list > li { margin: 0; }
.hk .hk-year__y::before, .hk-single .hk-single__h::before { display: none; }
.hk .hk-year__y { padding-top: .3rem; }
.hk-gate h2::before { display: none; }

/* ---------- ऐप इंस्टॉल पॉपअप ---------- */
.hgp-inst { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(94vw, 440px); padding: .9rem 1rem 1rem; border-radius: 18px; background: #fff; color: #1B1B1F; box-shadow: 0 18px 50px rgba(21,42,77,.3); border-top: 5px solid var(--hn-haldi, #E8A317); transform: translate(-50%, 140%); transition: transform .3s ease; font-size: 1rem; }
.hgp-inst.is-on { transform: translate(-50%, 0); }
@media (max-width: 760px) { .hgp-inst { bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .hgp-inst { transition: none; } }
.hgp-inst__row { display: flex; gap: .8rem; align-items: center; }
.hgp-inst__ic { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 0 0 1px #e3e7ef; background: #fff; }
.hgp-inst__t { margin: 0; font-weight: 800; color: var(--hn-neel-deep, #152a4d); line-height: 1.3; }
.hgp-inst__s { margin: .15rem 0 0; font-size: .9rem; color: #5b6474; line-height: 1.45; }
.hgp-inst__act { display: flex; gap: .5rem; margin-top: .8rem; }
.hgp-inst__go { flex: 1; min-height: 46px; border: 0; border-radius: 999px; background: var(--hn-neel, #1F3A68); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.hgp-inst__later { min-height: 46px; padding: 0 1rem; border: 1.5px solid #d9dee8; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: #5b6474; cursor: pointer; }
.hgp-inst__x { position: absolute; top: 6px; right: 8px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: #5b6474; cursor: pointer; }
.hgp-inst__steps { margin: .8rem 0 0; padding: .7rem .9rem .7rem 2rem; border-radius: 12px; background: var(--hn-neel-soft, #e7ecf5); font-size: .92rem; line-height: 1.6; }
.hgp-inst__steps li + li { margin-top: .2rem; }
.hgp-inst__go:focus-visible, .hgp-inst__later:focus-visible, .hgp-inst__x:focus-visible { outline: 3px solid var(--hn-haldi, #E8A317); outline-offset: 2px; }
