/* मराठी मजकुरासाठी Windows/Android मध्ये उपलब्ध फॉन्ट्स - internet नको */
:root { --sms: #1f5f8b; --sms-dark: #174a6d; --sms-2: #3d8fbf; --sms-soft: #e8f1f8; --sms-soft2: #d8e9f2; }
body {
  font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", "Segoe UI", system-ui, sans-serif;
  background: #f4f6f9;
}
.bg-sms { background: var(--sms); }
.btn-sms { background: var(--sms); color: #fff; border: none; }
.btn-sms:hover, .btn-sms:focus { background: var(--sms-dark); color: #fff; }
.auth-bg { background: linear-gradient(135deg, var(--sms) 0%, var(--sms-2) 100%); }

.sidebar { background: #fff; border-right: 1px solid #e3e6ea; min-height: calc(100vh - 56px); }
.sidebar .nav-link { color: #333; border-radius: 6px; margin: 2px 8px; }
.sidebar .nav-link.active { background: var(--sms-soft); color: var(--sms); font-weight: 600; }
.sidebar .nav-link.disabled { color: #aab; font-size: .9rem; }

.stat-card .fs-3 { color: var(--sms); }
.badge.status-owner_occupied { background: #2e7d32; }
.badge.status-rented { background: #ef6c00; }
.badge.status-vacant { background: #78909c; }

/* ---- टप्पे २-५ ---- */
.sidebar-heading { list-style: none; font-size: .75rem; letter-spacing: .03em; }
.stat-card:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08) !important; }
.notice-body { white-space: pre-wrap; }
.notice-card:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08) !important; }
.bg-light-blue { background: #eaf3fa; }
.report-card:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.1) !important; }

.badge.bst-unpaid { background: #c62828; }
.badge.bst-partial { background: #ef6c00; }
.badge.bst-paid { background: #2e7d32; }
.badge.cst-open { background: #c62828; }
.badge.cst-in_progress { background: #ef6c00; }
.badge.cst-resolved { background: #2e7d32; }
.badge.cst-closed { background: #78909c; }
.badge.prio-high { background: #b71c1c; }
.badge.prio-medium { background: #5c6bc0; }
.badge.prio-low { background: #90a4ae; }

.bar { height: 7px; border-radius: 3px; margin: 2px 0; min-width: 1px; }
.bar-in { background: #2e7d32; }
.bar-ex { background: #c62828; }
.legend-in { color: #2e7d32; } .legend-ex { color: #c62828; }

/* ---- प्रिंट (बिल / पावती / अहवाल) ---- */
.print-page { background: #fff; }
.print-sheet { max-width: 800px; margin: 0 auto; padding: 0 16px; }
.receipt-box { border: 1px solid #333; }
@media print {
  .no-print, .navbar, .sidebar, .alert { display: none !important; }
  main { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  body { background: #fff; }
  .card { box-shadow: none !important; }
  .badge { border: 1px solid #333; color: #000 !important; background: none !important; }
  @page { margin: 12mm; }
}

/* ---- सदस्य फोटो ---- */
.member-photo-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; margin-right: 6px; vertical-align: middle; }
.member-photo-lg { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid #e3e6ea; }
.member-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sms-soft); color: var(--sms); font-weight: 600; margin-right: 6px; vertical-align: middle; font-size: .95rem; }
.member-avatar-lg { width: 88px; height: 88px; font-size: 2rem; margin-right: 0; }

/* ---- मुखपृष्ठ (सार्वजनिक) ---- */
.public-body { background: #f4f6f9; }
.text-sms { color: var(--sms) !important; }
.bg-sms.badge { background: var(--sms) !important; }
.pub-logo { height: 46px; width: 46px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.pub-hero { background: linear-gradient(135deg, var(--sms) 0%, var(--sms-2) 100%); background-size: cover; background-position: center; min-height: 340px; display: flex; align-items: center; }
.pub-hero > .container { width: 100%; }
.home-top { background: linear-gradient(180deg, var(--sms-soft) 0%, #f4f6f9 100%); }
.home-cover { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.12); background: #1f2d3a; line-height: 0; }
.home-cover img { width: 100%; height: auto; display: block; }
.board { --bc: #1f5f8b; --bg: #eaf2f8; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(20,45,70,.10); overflow: hidden; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 150px; }
.board-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; background: linear-gradient(120deg, var(--bc), var(--bc2, var(--bc))); }
.board-ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.board-t { font-weight: 700; font-size: 1.02rem; letter-spacing: .2px; }
.board-sub { margin-left: auto; font-size: .78rem; background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 20px; }
.board-n { margin-left: auto; font-size: .75rem; font-weight: 700; background: #fff; color: var(--bc); border-radius: 20px; padding: 1px 9px; }
.board-b { padding: 12px 14px; max-height: 230px; overflow-y: auto; flex: 1 1 auto; background: var(--bg); }
.board-empty { text-align: center; color: #6b7785; font-size: .88rem; padding: 10px 0 4px; }
.board-empty span { display: block; font-size: 1.8rem; margin-bottom: 2px; opacity: .8; }
.board-notice { --bc: #b03a2e; --bc2: #e0623a; --bg: #fff8f2; }
.note-item, .func-row { display: flex; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.note-item:last-child, .func-row:last-child { margin-bottom: 0; }
.note-date, .func-date { width: 44px; flex: 0 0 44px; border-radius: 8px; text-align: center; line-height: 1.05; padding: 5px 0; display: flex; flex-direction: column; justify-content: center; }
.note-date { background: #fde4dc; color: #a33622; }
.note-date b, .func-date b { font-size: 1.15rem; }
.note-date small, .func-date small { font-size: .66rem; }
.note-title, .func-title { font-weight: 600; font-size: .92rem; color: #1e2a36; }
.note-text, .func-meta { font-size: .8rem; color: #5b6774; }
.note-more { font-size: .78rem; text-decoration: none; }
.board-func { --bc: #c8580f; --bc2: #f0a030; --bg: #fffaf0; }
.func-date { background: #fdebd0; color: #9a4a06; }
.func-note { font-size: .8rem; color: #7a5a1e; }
.func-row.past { opacity: .5; }
.func-row.today { box-shadow: 0 0 0 2px #2e9e5b inset; }
.func-today { font-size: .68rem; background: #2e9e5b; color: #fff; border-radius: 10px; padding: 1px 7px; vertical-align: middle; }
.board-rule { --bc: #5b2c83; --bc2: #8e44ad; --bg: linear-gradient(160deg, #f7f0fb, #efe6f6); }
.board-rule .board-b { background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; }
.rule-quote { position: relative; min-height: 96px; padding: 4px 6px 0 34px; }
.rule-quote::before { content: '“'; position: absolute; left: 2px; top: -14px; font-size: 3.6rem; line-height: 1; color: #b28acb; font-family: Georgia, serif; }
.rule-item { display: none; margin: 0; animation: ruleIn .5s ease; }
.rule-item.show { display: block; }
.rule-item blockquote { font-size: 1.02rem; color: #2f1d40; margin: 0 0 6px; line-height: 1.55; font-weight: 500; }
.rule-item figcaption { font-size: .78rem; color: #6c3483; text-align: right; font-weight: 600; }
.rule-item figcaption::before { content: '— '; }
.rule-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.rule-nav button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; color: #5b2c83; font-size: 1.1rem; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.rule-nav button:hover { background: #5b2c83; color: #fff; }
.rule-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; max-width: 70%; }
.rule-dots span { width: 7px; height: 7px; border-radius: 50%; background: #cdb4dd; cursor: pointer; transition: all .2s; }
.rule-dots span.on { width: 18px; border-radius: 4px; background: #5b2c83; }
@keyframes ruleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pub-cover { background: #1f2d3a; line-height: 0; }
.pub-cover img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; margin: 0 auto; }
.pub-hero-logo { height: 84px; width: 84px; object-fit: contain; background: #fff; border-radius: 16px; padding: 6px; }
.pub-stats { margin-top: -36px; position: relative; }
.pub-h { color: var(--sms); border-left: 4px solid var(--sms); padding-left: 10px; margin-bottom: 1rem; }
.pub-footer { background: #1f2d3a; color: #c9d3dc; font-size: .9rem; }
.pub-footer a { color: #e6eef5; text-decoration: none; }
.pub-footer a:hover { color: #fff; text-decoration: underline; }
.pub-footer .pf-h { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: .6rem; padding-bottom: .35rem; border-bottom: 2px solid var(--sms-2); display: inline-block; }
.pub-footer .pf-notice { white-space: pre-line; line-height: 1.5; }
.pub-footer .pf-img { display: inline-block; margin-top: 10px; background: #fff; padding: 4px; border-radius: 8px; }
.pub-footer .pf-img img { display: block; max-width: 100%; max-height: 220px; border-radius: 5px; }
.pub-footer .pf-links li { margin-bottom: .3rem; }
.pub-footer .pf-links li::before { content: '› '; color: var(--sms-2); }
.pub-footer .pf-bottom { background: #17222c; color: #9fb0bf; }
.event-card .event-img { height: 140px; object-fit: cover; }
.event-card-img { overflow: hidden; border-radius: 10px; line-height: 0; transition: transform .15s; }
.event-card-img img { width: 100%; height: auto; display: block; }
.event-card-img:hover { transform: translateY(-2px); }
.event-date { min-width: 56px; border-radius: 8px; background: var(--sms-soft); color: var(--sms); padding: 6px 4px; line-height: 1.1; align-self: flex-start; }
.event-day { font-size: 1.5rem; font-weight: 700; }
.event-mon { font-size: .8rem; }
.event-yr { font-size: .7rem; opacity: .75; }
.album-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .375rem .375rem 0 0; }
.album-empty { display: flex; align-items: center; justify-content: center; font-size: 2rem; background: #e3e9ee; }
.album-card:hover, .dir-card:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.12) !important; }
.gallery-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.lightbox-img { max-width: 100%; max-height: 80vh; }
.lb-nav { position: absolute; top: 45%; opacity: .8; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.committee-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }

/* ---- एडिटरमधील मजकूर (कार्यक्रम पान) ---- */
.event-banner { max-height: 420px; object-fit: cover; }
.rich-content { font-size: 1.02rem; line-height: 1.7; overflow-wrap: anywhere; }
.rich-content img, .rich-content video { max-width: 100%; height: auto; border-radius: 6px; }
.rich-content audio { width: 100%; max-width: 560px; }
.rich-content iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; width: 640px; border: 0; border-radius: 6px; }
.rich-content table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.rich-content th, .rich-content td { border: 1px solid #ccd5dd; padding: 6px 10px; }
.rich-content blockquote { border-left: 4px solid var(--sms); padding: .25rem 1rem; color: #455; background: #eef4f9; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: var(--sms); margin-top: 1.2rem; }
.tox-tinymce { border-radius: 8px !important; }

/* ---- सभासदत्व इतिहास ---- */
.badge.cat-rehab { background: #1f5f8b; } .badge.cat-sale { background: #6a1b9a; } .badge.cat-other { background: #78909c; }
.badge.mst-current { background: #2e7d32; } .badge.mst-deceased { background: #424242; } .badge.mst-sold { background: #ef6c00; }
.badge.mst-transferred { background: #5c6bc0; } .badge.mst-other { background: #78909c; }
.member-chain { list-style: none; padding-left: 0; margin: 0; position: relative; }
.member-chain li { position: relative; padding: 0 0 14px 26px; }
.member-chain li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #90a4ae; }
.member-chain li::after { content: ''; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: #dfe5ea; }
.member-chain li:last-child::after { display: none; }
.member-chain li.st-current::before { background: #2e7d32; }
.member-chain li.is-me > div:first-child { background: #eef4f9; border-radius: 6px; padding: 2px 6px; margin-left: -6px; }

/* ---- विकासकाच्या जबाबदाऱ्या ---- */
.badge.dst-pending { background: #ef6c00; } .badge.dst-in_progress { background: #1976d2; } .badge.dst-done { background: #2e7d32; }
.badge.dst-defective { background: #c62828; } .badge.dst-disputed { background: #6a1b9a; } .badge.dst-not_applicable { background: #90a4ae; }

/* हस्तांतरण चेकलिस्ट */
.checklist .box { font-size: 1.1rem; line-height: 1.2; }
.print-sheet .checklist li { padding: 2px 0 !important; }

/* कामे व निविदा */
.badge.wst-planning { background: #6c757d; } .badge.wst-tendering { background: #0d6efd; }
.badge.wst-evaluation { background: #6f42c1; } .badge.wst-awarded { background: #fd7e14; }
.badge.wst-in_progress { background: #0dcaf0; color: #000; } .badge.wst-completed { background: #198754; }
.badge.wst-closed { background: #146c43; } .badge.wst-cancelled { background: #e9ecef; color: #000; }
.wstep { font-size: .78rem; padding: 3px 10px; border-radius: 20px; background: #e9ecef; color: #6c757d; }
.wstep.done { background: #d1e7dd; color: #0f5132; } .wstep.now { background: var(--sms); color: #fff; font-weight: 600; }

/* उपविधी मार्गदर्शक */
.bylaw-answer p { margin-bottom: .5rem; }
.bylaw-answer ul, .bylaw-answer ol { padding-left: 1.3rem; margin-bottom: .5rem; }
.src-ref { text-decoration: none; font-size: .8em; vertical-align: super; }
.excerpt { white-space: pre-line; color: #333; max-height: 22rem; overflow: auto; }
.excerpt mark { background: #fff3a3; padding: 0 1px; border-radius: 2px; }

/* फॉर्म I / J (छापील रजिस्टरप्रमाणे) */
.formI { font-size: .82rem; color: #111; }
.formI .mr { font-size: .9em; margin-left: .3rem; }
.fi-head { text-align: center; position: relative; margin-bottom: .4rem; }
.fi-title { font-size: 1.35rem; font-weight: 700; }
.fi-title2 { font-size: 1.1rem; font-weight: 700; }
.fi-sub { font-size: .78rem; }
.fi-no { position: absolute; right: 0; top: 0; font-size: 1.1rem; font-weight: 700; }
.fi-rows { width: 100%; border-collapse: collapse; }
.fi-rows td { border-bottom: 1px solid #999; padding: 3px 4px; vertical-align: top; }
.fi-rows td:first-child { width: 46%; }
.fi-rows .val { font-weight: 600; color: #0b3a8a; }
.fi-rows .soc { font-weight: 400; font-size: .75rem; color: #333; }
.fi-cap { text-align: center; font-weight: 700; margin: .6rem 0 .2rem; }
.fi-grid { width: 100%; border-collapse: collapse; }
.fi-grid th, .fi-grid td { border: 1px solid #666; padding: 2px 4px; text-align: center; font-size: .74rem; }
.fi-grid td { height: 1.6rem; color: #0b3a8a; font-weight: 600; }
.fj td { text-align: left; height: auto; padding: 6px; }
@media print { .page-break { page-break-after: always; } }
.nomi { font-size: .92rem; line-height: 1.6; }
/* लेटरहेड (नामनिर्देशन छपाई) */
.lh { --c: #1d5a85; display: flex; align-items: center; gap: 12px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 3px double var(--c); }
.lh-logo { width: 70px; height: 70px; flex: 0 0 70px; display: flex; align-items: center; justify-content: center; }
.lh-logo img { max-width: 70px; max-height: 70px; object-fit: contain; }
.lh-logo span { width: 100%; height: 100%; border: 1px dashed #9aa; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #9aa; font-size: 11px; }
.lh-ghost { visibility: hidden; }
.lh-text { flex: 1; text-align: center; }
.lh-name { font-size: 1.3rem; font-weight: 700; color: var(--c); }
.lh-reg { font-size: .8rem; font-weight: 600; }
.lh-addr { font-size: .8rem; color: #333; }
/* नामनिर्देशन अर्ज */
.nf { --c: #1d5a85; --l: #c3d3df; border: 1.5px solid var(--c); border-radius: 6px; padding: 12px 16px; line-height: 1.45; }
.nf-title { background: var(--c); color: #fff; text-align: center; font-weight: 700; font-size: 1.05rem; padding: 5px; border-radius: 4px; letter-spacing: .3px; }
.nf-sub { text-align: center; font-size: .78rem; color: #444; margin: 4px 0 12px; }
.nf-info { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: .86rem; }
.nf-info td { border: 1px solid var(--l); padding: 4px 8px; }
.nf-info td.k { background: #f1f6fa; color: var(--c); font-weight: 600; width: 22%; }
.nf-h { font-weight: 700; color: var(--c); border-left: 4px solid var(--c); padding-left: 8px; margin: 12px 0 6px; font-size: .92rem; }
.nf-tbl { width: 100%; border-collapse: collapse; font-size: .82rem; }
.nf-tbl th { background: #e8f0f6; color: var(--c); border: 1px solid var(--l); padding: 5px 6px; text-align: center; font-weight: 600; }
.nf-tbl td { border: 1px solid var(--l); height: 2.25rem; padding: 3px 6px; }
.nf-tbl td:first-child { text-align: center; width: 6%; color: #555; }
.nf-decl { background: #f7fafc; border: 1px dashed var(--l); border-radius: 4px; padding: 6px 10px; font-size: .84rem; margin-top: 10px; }
.nf-sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; font-size: .86rem; }
.nf-sign .box { width: 200px; text-align: center; }
.nf-sign .line { border-top: 1px solid #333; padding-top: 3px; }
.nf-wit { width: 100%; border-collapse: collapse; font-size: .82rem; margin-top: 6px; }
.nf-wit th { background: #e8f0f6; color: var(--c); border: 1px solid var(--l); padding: 4px 6px; font-weight: 600; }
.nf-wit td { border: 1px solid var(--l); height: 2rem; padding: 3px 6px; }
.nf-office { border: 1.5px solid var(--c); border-radius: 4px; margin-top: 14px; font-size: .8rem; }
.nf-office .t { background: var(--c); color: #fff; font-weight: 600; padding: 2px 8px; }
.nf-office .b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; padding: 8px 10px; }
@media print { @page { size: A4; margin: 10mm; } .nf-title, .nf-info td.k, .nf-tbl th, .nf-wit th, .nf-office .t, .nf-decl { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .nf { padding: 10px 14px; } }

/* रंगसंगती सेटिंग */
.theme-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.theme-sw { border: 2px solid #e3e7eb; background: #fff; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.theme-sw.on { border-color: #222; box-shadow: 0 0 0 2px #fff inset; }
.theme-sw .sw { width: 54px; height: 54px; border-radius: 50%; display: block; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.theme-preview { --p: #1f5f8b; --a: #3d8fbf; --s: #e8f1f8; --d: #174a6d; border: 1px solid #e3e7eb; border-radius: 10px; overflow: hidden; }
.theme-preview .pv-bar { background: var(--p); color: #fff; padding: 8px 12px; font-weight: 600; }
.theme-preview .pv-hero { background: linear-gradient(135deg, var(--p), var(--a)); color: #fff; padding: 18px 12px; font-size: 1.1rem; }
.theme-preview .pv-btn { background: var(--p); color: #fff; }
.theme-preview .pv-btn:hover { background: var(--d); color: #fff; }
.theme-preview .pv-badge { background: var(--s); color: var(--p); border-radius: 6px; padding: 2px 8px; font-weight: 600; margin-left: 6px; }
.theme-preview .pv-soft { background: var(--s); border-radius: 6px; padding: 8px; }
.theme-preview .pv-text { color: var(--p); }
/* सभासद डॅशबोर्ड */
.mh { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: stretch; background: linear-gradient(120deg, var(--sms) 0%, var(--sms-2) 100%); color: #fff; border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.12); position: relative; overflow: hidden; }
.mh::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.mh-text { position: relative; z-index: 1; }
.mh-greet { font-size: .95rem; opacity: .85; }
.mh-name { font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
.mh-soc { font-size: .85rem; opacity: .85; margin-top: 2px; }
.mh-units { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.mh-unit { background: rgba(255,255,255,.18); border-radius: 20px; padding: 3px 12px; font-size: .82rem; font-weight: 600; }
.mh-due { position: relative; z-index: 1; background: #fff; color: #1e2a36; border-radius: 14px; padding: 12px 18px; min-width: 220px; text-align: center; }
.mh-due .amt { font-size: 1.7rem; font-weight: 800; line-height: 1.2; }
.mh-due.owe .amt { color: #c0392b; } .mh-due.ok .amt { color: #2e9e5b; }
.mh-due .btn { background: var(--sms); color: #fff; border: 0; }
.m-alert { display: flex; align-items: center; gap: 12px; background: #fff7e0; border: 1px solid #f5d98b; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: .9rem; }
.m-alert .ic { font-size: 1.6rem; }
.m-stat { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 3px 12px rgba(20,45,70,.08); text-decoration: none; color: inherit; height: 100%; transition: transform .15s, box-shadow .15s; }
.m-stat:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,45,70,.12); color: inherit; }
.m-stat .ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; background: color-mix(in srgb, var(--c) 14%, #fff); }
.m-stat .lbl { font-size: .78rem; color: #6b7785; }
.m-stat .val { font-size: 1.2rem; font-weight: 700; }
.m-stat .sub { font-size: .72rem; color: #8a96a3; }
.m-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.m-actions a { background: #fff; border-radius: 12px; padding: 12px 6px; text-align: center; text-decoration: none; color: #2b3a48; font-size: .82rem; font-weight: 600; box-shadow: 0 2px 8px rgba(20,45,70,.07); transition: all .15s; }
.m-actions a span { display: block; font-size: 1.4rem; margin-bottom: 4px; }
.m-actions a:hover { background: var(--sms); color: #fff; }
.m-card { background: #fff; border-radius: 14px; box-shadow: 0 3px 12px rgba(20,45,70,.08); overflow: hidden; }
.m-card-h { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; font-weight: 700; color: var(--sms); border-bottom: 1px solid #eef2f5; background: linear-gradient(90deg, var(--sms-soft), #fff); }
.m-card-h a { font-size: .8rem; font-weight: 500; text-decoration: none; }
.m-card-b { padding: 12px 16px; }
.m-card-b .list-group-item { border-left: 0; border-right: 0; }
.m-empty { padding: 16px; color: #8a96a3; font-size: .88rem; text-align: center; }
.m-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #f1f4f7; text-decoration: none; color: inherit; }
.m-row:last-child { border-bottom: 0; }
a.m-row:hover { background: var(--sms-soft); color: inherit; }
.m-date { width: 46px; flex: 0 0 46px; text-align: center; background: var(--sms-soft); color: var(--sms); border-radius: 8px; line-height: 1.1; padding: 4px 0; display: flex; flex-direction: column; }
.m-date b { font-size: .95rem; } .m-date small { font-size: .62rem; }
.m-date.mon { width: 58px; flex-basis: 58px; } .m-date.mon b { font-size: .72rem; }
@media (max-width: 576px) { .mh-due { width: 100%; } .mh-name { font-size: 1.3rem; } }

/* ================= रंगीत व सुशोभित रचना — सर्व पानांसाठी ================= */
body { background: linear-gradient(180deg, var(--sms-soft) 0, #f4f6f9 260px) no-repeat, #f4f6f9; }
/* वरची पट्टी */
.navbar.bg-sms { background: linear-gradient(100deg, var(--sms) 0%, var(--sms-2) 100%) !important; }
.navbar .navbar-brand { letter-spacing: .2px; }
.navbar .btn-outline-light, .navbar .btn-light { border-radius: 20px; padding-left: .8rem; padding-right: .8rem; }
/* डावा मेनू */
.sidebar { background: #fff; border-right: 0; box-shadow: 2px 0 12px rgba(20,45,70,.06); }
.sidebar .nav-link { display: flex; align-items: center; gap: 10px; color: #33414e; border-radius: 10px; margin: 2px 10px; padding: 7px 10px; transition: background .15s, color .15s, transform .15s; }
.sidebar .nav-link .nav-ic { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; background: var(--sms-soft); }
.sidebar .nav-link:hover { background: var(--sms-soft); color: var(--sms); transform: translateX(2px); }
.sidebar .nav-link.active { background: linear-gradient(100deg, var(--sms), var(--sms-2)); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.sidebar .nav-link.active .nav-ic { background: rgba(255,255,255,.22); }
.sidebar-heading { color: var(--sms) !important; font-weight: 700; text-transform: none; letter-spacing: .02em; opacity: .85; }
/* पानाचे शीर्षक */
main > h1.h4, main > .d-flex > h1.h4, main h1.h4.m-0, main h1.h4.mb-0, main h1.h4.mb-1, main h1.h4.mb-3 { color: var(--sms); font-weight: 700; padding-left: 12px; border-left: 5px solid var(--sms-2); line-height: 1.3; }
/* कार्ड्स */
main .card { border-radius: 14px; border: 0; box-shadow: 0 3px 14px rgba(20,45,70,.08) !important; overflow: hidden; }
main .card-header { background: linear-gradient(90deg, var(--sms-soft), #fff) !important; color: var(--sms); font-weight: 700; border-bottom: 1px solid #eef2f5; padding-top: .7rem; padding-bottom: .7rem; }
main .card-header a { font-weight: 500; }
main .card-footer { background: #fafbfc; }
.stat-card { border-radius: 14px; border-left: 5px solid var(--sms-2) !important; transition: transform .15s; }
.stat-card:hover { transform: translateY(-2px); }
.m-stat .val.text-danger { color: #c0392b !important; } .m-stat .val.text-success { color: #1e8449 !important; }
/* तक्ते */
main .table > thead > tr > th, main .table > thead th { background: var(--sms-soft); color: var(--sms); font-weight: 600; border-bottom: 2px solid var(--sms-soft2); white-space: nowrap; }
main .table-hover > tbody > tr:hover > *, main .table > tbody > tr:hover > * { background-color: #f7fafc; }
main .table { --bs-table-striped-bg: #f8fafc; }
/* बटणे */
.btn { border-radius: 9px; }
.btn-sms { background: linear-gradient(100deg, var(--sms), var(--sms-2)); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.btn-sms:hover, .btn-sms:focus { background: linear-gradient(100deg, var(--sms-dark), var(--sms)); }
.btn-outline-primary { --bs-btn-color: var(--sms); --bs-btn-border-color: var(--sms); --bs-btn-hover-bg: var(--sms); --bs-btn-hover-border-color: var(--sms); --bs-btn-active-bg: var(--sms-dark); }
.btn-primary { --bs-btn-bg: var(--sms); --bs-btn-border-color: var(--sms); --bs-btn-hover-bg: var(--sms-dark); --bs-btn-hover-border-color: var(--sms-dark); }
/* फॉर्म */
.form-control, .form-select { border-radius: 9px; }
.form-control:focus, .form-select:focus { border-color: var(--sms-2); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--sms-2) 25%, transparent); }
.form-label { font-weight: 600; color: #3b4a58; }
.form-check-input:checked { background-color: var(--sms); border-color: var(--sms); }
/* सूचना, बॅज, यादी */
.alert { border-radius: 12px; border: 0; border-left: 5px solid rgba(0,0,0,.15); }
.alert-success { border-left-color: #27ae60; } .alert-danger { border-left-color: #c0392b; } .alert-warning { border-left-color: #f39c12; } .alert-info { border-left-color: var(--sms-2); }
.badge { border-radius: 20px; font-weight: 600; }
main .list-group-item { border-color: #f0f3f6; }
main .list-group-item:hover { background: #f8fbfd; }
/* टॅब्स (हिशोब इ.) */
.nav-tabs { border-bottom: 0; gap: 6px; flex-wrap: wrap; }
.nav-tabs .nav-link { border: 0; border-radius: 20px; background: #fff; color: #3b4a58; box-shadow: 0 1px 4px rgba(0,0,0,.07); padding: .35rem .9rem; }
.nav-tabs .nav-link:hover { color: var(--sms); background: var(--sms-soft); }
.nav-tabs .nav-link.active { background: linear-gradient(100deg, var(--sms), var(--sms-2)); color: #fff; }
.nav-pills .nav-link.active { background: var(--sms); }
.pagination .page-link { color: var(--sms); border-radius: 8px; margin: 0 2px; }
.pagination .active > .page-link { background: var(--sms); border-color: var(--sms); }
a { color: var(--sms); }
a:hover { color: var(--sms-dark); }
/* प्रशासकीय डॅशबोर्डची पट्टी */
.mh-admin { align-items: center; }
.mh-quick { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-quick a { background: rgba(255,255,255,.18); color: #fff; text-decoration: none; border-radius: 20px; padding: 6px 14px; font-size: .85rem; font-weight: 600; transition: background .15s; }
.mh-quick a:hover { background: #fff; color: var(--sms); }
/* लॉगिन पान */
.auth-bg .card { border-radius: 18px; border: 0; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
@media print { body { background: #fff !important; } }
/* वाहन पार्किंग */
.veh-no { font-family: Arial, sans-serif; letter-spacing: .3px; }
.slot-chip { display: inline-block; background: var(--sms); color: #fff; border-radius: 6px; padding: 1px 8px; font-weight: 700; font-size: .82rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.slot { background: #f1f8f2; border: 1.5px solid #b9dfc0; border-radius: 10px; padding: 6px 8px; font-size: .8rem; }
.slot.taken { background: var(--sms-soft); border-color: var(--sms-2); }
.slot.off { opacity: .45; }
.slot summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; }
.slot summary::-webkit-details-marker { display: none; }
.slot summary b { font-size: 1rem; }
.slot summary .vno { color: #444; font-family: Arial, sans-serif; font-size: .72rem; }
.slot[open] { grid-column: span 2; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.slot-edit { margin-top: 6px; }
.scan-wrap { max-width: 520px; margin: 0 auto; }
.scan-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.12); overflow: hidden; }
.scan-card.off { filter: grayscale(.6); }
.scan-top { display: flex; gap: 14px; align-items: center; padding: 18px; color: #fff; background: linear-gradient(120deg, var(--sms), var(--sms-2)); }
.scan-ic { font-size: 2.2rem; }
.scan-no { font-size: 1.6rem; font-weight: 800; font-family: Arial, sans-serif; letter-spacing: .5px; }
.scan-body { padding: 10px 18px; }
.scan-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e5e9ee; font-size: .95rem; }
.scan-row:last-child { border-bottom: 0; }
.scan-row span { color: #6b7785; }
/* सोसायटीचे लेटरहेड (NOC, पत्रे) */
.lhd { margin-bottom: 18px; font-family: "Century Gothic", "Poppins", "Segoe UI", Arial, sans-serif; color: #3d3d3d; }
.lhd-top { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1.6px solid #4a4a4a; }
.lhd-logo { width: 62px; height: 62px; flex: 0 0 62px; }
.lhd-logo img { width: 100%; height: 100%; object-fit: contain; }
.lhd-l1 { font-size: 30px; line-height: 1.05; letter-spacing: .5px; }
.lhd-l1 span { color: #555; font-weight: 300; }
.lhd-l1 b { color: #5e9e3a; font-weight: 400; }
.lhd-l2 { font-size: 15px; font-weight: 600; color: #333; }
.lhd-reg { font-size: 10px; color: #444; }
.lhd-addr { font-size: 11px; text-align: center; padding-top: 4px; color: #333; }
.lhd-img { margin-bottom: 14px; }
.lhd-img img { display: block; width: 100%; height: auto; }
/* छापील लेटरहेड कागद: हेडर स्क्रीनवर फक्त संदर्भ, प्रिंटमध्ये लपवा (जागा तशीच राहते) */
@media screen {
  body.on-lh-paper .print-sheet .lhd, body.on-lh-paper .print-sheet .lh { position: relative; outline: 2px dashed #e0a800; outline-offset: 3px; }
  body.on-lh-paper .print-sheet .lhd::after, body.on-lh-paper .print-sheet .lh::after { content: "फक्त संदर्भ — प्रिंट होणार नाही"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff3cd; color: #7a5b00; border: 1px solid #e0a800; border-radius: 20px; padding: 3px 12px; font: 600 12px/1.4 system-ui, sans-serif; white-space: nowrap; }
  body.on-lh-paper .print-sheet .lhd > *, body.on-lh-paper .print-sheet .lh > * { opacity: .45; }
}
@media print { body.on-lh-paper .lhd, body.on-lh-paper .lh { visibility: hidden !important; } }
@media print { .lhd-l1 b { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

.brand-logo { width: 30px; height: 30px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }

/* 💳 पैसे भरा (सभासद डॅशबोर्ड) */
.pay-card .m-card-h { background: linear-gradient(90deg, #e8f7ee, #fff); }
.pay-wrap { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.pay-qr { flex: 0 0 150px; background: #fff; border: 2px solid #2e9e5b; border-radius: 12px; padding: 6px; display: block; }
.pay-qr img { width: 100%; height: auto; display: block; }
.pay-info { flex: 1; min-width: 180px; font-size: .9rem; }
.pay-row { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; border-bottom: 1px dashed #e3e8ee; }
.pay-row span { color: #6b7785; min-width: 64px; font-size: .8rem; }
.pay-row b { overflow-wrap: anywhere; }

/* सभासद डॅशबोर्ड: नावाशेजारी फोटो */
.mh-left { display: flex; gap: 18px; align-items: center; position: relative; z-index: 1; }
.mh-photo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mh-ph { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(0,0,0,.25); overflow: hidden; cursor: pointer; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; margin: 0; }
.mh-ph img { width: 100%; height: 100%; object-fit: cover; }
.mh-ph span { font-size: 2.4rem; font-weight: 700; color: #fff; }
.mh-ph::before { content: "बदला"; position: absolute; inset: 0; background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
.mh-ph:hover::before { opacity: 1; }        /* माऊस नेल्यावरच — फोटोवर कायमचे चिन्ह नाही */
.mh-ph.busy { opacity: .5; pointer-events: none; }
.mh-ph.busy::after { content: "…"; position: absolute; color: #fff; font-size: 2rem; }
.mh-ph-act { display: flex; gap: 6px; }
.mh-ph-btn { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; padding: 1px 10px; font-size: .75rem; cursor: pointer; margin: 0; }
.mh-ph-btn:hover { background: rgba(255,255,255,.35); }
@media (max-width: 576px) { .mh-ph { width: 72px; height: 72px; } .mh-left { gap: 12px; } }

/* मुखपृष्ठ: कार्यक्रमावर क्लिक → सविस्तर पान */
a.func-link { text-decoration: none; color: inherit; cursor: pointer; transition: transform .12s, box-shadow .12s; }
a.func-link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
a.func-link:hover .func-title { text-decoration: underline; }
.func-go { margin-left: auto; align-self: center; font-size: 1.5rem; color: #c9a36a; padding-left: 6px; }

/* भाषा बटण */
.lang-btn { font-weight: 600; min-width: 64px; }
.lang-float { position: fixed; top: 12px; right: 12px; z-index: 1050; }

/* ---------- हस्तांतरण चेकलिस्ट — छापील पान ---------- */
.trp { max-width: 190mm; margin: 0 auto; color: #1f2933; font-size: 13.5px; }
.trp-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--sms); }
.trp-logo { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; }
.trp-soc { flex: 1; text-align: center; }
.trp-name { font-size: 20px; font-weight: 700; color: var(--sms-dark); line-height: 1.25; }
.trp-reg { font-size: 12px; font-weight: 600; margin-top: 2px; }
.trp-addr { font-size: 12px; color: #5b6770; }
.trp-title { margin: 12px 0 10px; padding: 7px 12px; text-align: center; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(90deg, var(--sms-dark), var(--sms-2)); border-radius: 6px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.trp-info { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: 13px; }
.trp-info th { width: 16%; color: #5b6770; font-weight: 600; padding: 6px 8px; background: var(--sms-soft); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.trp-info td { padding: 6px 8px; border-bottom: 1px solid #dfe5ea; }
.trp-info td.trp-blank { border-bottom: 1px dashed #8a97a3; }
.trp-intro { padding: 8px 12px; margin-bottom: 6px; border-left: 4px solid var(--sms-2); background: #f6f9fb; border-radius: 0 6px 6px 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.trp-intro p:last-child, .trp-foot p:last-child { margin-bottom: 0; }
.trp-items h3, .trp-h { font-size: 14px !important; font-weight: 700; color: var(--sms-dark); margin: 14px 0 6px !important;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--sms-soft2); }
.trp-items .checklist li { border-bottom: 1px dotted #d4dbe1 !important; padding: 4px 2px !important; break-inside: avoid; }
.trp-items .box { color: var(--sms); font-size: 15px; line-height: 1.2; }
.trp-fees table { margin-bottom: 4px; }
.trp-fees td { padding: 6px 10px !important; border-color: #cfd8df !important; }
.trp-fees tr:nth-child(n+3) td { background: #fffaf0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.trp-foot { margin-top: 12px; font-size: 12.5px; color: #5b6770; text-align: center; }
.trp-sign { display: flex; justify-content: space-between; gap: 18px; margin-top: 56px; font-size: 12.5px; text-align: center; }
.trp-sign > div { flex: 1; }
.trp-sign span { display: block; border-top: 1px solid #333; margin-bottom: 4px; }
@media print { .trp { font-size: 12.5px; } .trp-sign { margin-top: 44px; } }
.trp .rich-content, .trp .rich-content p, .trp .rich-content li { font-size: inherit !important; line-height: 1.5; }
.trp-fees .rich-content { font-size: 12px !important; margin-top: 4px; }
@media print {
  .trp { font-size: 11.5px; }
  .trp-head { padding-bottom: 6px; } .trp-logo { width: 58px; height: 58px; }
  .trp-title { margin: 8px 0 6px; padding: 5px 10px; font-size: 14px; }
  .trp-info th, .trp-info td { padding: 4px 8px; }
  .trp-intro { padding: 5px 10px; }
  .trp-items h3, .trp-h { margin: 9px 0 3px !important; font-size: 13px !important; }
  .trp-items .checklist li { padding: 2px 2px !important; }
  .trp-fees td { padding: 3px 8px !important; }
  .trp-sign { margin-top: 36px; }
}

/* ---------- सर्व छापील पाने: एकसारखे शीर्षक व तक्ते ---------- */
.trp-ghost { width: 68px; height: 1px; visibility: hidden; flex: 0 0 auto; }
.pdoc-head { margin-bottom: 0; }
.pdoc-sub { text-align: center; font-size: 12.5px; color: #5b6770; margin: -2px 0 10px; }
.print-page .trp-title { margin-bottom: 10px; }
.print-page .table > thead > tr > th, .print-page table.fi-grid thead th {
  background: var(--sms-soft) !important; color: var(--sms-dark); font-weight: 700; border-bottom: 2px solid var(--sms-2) !important;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.print-page .table-bordered > :not(caption) > * > * { border-color: #cfd8df; }
.print-page .table > tbody > tr:nth-child(even) > td { background: #fafcfd; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.print-page tfoot td, .print-page tr.table-light td, .print-page tr.fw-bold td { background: var(--sms-soft) !important; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.print-page .receipt-box { border: 1.5px solid var(--sms-2); border-radius: 8px; }
@media print { .trp-ghost { width: 58px; } }

/* आमच्याविषयी पान */
.about-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 14px; color: #fff;
  background: linear-gradient(120deg, var(--sms-dark), var(--sms-2)); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.about-logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; flex: 0 0 auto; }
.about-text { line-height: 1.85; text-align: justify; }
.about-stat { background: #fff; border-radius: 12px; padding: 14px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.about-stat b { display: block; font-size: 1.8rem; color: var(--sms); line-height: 1.1; }
.about-stat span { font-size: .85rem; color: #5b6770; }
@media (max-width: 576px) { .about-hero { flex-direction: column; text-align: center; } }

/* इंग्रजीत मेनूचे शब्द एका ओळीत */
.navbar .nav-link, .navbar .btn { white-space: nowrap; }

/* इंग्रजी मजकुराची जागा */
.en-box { border: 1px dashed var(--sms-2); border-radius: 8px; padding: 8px 12px; background: #f7fbfe; }
.en-box summary { cursor: pointer; color: var(--sms-dark); }

/* ===== सोसायटी मित्र (AI मदतनीस) ===== */
.mitra { position: fixed; right: 18px; bottom: 18px; z-index: 1080; font-size: 14px; }
.mitra-fab { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; padding: 0; background: #e8f1fb;
  box-shadow: 0 6px 20px rgba(20, 50, 90, .35); cursor: pointer; overflow: visible; transition: transform .2s; }
.mitra-fab:hover { transform: scale(1.06); }
.mitra-fab-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.mitra-fab-img img, .mitra-fab-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mitra-fab::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: #2fbf71; border: 2px solid #fff; }
.mitra-tip { position: absolute; right: 74px; bottom: 16px; white-space: nowrap; background: #fff; color: #1f3d6b; font-weight: 600; padding: 6px 12px; border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15); opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.mitra.tip .mitra-tip { opacity: 1; transform: none; }
.mitra.open .mitra-fab { display: none; }
.mitra-panel { position: absolute; right: 0; bottom: 0; width: 370px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 36px);
  background: #fff; border-radius: 18px; box-shadow: 0 14px 44px rgba(20, 50, 90, .35); display: flex; flex-direction: column; overflow: hidden; animation: mitraIn .25s ease-out; }
@keyframes mitraIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.mitra-head-bar { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 8px 12px; color: #fff;
  background: linear-gradient(135deg, var(--sms, #1f5f8b), var(--sms-dark, #174a6d)); }
.mitra-stage { position: relative; width: 96px; height: 96px; flex: 0 0 96px; margin-bottom: -2px; }
.mitra-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #e8f1fb; border: 3px solid rgba(255,255,255,.85); }
.mitra-avatar img, .mitra-avatar svg, .mitra-avatar video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mitra-badge { position: absolute; right: -4px; top: -2px; font-size: 22px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.mitra-badge:empty { display: none; }
.mitra-title { flex: 1; min-width: 0; padding-bottom: 6px; }
.mitra-title b { display: block; font-size: 17px; }
.mitra-title small { opacity: .85; }
.mitra-x, .mitra-new { align-self: flex-start; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; }
.mitra-x:hover, .mitra-new:hover { background: rgba(255,255,255,.3); }
.mitra-log { flex: 1; overflow-y: auto; padding: 12px; background: #f4f7fb; }
.mitra-msg { max-width: 88%; margin: 0 0 10px; padding: 8px 11px; border-radius: 14px; line-height: 1.5; word-wrap: break-word; }
.mitra-msg p { margin: 0 0 4px; } .mitra-msg p:last-child { margin: 0; }
.mitra-msg ul { margin: 2px 0 4px; padding-left: 18px; }
.mitra-msg.assistant { background: #fff; border: 1px solid #e1e8f0; border-bottom-left-radius: 4px; }
.mitra-msg.user { background: var(--sms, #1f5f8b); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.mitra-msg a { font-weight: 600; }
.mitra-typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #8aa3bd; animation: mitraDot 1s infinite; }
.mitra-typing span:nth-child(2) { animation-delay: .15s; } .mitra-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mitraDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.mitra-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; background: #f4f7fb; }
.mitra-chips:not(:empty) { padding-bottom: 8px; }
.mitra-chips button { border: 1px solid #c9d8e8; background: #fff; color: #1f3d6b; border-radius: 14px; padding: 3px 10px; font-size: 12.5px; }
.mitra-chips button:hover { background: #e8f1fb; }
.mitra-form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #e6ebf1; }
.mitra-form textarea { flex: 1; resize: none; border: 1px solid #cfd9e4; border-radius: 12px; padding: 7px 10px; font: inherit; max-height: 110px; outline: none; }
.mitra-form textarea:focus { border-color: var(--sms, #1f5f8b); }
.mitra-form button { width: 40px; border: 0; border-radius: 12px; background: var(--sms-2, #3d8fbf); color: #fff; font-size: 17px; }
.mitra-foot { font-size: 11px; color: #8a97a6; text-align: center; padding: 0 8px 6px; }
/* रेखाचित्राचे हावभाव */
.mitra-svg .mitra-head { transform-origin: 100px 120px; }
.mitra[data-pose="greet"] .mitra-badge, .mitra[data-pose="bye"] .mitra-badge { animation: mitraWave 1s ease-in-out 2; transform-origin: 70% 90%; }
@keyframes mitraWave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(22deg); } 75% { transform: rotate(-12deg); } }
.mitra[data-pose="think"] .mitra-avatar { animation: mitraTilt 1.6s ease-in-out infinite; }
@keyframes mitraTilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-5deg); } }
.mitra[data-pose="done"] .mitra-badge, .mitra[data-pose="accounts"] .mitra-badge { animation: mitraPop .5s ease-out; }
@keyframes mitraPop { from { transform: scale(.2); } to { transform: scale(1); } }
.mitra[data-pose="accounts"] .mitra-badge { background: #2fbf71; color: #fff; font-weight: 700; font-size: 15px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.mitra[data-pose="sorry"] .mitra-brow { transform: translateY(2px); }
.mitra[data-pose="sorry"] .mitra-mouth { d: path("M88 110 q12 -6 24 0"); fill: none; }
.mitra-eyes { animation: mitraBlink 4s infinite; transform-origin: 100px 83px; }
@keyframes mitraBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@media (max-width: 575px) { .mitra { right: 10px; bottom: 10px; } .mitra-panel { position: fixed; inset: auto 8px 8px 8px; width: auto; height: calc(100vh - 70px); } }
@media print { .mitra { display: none !important; } }
/* AI सेटिंग: पोझ */
.ai-pose-thumb { height: 110px; display: grid; place-items: center; background: #f4f7fb; border-radius: 8px; overflow: hidden; }
.ai-pose-thumb img, .ai-pose-thumb video { max-height: 110px; max-width: 100%; object-fit: contain; }
/* AI बटणांचे निकाल */
.ai-box { background: #f6f9fd; border: 1px solid #d6e3f1; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.ai-box h3 { font-size: 15px; margin: 10px 0 4px; }
.ai-sug { background: #fff8db !important; }

/* सार्वजनिक मेनू: लांब नाव + मेनू १००% झूममध्ये एका रुंदीत बसावे */
.pub-nav .navbar-brand { min-width: 0; flex: 0 1 auto; margin-right: .75rem; }
.pub-brand-name { display: block; white-space: normal; line-height: 1.2; font-size: 1.05rem; max-width: 330px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pub-nav .navbar-collapse { min-width: 0; }
.pub-nav .nav-link { padding-left: .45rem !important; padding-right: .45rem !important; font-size: .95rem; }
@media (max-width: 1199.98px) { .pub-brand-name { max-width: 70vw; } }
@media (min-width: 1400px) { .pub-brand-name { max-width: 420px; } }

/* मजकुरातील (TinyMCE) मथळे — मजकुराच्या तुलनेत योग्य आकार (मराठी व English दोन्ही) */
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 {
  color: var(--sms); font-weight: 600; line-height: 1.35; text-align: left; margin: 1.1rem 0 .5rem; }
.rich-content h1 { font-size: 1.45rem; }
.rich-content h2 { font-size: 1.3rem; }
.rich-content h3 { font-size: 1.15rem; }
.rich-content h4, .rich-content h5, .rich-content h6 { font-size: 1.05rem; }
.rich-content > :first-child { margin-top: 0; }
@media (max-width: 576px) { .rich-content h1 { font-size: 1.3rem; } .rich-content h2 { font-size: 1.2rem; } .rich-content h3 { font-size: 1.1rem; } }

/* सोसायटी मित्र: तक्ते, मथळे, मोठे पॅनेल */
.mitra-big { align-self: flex-start; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; line-height: 1; }
.mitra-big:hover { background: rgba(255,255,255,.3); }
.mitra.big .mitra-panel { width: min(760px, calc(100vw - 24px)); height: min(85vh, 860px); }
.mitra.big .mitra-msg { max-width: 94%; }
.mitra-msg .mitra-h { font-weight: 700; color: var(--sms, #1f5f8b); margin: 6px 0 4px; }
.mitra-msg ol { margin: 2px 0 4px; padding-left: 20px; }
.mitra-msg hr { margin: 6px 0; opacity: .2; }
.mitra-msg code { background: #eef3f8; padding: 0 4px; border-radius: 4px; font-size: .9em; }
.mitra-tbl { overflow-x: auto; margin: 4px 0 6px; border: 1px solid #e1e8f0; border-radius: 8px; }
.mitra-tbl table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.mitra-tbl th { background: var(--sms-soft, #e8f1fb); color: var(--sms, #1f5f8b); font-weight: 600; text-align: left; padding: 5px 8px; white-space: nowrap; position: sticky; top: 0; }
.mitra-tbl td { padding: 4px 8px; border-top: 1px solid #eef2f6; vertical-align: top; }
.mitra-tbl tbody tr:nth-child(even) td { background: #f8fafc; }
.mitra-tbl .n { text-align: right; white-space: nowrap; }
.mitra-msg.assistant:has(.mitra-tbl) { max-width: 96%; }

/* आमच्याविषयी: नकाशा */
.about-map { border-radius: 10px; overflow: hidden; border: 1px solid #e1e8f0; aspect-ratio: 4 / 3; }
.about-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.about-contact .ac-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed #e6ebf1; }
.about-contact .ac-row:last-child { border-bottom: 0; }
.about-contact .ac-ic { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--sms-soft, #e8f1fb); display: grid; place-items: center; font-size: 15px; }
.about-contact dt { font-weight: 600; color: var(--sms, #1f5f8b); font-size: .8rem; margin: 0; }
.about-contact dd { margin: 0; overflow-wrap: anywhere; }

/* मेंटेनन्स कसा भरायचा */
.pay-due { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; color: #fff; }
.pay-due.is-due { background: linear-gradient(135deg, #c0392b, #e0674f); }
.pay-due.is-clear { background: linear-gradient(135deg, #1e8449, #3fae6a); }
.pay-h { color: var(--sms, #1f5f8b); font-weight: 700; margin-bottom: .7rem; }
.pay-qr-big { display: block; padding: 6px; border: 1px solid #dde6ef; border-radius: 10px; background: #fff; }
.pay-qr-big img { width: 190px; height: 190px; object-fit: contain; display: block; }
.pay-kv { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; border-bottom: 1px dashed #eef2f6; }
.pay-kv span { min-width: 110px; color: #6c7a89; }
.print-page .pay-due { color: #000; background: none !important; border: 1px solid #999; }

/* वरची पट्टी: सोसायटीचे नाव + नोंदणी क्र. ("सोसायटी मॅनेजमेंट" ऐवजी) */
.app-brand { min-width: 0; flex: 1 1 auto; margin-right: .75rem; }
.app-brand-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; gap: 3px; }
.app-brand-name { font-weight: 600; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-brand-reg { font-size: .74rem; opacity: .82; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .2px; }
nav.navbar:has(.app-brand) { padding-top: .7rem; padding-bottom: .7rem; }
.app-brand .brand-logo { width: 42px; height: 42px; }
@media (max-width: 575px) { .app-brand-name { font-size: .92rem; max-width: 52vw; } }
/* admin डॅशबोर्ड: फक्त झटपट टॅब */
.mh-slim { padding: 12px 16px; border-radius: 12px; }
.mh-slim .mh-quick { width: 100%; }

/* माझे दस्तऐवज: कार्ड */
.doc-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(20,45,70,.08); height: 100%; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.doc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,45,70,.14); }
.doc-cover { position: relative; display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--sms, #1f5f8b), var(--sms-2, #3d8fbf)); overflow: hidden; }
.doc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-cover .doc-ic { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.doc-cover-transfer { background: linear-gradient(135deg, #6c3fb5, #a06cd5); }
.doc-cover-share_certificate { background: linear-gradient(135deg, #b8860b, #e0b43c); }
.doc-cover-nomination { background: linear-gradient(135deg, #1e8449, #3fae6a); }
.doc-cover-noc { background: linear-gradient(135deg, #0e7490, #22a3c3); }
.doc-cover-death_certificate, .doc-cover-legal_heir { background: linear-gradient(135deg, #4b5563, #8a94a3); }
.doc-unit { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #1f3d6b; font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 12px; }
.doc-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.doc-type { font-weight: 700; color: var(--sms, #1f5f8b); }
.doc-sub { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.doc-meta { font-size: .75rem; color: #7a8794; }
.doc-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.doc-cover-thumb { aspect-ratio: 3 / 2; background: #f4f7fb; border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.doc-cover-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* मार्केटिंग डेमो पट्टी */
.showcase-bar { background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0d58a; font-size: .85rem; padding: .35rem .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 1031; }
.auth-bg .showcase-bar { position: sticky; top: 0; }
.showcase-roles .btn { border-radius: .7rem; }
