/* BJ design system: Material-inspired components in Banarasi Joda brand colours. */
:root{--bj-danger:#ef4444;--bj-danger-soft:#fef2f2;--bj-button-size:13px;--bj-primary:#064e3b;--bj-on-primary:#fff;--bj-primary-container:#d6f2e5;--bj-on-container:#003828;--bj-secondary:#80652d;--bj-surface:#fffcf5;--bj-outline:#b9c8c0;--bj-text:#172b24;--bj-muted:#50665b;--bj-radius:20px;--bj-space:8px;--bj-focus:#9a752a}
body{color:var(--bj-text);font-size:var(--bj-body-size,13px)}
button,a[class*="btn-"],.bj-button{font-family:inherit!important;letter-spacing:.01em!important;text-transform:none!important;min-height:44px;border-radius:999px!important;font-weight:600!important;transition:background .15s,box-shadow .15s,opacity .15s!important;cursor:pointer}
button:focus-visible,a:focus-visible{outline:none!important;border-color:var(--bj-primary)!important;box-shadow:inset 0 0 0 2px var(--bj-primary)!important}
button:disabled,.bj-button:disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important}
button:hover:not(:disabled),.bj-button:hover{filter:brightness(.96)}
.btn-apple-primary,.btn-chat-primary,.btn-matched-chat,.btn-primary,.bj-filled{background:var(--bj-primary)!important;color:var(--bj-on-primary)!important;border:1px solid transparent!important;box-shadow:none!important}
.btn-apple-secondary,.btn-action,.bj-outlined{background:transparent!important;color:var(--bj-primary)!important;border:1px solid var(--bj-outline)!important;box-shadow:none!important}
.bj-tonal{background:var(--bj-primary-container)!important;color:var(--bj-on-container)!important;border:1px solid transparent!important}.btn-interest.interested{background:var(--bj-danger)!important;color:#fff!important;border:1px solid var(--bj-danger)!important}
.bj-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;text-decoration:none;line-height:1.25;font-size:var(--bj-button-size)!important;white-space:normal}
.bj-icon{display:inline-block;width:20px;height:20px;min-width:20px;fill:currentColor!important;stroke:none!important;vertical-align:middle;flex-shrink:0}
button svg:not(.bj-icon),a[class*="btn-"] svg:not(.bj-icon){width:20px;height:20px;flex-shrink:0;stroke-width:1.8}
.modal-close-apple{min-width:48px;min-height:48px;padding:12px!important;display:inline-flex;align-items:center;justify-content:center;background:transparent!important;color:var(--bj-primary)!important;border:0!important}
.bj-match-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bj-chip{display:inline-flex;align-items:center;gap:6px;background:var(--bj-primary-container);color:var(--bj-on-container);border-radius:8px;padding:8px 12px;font-size:.8rem;font-weight:600;min-height:36px}
.card-actions{flex-wrap:wrap;gap:8px!important}
.bj-family-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px;border:1px solid var(--bj-outline);border-radius:16px;background:var(--bj-surface);flex-wrap:wrap}
.bj-muted,.bj-empty{color:var(--bj-muted);font-size:.85rem;line-height:1.6}.bj-empty{padding:24px;text-align:center;margin:auto}
#templateChatModal .modal-dialog{border-radius:24px!important;overflow:hidden;max-height:90dvh}
#templateChatModal input:not([type=checkbox]),#templateChatModal textarea{display:none}
#templateChatStream{background:var(--bj-surface)!important;min-height:180px!important;max-height:36dvh!important;scroll-behavior:smooth;overflow-y:auto!important}
.bj-message{align-self:flex-start;max-width:85%;border:1px solid var(--bj-outline);border-radius:16px 16px 16px 4px;padding:12px 16px;background:#fff;color:var(--bj-text);font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
.bj-message.bj-mine{align-self:flex-end;border-radius:16px 16px 4px 16px;background:var(--bj-primary-container);border-color:transparent}
.bj-message small{display:block;color:var(--bj-muted);font-size:.72rem;font-weight:600}.bj-message p{margin:6px 0}.bj-message time{display:block;text-align:right;color:var(--bj-muted);font-size:.68rem;margin-top:6px}
.bj-contact-card{display:flex;gap:8px;align-items:center;border:1px solid var(--bj-outline);padding:10px;border-radius:12px;margin:10px 0;background:var(--bj-surface)}
.bj-template-option{border:1px solid var(--bj-outline);background:#fff;color:var(--bj-text);border-radius:12px!important;min-height:48px;text-align:left;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;font-size:.82rem;line-height:1.5}
.bj-filter-chip{min-height:40px;border:1px solid var(--bj-outline)!important;background:transparent!important;color:var(--bj-primary)!important;padding:8px 14px;white-space:nowrap}.bj-filter-chip.bj-selected{background:var(--bj-primary-container)!important;color:var(--bj-on-container)!important}
.bj-field{display:grid;gap:8px;font-size:.9rem;font-weight:600}.bj-field input{border:1px solid var(--bj-outline);border-radius:8px;padding:14px;min-height:48px;font:inherit}.bj-consent{display:flex;align-items:flex-start;gap:12px;line-height:1.6;font-size:.85rem;margin:16px 0}.bj-consent input{width:20px;height:20px;accent-color:var(--bj-primary);flex-shrink:0;margin-top:3px}
@media(max-width:600px){.bj-family-row{align-items:flex-start;flex-direction:column}.bj-message{max-width:92%}.bj-button{padding:10px 14px}.bj-match-actions{gap:6px}#templateChatModal .modal-dialog{max-height:94dvh;margin:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}

/* BJ mobile refinement: compact menus, contained account sheet and dense cards. */
#accountDropdown{width:320px!important;max-width:calc(100vw - 24px)!important;padding:12px!important;border-radius:20px!important;max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}
#accountDropdown .account-menu-header{position:relative;padding:4px 42px 12px 2px!important;gap:10px!important}
#accountDropdown .account-menu-avatar{width:36px!important;height:36px!important;font-size:16px!important}
#accountDropdown .account-menu-name{font-size:14px!important;line-height:1.4}
#accountDropdown .account-menu-status{font-size:12px!important;line-height:1.4;margin-top:3px}
.bj-menu-close{position:absolute;right:-4px;top:-4px;width:44px!important;min-height:44px!important;border:0;background:transparent;color:var(--bj-muted);padding:12px!important;display:grid;place-items:center}
#verifyReminderCard{padding:12px!important;margin:0 0 8px!important;border:0!important;border-radius:12px!important;background:#f0f7f3!important;box-shadow:none!important}
#verifyReminderCard .verify-reminder-top{gap:8px!important;align-items:center!important;margin:0!important}
#verifyShieldBox{width:24px!important;height:24px!important;background:none!important;margin:0!important;display:grid;place-items:center}
#verifyStatusTitle{font-size:13px!important;line-height:1.4!important;color:var(--bj-primary)!important}
#verifyStatusSub{font-size:11px!important;line-height:1.4!important;margin-top:2px!important}
#verifyReminderCard .verify-progress-bar-bg{height:4px!important;margin:10px 0 8px!important;background:#dce9e1!important}
#verifyReminderCard .verify-progress-bar-fill{background:var(--bj-primary)!important}
#btnVerifyActionInDropdown{width:auto!important;max-width:100%!important;min-height:32px!important;height:32px!important;line-height:1!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--bj-primary)!important;font-size:12px!important;gap:6px!important;justify-content:flex-start!important;white-space:nowrap!important;box-shadow:none!important}
#accountDropdown .account-menu-item{min-height:46px!important;border-radius:10px!important;padding:10px!important;font-size:13px!important;gap:12px!important;line-height:1.3!important}
#accountDropdown .account-menu-divider{margin:6px 0!important}
#accountDropdown .item-logout{color:var(--bj-danger)!important;background:var(--bj-danger-soft)!important}#accountDropdown .item-logout .bj-icon{color:inherit!important}.bj-danger{background:var(--bj-danger)!important;color:#fff!important;border-color:transparent!important}
#verifyFloatingBanner .verify-banner-inner{padding:10px 16px!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important}
#verifyFloatingBanner .verify-banner-text{font-size:12px!important;line-height:1.4!important}
#verifyFloatingBanner .verify-banner-inner>div:first-child{flex:1;min-width:0}
#verifyFloatingBanner .verify-banner-inner>div:last-child{flex-shrink:0}
#verifyFloatingBanner .btn-banner-verify{min-height:36px!important;height:36px!important;width:auto!important;font-size:12px!important;padding:8px 12px!important;white-space:nowrap}
#verifyFloatingBanner .btn-banner-close{min-width:36px!important;min-height:36px!important;width:36px!important;padding:8px!important}
#accountModal{padding:16px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;box-sizing:border-box}
#accountModal .bj-account-dialog{display:flex!important;flex-direction:column!important;width:min(100%,460px)!important;max-width:460px!important;max-height:calc(100dvh - 32px)!important;height:auto!important;overflow:hidden!important;padding:0!important;margin:0!important;border-radius:24px!important;box-sizing:border-box}
.bj-account-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 12px 12px 20px;border-bottom:1px solid #e4ebe6;flex-shrink:0;background:#fff;z-index:2}
.bj-account-toolbar h2{font-size:17px;margin:0;color:var(--bj-primary)}
#accountModal .bj-account-toolbar .modal-close-apple{position:static!important;flex-shrink:0;width:44px!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:12px!important}
.bj-account-body{padding:20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.bj-account-identity{display:flex;gap:12px;align-items:center;text-align:left}
#accountModal .account-big-avatar{width:48px!important;height:48px!important;min-width:48px;margin:0!important;font-size:20px!important;border:0!important;box-shadow:none!important;display:grid;place-items:center}
#accModalName{font-size:18px!important;margin:0 0 4px!important;line-height:1.3}
#accModalPhone{font-size:12px!important;margin:0 0 6px!important;padding:0!important;border:0!important;background:transparent!important;display:block!important;color:var(--bj-muted)}
#accModalVerifiedBadge{display:inline-block;font-size:10px!important;padding:3px 7px!important;background:var(--bj-primary-container)!important;color:var(--bj-on-container)!important;border:0!important}
#accountModal .account-stats-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:18px 0!important;border:1px solid #e4ebe6;border-radius:12px;padding:12px 0;background:#f8faf9}
#accountModal .stat-box{padding:0 6px!important;background:transparent!important;border:0!important;border-radius:0!important;text-align:center;display:grid;gap:4px}
#accountModal .stat-box+.stat-box{border-left:1px solid #e4ebe6!important}
#accountModal .stat-num{font-size:18px!important;line-height:1.3!important;color:var(--bj-primary)}
#accountModal .stat-lbl{font-size:10px!important;line-height:1.3!important;white-space:normal}
.bj-contact-summary{border:1px solid #e4ebe6;border-radius:12px;padding:0 14px;background:#fff}
.bj-contact-summary-row{padding:12px 0}.bj-contact-summary-row+.bj-contact-summary-row{border-top:1px solid #e4ebe6}
.bj-contact-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:600;margin-bottom:5px}
.bj-contact-status{font-size:10px;white-space:nowrap;color:var(--bj-primary);background:#eef6f0;padding:3px 6px;border-radius:6px}
#accPhoneStatusBadge{background:#f6f3eb;color:#77623c}
#accEmailVerifiedText,#accPhoneVerifiedText{font-size:13px;font-weight:500;color:var(--bj-text);overflow-wrap:anywhere;word-break:break-word;line-height:1.5}
.bj-contact-note{font-size:10px;line-height:1.5;color:var(--bj-muted);margin:5px 0 0}
.bj-registered-profile{margin-top:16px}.bj-registered-profile h4{font-size:12px;color:var(--bj-muted);margin:0 0 8px}
#accountModal .acc-preview-box{padding:12px!important;border-radius:12px!important;border:1px solid #e4ebe6!important;background:#fafcfb!important;text-align:left;margin:0!important;line-height:1.5}
#accPrevTitle{font-size:14px!important;color:var(--bj-primary)}#accPrevSub,#accPrevWork{font-size:12px!important;color:var(--bj-muted);margin:4px 0 0!important}
.bj-account-actions{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 20px 16px;border-top:1px solid #e4ebe6;background:#fff;flex-shrink:0}
.bj-account-actions button{font-size:12px!important;min-height:42px!important;margin:0!important;gap:6px!important;padding:10px 14px!important;white-space:nowrap}
body:has(.modal-backdrop.open) #whatsappSupportBubble,body:has(#accountDropdown.show) #whatsappSupportBubble{display:none!important}
#cardsList{align-items:start!important}
.profile-card{justify-content:flex-start!important;gap:12px!important;min-height:0!important;height:auto!important;padding:16px!important;border:1px solid #dfe7e1!important;border-radius:20px!important;box-shadow:0 2px 8px #173c2910!important}
.card-row{margin:0!important;gap:12px!important}.card-info{gap:4px!important;overflow:visible!important}
.card-name,.card-spec,.card-work,.card-managed,.card-city-line,.card-khandaan-line{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere;line-height:1.5!important}
.card-name{font-size:18px!important;line-height:1.3!important}.card-spec{font-size:12px!important}.card-managed{font-size:11px!important;color:var(--bj-muted)!important}
.card-meta-focus-row{gap:5px!important;margin:2px 0!important}.firqa-highlight-badge,.banaras-origin-badge{font-size:10px!important;white-space:normal!important}
.btn-lineage-toggle{margin:0!important;padding:8px 0!important;min-height:36px!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;justify-content:flex-start!important;font-size:12px!important;line-height:1.4!important;display:flex;align-items:center;gap:6px}
.card-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 44px!important;gap:8px!important;margin:0!important;padding:10px 0 0!important;border-top:1px solid #e9eeeb!important;align-items:center!important}
.card-actions>button,.card-actions>.bj-match-actions{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
.card-actions button{height:42px!important;min-height:42px!important;font-size:12px!important;padding:8px 10px!important;gap:6px!important}
.card-actions .btn-share{width:44px!important;height:44px!important;padding:12px!important;border-radius:50%!important;display:inline-flex!important;align-items:center;justify-content:center}
.card-actions .btn-share span{display:none!important}.card-actions .bj-match-actions{gap:4px!important;justify-content:center}.card-actions .bj-chip{font-size:10px;padding:5px;gap:3px}.card-actions .bj-match-actions button{padding:8px!important}
.card-photo-box{width:86px!important;height:112px!important}.card-photo-box .groom-tag,.pardah-tag{font-size:9px!important;padding:4px 5px!important}
@media(max-width:480px){#accountDropdown{position:fixed!important;right:12px!important;left:auto!important;top:calc(74px + var(--wp-admin--admin-bar--height,0px))!important;width:300px!important;max-height:calc(100dvh - 100px - var(--wp-admin--admin-bar--height,0px))!important}#accountModal{padding:12px!important}#accountModal .bj-account-dialog{max-height:calc(100dvh - 24px)!important}.bj-account-body{padding:16px}.bj-account-actions{padding:12px 16px 16px}.profile-card{padding:14px!important}.card-row{gap:10px!important}.card-name{font-size:17px!important}.card-photo-box{width:80px!important;height:108px!important}#verifyFloatingBanner .verify-banner-inner{gap:8px!important;padding:8px 12px!important}#verifyFloatingBanner .verify-banner-inner>div:first-child>span:first-child{display:none!important}#verifyFloatingBanner .verify-banner-text{font-size:11px!important}.filter-bar{flex-wrap:wrap!important}}
@media(max-width:360px){.card-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px!important;gap:6px!important}.card-actions .btn-share{width:40px!important;min-width:40px!important}.card-photo-box{width:68px!important;height:94px!important}#verifyFloatingBanner .verify-banner-text{max-width:125px}}

/* BJ photo-first matrimonial cards: explicit SVG icons, generous photo, no sidebar void. */
#cardsList{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;gap:20px!important}
.profile-card.bj-profile-card{padding:0!important;gap:0!important;overflow:hidden!important;border-radius:22px!important;border:1px solid #dce5df!important;background:#fff!important;box-shadow:0 3px 14px #0c33290b!important;transition:box-shadow .2s,border-color .2s}
.bj-profile-cover{position:relative;aspect-ratio:4/3;min-height:220px;max-height:330px;background:#e9efeb;overflow:hidden;border-bottom:1px solid #e5ece7}
.bj-photo-open{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:hidden}
.bj-photo-open:hover{filter:none!important}.bj-photo-open:focus-visible{outline-offset:-4px!important}
.bj-profile-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%;transition:transform .3s}
.bj-photo-open:hover .bj-profile-photo{transform:scale(1.025)}
.bj-cover-share{position:absolute;right:12px;top:12px;z-index:1;display:grid;place-items:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;aspect-ratio:1;box-sizing:border-box!important;flex-shrink:0;line-height:1!important;padding:11px!important;border:1px solid #ffffffa6!important;border-radius:50%!important;background:#ffffffed!important;color:var(--bj-primary)!important;box-shadow:0 2px 8px #10342515}
.bj-profile-content{padding:18px;display:grid;gap:14px;min-width:0}
.bj-profile-heading h3{font-size:22px;line-height:1.25;font-weight:700;letter-spacing:-.025em;margin:0 0 7px;color:var(--bj-primary);overflow-wrap:anywhere}
.bj-profile-specs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px;line-height:1.5;color:var(--bj-muted)}
.bj-profile-badges{display:flex;gap:6px;flex-wrap:wrap}.bj-profile-badges>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:#edf7f1;color:var(--bj-primary);font-size:10px;line-height:1.35;font-weight:600;border:1px solid #dceee2}.bj-profile-badges>.bj-origin-badge{background:#faf6e9;color:#866529;border-color:#eee3bb}.bj-profile-badges .bj-icon{width:14px;height:14px;min-width:14px}
.bj-profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding:14px 0;border-top:1px solid #edf0ee;border-bottom:1px solid #edf0ee}
.bj-profile-fact{display:flex;align-items:center;gap:9px;min-width:0}.bj-profile-fact>.bj-icon{color:var(--bj-primary);width:18px;height:18px;min-width:18px;margin-top:2px}.bj-profile-fact>div{min-width:0;flex:1;display:block}.bj-profile-fact span{font-size:10px;color:#65776d;line-height:1.3}.bj-profile-fact strong{font-size:12px;font-weight:500;line-height:1.45;color:#203c2f;overflow-wrap:anywhere}.bj-fact-wide{grid-column:1/-1}
.bj-family-details{border:0;margin:0;padding:0}.bj-family-details summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;color:var(--bj-primary);font-size:12px;font-weight:600;cursor:pointer;border-radius:8px}.bj-family-details summary::-webkit-details-marker{display:none}.bj-family-details summary>.bj-icon:last-child{margin-left:auto;transition:transform .2s}.bj-family-details[open] summary>.bj-icon:last-child{transform:rotate(180deg)}.bj-family-details summary:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--bj-primary)}.bj-family-details dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 0;padding:12px;border-radius:12px;background:#f5f8f6}.bj-family-details dt{font-size:10px;color:var(--bj-muted);margin-bottom:3px}.bj-family-details dd{font-size:12px;margin:0;color:var(--bj-text);overflow-wrap:anywhere}
.bj-profile-footer{display:grid;gap:12px}.bj-profile-footer>span{font-size:10px;color:#697d71;line-height:1.3}.bj-profile-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:10px;align-items:center}.bj-profile-actions>.bj-button{width:100%;min-width:0;min-height:44px;font-size:var(--bj-button-size)!important;margin:0;padding:10px 14px}.bj-profile-actions>.btn-interest{background:transparent!important;color:var(--bj-danger)!important;border:1px solid var(--bj-danger)!important}.bj-profile-actions>.btn-interest.interested{background:var(--bj-danger)!important;color:#fff!important;border-color:var(--bj-danger)!important}.bj-profile-actions>.bj-match-actions{justify-content:flex-end;gap:6px}.bj-profile-actions .bj-chip{padding:5px 7px;font-size:10px;gap:3px}.bj-profile-actions .bj-match-actions .bj-button{padding:10px 12px;font-size:var(--bj-button-size)!important;min-height:44px}.bj-profile-actions .bj-chip>.bj-icon{width:15px;height:15px;min-width:15px}
.bj-photo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,#edf3ee,#dbe7de);color:#5c7966}.bj-photo-placeholder>.bj-icon{width:64px;height:64px;min-width:64px;opacity:.55}.bj-photo-placeholder>span{font-size:12px}
.bj-pardah-cover{background:linear-gradient(135deg,#f6f0de,#e9dfbf)}.bj-protected-initial{height:100%;display:grid;place-items:center;color:#6c5725;font-size:100px;font-family:'Noto Nastaliq Urdu',serif}.bj-photo-status{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;background:#fff9ebec;color:#705b2a;padding:7px 12px;border-radius:999px;font-size:11px;white-space:nowrap}.bj-photo-status>.bj-icon{width:16px;height:16px;min-width:16px}
@media(max-width:480px){#cardsList{gap:18px!important}.bj-profile-cover{aspect-ratio:4/3;max-height:none;min-height:220px}.bj-profile-content{padding:16px;gap:12px}.bj-profile-heading h3{font-size:21px}.bj-profile-specs{font-size:12px}.bj-profile-facts{gap:12px}.bj-profile-actions{gap:8px}.bj-profile-actions .bj-match-actions{gap:4px}.bj-profile-actions .bj-match-actions .bj-button{padding:10px;font-size:var(--bj-button-size)!important}.bj-cover-share{right:12px;top:12px}}

/* Compact BJ profile editor: normal fields, quiet completion and bounded mobile height. */
#addModal{padding:12px!important;align-items:center!important}
#addModal .modal-dialog{width:100%!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:16px!important;box-sizing:border-box}
#addModal .modal-close-apple{position:sticky!important;top:0!important;float:right;right:0!important;z-index:5;width:36px!important;height:36px!important;margin:0 0 4px 8px;background:#fff!important;border:1px solid #e1e7e3!important}
.bj-form-navigation[hidden]{display:none!important}.bj-form-navigation{display:flex;gap:8px;align-items:center;margin:0 44px 16px 0;min-height:36px}
.bj-form-navigation>label{font-size:12px;font-weight:600;color:var(--bj-muted);white-space:nowrap}
#bjFormSection{min-width:0;flex:1;height:36px!important;padding:6px 24px 6px 10px!important;font-size:13px!important;border:1px solid #dce4df!important;border-radius:8px!important;background:#fff;color:var(--bj-primary)}
.bj-form-status{font-size:12px;line-height:1.4;margin:0 0 12px;color:var(--bj-muted)}.bj-form-status[hidden]{display:none}.bj-save-error{color:var(--bj-danger)!important}
#regForm .reg-step-badge{display:inline-flex;width:28px;height:28px;border:0;background:transparent;color:var(--bj-primary);box-shadow:none;margin:0 6px 8px 0;vertical-align:middle;border-radius:0}
#regForm .reg-step-badge .bj-icon{width:24px;height:24px}
#regForm .reg-step-title{display:inline;font-size:20px!important;line-height:1.3!important;letter-spacing:-.3px;font-weight:700!important;margin:0!important}
#regForm .reg-step-sub{font-size:13px!important;line-height:1.4!important;margin:4px 0 16px!important}
#regForm .form-field-group{padding:0!important;background:transparent!important;border-radius:0;margin-bottom:12px!important;min-width:0}
#regForm .form-field-group>label{display:block;font-size:12px!important;line-height:1.35!important;margin-bottom:5px!important;font-weight:600!important}
#regForm .form-field-group>label::after{content:none!important}
#regForm input:not([type=hidden]):not([type=file]),#regForm select{height:42px!important;min-height:42px!important;padding:9px 10px!important;font-size:14px!important;box-sizing:border-box;width:100%;min-width:0}
#regForm .bj-field-complete input:not([type=hidden]),#regForm .bj-field-complete select{border-color:#28815d!important;background:#fff!important}
#regForm [aria-invalid=true]{border-color:var(--bj-danger)!important}
#regForm .f-row{gap:10px!important;margin-bottom:0!important}
#regForm .reg-chip{font-size:12px!important;min-height:36px!important;padding:8px 10px!important}
#regForm .chip-grid{gap:6px!important;margin-bottom:0!important}
#regForm .reg-nav-row{position:sticky;bottom:-16px;background:#fff;z-index:2;padding:10px 0 4px!important;margin:12px 0 0!important;gap:10px!important;border-top:1px solid #edf0ee}
#regForm .btn-reg-continue,#regForm .btn-reg-back{min-height:42px!important;height:42px!important;font-size:var(--bj-button-size)!important;margin:0!important;padding:10px 14px!important}
.bj-photo-upload{padding:12px;border:1px solid #e1e7e3;border-radius:12px;margin:12px 0}
.bj-upload-row{display:flex;align-items:center;gap:14px}.bj-upload-preview{width:80px;height:96px;flex-shrink:0;overflow:hidden;border-radius:10px;background:#f2f5f3;display:grid;place-items:center;color:#708579}.bj-upload-preview #photoPlaceholder>.bj-icon{width:32px;height:32px}.bj-upload-preview #photoPreviewWrap,.bj-upload-preview img{width:100%;height:100%;object-fit:cover}.bj-upload-description{min-width:0}.bj-upload-description .bj-button{font-size:var(--bj-button-size)!important;min-height:42px;padding:8px 12px}.bj-upload-description p,.bj-photo-help{font-size:12px!important;color:var(--bj-muted);line-height:1.45;margin:8px 0 0}.bj-phone-input{position:relative}.bj-phone-input>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--bj-muted);pointer-events:none}#regForm .bj-phone-input>input{padding-left:48px!important}
@media(max-width:380px){.bj-form-navigation>label{display:none}#regForm .reg-step-title{font-size:18px!important}#regForm .f-row{gap:8px!important}.bj-upload-row{gap:10px}}

/* A field has one focus boundary; country code and number occupy separate columns. */
input:focus,select:focus,textarea:focus{outline:none!important;box-shadow:none!important;border-color:var(--bj-primary)!important}
.input-group-apple:focus-within{border-color:var(--bj-primary)!important;box-shadow:none!important}
.input-group-apple input:focus{border:0!important}
#regForm .bj-phone-input{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
#regForm .bj-phone-input>span{position:static;transform:none;flex:0 0 auto;padding:0 10px 0 12px;line-height:1;font-size:14px;pointer-events:none}
#regForm .bj-phone-input>input{flex:1;width:0!important;min-width:0!important;padding:9px 8px!important;border:0!important;border-radius:0!important;background:transparent!important}
#regForm .bj-field-complete .bj-phone-input,#regForm .bj-phone-input:focus-within{border-color:var(--bj-primary)!important}
#regForm .bj-phone-input:has([aria-invalid=true]){border-color:var(--bj-danger)!important}
.bj-google-sign-in{display:flex;justify-content:center;align-items:center;min-height:44px;margin:10px 0;font-size:12px;color:var(--bj-muted)}

/* Account contact verification and aligned pill-shaped identity controls. */
.bj-account-phone-entry{display:flex;align-items:center;gap:8px;margin-top:8px;min-width:0}.bj-account-phone-entry>span{font-size:14px;color:var(--bj-muted)}.bj-account-phone-entry input{flex:1;min-width:0;width:0;border:1px solid var(--bj-outline);border-radius:10px;padding:10px;font-size:14px;height:42px;box-sizing:border-box}.bj-account-phone-entry .bj-button{font-size:var(--bj-button-size)!important;min-height:42px;padding:8px 12px;white-space:nowrap}#bjAccountOtpBox[hidden],#accPhoneUnverifiedRow[hidden],#accPhoneVerifiedRow[hidden]{display:none!important}#bjAccountOtpBox>label{display:block;font-size:12px;margin-top:12px}.bj-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#authModal .bj-google-sign-in{width:100%;margin:10px auto 12px;min-height:44px;justify-content:center}#authModal #phoneView>.btn-apple-secondary,#authModal #emailView>.btn-apple-secondary{max-width:400px;margin-left:auto;margin-right:auto}

/* BJ shared typography, compact listings and responsive app dialogs. */
:root{--bj-font:'Plus Jakarta Sans',Arial,sans-serif;--bj-card-title:18px;--bj-body-size:13px;--bj-label-size:11px}
body,button,input,select,textarea{font-family:var(--bj-font)!important}.bj-protected-initial{font-family:'Noto Nastaliq Urdu',serif!important}
#cardsList,#b2bCardsList{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
.bj-profile-card,.b2b-card{border:1px solid #dfe7e2!important;border-radius:16px!important;background:#fff!important;overflow:hidden;box-shadow:0 2px 8px #183c2910!important;margin:0!important;min-width:0}
.bj-profile-cover{aspect-ratio:4/3!important;min-height:0!important;height:auto!important;max-height:180px!important}
.bj-profile-content{padding:12px!important;gap:10px!important}.bj-profile-heading h3,.b2b-firm-name{font-size:var(--bj-card-title)!important;font-weight:700!important;line-height:1.35!important;letter-spacing:-.2px;margin:0!important}
.bj-profile-specs,.b2b-meta-line{font-size:12px!important;line-height:1.5!important;gap:4px!important}.bj-profile-facts{grid-template-columns:1fr!important;gap:8px!important;padding:10px 0!important}.bj-profile-fact span,.b2b-info-lbl{font-size:var(--bj-label-size)!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;color:var(--bj-muted)!important}.bj-profile-fact strong,.b2b-info-val{font-size:var(--bj-body-size)!important;font-weight:500!important;line-height:1.5!important}.bj-profile-fact>.bj-icon,.b2b-card .bj-icon{width:18px;height:18px;min-width:18px;color:var(--bj-primary)}
.bj-profile-badges>span,.b2b-tag,.b2b-verified-tag{font-size:11px!important;font-weight:500!important;padding:4px 6px!important}.bj-family-details summary{font-size:12px!important;min-height:34px!important}.bj-profile-actions>.bj-button,.b2b-actions-row>button{font-size:var(--bj-button-size)!important;min-height:40px!important;height:auto!important;border-radius:999px!important;padding:8px 10px!important;line-height:1.4!important}.bj-profile-actions{gap:6px!important}.bj-cover-share{right:8px!important;top:8px!important}
.b2b-card{padding:12px!important;display:flex;flex-direction:column;gap:10px}.b2b-card-header{display:flex;flex-wrap:wrap;gap:6px!important;margin:0!important}.b2b-meta-line{flex-wrap:wrap}.b2b-info-list{margin:0!important;padding:10px!important;border-radius:10px!important}.b2b-info-row{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px!important;padding:4px 0!important}.b2b-info-val{text-align:left!important}.b2b-tags-wrap{gap:4px!important;margin:0!important;display:flex;flex-wrap:wrap}.b2b-actions-row{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;margin:0!important}.b2b-actions-row>button{display:flex;gap:6px;align-items:center;justify-content:center}.b2b-loc,.b2b-verified-tag{display:inline-flex;align-items:center;gap:4px}
.bj-dialog-backdrop{position:fixed;inset:0;background:#0b231b80;display:flex;align-items:center;justify-content:center;padding:20px;z-index:100000;backdrop-filter:blur(3px)}.bj-dialog{box-sizing:border-box;max-width:400px;width:100%;padding:24px;border-radius:24px;background:#fff;color:var(--bj-text);box-shadow:0 20px 60px #08291b33;max-height:calc(100dvh - 40px);overflow:auto}.bj-dialog:focus{outline:none!important}.bj-dialog h2{font-size:20px;margin:0 0 12px;line-height:1.3}.bj-dialog p{font-size:14px;line-height:1.6;color:var(--bj-muted);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 24px}.bj-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.bj-dialog-actions .bj-button{font-size:var(--bj-button-size)!important;min-height:44px}
@media(max-width:1099px){#cardsList,#b2bCardsList{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bj-profile-cover{max-height:180px!important}.bj-profile-facts{grid-template-columns:1fr!important}}
@media(max-width:540px){#cardsList,#b2bCardsList{grid-template-columns:1fr!important;gap:14px!important}.bj-profile-cover{aspect-ratio:16/9!important;max-height:180px!important}.bj-profile-content,.b2b-card{padding:14px!important}.bj-profile-heading h3,.b2b-firm-name{font-size:18px!important}.bj-profile-facts{gap:8px!important}.bj-dialog{padding:20px}.bj-profile-actions>.bj-button{min-height:44px!important}}

/* BJ family connections: contained chat, three visible tabs and quiet match celebration. */
#interestsReceivedModal{padding:12px!important;box-sizing:border-box;overflow:hidden!important}
#templateChatModal .bj-chat-dialog{width:min(100%,540px)!important;max-width:540px!important;height:min(760px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;background:#fff!important;overflow:hidden!important;border-radius:22px!important}
.bj-chat-header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #e4ebe6;flex-shrink:0;background:#fff;color:var(--bj-primary)}
.bj-chat-avatar{height:40px;width:40px;display:grid;place-items:center;background:#edf5ef;border-radius:50%;flex-shrink:0}.bj-chat-title{min-width:0;flex:1}.bj-chat-title h2{font-size:17px!important;line-height:1.3;margin:0!important;overflow-wrap:anywhere}.bj-chat-title p{font-size:11px;color:var(--bj-muted);margin:4px 0 0}
.bj-icon-button{width:44px;min-width:44px;display:grid;place-items:center;padding:10px;border:0;background:transparent;color:var(--bj-primary)}
#templateChatModal #templateChatStream{flex:1 1 0!important;min-height:80px!important;max-height:none!important;padding:16px!important;display:flex;flex-direction:column;gap:12px;overflow-y:auto!important;background:#f5f7f5!important;overscroll-behavior:contain}
#templateChatStream .bj-message{flex-shrink:0;max-width:88%;box-sizing:border-box;min-width:0;padding:10px 12px;font-size:13px;line-height:1.6;border:1px solid #e1e7e2;box-shadow:0 1px 2px #12352406}
#templateChatStream .bj-message p{font-size:13px!important;line-height:1.6!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:5px 0!important}.bj-message .bj-contact-card{font-size:12px;min-width:0;overflow-wrap:anywhere}.bj-message .bj-button{font-size:var(--bj-button-size)!important;max-width:100%;box-sizing:border-box}
#templateOptionsList{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:min(180px,25dvh);padding:1px;overscroll-behavior:contain}
#templateChatModal .bj-template-option{height:auto!important;min-height:unset!important;max-height:none!important;flex-shrink:0!important;width:100%!important;box-sizing:border-box!important;padding:11px 12px!important;border-radius:12px!important;white-space:normal!important;font-size:12px!important;line-height:1.55!important;text-align:left!important;font-weight:500!important;overflow:visible!important}
.bj-template-option span{flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal!important}.bj-template-option .bj-icon{flex-shrink:0;width:18px;min-width:18px}
.bj-matched-label{display:flex;gap:5px;align-items:center;color:var(--bj-primary);font-size:11px!important;font-weight:600;margin:0 0 8px;line-height:1.5}.bj-matched-label .bj-icon{width:16px;min-width:16px;height:16px}
.bj-profile-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.bj-profile-actions>.bj-match-actions{display:contents!important}.bj-profile-actions button{width:100%;min-width:0}
#interestsReceivedModal .bj-connections-dialog{width:min(100%,560px)!important;max-width:560px!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;overflow:hidden!important;background:#fff;border-radius:22px!important}
.bj-connections-header{display:flex;gap:12px;align-items:center;padding:20px 16px 12px}.bj-connections-header>div{flex:1;min-width:0}.bj-connections-header h2{font-size:20px!important;margin:0!important;color:var(--bj-primary);line-height:1.3}.bj-connections-header p{font-size:12px;margin:6px 0 0;color:var(--bj-muted)}
.bj-connections-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 16px 16px;padding:4px;background:#f1f5f2;border-radius:14px;flex-shrink:0}
.bj-connections-tabs button{display:flex;justify-content:center;align-items:center;gap:5px;min-width:0;padding:10px 4px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--bj-muted)!important;font-size:12px!important;line-height:1.3;white-space:normal}
.bj-connections-tabs button.bj-selected{background:#fff!important;color:var(--bj-primary)!important;box-shadow:0 1px 5px #173c2914}.bj-connections-tabs button span{font-size:10px;padding:2px 5px;background:#e3ede6;border-radius:5px}
.bj-connections-list{overflow-y:auto;min-height:110px;max-height:60dvh;flex-direction:column;gap:10px;padding:0 16px 16px;overscroll-behavior:contain}
.bj-connections-list .bj-family-row{padding:14px;gap:10px;background:#fff;border:1px solid #e0e8e2;border-radius:16px;display:grid;grid-template-columns:1fr auto;align-items:center}
.bj-connections-list .bj-family-row>div:first-child{grid-column:1/-1;min-width:0}.bj-connections-list .bj-family-row strong{font-size:15px;color:var(--bj-primary);overflow-wrap:anywhere}.bj-connections-list .bj-match-actions{justify-content:flex-start}.bj-connections-list .bj-button{font-size:var(--bj-button-size)!important;min-height:40px;padding:9px 14px}.bj-connections-list .bj-matched-label{margin:6px 0 0;font-weight:400}
@media(max-width:360px){.bj-connections-tabs button{font-size:11px!important;gap:3px}.bj-chat-header{padding:12px}.bj-chat-title h2{font-size:15px!important}.bj-chat-composer{padding:10px 12px}.bj-chat-note{padding:8px 12px}}

/* Explicit exit icons render before JavaScript; calligraphy has its own clear safe area. */
.bj-connections-header>.bj-icon-button,.bj-chat-header>.bj-icon-button{flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;border:1px solid #dce6df!important;background:#f5f8f6!important;color:var(--bj-primary)!important;padding:11px!important;visibility:visible!important;opacity:1!important}.bj-icon-button>.bj-icon{display:block!important;width:20px!important;height:20px!important}
.bj-pardah-cover .bj-protected-initial{position:absolute;inset:16px 48px!important;height:auto!important;display:flex!important;align-items:center;justify-content:center;font-size:100px!important;line-height:1.35!important;padding:0 12px 8px;box-sizing:border-box;overflow:hidden;direction:rtl;isolation:isolate}
.bj-profile-badges>.bj-pardah-status{background:#fbf6e7!important;color:#705b2a!important;border:1px solid #e9dfbf!important}.bj-pardah-status .bj-icon{width:14px;min-width:14px;height:14px}

/* Bride and groom cards share dimensions; all cover statuses stay inside the cover. */
#cardsList{align-items:stretch!important}.profile-card.bj-profile-card{height:100%!important;box-sizing:border-box;display:flex!important;flex-direction:column!important}.bj-profile-content{flex:1}.bj-profile-footer{margin-top:auto}
.bj-pardah-cover .bj-protected-initial{inset:38px 20px 40px!important;padding:0!important;line-height:1.45!important;font-size:clamp(32px,4vw,46px)!important;overflow:visible;white-space:nowrap;max-width:calc(100% - 40px);text-align:center}
.bj-cover-pardah{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 24px);box-sizing:border-box;padding:5px 9px;background:#fff9ebf2;border:1px solid #e9dfbf;color:#705b2a;border-radius:999px;font-size:10px;line-height:1.2;white-space:nowrap;pointer-events:none}.bj-cover-pardah .bj-icon{width:13px;min-width:13px;height:13px}
.bj-cover-match{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:var(--bj-danger-soft);color:var(--bj-danger);border:1px solid #f1b6c2;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;box-shadow:0 2px 6px #6b173714;pointer-events:none}.bj-cover-match .bj-icon{width:16px;min-width:16px;height:16px;color:var(--bj-danger)}
.profile-card.bj-is-matched{border-color:#e4a6b4!important;box-shadow:0 0 0 1px #f4d8df,0 3px 14px #0c33290b!important}
@media(max-width:540px){.bj-pardah-cover .bj-protected-initial{font-size:46px!important}}
.bj-pardah-cover .bj-protected-initial.bj-long-name{font-size:24px!important;white-space:normal;overflow-wrap:anywhere;line-height:1.2!important}

/* BJ public Nikah homepage: editorial hierarchy, warm surfaces, reusable components. */
/* Public homepage: saturated BJ green/gold, borderless rounded banners. */
.bj-home{background:#fff;color:var(--bj-text);padding-bottom:40px}.bj-home[hidden]{display:none!important}.bj-home *{box-sizing:border-box}
.bj-home-hero{max-width:1200px;margin:auto;padding:40px 32px 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px 40px;align-items:center}
.bj-home-copy{grid-column:1}.bj-home-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#087958;line-height:1.6}
.bj-home-copy h1{font-size:clamp(30px,3.4vw,46px);line-height:1.18;letter-spacing:-1.5px;color:#064e3b;margin:12px 0;font-weight:800;max-width:620px}.bj-home-copy>p{font-size:14px;line-height:1.7;color:#53675d;margin:0}
.bj-home-visual{grid-column:2;margin:0;position:relative;aspect-ratio:16/9;min-width:0;border-radius:24px;overflow:hidden;border:0;background:#ffcf54}.bj-home-visual>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}.bj-home-visual figcaption{position:absolute;left:14px;right:14px;bottom:14px;color:#fff;display:flex;gap:8px;align-items:center;padding:12px 14px;border-radius:14px;background:#064e3be8;font-size:12px;font-weight:600}.bj-home-visual figcaption .bj-icon{color:#ffd15c;width:20px;height:20px;flex-shrink:0}
.bj-home h2{font-size:clamp(23px,2.4vw,30px);line-height:1.25;letter-spacing:-.7px;font-weight:800;margin:8px 0 12px;color:#064e3b}
.bj-auth-switch{margin:14px 0 0;text-align:center;font-size:13px;line-height:1.5;color:#53675d}.bj-auth-switch button{border:0;background:none;color:#06563f;font:inherit;font-weight:700;cursor:pointer;min-height:44px;padding:6px 8px;border-radius:8px}

.bj-home-trust{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:16px 24px 28px}.bj-home-trust>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#265a46;font-weight:600}.bj-home-trust .bj-icon{width:19px;height:19px;color:#087958}
.bj-home-stories{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1200px;padding:0 32px;margin:0 auto}.bj-story{position:relative;isolation:isolate;aspect-ratio:3/2;border-radius:24px;overflow:hidden;display:flex;align-items:center;padding:28px;min-width:0}.bj-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.bj-story>div{max-width:64%;min-width:0}.bj-story-gold{background:#ffce50}.bj-story-green{background:#06563f}.bj-story h2{font-size:clamp(24px,2.5vw,34px);overflow-wrap:normal}.bj-story p{font-size:12px;line-height:1.6;margin:0;color:#37502d}.bj-story-green h2,.bj-story-green p{color:#fff}.bj-story-green .bj-home-eyebrow{color:#ffdb79}
.bj-home-potential{max-width:1120px;margin:40px auto 0;padding:30px 24px;border-radius:24px;background:#f1f8f4;text-align:center}.bj-home-section-heading{max-width:620px;margin:0 auto 24px}.bj-home-potential h2{font-size:26px}.bj-potential-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bj-potential-grid article{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px}.bj-potential-grid .bj-icon{width:24px;height:24px;color:#087958}.bj-potential-grid strong{font-size:40px;line-height:1.1;color:#06563f;font-variant-numeric:tabular-nums}.bj-potential-grid span{font-size:13px;font-weight:700;line-height:1.5}.bj-potential-grid small{font-size:11px;color:#53675d;line-height:1.6}
/* Notice details and actions have independent rows so contacts never collide. */
.janaza-card{padding:20px!important;gap:16px!important}.bj-janaza-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.janaza-card .janaza-badge-calligraphy{padding:0;background:transparent;border:0;margin:0;font-size:18px}.bj-janaza-date{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#80652d;background:#fff5d7;padding:6px 10px;border-radius:8px}.bj-janaza-date .bj-icon{width:16px;height:16px;min-width:16px}.janaza-card .janaza-title{font-size:20px;line-height:1.4;margin:0 0 6px}.bj-janaza-family{font-size:12px;line-height:1.6;color:var(--bj-muted);margin:0;overflow-wrap:anywhere}.janaza-card .janaza-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:14px;min-width:0}.janaza-meta-grid>div{display:flex;gap:8px;align-items:flex-start;min-width:0}.janaza-meta-grid .bj-icon{width:18px;height:18px;min-width:18px;color:var(--bj-primary);margin-top:2px}.janaza-meta-grid dt{font-size:11px;color:var(--bj-muted);line-height:1.5}.janaza-meta-grid dd{font-size:13px;line-height:1.6;margin:2px 0 0;overflow-wrap:anywhere}.bj-janaza-actions{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid #e8eee9;padding-top:14px}.bj-janaza-contact{display:flex;align-items:center;gap:8px;min-width:0}.bj-janaza-contact small{display:block;font-size:11px;color:var(--bj-muted);line-height:1.5}.bj-janaza-contact strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.bj-janaza-actions>.bj-button{flex-shrink:0;font-size:var(--bj-button-size)!important;min-height:44px}

.bj-guest #btnLogin{display:none!important}.bj-guest #btnReg{border:0;border-radius:999px;background:#06563f;color:white;min-height:44px;padding:10px 18px;white-space:nowrap}
@media(max-width:760px){.bj-home-hero{padding:24px 16px 16px;grid-template-columns:minmax(0,1fr);gap:20px}.bj-home-copy,.bj-home-visual{grid-column:1;grid-row:auto}.bj-home-copy h1{font-size:32px;letter-spacing:-1px}.bj-home-copy>p{font-size:13px}.bj-home-visual{border-radius:20px;aspect-ratio:16/10}.bj-home-visual figcaption{font-size:11px;left:10px;right:10px;bottom:10px;padding:10px}.bj-home-trust{gap:10px 16px;padding:12px 16px 24px}.bj-home-trust>span{font-size:11px}.bj-home-stories{grid-template-columns:1fr;padding:0 16px;gap:16px}.bj-story{padding:22px 20px;border-radius:20px}.bj-story h2{font-size:26px}.bj-story p{font-size:12px}.bj-story .bj-home-eyebrow{font-size:10px}.bj-home-potential{margin:24px 16px 0;padding:24px 12px;border-radius:20px}.bj-home-potential h2{font-size:23px}.bj-potential-grid{gap:4px}.bj-potential-grid article{padding:8px 2px}.bj-potential-grid strong{font-size:32px}.bj-potential-grid span{font-size:11px}.bj-potential-grid small{font-size:10px}.janaza-card .janaza-meta-grid{grid-template-columns:1fr}.bj-janaza-actions{display:grid;grid-template-columns:1fr;gap:12px}.bj-janaza-actions>.bj-button{width:100%}.bj-guest #btnReg{padding:10px 14px;font-size:12px}}


/* BJ member identity and fixed mobile destinations. */
.bj-verified-badge,#accountModal .bj-contact-status.bj-verified-badge{display:inline-flex!important;align-items:center;gap:4px;background:#edf5ef!important;color:var(--bj-primary)!important;border:1px solid #d4e4d8!important;border-radius:999px;padding:4px 8px;font-size:11px!important;font-weight:600;line-height:1.3}
.bj-verified-badge .bj-icon{width:15px;min-width:15px;height:15px;fill:currentColor}
#userAvatar,#dropdownAvatar,#accModalAvatar,.bj-mobile-avatar{overflow:hidden;border-radius:50%}
#bjMobileAvatar{width:28px!important;height:28px!important;min-width:28px!important}#userAvatar img,#dropdownAvatar img,#accModalAvatar img,.bj-mobile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
#userAvatar .bj-icon,#dropdownAvatar .bj-icon,#accModalAvatar .bj-icon{width:22px;height:22px}
.bj-mobile-nav{display:none}
@media(max-width:760px){
 .bj-member body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .bj-member .bj-mobile-nav{position:fixed;z-index:900;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background:#fffcf8f5;backdrop-filter:blur(14px);border-top:1px solid #dce6df;box-shadow:0 -3px 18px #123b2908}
 .bj-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;min-width:0;padding:4px;border:0;border-radius:14px;background:transparent;color:#617469;font-size:10px;line-height:1.4;font-weight:600}
 .bj-mobile-nav button>span:first-child{display:grid;place-items:center;width:44px;height:28px;border-radius:999px}
 .bj-mobile-nav button.active{color:var(--bj-primary)}.bj-mobile-nav button.active>span:first-child{background:#e5efe5}
 .bj-mobile-nav .bj-icon{width:22px;height:22px;fill:currentColor}.bj-mobile-nav button>.bj-mobile-avatar{width:28px;height:28px;background:#e5efe5}
}

/* Roman Urdu interface, script-specific typography and colourful Banarasi textile motifs. */
[lang="ar"],.janaza-badge-calligraphy{font-family:'Amiri Quran',serif!important;font-weight:400!important;line-height:2!important;letter-spacing:0!important}
[lang="ur"],.urdu-initial,.bj-protected-initial,.bj-home-community>span{font-family:'Noto Nastaliq Urdu',serif!important;line-height:2!important;letter-spacing:0!important}
.b2b-actions-row .btn-chat-primary{color:#fff!important;background:var(--bj-primary)!important}.b2b-actions-row .btn-chat-primary .bj-icon{color:inherit!important;fill:currentColor!important;width:20px;height:20px;display:block!important;flex-shrink:0}
.b2b-verified-tag.bj-verified-badge .bj-icon{color:inherit!important;width:15px;height:15px;min-width:15px}
.bj-guest .desktop-nav,.bj-guest .mobile-sub-nav-bar,.bj-guest #b2bSection,.bj-guest #janazaSection{display:none!important}
@keyframes bj-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
 .bj-member #userPillWrap{display:none!important}
 #whatsappSupportBubble{display:none!important}
 .header-container{padding:10px 12px!important;gap:8px!important}.header-actions{gap:6px!important;flex-shrink:0}.brand-wrap{flex-shrink:1!important;min-width:0;gap:8px!important}.brand-logo-box{width:36px!important;height:36px!important}.brand-title{font-size:16px!important}.brand-sub{font-size:10px!important;white-space:normal!important;line-height:1.4!important}
 #b2bSection>div:first-child,#janazaSection>div:first-child{gap:12px;flex-wrap:wrap}#b2bSection>div:first-child>div,#janazaSection>div:first-child>div{min-width:0;flex:1 1 220px}
 .janaza-badge-calligraphy{font-size:16px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.bj-home-visual{animation:none}.bj-home *{scroll-behavior:auto!important}}

/* Conversation history shares the family-chat visual hierarchy. */
#bjConversationsModal .bj-conversations-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:22px;background:#fff}
.bj-conversation-filters{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px}
.bj-conversation-filters button{min-height:44px;padding:8px 12px}
.bj-conversation-filters button[aria-pressed="true"]{background:var(--bj-primary);color:#fff}
#bjConversationsList{overflow-y:auto;min-height:80px;padding:0 16px 16px}
.bj-conversation-row{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px 4px;background:transparent;border:0;border-bottom:1px solid #e5ece7;text-align:left;color:var(--bj-primary);cursor:pointer;font:inherit}
.bj-conversation-row>span:nth-child(2){flex:1;min-width:0}.bj-conversation-row strong{display:block;overflow-wrap:anywhere;font-size:15px}.bj-conversation-row small{display:block;color:#617469;font-size:12px;margin-top:4px}.bj-conversation-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#edf5ef}.bj-conversation-row>.bj-icon{flex-shrink:0;width:20px;height:20px}

.bj-alert-preference{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px!important;line-height:1.4;white-space:nowrap;cursor:pointer}.bj-alert-preference input{flex:0 0 20px;width:20px;height:20px;accent-color:var(--bj-green)}

/* Profile controls share compact, readable dimensions at every card width. */
.bj-profile-actions .bj-button{font-size:var(--bj-button-size)!important;min-height:44px!important;padding:8px!important;gap:5px;white-space:nowrap;line-height:1.3!important}.bj-profile-actions .bj-icon{width:16px;height:16px;min-width:16px}.bj-button.bj-chat-action{background:#ffecad!important;color:#654700!important;border:1px solid #dec16a!important;box-shadow:none!important}.bj-gender-label{display:inline-block;color:#00634a;background:#e7f4eb;font-size:10px;font-weight:700;letter-spacing:.04em;border-radius:5px;padding:3px 6px;margin-bottom:5px}
.bj-photo-navigation{position:absolute;bottom:8px;left:8px;right:8px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.bj-photo-navigation button{pointer-events:auto;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%!important;padding:10px!important;border:0;background:#ffffffed;color:var(--bj-primary)}.bj-photo-navigation button:first-child .bj-icon{transform:rotate(180deg)}.bj-photo-count{font-size:10px;background:#fff;color:var(--bj-primary);padding:4px 8px;border-radius:20px}.bj-photo-navigation .bj-icon{width:20px;height:20px}.bj-gender-label+.bj-profile-heading{margin-top:0}
#bjMobileAvatar{box-shadow:0 0 0 2px #d18c21}#bjMobileAvatar.bj-profile-complete{box-shadow:0 0 0 2px #087c5b}
.bj-photo-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.bj-photo-slot{position:relative;min-width:0}.bj-photo-slot>button:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;min-height:96px;padding:6px;border:1px dashed var(--bj-outline);border-radius:10px!important;background:#f5f8f6;color:var(--bj-primary);font-size:11px;overflow:hidden}.bj-photo-slot img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}.bj-photo-remove{display:block;width:100%;min-height:44px;font-size:11px;color:var(--bj-danger);background:transparent;border:0;padding:4px}
#bjCropModal{z-index:100020}#bjCropModal[hidden]{display:none!important}.bj-crop-dialog{padding:0!important;max-width:480px!important;width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;border-radius:20px!important}.bj-crop-dialog canvas{display:block;width:calc(100% - 32px);height:auto;margin:16px;border-radius:10px;background:#edf1ee;aspect-ratio:4/3}.bj-crop-controls{padding:0 20px;display:grid;gap:12px}.bj-crop-controls label{font-size:12px;display:grid;gap:4px}.bj-crop-controls input{width:100%;min-height:24px;accent-color:var(--bj-primary)}.bj-crop-dialog .bj-contact-note{padding:0 20px}
@media(min-width:1100px){.desktop-nav{gap:4px!important}.desktop-nav .nav-tab-btn{padding:9px 10px!important;font-size:12px!important;gap:6px!important}}

@media(min-width:768px) and (max-width:1099px){.desktop-nav{gap:2px!important}.desktop-nav .nav-tab-btn{padding:8px 6px!important;font-size:11px!important;gap:4px!important}.desktop-nav .nav-tab-icon,.desktop-nav .bj-icon{width:16px;height:16px;min-width:16px}.brand-sub{display:none}.brand-title{font-size:15px}.header-container{gap:8px!important}}

.btn-interest.bj-outlined{color:var(--bj-danger)!important;border-color:var(--bj-danger)!important}.bj-khandaan-highlight{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;padding:9px 10px;background:#fff4ce;border:1px solid #ebd68d;border-radius:9px;color:#765317;min-width:0}.bj-khandaan-highlight strong{font-size:var(--bj-body-size);font-weight:700;line-height:1.4;overflow-wrap:anywhere;flex:1;min-width:0}.bj-khandaan-highlight>span{font-size:var(--bj-body-size);font-weight:500}.bj-profile-fact>div[aria-label]{display:block}.bj-sample-state{display:flex;justify-content:center;align-items:center;min-height:44px;font-size:11px;color:#7c6226;background:#fff6df;border:1px dashed #d7c28d;border-radius:999px}.bj-profile-badges>.bj-sample-badge{background:#fff6df;color:#7c6226;border-color:#e5d6ae}
.bj-button.bj-wali-share{background:#064e3b!important;color:#fff!important;border:1px solid #064e3b!important;min-height:44px;gap:6px;box-shadow:0 2px 5px #064e3b1a!important}.bj-wali-share .bj-icon{width:17px;height:17px;min-width:17px}

.bj-profile-fact strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--bj-body-size)!important;line-height:1.5!important;text-align:left}.bj-profile-fact>.bj-icon{margin-top:0}.bj-khandaan-highlight{flex-wrap:nowrap}.bj-button,.btn-logout-confirm,.btn-logout-cancel{font-size:var(--bj-button-size)!important}.bj-button.btn-interest,.btn-logout-confirm,.bj-danger{border-color:var(--bj-danger)!important}.btn-logout-confirm{background:var(--bj-danger)!important;color:#fff!important}.bj-demo-note{font-size:var(--bj-label-size);color:var(--bj-muted)}

/* Joda Plus: deep emerald, warm ivory and restrained metallic gold. */
.bj-plus-panel{--bj-plus-gold:#f0d38c;--bj-plus-ivory:#fff9ed;background:linear-gradient(145deg,#123d32,#082b24);border-radius:20px;padding:24px;margin:18px 0;color:var(--bj-plus-ivory);font-size:var(--bj-body-size,13px);scroll-margin-top:24px;box-shadow:0 8px 22px #052c2314;box-sizing:border-box}
.bj-plus-panel p{font-size:13px;line-height:1.6;margin:0}
.bj-plus-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bj-plus-panel h3{font-family:inherit!important;display:flex;gap:8px;align-items:center;font-size:18px;margin:0;white-space:nowrap;color:var(--bj-plus-ivory)}
.bj-plus-plan-heading h3>.bj-icon{color:var(--bj-plus-gold)}
.bj-plus-state-label{font-size:11px;font-weight:600;color:#f0d38c;background:#ffffff0c;padding:5px 9px;border-radius:999px;line-height:1.5}
.bj-plus-panel .bj-plus-intro{margin-top:12px;color:#ceddd5}
.bj-plus-price{display:flex;align-items:baseline;gap:10px;padding:20px 0;flex-wrap:wrap}
.bj-plus-price strong{font-size:42px;line-height:1.1;letter-spacing:-1.5px;font-weight:700;color:#fff9ed}
.bj-plus-price s{font-size:15px;color:#baccc1;text-decoration-thickness:1px}.bj-plus-price>span{font-size:13px;color:#ceddd5}
.bj-plus-badge{font-family:inherit!important;display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 10px;border-radius:999px;background:linear-gradient(120deg,#f5e7b7,#e8c577 60%,#f2d99b);color:#574018;font-size:11px;font-weight:700;line-height:1.4;box-shadow:inset 0 1px 0 #fff9e699;white-space:nowrap}
.bj-plus-badge .bj-icon{width:16px;height:16px;min-width:16px;color:#805a18;flex:none}
.bj-profile-badges>.bj-plus-badge{background:linear-gradient(120deg,#f5e7b7,#e8c577 60%,#f2d99b);color:#574018;border:0;font-size:var(--bj-label-size,11px);border-radius:999px;padding:5px 10px}
.bj-plus-profile{box-shadow:inset 0 0 0 1px #c9a454,0 4px 14px #654b1308}.bj-plus-avatar{box-shadow:0 0 0 2px #c9a454}
.bj-plus-perks{display:grid;gap:12px;padding:16px 0 20px;border-top:1px solid #ffffff14}.bj-plus-perks span{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.5}.bj-plus-perks .bj-icon{color:var(--bj-plus-gold);width:18px;height:18px;min-width:18px}
.bj-plus-panel .bj-plus-validity{color:#f0d38c;margin-bottom:14px;font-size:11px}
.bj-plus-panel .bj-plus-purchase{width:100%;min-height:46px;padding:12px 16px;background:linear-gradient(110deg,#f3dfa7,#e8c77c)!important;color:#163a2c!important;border:0!important;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px!important;box-shadow:inset 0 1px 0 #fff7d399!important}
.bj-plus-purchase:hover:not(:disabled){filter:brightness(1.04)}.bj-plus-purchase:disabled{opacity:.65;cursor:not-allowed}.bj-plus-purchase:focus-visible{box-shadow:inset 0 0 0 2px #173d30!important}
.bj-plus-panel .bj-plus-billing{color:#ceddd5;font-size:11px;text-align:center;margin-top:12px}
.bj-plus-panel .bj-plus-availability{color:#f0d38c;font-size:11px;text-align:center;margin-top:10px}
.bj-plus-panel .bj-plus-review-note{font-size:11px;color:#ceddd5;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff14}
.bj-plus-history{margin-top:10px;font-size:11px;color:#ceddd5}.bj-plus-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.bj-plus-history p{font-size:11px;border-top:1px solid #ffffff14;padding:8px 0}
.bj-home-plus{margin:28px auto 0;max-width:1100px}.bj-home-plus h2{font-size:18px;margin:0;color:#fff9ed}.bj-home-plus p{margin:10px 0 18px;color:#ceddd5}.bj-home-plus>.bj-button{min-height:44px}
@media(max-width:400px){.bj-plus-panel{padding:20px}.bj-plus-price{gap:8px}.bj-plus-price strong{font-size:38px}}

/* Navigation pairs retain identical optical size in outline and selected states. */
.bj-nav-icon{width:20px;height:20px;min-width:20px;color:inherit;overflow:visible}
.bj-nav-icon>.bj-nav-outline{display:block;fill:none!important;stroke:currentColor!important;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.bj-nav-icon>.bj-nav-filled{display:none;fill:currentColor!important;stroke:none!important}
.nav-tab-btn.active .bj-nav-icon>.bj-nav-outline,#bjMobileNav button.active .bj-nav-icon>.bj-nav-outline,.btn-notif-bell[aria-expanded="true"] .bj-nav-outline{display:none}
.nav-tab-btn.active .bj-nav-icon>.bj-nav-filled,#bjMobileNav button.active .bj-nav-icon>.bj-nav-filled,.btn-notif-bell[aria-expanded="true"] .bj-nav-filled{display:block}
.desktop-nav .nav-tab-btn,.mobile-sub-nav-bar .nav-tab-btn,.bj-mobile-nav button{color:#064e3b!important}
.desktop-nav .nav-tab-btn.active,.mobile-sub-nav-bar .nav-tab-btn.active{background:#e8f3ec!important;border-color:transparent!important;color:#064e3b!important}
.bj-mobile-nav button.active>span:first-child{background:#e8f3ec}.btn-notif-bell{color:#064e3b!important}
.bj-mobile-nav .bj-nav-icon{width:22px;height:22px;min-width:22px}.bj-mobile-avatar>.bj-nav-icon{width:20px;height:20px;min-width:20px}

/* Play test build shares account data but has no web purchase promotion. */
.bj-play-app .bj-home-plus{display:none!important}
#bjDeletionSection h4{font-size:13px;margin:0 0 12px;color:var(--bj-primary)}

/* Member profile refresh */
.bj-profile-cover{aspect-ratio:4/5;min-height:0;max-height:440px}
.bj-profile-photo{object-position:center 30%}
.bj-profile-facts{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px 0}
.bj-profile-fact,.bj-fact-wide{grid-column:1;min-height:24px}
.bj-profile-fact>div{min-width:0}
.bj-profile-fact strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bj-form-navigation{display:grid;gap:9px;align-items:stretch;margin:0 44px 16px 0;min-height:0}
.bj-milestone-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--bj-muted);font-size:11px}
.bj-milestone-heading strong{font-size:14px;color:var(--bj-primary)}
.bj-milestone-track{height:5px;border-radius:999px;background:#e4ece7;overflow:hidden}
.bj-milestone-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#08785b,#c99b3a);transition:width .2s}
#bjCropModal .bj-crop-dialog canvas{aspect-ratio:4/5;object-fit:contain}
#bjPhotoSlots .bj-photo-slot img{aspect-ratio:4/5;object-fit:cover}
#profileDetailModal .bj-biodata-section{padding:16px;background:#f7faf8;border:0;border-radius:14px;box-shadow:0 1px 2px #12351d0b}
#profileDetailModal .bj-biodata-section>div:first-child{font-size:11px;font-weight:700;letter-spacing:.04em;color:#80652d;margin-bottom:11px}
#profileDetailModal .bj-biodata-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
#profileDetailModal .bj-biodata-grid>div{min-width:0;font-size:12px;line-height:1.5;color:#172b24}
#profileDetailModal .bj-biodata-grid b{display:block;color:#6a7a71;font-size:10px;font-weight:600;margin-bottom:2px}
#profileDetailModal .bj-biodata-grid span{overflow-wrap:anywhere}
#profileDetailModal .bj-biodata-header #modalBioPhotoBox{width:128px!important;height:160px!important;border:0!important;border-radius:14px!important;background:#edf3ef!important}
@media(max-width:480px){.bj-profile-cover{max-height:390px}.bj-profile-content{padding:14px;gap:12px}#profileDetailModal .bj-biodata-grid{grid-template-columns:minmax(0,1fr)}#profileDetailModal .bj-biodata-header #modalBioPhotoBox{width:96px!important;height:120px!important}}


/* Auth provider icons: keep Google and email as one centered pair. */
#authModal .bj-auth-provider-row {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 auto 4px !important;
}
#authModal .bj-auth-provider-row > .bj-google-sign-in {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 48px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
}
#authModal .bj-auth-provider-row > .bj-auth-icon-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 48px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
}
#authModal .auth-divider-apple {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100% !important;
  text-align: center !important;
}
#authModal .auth-divider-apple::before {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 1px !important;
}
#authModal .auth-divider-apple::after {
  content: "";
  position: static !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  background: var(--border);
}
#authModal .auth-divider-apple span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Auth fields and providers: stable, identical controls in every auth view. */
#authModal .bj-google-sign-in { position:relative !important; border:0 !important; border-radius:50% !important; overflow:visible !important; background:transparent !important; box-shadow:none !important; }
/* GIS's native 40px circle is centered at (32,22) in a 64x44 frame.
   Preserve that frame and scale the complete native control to our 48px target. */
#authModal .bj-auth-provider-row > .bj-google-sign-in iframe {
  display:block !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:64px !important;
  min-width:64px !important;
  max-width:none !important;
  height:44px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  transform:translate(-50%,-50%) scale(1.2) !important;
  transform-origin:center !important;
}
#authModal .bj-auth-provider-row > .bj-google-sign-in > div {
  position:static !important;
}
#authModal .bj-auth-provider-row > .bj-auth-icon-button { box-sizing:border-box !important; border:1px solid #dbe3ec !important; border-radius:50% !important; box-shadow:none !important; }
#authModal .bj-password-field { position:relative !important; display:flex !important; align-items:center !important; width:100% !important; min-height:48px !important; margin:0 0 12px !important; box-sizing:border-box !important; border:1px solid #b9c8c0 !important; border-radius:10px !important; background:#fff !important; }
#authModal .bj-password-field:focus-within { border-color:#064e3b !important; box-shadow:0 0 0 2px #064e3b1f !important; }
#authModal .bj-password-field input.bj-auth-field { display:block !important; flex:1 1 auto !important; width:100% !important; min-width:0 !important; min-height:46px !important; height:46px !important; margin:0 !important; padding:11px 50px 11px 13px !important; box-sizing:border-box !important; border:0 !important; border-radius:inherit !important; outline:none !important; box-shadow:none !important; background:transparent !important; color:#172b24 !important; font:inherit !important; }
#authModal .bj-password-toggle { position:absolute !important; z-index:2; top:50% !important; right:2px !important; transform:translateY(-50%) !important; display:grid !important; place-items:center !important; width:42px !important; min-width:42px !important; max-width:42px !important; height:42px !important; min-height:42px !important; padding:10px !important; border:0 !important; border-radius:50% !important; background:transparent !important; color:#62746b !important; box-shadow:none !important; }
#authModal .bj-password-toggle:hover { background:#eef5f0 !important; filter:none !important; }
#authModal .bj-password-toggle svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#authModal .bj-password-toggle .bj-eye-slash { display:block; }
#authModal .bj-password-toggle[aria-pressed="true"] .bj-eye-slash { display:none; }
#authModal #passwordSetupView .bj-auth-field-label { display:block; margin:0 0 5px; color:#172b24; font-size:13px; line-height:1.4; font-weight:500; }
#authModal #passwordSetupView .auth-sub { margin:4px 0 18px !important; }
#authModal #btnLoginWithPassword { margin:3px 0 12px !important; }
#authModal #bjSavePasswordButton { width:100% !important; margin:5px 0 0 !important; }
#authModal .bj-password-status { display:flex; align-items:center; justify-content:center; gap:9px; min-height:28px; margin:10px 0 0; color:#52665c; font-size:13px; line-height:1.4; text-align:center; }
#authModal .bj-password-status.is-error { color:#b42318; }
#authModal .bj-password-status.is-success { color:#087451; font-weight:600; }
#authModal .bj-password-success-icon { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:50%; background:#0b8a61; color:#fff; animation:bj-password-success-pop .42s cubic-bezier(.2,.8,.2,1) both; }
#authModal .bj-password-success-icon svg { display:block; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
@keyframes bj-password-success-pop { 0%{opacity:0;transform:scale(.45)} 75%{opacity:1;transform:scale(1.12)} 100%{opacity:1;transform:scale(1)} }
@media (prefers-reduced-motion:reduce) { #authModal .bj-password-success-icon { animation:none; } }


/* Full-viewport Messages workspace. The header and mobile navigation stay shared. */
body.bj-messages-active{overflow:hidden;padding-bottom:0!important}
body.bj-messages-active>.main-container,body.bj-messages-active>.app-footer,body.bj-messages-active>#whatsappSupportBubble{display:none!important}
#bjMessagesPage[hidden],#bjMessagesPage [hidden]{display:none!important}
.bj-messages-page{position:fixed;top:var(--bj-messages-top,65px);left:0;right:0;width:100%;height:var(--bj-messages-height,calc(100dvh - 65px));margin:0;padding:0;box-sizing:border-box;color:var(--bj-primary);background:#fff;z-index:20}
.bj-messages-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);width:100%;height:100%;min-height:0;border:0;border-radius:0;overflow:hidden;background:#fff;box-shadow:none}
.bj-inbox{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid #e4ebe6;background:#fff}
.bj-inbox h1{font-size:20px;line-height:1.4;margin:0;padding:20px 20px 12px;font-weight:800;letter-spacing:-.3px}
.bj-inbox .bj-conversation-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 12px;gap:0;flex-wrap:nowrap;border-bottom:1px solid #e4ebe6;flex-shrink:0}
.bj-inbox .bj-conversation-tab{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 4px;font:inherit;font-size:11px;font-weight:600;color:#62746b;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;white-space:nowrap;box-shadow:none!important}
.bj-inbox .bj-conversation-tab[aria-selected="true"]{border-bottom-color:#064e3b!important;color:#064e3b;font-weight:700}
.bj-inbox .bj-conversation-tab:focus-visible{box-shadow:inset 0 0 0 2px #064e3b!important}
.bj-inbox #bjConversationsList{min-height:0;overflow-y:auto;padding:8px 0 0;flex:1;overscroll-behavior:contain}
.bj-inbox .bj-conversation-row{border:0;border-radius:0!important;padding:14px 18px;margin:0;gap:12px;min-height:80px;box-shadow:none}
.bj-inbox .bj-conversation-row:hover{background:#f4f8f5}
.bj-inbox .bj-conversation-row.is-selected{background:#eaf5ee;box-shadow:inset 3px 0 #064e3b}
.bj-inbox .bj-conversation-row strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bj-inbox .bj-conversation-row small{font-size:11px}
.bj-conversation-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;overflow:hidden;border-radius:50%;background:#eaf2ed;color:#064e3b}
.bj-conversation-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.bj-calligraphy-avatar{background:#fff4d9;color:#805d1d}
.bj-calligraphy-avatar [lang="ur"]{display:block;max-width:100%;font-family:'Noto Nastaliq Urdu',serif!important;font-size:16px;line-height:2.4;white-space:nowrap;transform:translateY(-2px)}
.bj-calligraphy-avatar.bj-avatar-long [lang="ur"]{font-size:11px}
.bj-avatar-fallback>.bj-icon{width:22px;height:22px}
.bj-messages-detail{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f5f8f6}
.bj-messages-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}
.bj-messages-empty>.bj-icon{width:44px;height:44px;padding:22px;box-sizing:content-box;border-radius:50%;background:#e3eee7;color:#064e3b;margin-bottom:20px}
.bj-messages-empty h2{font-size:20px;margin:0 0 10px}
.bj-messages-empty p{font-size:13px;line-height:1.7;color:#62746b;margin:0}
#templateChatModal.bj-message-thread{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;padding:0;overflow:hidden;background:#fff}
.bj-thread-profile{display:flex;align-items:center;gap:12px;flex:1;min-width:0;margin:0;padding:0;border:0;border-radius:0!important;background:transparent;color:#064e3b;font:inherit;text-align:left;cursor:pointer}
.bj-thread-avatar{display:block;width:44px;height:44px;flex:0 0 44px}
.bj-thread-profile .bj-chat-title{display:block;min-width:0;flex:1;text-align:left}
.bj-thread-profile strong{display:block;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bj-thread-profile #bjChatStatus{display:block;position:static;font-size:11px;color:#62746b;line-height:1.5;margin-top:3px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bj-message-thread .bj-thread-back{display:inline-flex!important}
@media(max-width:760px){
 .bj-messages-workspace{grid-template-columns:1fr}
 .bj-inbox{border-right:0}
 .bj-messages-detail{display:none}
 .bj-messages-page.has-conversation .bj-inbox{display:none}
 .bj-messages-page.has-conversation .bj-messages-detail{display:flex}
 .bj-message-thread .bj-thread-back{display:inline-flex!important}
 .bj-message-thread .bj-chat-header{padding:12px 10px;gap:8px}
 .bj-thread-profile{gap:10px}
 .bj-thread-profile strong{font-size:15px}
}


.bj-family-row .bj-unmatch{border:0;background:transparent;color:#836b5d;font-size:11px!important;padding:8px 4px!important;min-height:36px!important;text-decoration:underline;text-underline-offset:3px}

/* Compact conversation controls: message history is the primary surface. */
.bj-inbox-heading{display:flex;align-items:center;gap:8px;padding:12px 16px 4px;flex-shrink:0}
.bj-inbox .bj-inbox-heading h1{padding:0;margin:0}
.bj-inbox-heading>.bj-icon-button{width:44px;height:44px;min-width:44px;border-radius:50%;flex-shrink:0}
body.bj-messages-active .mobile-sub-nav-bar{display:none!important}
body.bj-messages-active .desktop-nav .tab-btn-dir,body.bj-messages-active .desktop-nav .tab-btn-trade,body.bj-messages-active .desktop-nav .tab-btn-news{display:none!important}
#templateChatModal.bj-message-thread{position:relative}
#templateChatModal .bj-chat-header{padding:10px 16px;gap:10px;min-height:68px;box-sizing:border-box}
#templateChatModal .bj-unmatch{flex:0 0 auto;min-height:44px!important;padding:8px 10px!important;border:1px solid #ef4444;border-radius:10px!important;background:#fff;color:#d93434;font:inherit;font-size:11px!important;font-weight:600;text-decoration:none;box-shadow:none}
#templateChatModal .bj-chat-composer{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid #e4ebe6;background:#fff;box-sizing:border-box}
#templateChatModal .bj-message-chooser{flex:1;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:48px;padding:10px 12px;font:inherit;font-size:13px;font-weight:600;color:#064e3b;border:1px solid #d9e5dd;border-radius:12px!important;background:#f6f9f7;box-shadow:none;text-align:left}
.bj-message-chooser>.bj-icon{width:20px;height:20px;flex-shrink:0}
.bj-message-chooser>span{flex:1;min-width:0}
.bj-message-chooser[aria-expanded="true"] .bj-picker-chevron{transform:rotate(180deg)}
#templateChatModal .bj-chat-composer>.bj-wali-share{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;flex:0 0 auto;padding:10px 12px;font-size:11px!important;white-space:nowrap;border-radius:12px!important;box-shadow:none}
.bj-chat-composer>.bj-wali-share>.bj-icon{width:18px;height:18px}
#templateChatModal .bj-message-picker{position:absolute;bottom:100%;left:0;right:0;z-index:2;display:flex;flex-direction:column;gap:10px;max-height:min(420px,52dvh);padding:12px 16px 16px;box-sizing:border-box;background:#fff;border-top:1px solid #dce7df;border-radius:18px 18px 0 0;box-shadow:0 -10px 28px #12352412;overflow:hidden}
.bj-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.bj-picker-heading>label{font-size:13px;font-weight:700}
.bj-picker-heading>.bj-icon-button{height:44px;min-height:44px;border-radius:50%;background:#f4f8f5}
.bj-message-picker>select{width:100%;min-height:44px;flex-shrink:0;box-sizing:border-box;font:inherit;font-size:13px;border:1px solid #d9e5dd;border-radius:10px;padding:10px;background:#fff;color:#064e3b}
#templateChatModal .bj-message-picker #templateOptionsList{max-height:none;min-height:0;overflow-y:auto;flex:1;gap:8px}
@media(max-width:760px){
 body.bj-messages-active>.app-header,body.bj-messages-active>#wpadminbar{display:none!important}
 body.bj-messages-active.bj-conversation-open #bjMobileNav{display:none!important}
 .bj-inbox-heading{padding:8px 12px}
 #templateChatModal .bj-chat-header{padding:8px;gap:6px}
 #templateChatModal .bj-thread-profile{gap:8px}
 #templateChatModal .bj-thread-avatar,#templateChatModal .bj-conversation-avatar{width:36px;height:36px;min-width:36px;flex-basis:36px}
 #templateChatModal .bj-thread-profile strong{font-size:14px}
 #templateChatModal #bjChatStatus{font-size:10px}
 #templateChatModal .bj-chat-composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
 #templateChatModal .bj-chat-composer>.bj-wali-share{padding:10px;font-size:11px!important}
 #templateChatModal .bj-message-chooser{font-size:12px;padding:10px;gap:6px}
 #templateChatModal .bj-message-picker{padding:8px 12px 12px}
 #templateChatModal #templateChatStream{padding:12px!important}
}
