:root {
  --ink: #3d2431;
  --deep: #641f3d;
  --muted: #76606b;
  --paper: #fffafb;
  --cream: #fff2f5;
  --blush: #fbe0e8;
  --rose: #c94f78;
  --rose-dark: #aa345e;
  --line: #eed4dd;
  --white: #fff;
  --shadow: 0 20px 55px rgba(94, 32, 60, .12);
  --soft-shadow: 0 10px 28px rgba(94, 32, 60, .08);
  --violet: #82649f;
  --peach: #ffba9f;
  --rose-light: #ffedf2;
  --content-wide: 1220px;
  --content-reading: 760px;
  --page-gutter: clamp(20px, 5vw, 64px);
  --radius-card: 20px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; overflow-x: hidden; margin: 0; background: radial-gradient(circle at 8% 12%, rgba(255, 208, 222, .45), transparent 21rem), radial-gradient(circle at 94% 20%, rgba(221, 202, 247, .32), transparent 24rem), var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif; font-size: 16px; line-height: 1.65; }
html.bangla-ui body { font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", sans-serif; }
html.bangla-ui h1, html.bangla-ui h2 { letter-spacing: 0; }
body.is-loading { overflow: hidden; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 10px; background: var(--deep); color: #fff; text-decoration: none; transform: translateY(-150%); transition: transform .16s ease; }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: "Noto Serif Bengali", "Nirmala UI", Georgia, serif; letter-spacing: -.03em; line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 3.5vw, 3.45rem); font-weight: 700; }
h1 em, h1 span { color: var(--rose-dark); font-style: normal; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.35rem); }
p { text-wrap: pretty; }
img, svg, video { max-width: 100%; height: auto; }
button, input, select, textarea { max-width: 100%; font-family: inherit; }
button, input, select { min-height: 44px; }
button, a, summary, select { -webkit-tap-highlight-color: rgba(201, 79, 120, .14); }
input, select, textarea { font-size: 16px; }
.hero > *, .match-card > *, .browse-card > *, .profile-grid > *, .admin-shell > *, .admin-two-column > *, .qa-field, .manual-section, .registration-form-card, .full-review-card { min-width: 0; }

.site-header { position: -webkit-sticky; position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 80px; padding: 10px clamp(20px, 6vw, 96px); border-bottom: 1px solid rgba(238, 212, 221, .85); background: rgba(255, 250, 251, .96); background: rgba(255, 250, 251, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); line-height: 1.1; text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; filter: drop-shadow(0 6px 10px rgba(100, 31, 61, .16)); }
.brand strong { display: block; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.25rem; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .63rem; letter-spacing: .04em; }
.site-header nav { display: flex; align-items: center; gap: clamp(11px, 2.2vw, 31px); }
.site-header nav a { position: relative; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-header nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--rose); content: ""; opacity: 0; transform: scaleX(.45); transition: .18s ease; }
.site-header nav a:hover { color: var(--rose-dark); }
.site-header nav a[aria-current="page"] { color: var(--rose-dark); }
.site-header nav a:hover::after { opacity: 1; transform: scaleX(1); }
.site-header nav a.nav-account-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border: 1px solid #e9bfd0; border-radius: 999px; background: linear-gradient(135deg, #fff, #fff0f5); box-shadow: 0 8px 20px rgba(100, 31, 61, .08); color: var(--rose-dark); font-weight: 900; }
.site-header nav a.nav-account-link::after { display: none; }
.site-header nav a.nav-account-link:hover { box-shadow: 0 12px 26px rgba(100, 31, 61, .14); transform: translateY(-1px); }
.site-header nav a.nav-login-link { background: linear-gradient(135deg, #e5789c, #c94772); color: #fff; border-color: transparent; }
.site-header nav a.nav-login-link:hover { color: #fff; }
.language-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #e7c2d0; border-radius: 999px; background: rgba(255,255,255,.76); box-shadow: none; color: var(--deep); font-size: .76rem; }
.language-toggle:hover { box-shadow: 0 7px 18px rgba(100, 31, 61, .12); filter: none; transform: translateY(-1px); }
.language-toggle span:first-child { margin: 0; color: var(--rose-dark); font-size: .82rem; }
.mobile-header-actions, .mobile-nav-toggle, .mobile-nav-head, .mobile-nav-backdrop { display: none; }
.mobile-header-actions { align-items: center; gap: 8px; }
.mobile-find-biodata { display: none; min-height: 42px; align-items: center; justify-content: center; gap: 6px; padding: 8px 13px; border: 1px solid #e7b8c8; border-radius: 999px; background: linear-gradient(135deg, #fff, #ffedf3); box-shadow: 0 8px 20px rgba(100, 31, 61, .09); color: var(--rose-dark); font-size: .76rem; font-weight: 900; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.mobile-find-biodata > span:first-child { font-size: 1.05rem; line-height: 1; }
.mobile-find-biodata[aria-current="page"] { border-color: transparent; background: linear-gradient(135deg, #d96088, #b63865); color: #fff; }
.mobile-nav-toggle { align-items: center; gap: 9px; min-height: 44px; padding: 10px 13px; border: 1px solid #e8bfce; border-radius: 999px; background: rgba(255, 255, 255, .82); box-shadow: 0 10px 24px rgba(100, 31, 61, .1); color: var(--deep); font-weight: 900; }
.mobile-nav-toggle:hover { box-shadow: 0 13px 27px rgba(100, 31, 61, .15); filter: none; }
.mobile-nav-dots { display: inline-grid; gap: 3px; margin: 0; }
.mobile-nav-dots i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--rose-dark); }
.mobile-nav-close { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid #efd2dc; border-radius: 50%; background: #fff7fa; box-shadow: none; color: var(--deep); font-size: 1.35rem; line-height: 1; }
.mobile-nav-close:hover { box-shadow: 0 10px 22px rgba(100, 31, 61, .14); filter: none; }
body.mobile-nav-open { overflow: hidden; }

.eyebrow, .panel-kicker, .loading-kicker { margin-bottom: 11px; color: var(--rose-dark); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(370px, .77fr); gap: clamp(32px, 6vw, 96px); isolation: isolate; overflow: hidden; max-width: 1380px; margin: 20px auto 0; padding: clamp(64px, 8vw, 108px) clamp(24px, 6vw, 88px) 86px; border-radius: 0 0 42px 42px; }
.hero::before { position: absolute; z-index: -1; top: -290px; right: -175px; width: 590px; height: 590px; border-radius: 48% 52% 58% 42%; background: radial-gradient(circle at 40% 40%, #ffdfe9 0, #f8d7f6 42%, rgba(253, 224, 233, 0) 71%); content: ""; }
.hero::after { position: absolute; z-index: -1; bottom: -230px; left: -210px; width: 480px; height: 480px; border: 1px solid rgba(201,79,120,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 207, 185, .12), 0 0 0 80px rgba(222, 202, 247, .11); content: ""; }
.hero-copy { align-self: center; }
.hero h1 { max-width: 11.6em; }
html.bangla-ui .hero h1 { max-width: 12.2em; font-size: clamp(2.05rem, 3.45vw, 3.55rem); letter-spacing: -.02em; line-height: 1.35; }
.lead { max-width: 620px; margin: 25px 0 21px; color: var(--muted); font-size: 1.06rem; }
.noor-guidance { display: flex; align-items: center; gap: 15px; max-width: 590px; margin: 0 0 20px; padding: 12px 16px 12px 12px; border: 1px solid rgba(213, 132, 157, .24); border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,237,243,.78)); box-shadow: 0 10px 25px rgba(94, 32, 60, .06); }
.noor-guidance img { flex: 0 0 auto; width: 58px; height: 58px; filter: drop-shadow(0 7px 12px rgba(100, 31, 61, .14)); }
.noor-guidance p { margin: 0; color: #765261; font-size: .82rem; line-height: 1.65; }
.noor-guidance strong { color: var(--deep); }
.hero-verse { display: flex; align-items: flex-start; gap: 11px; max-width: 570px; margin: 24px 0 35px; padding: 14px 16px; border-right: 3px solid var(--rose); border-radius: 0 12px 12px 0; background: rgba(255, 238, 244, .8); }
.hero-verse span { color: var(--rose-dark); font-size: 1rem; }
.hero-verse blockquote { margin: 0; color: #704858; font-size: .84rem; }
.hero-verse cite { display: block; margin-top: 6px; color: #9a6579; font-size: .68rem; font-style: normal; font-weight: 800; }
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .72); box-shadow: var(--soft-shadow); }
.promise-grid div { min-width: 0; padding: 15px 17px; border-left: 1px solid var(--line); }
.promise-grid div:last-child { border-left: 0; }
.promise-grid strong { display: block; color: var(--deep); font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.04rem; }
.promise-grid span { display: block; color: var(--muted); font-size: .72rem; }

.search-panel { position: relative; align-self: center; overflow: hidden; padding: 42px clamp(25px, 4vw, 48px); border: 1px solid rgba(255,255,255,.38); border-radius: 30px; background: linear-gradient(142deg, #7c3158 0%, #a83f6f 52%, #d85d7f 100%); box-shadow: 0 30px 75px rgba(112, 35, 78, .28); color: var(--white); }
.search-panel::before, .search-panel::after { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; pointer-events: none; }
.search-panel::before { top: -140px; right: -120px; width: 285px; height: 285px; box-shadow: 0 0 0 32px rgba(255,255,255,.04), 0 0 0 65px rgba(255,255,255,.025); }
.search-panel::after { bottom: -120px; left: -85px; width: 190px; height: 190px; }
.search-panel > * { position: relative; z-index: 1; }
.match-constellation { position: absolute; z-index: 0 !important; right: -6px; bottom: 13px; width: 168px; height: 74px; opacity: .35; }
.constellation-orb { position: absolute; top: 20px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-family: Georgia, serif; font-size: 1.05rem; }
.orb-one { left: 5px; }
.orb-two { right: 5px; }
.constellation-line { position: absolute; top: 40px; right: 42px; left: 42px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.95), rgba(255,255,255,.2)); }
.constellation-mark { position: absolute; z-index: 1; top: 23px; left: 74px; color: #ffe4aa; font-size: 1.5rem; }
.panel-mark { display: block; color: #ffd6a4; font-size: 1.65rem; }
.panel-kicker { margin-top: 11px; color: #ffdce6; }
.search-panel h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 2.35vw, 2.05rem); }
.search-panel > p:not(.panel-kicker):not(.hint) { margin-bottom: 27px; color: #f3d7e0; font-size: .9rem; }
.search-panel form { display: grid; gap: 9px; }
.search-panel label { font-size: .8rem; font-weight: 700; }
.search-panel input, .search-panel select, .registration-form input, .manual-form input, .manual-form select, .manual-form textarea, .import-form input { width: 100%; border: 1px solid #e9bfcd; border-radius: 10px; background: #fffdfd; color: var(--deep); font: inherit; }
.search-panel input, .search-panel select { padding: 14px 15px; }
.search-panel select { cursor: pointer; }
.search-panel input:focus, .search-panel select:focus, .registration-form input:focus, .manual-form input:focus, .manual-form select:focus, .manual-form textarea:focus, .import-form input:focus { outline: 3px solid rgba(255, 192, 213, .44); border-color: var(--rose); }
button { -webkit-appearance: none; appearance: none; border: 0; border-radius: 10px; background: linear-gradient(135deg, #e5789c, #c94772); box-shadow: 0 10px 22px rgba(72, 16, 43, .22); color: var(--white); cursor: pointer; font-family: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; padding: 14px 18px; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
button:hover { box-shadow: 0 14px 27px rgba(72, 16, 43, .3); filter: saturate(1.08); transform: translateY(-2px); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #f2a3ba; outline-offset: 3px; }
button:disabled { cursor: wait; filter: grayscale(.15); opacity: .84; transform: none; }
.inline-action-form, .admin-logout-form { margin: 0; }
.inline-action-form .contact-button { font-family: inherit; }
.admin-logout-form button { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; font-size: inherit; text-align: left; }
.admin-logout-form button:hover { box-shadow: none; color: var(--rose-dark); filter: none; transform: none; }
.resend-code-form { margin-top: 14px; text-align: center; }
.text-button { padding: 7px 4px; border-radius: 0; background: transparent; box-shadow: none; color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { box-shadow: none; filter: none; transform: none; }
button span { margin-right: 7px; font-size: 1.1rem; }
.hint { margin: 15px 0 0 !important; color: #f4dce4 !important; font-size: .7rem !important; line-height: 1.8; }
.hint code { color: #fff; overflow-wrap: anywhere; }
.alert { margin: 0 0 18px; padding: 11px 13px; border-radius: 9px; background: rgba(83, 12, 38, .6); color: #fff1f4; font-size: .82rem; }
.create-prompt, .member-match-panel { margin-top: 16px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.12); color: #ffe8ef; font-size: .82rem; }
.create-prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.create-prompt a { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--rose-dark); font-size: .74rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.member-match-panel p { margin: 12px 0 15px; color: #ffe8ef; }
.member-match-panel form { margin-top: 0; }

.accuracy-section { max-width: 1220px; margin: 0 auto; padding: 37px clamp(24px, 6vw, 80px) 91px; }
.section-heading { max-width: 690px; }
.section-heading h2 em { color: var(--rose-dark); font-style: normal; }
.accuracy-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.accuracy-cards article { padding: 28px 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--white); box-shadow: var(--soft-shadow); }
.accuracy-cards article:nth-child(1) { border-top: 4px solid #df7894; }
.accuracy-cards article:nth-child(2) { border-top: 4px solid #a987c3; }
.accuracy-cards article:nth-child(3) { border-top: 4px solid #e6a06f; }
.feature-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--blush); color: var(--rose-dark); font-size: .85rem; font-weight: 800; }
.accuracy-cards h3 { margin: 18px 0 8px; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.25rem; }
.accuracy-cards p { margin: 0; color: var(--muted); font-size: .86rem; }
.how-it-works { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 8vw, 110px); padding: 82px max(24px, calc((100% - 1100px) / 2)); background: linear-gradient(135deg, #fff1f5, #fff9f8 62%, #fdf0ee); }
.how-it-works h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps article { padding-top: 15px; border-top: 2px solid #e9b6c6; }
.steps span { color: var(--rose-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.steps h3 { margin: 11px 0 7px; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .82rem; }

footer { padding: 31px 24px; border-top: 1px solid var(--line); background: #fff8fa; color: var(--muted); font-size: .76rem; text-align: center; }
footer p { margin: 0 0 4px; }
footer small { color: #917583; font-size: .67rem; }

.results-header, .match-list, .detail-page, .admin-page, .registration-page, .terms-page, .manual-page { max-width: var(--content-wide); margin: auto; padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
.results-header { padding-top: 42px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; margin-bottom: 25px; color: var(--rose-dark); font-size: .83rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--deep); }
.results-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 13px; }
.results-identity strong { color: var(--deep); font-family: Inter, "Segoe UI", sans-serif; font-size: clamp(1rem, 1.5vw, 1.18rem); letter-spacing: .015em; overflow-wrap: anywhere; }
.results-identity .source-badge { margin-left: 0; }
.results-header h1 { max-width: 26ch; margin-bottom: 0; font-size: clamp(2.05rem, 3.35vw, 3.15rem); line-height: 1.15; }
html.bangla-ui .results-header h1, html.bangla-ui .registration-page > h1, html.bangla-ui .terms-page > h1, html.bangla-ui .manual-page > h1 { line-height: 1.32; }
.results-lead { max-width: 670px; margin: 19px 0 0; color: var(--muted); font-size: .93rem; }
.summary-card { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-top: 31px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--soft-shadow); }
.summary-card div { min-width: 0; padding: 18px 19px; border-left: 1px solid var(--line); }
.summary-card div:last-child { border-left: 0; }
.summary-card small, .card-kicker { display: block; color: #9a7d89; font-size: .67rem; font-weight: 800; letter-spacing: .09em; }
.source-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 7px; border: 1px solid #e9bdcb; border-radius: 999px; background: #fff5f8; color: var(--rose-dark); font-family: Inter, "Segoe UI", sans-serif; font-size: .59rem; font-weight: 800; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; vertical-align: middle; }
.source-badge-light { margin: 0 3px 0 0; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.14); color: #fff4f7; }
.summary-card strong { display: block; margin-top: 6px; font-size: .83rem; font-weight: 600; overflow-wrap: anywhere; }
.match-list { padding-top: 56px; padding-bottom: 87px; }
.list-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; }
.list-intro .eyebrow { margin-bottom: 5px; }
.list-intro h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.list-intro > p { max-width: 400px; margin: 0; color: var(--muted); font-size: .79rem; }
.match-count-note { margin-bottom: 20px; color: #896b78; font-size: .78rem; }
.premium-count-note { padding: 12px 14px; border: 1px solid #efcad6; border-radius: 13px; background: #fff7fa; color: var(--rose-dark); font-weight: 800; }
.premium-upgrade-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; margin: 24px 0 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid #edc8d4; border-radius: 24px; background: radial-gradient(circle at 92% 10%, rgba(255, 214, 228, .88), transparent 15rem), linear-gradient(135deg, #fff, #fff4f7); box-shadow: var(--soft-shadow); }
.premium-upgrade-panel h2 { margin-bottom: 8px; font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
.premium-upgrade-panel p { color: var(--muted); font-size: .86rem; }
.premium-package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.premium-package-card { display: grid; gap: 8px; padding: 19px; border: 1px solid #efcad6; border-radius: 18px; background: rgba(255,255,255,.82); }
.premium-package-card h3 { margin: 0; color: var(--deep); font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.18rem; }
.premium-package-card strong { color: var(--rose-dark); font-size: 1.45rem; }
.premium-package-card p, .premium-package-card small { margin: 0; color: var(--muted); font-size: .78rem; }
.premium-package-card button { margin-top: 8px; }
.match-results { display: grid; gap: 17px; }
.match-card { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: rgba(255,255,255,.9); box-shadow: var(--soft-shadow); }
.match-card.premium-locked { overflow: hidden; min-height: 230px; margin: 18px 0; padding: 31px 18px; border: 1px solid #efd0da; border-radius: 18px; background: linear-gradient(135deg, #fffafd, #fff5f8); }
.premium-redacted .redacted-placeholder { display: block; width: min(100%, 150px); height: .9rem; margin-top: 7px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, #ecd8df 0%, #f8eaf0 45%, #e9d2db 100%); background-size: 220% 100%; filter: blur(2px); animation: protected-field-shimmer 2.4s ease-in-out infinite; }
@keyframes protected-field-shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.premium-lock-overlay { display: grid; grid-column: 1 / -1; min-width: 220px; align-content: center; justify-items: center; align-self: stretch; padding: 20px; border: 1px solid #efcbd7; border-radius: 16px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(201, 79, 120, .04); text-align: center; }
.premium-lock-overlay span { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 9px; border-radius: 999px; background: #ffe7ef; color: var(--rose-dark); }
.premium-lock-overlay h4 { margin: 0 0 6px; color: var(--deep); font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.2rem; }
.premium-lock-overlay p { max-width: 390px; margin: 0 0 12px; color: var(--muted); font-size: .82rem; }
.premium-lock-overlay a { color: var(--rose-dark); font-weight: 900; }
.premium-locked .match-main dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.match-visual { display: grid; align-content: start; justify-items: center; gap: 10px; }
.biodata-avatar { display: block; width: 82px; height: 82px; border: 1px solid #ecc9d5; border-radius: 50%; background: #fff5f8; box-shadow: 0 9px 22px rgba(103, 35, 66, .1); object-fit: cover; }
.score { display: flex; width: 66px; height: 66px; flex-direction: column; align-items: center; justify-content: center; border: 5px solid #fae4eb; border-radius: 50%; background: linear-gradient(145deg, #fff, #fce9ef); box-shadow: 0 8px 18px rgba(126, 47, 82, .08); color: var(--deep); }
.score strong { font-family: Georgia, serif; font-size: 1.72rem; line-height: 1; }
.score span { margin-top: 4px; color: #987380; font-size: .62rem; }
.match-main h3 { margin: 2px 0 15px; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.26rem; }
.match-main dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.match-main dt { margin-bottom: 3px; color: #977886; font-size: .7rem; }
.match-main dd { margin: 0; font-size: .82rem; overflow-wrap: anywhere; }
.score-method { margin: 17px 0 0; padding: 9px 12px; border-right: 3px solid #e49ab2; border-radius: 0 8px 8px 0; background: #fff5f7; color: #805867; font-size: .7rem; line-height: 1.8; }
.why { margin-top: 18px; padding: 15px 17px; border-radius: 11px; background: #fff6f8; }
.why h4 { margin: 0 0 7px; color: var(--deep); font-size: .78rem; }
.why ul, details ul { margin: 10px 0 0; padding-right: 18px; padding-left: 0; font-size: .78rem; }
.why li + li, details li + li { margin-top: 4px; }
details { margin-top: 12px; color: var(--muted); font-size: .78rem; }
details summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: #755462; font-weight: 700; }
details h5 { margin: 12px 0 5px; color: var(--deep); font-size: .75rem; }
.match-actions { display: grid; justify-items: end; gap: 10px; align-self: start; }
.detail-link { align-self: start; color: var(--rose-dark); font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.detail-link span { margin-right: 4px; }
.detail-link:hover { color: var(--deep); }
.card-detail-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid #dca3b6; border-radius: 11px; background: linear-gradient(135deg, #fff, #fff0f5); color: var(--rose-dark); line-height: 1.2; }
.card-detail-button:hover { border-color: #c85b7f; background: #fff4f7; color: var(--deep); }
.contact-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 13px; border: 1px solid #e8bdca; border-radius: 10px; background: linear-gradient(135deg, #fff8fa, #ffe8ef); box-shadow: none; color: var(--rose-dark); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.contact-button:hover { box-shadow: 0 8px 17px rgba(126, 47, 82, .1); filter: none; }
.show-more-wrap { padding-top: 31px; text-align: center; }
.show-more { min-width: 225px; }

.empty-state { padding: 58px 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #fff1f5, #fffafa); text-align: center; }
.empty-state > span { display: block; color: var(--rose-dark); font-size: 2.5rem; }
.empty-state h3, .empty-state h1 { margin: 8px 0; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.58rem; }
.empty-state p { max-width: 510px; margin: 0 auto 19px; color: var(--muted); font-size: .87rem; }
.empty-state a { color: var(--rose-dark); font-weight: 800; }
.standalone { max-width: 750px; margin: 105px auto; }
.detail-page { padding-top: 49px; padding-bottom: 86px; }
.detail-page h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; overflow-wrap: anywhere; }
.detail-identity { display: flex; align-items: center; gap: 21px; margin-bottom: 32px; }
.detail-identity h1, .detail-identity .eyebrow, .detail-identity .source-note { margin-bottom: 0; }
.detail-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.detail-title-row .source-badge { margin-left: 0; }
.detail-avatar { width: 112px; height: 112px; flex: 0 0 auto; }
.source-note { margin: 13px 0 39px; color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.contact-gate { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 0 0 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(135deg, #fff7f9, #fff); box-shadow: var(--soft-shadow); }
.contact-gate-bottom { margin: 35px 0 0; }
.contact-gate h2 { margin: 0 0 5px; font-size: 1.25rem; }
.contact-gate p { margin: 0; color: var(--muted); font-size: .82rem; }
.data-section { padding: 31px 0; border-top: 1px solid var(--line); }
.data-section h2 { margin-bottom: 21px; font-size: 1.55rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 31px; margin: 0; }
.field-grid div { padding-bottom: 15px; border-bottom: 1px solid #f2e4e8; }
.field-grid dt { margin-bottom: 5px; color: var(--muted); font-size: .76rem; }
.field-grid dd { margin: 0; font-size: .89rem; overflow-wrap: anywhere; }
.admin-page { max-width: 960px; padding-top: 75px; padding-bottom: 88px; }
.admin-page h1 { font-size: clamp(2.05rem, 3.7vw, 3.35rem); }
.warning { margin: 39px 0 25px; padding: 18px 21px; border-right: 4px solid var(--rose); border-radius: 11px; background: #fff0f4; color: #704454; font-size: .88rem; }
.command-card { padding: 35px 39px; border-radius: 20px; background: linear-gradient(142deg, #6e2447, #49162e); box-shadow: var(--shadow); color: var(--white); }
.command-card h2, .admin-notes h2 { font-size: 1.55rem; }
.command-card code { display: block; overflow-x: auto; margin: 10px 0 19px; padding: 15px; border-radius: 8px; background: rgba(31, 7, 20, .55); color: #ffe5ec; font-family: Consolas, monospace; font-size: .81rem; white-space: nowrap; }
.command-card p { max-width: 680px; margin: 0; color: #f0d3dd; font-size: .85rem; }
.command-label { margin-top: 3px !important; color: #ffd6e1 !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .09em; }
.admin-notes { padding: 28px 0; }
.admin-notes p { max-width: 650px; color: var(--muted); font-size: .88rem; }
.source-import-note { margin-top: 15px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff8fa; }
.source-import-note code { display: block; overflow-x: auto; margin-top: 14px; padding: 12px; border-radius: 8px; background: #f7eaf0; color: var(--deep); font-family: Consolas, monospace; font-size: .78rem; white-space: nowrap; }

.registration-page, .terms-page, .manual-page { padding-top: clamp(42px, 6vw, 64px); padding-bottom: 88px; }
.registration-page > h1, .terms-page > h1, .manual-page > h1, .browse-search-intro h1 { max-width: 18ch; font-size: clamp(2rem, 3.35vw, 3.2rem); line-height: 1.17; }
.registration-lead, .terms-lead { max-width: 720px; margin: 18px 0 36px; color: var(--muted); font-size: .94rem; }
.registration-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(275px, .55fr); gap: clamp(28px, 5vw, 68px); align-items: end; margin-top: 26px; padding: clamp(28px, 4.5vw, 52px); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 100% 0, rgba(236, 205, 246, .52), transparent 23rem), linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,244,248,.9)); box-shadow: var(--soft-shadow); }
.registration-intro { min-width: 0; }
.registration-intro h1 { max-width: 760px; margin-bottom: 0; font-size: clamp(2rem, 3vw, 2.85rem); line-height: 1.18; }
html.bangla-ui .registration-intro h1 { max-width: 800px; font-size: clamp(2rem, 2.75vw, 2.7rem); line-height: 1.32; }
.registration-intro .registration-lead { margin-bottom: 0; }
.registration-form, .registration-form-card, .terms-grid article { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--soft-shadow); }
.biodata-identity { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 920px; margin: 0 0 24px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.82); box-shadow: var(--soft-shadow); }
.registration-hero .biodata-identity { align-self: stretch; flex-direction: column; align-items: flex-start; justify-content: space-between; max-width: none; min-height: 172px; margin: 0; background: linear-gradient(145deg, #fffafd, #fff0f5); }
.biodata-identity .panel-kicker { margin-bottom: 4px; }
.biodata-identity h2 { margin: 0; font-size: 2.15rem; }
.registration-form { padding: 31px; }
.registration-form-card { margin-top: 34px; padding: 31px; }
.registration-form-card h2 { margin-bottom: 8px; font-size: 1.75rem; }
.registration-form-card > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: .86rem; }
.registration-form-card .registration-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.registration-form label span:first-child, .manual-form label span:first-child { display: block; margin-bottom: 6px; color: var(--deep); font-size: .77rem; font-weight: 800; }
.registration-form input, .manual-form input, .manual-form select, .manual-form textarea { padding: 12px 13px; }
.manual-form textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.checkbox-field { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; color: var(--muted); font-size: .82rem; }
.checkbox-field input { width: 18px; min-width: 18px; height: 18px; margin-top: 4px; accent-color: var(--rose-dark); }
.checkbox-field a { color: var(--rose-dark); font-weight: 800; }
.registration-form button[type="submit"] { width: 100%; margin-top: 22px; }
.registration-submit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.registration-submit-grid button[type="submit"] { margin-top: 0; }
.field-help { display: block; margin-top: 6px; color: #8a6d79; font-size: .68rem; line-height: 1.5; }
.google-auth-card { display: grid; gap: 10px; align-items: center; justify-items: center; margin: 20px 0 6px; padding: 18px; border: 1px solid #efd1db; border-radius: 17px; background: linear-gradient(135deg, #fffdfd, #fff5f8); }
.google-auth-card-compact { margin-top: 16px; }
.registration-google-auth { margin-top: 14px; }
.registration-google-auth[hidden] { display: none !important; }
.google-button-host { width: min(100%, 420px); min-height: 44px; display: grid; place-items: center; }
.google-auth-status { min-height: 20px; margin: 0; color: #7d5969; font-size: .78rem; text-align: center; }
.google-auth-status[data-error] { color: #9f2e49; font-weight: 800; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #9a7584; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #efd1db; }
.account-context-note { max-width: 760px; }
.privacy-note { margin: 14px 0 0; color: #8a6d79; font-size: .74rem; text-align: center; }
.full-review-card { margin-top: 34px; padding: 31px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.76); box-shadow: var(--soft-shadow); }
.full-review-card h2 { margin-bottom: 8px; font-size: 1.75rem; }
.full-review-card > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: .86rem; }
.full-review-card .data-section:first-of-type { border-top: 0; }
.manual-form { display: grid; gap: 22px; }
.manual-section { padding: 29px 31px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.82); box-shadow: var(--soft-shadow); }
.manual-section h2 { margin-bottom: 18px; font-size: 1.45rem; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-title-row h2 { margin: 0; }
.save-draft-button { padding: 9px 12px; border: 1px solid #e8bdca; background: #fff8fa; box-shadow: none; color: var(--rose-dark); font-size: .72rem; white-space: nowrap; }
.save-draft-button:hover { box-shadow: 0 8px 17px rgba(126, 47, 82, .1); filter: none; }
.draft-banner { margin: -10px 0 22px; padding: 12px 15px; border: 1px solid #e9bdcb; border-radius: 12px; background: #fff7f9; color: #805867; font-size: .82rem; }
.draft-banner[data-tone="error"] { border-color: #e59999; background: #fff5f5; color: #8f3a3a; }
.manual-step-shell { position: -webkit-sticky; position: sticky; z-index: 4; top: 91px; margin-bottom: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.96); background: rgba(255,255,255,.9); box-shadow: var(--soft-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.manual-step-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.manual-step-topline span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.manual-step-topline strong { color: var(--deep); font-size: .92rem; }
.manual-step-track { overflow: hidden; height: 8px; border-radius: 999px; background: #f5dce5; }
.manual-step-track span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(135deg, #e5789c, #c94772); transition: width .22s ease; }
.manual-step-tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 13px; padding-bottom: 2px; }
.manual-step-tabs button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #eed1db; border-radius: 999px; background: #fff8fa; box-shadow: none; color: #7d5969; font-size: .7rem; }
.manual-step-tabs button[aria-current="step"] { border-color: #d76086; background: #ffe8f0; color: var(--rose-dark); }
.manual-step-tabs button[data-complete="true"]::after { content: " ✓"; }
.manual-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: -webkit-sticky; position: sticky; bottom: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.97); background: rgba(255,255,255,.92); box-shadow: var(--soft-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.manual-step-actions button { min-width: 145px; }
.manual-step-actions button[hidden] { display: none; }
.manual-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; }
.manual-review-grid div { padding: 13px; border: 1px solid #f0d7df; border-radius: 13px; background: #fffdfd; }
.manual-review-grid dt { color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.manual-review-grid dd { margin: 4px 0 0; color: var(--deep); font-size: .82rem; overflow-wrap: anywhere; }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.qa-field { display: grid; gap: 7px; padding: 15px; border: 1px solid #f0d7df; border-radius: 14px; background: #fffdfd; }
.qa-field > span:first-child { color: var(--deep); font-size: .78rem; font-weight: 800; }
.qa-field-wide { grid-column: 1 / -1; }
.manual-actions { display: grid; grid-template-columns: minmax(160px, .34fr) minmax(0, .66fr); gap: 12px; margin-top: 20px; }
.confirmation-section button[type="submit"] { width: 100%; margin-top: 20px; }
.manual-actions button[type="submit"], .manual-actions .save-draft-button { width: 100%; margin-top: 0; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.terms-grid article { padding: 26px; }
.terms-grid h2 { margin-bottom: 9px; font-size: 1.35rem; }
.terms-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.edit-section-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 9px; border-radius: 999px; background: #ffe8f0; color: var(--rose-dark); font-size: .86rem; vertical-align: middle; }
.section-edit-link { margin-left: 10px; color: var(--rose-dark); font-family: Inter, system-ui, sans-serif; font-size: .72rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.notice { margin: 16px 0 22px; padding: 13px 16px; border: 1px solid #dfb8c5; border-radius: 13px; background: #fff8fa; color: #6f4154; font-size: .85rem; }
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.browse-filter-form { display: grid; gap: 20px; }
.browse-search-intro { max-width: 790px; }
.browse-search-intro h1 { max-width: 18ch; }
.biodata-id-search { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: clamp(22px, 4vw, 48px); align-items: center; margin: 34px 0 22px; padding: clamp(22px, 4vw, 32px); border: 1px solid #ebc9d5; border-radius: 22px; background: radial-gradient(circle at 100% 0, rgba(251, 218, 230, .7), transparent 18rem), rgba(255, 255, 255, .88); box-shadow: var(--soft-shadow); }
.biodata-id-search .eyebrow { margin-bottom: 5px; }
.biodata-id-search h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.biodata-id-search p { max-width: 530px; margin-bottom: 0; color: var(--muted); font-size: .81rem; }
.biodata-id-search form { display: grid; gap: 7px; }
.biodata-id-search label { color: var(--deep); font-size: .73rem; font-weight: 850; }
.biodata-id-search-controls { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 9px; }
.biodata-id-search input,
.biodata-id-search select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #e4b6c5; border-radius: 11px; background: #fffdfd; color: var(--deep); }
.biodata-id-search select { padding-inline: 11px 30px; font-size: .76rem; font-weight: 800; }
.biodata-id-search input:focus,
.biodata-id-search select:focus { border-color: var(--rose); outline: 3px solid rgba(255, 192, 213, .32); }
.biodata-id-search button { min-width: 132px; min-height: 48px; padding: 12px 16px; }
.biodata-id-search .id-search-error { color: #a52450; font-size: .76rem; font-weight: 750; }
.browse-choice-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #997886; font-size: .7rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.browse-choice-divider::before, .browse-choice-divider::after { height: 1px; flex: 1; background: #ecd6de; content: ""; }
.browse-choice-divider span { flex: 0 1 auto; text-align: center; }
.browse-filter-form > .qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location-filter-field { position: relative; gap: 7px; }
.address-select-dropdown { position: relative; margin: 0; color: var(--deep); font-size: inherit; }
.address-select-dropdown > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding: 12px 13px; border: 1px solid #e9bfcd; border-radius: 10px; background: #fffdfd; color: var(--deep); font-size: .9rem; font-weight: 600; list-style: none; cursor: pointer; }
.address-select-dropdown > summary::-webkit-details-marker { display: none; }
.address-select-dropdown > summary::after { content: "⌄"; color: var(--rose-dark); font-size: .9rem; transition: transform .18s ease; }
.address-select-dropdown[open] > summary { border-color: var(--rose); outline: 3px solid rgba(255, 192, 213, .28); }
.address-select-dropdown[open] > summary::after { transform: rotate(180deg); }
.address-dropdown-menu { position: absolute; z-index: 8; top: calc(100% + 8px); right: 0; left: 0; min-width: min(520px, calc(100vw - 48px)); max-height: 430px; overflow: auto; padding: 14px; border: 1px solid #e9bfcd; border-radius: 14px; background: #fffdfd; box-shadow: var(--shadow); }
.filter-help { margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
.division-choice-list { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 10px; }
.division-picker { margin: 0; padding: 0; border: 1px solid #f0d7df; border-radius: 13px; background: #fff8fa; color: var(--deep); }
.division-picker summary { padding: 12px 14px; color: var(--deep); font-size: .83rem; font-weight: 900; list-style-position: inside; }
.division-picker[open] summary { border-bottom: 1px solid #f1d8e0; color: var(--rose-dark); }
.district-choice-list { display: grid; gap: 8px; max-height: 250px; overflow: auto; padding: 12px; }
.location-radio { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .8rem; cursor: pointer; }
.location-radio input { width: 16px; min-width: 16px; height: 16px; margin-top: 4px; accent-color: var(--rose-dark); }
.location-radio span { color: inherit; font-weight: 700; }
.multi-select-dropdown { position: relative; margin: 0; color: var(--deep); }
.multi-select-dropdown > summary { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid #e9bfcd; border-radius: 10px; background: #fffdfd; color: var(--deep); font-size: .9rem; font-weight: 600; list-style: none; cursor: pointer; }
.multi-select-dropdown > summary::-webkit-details-marker { display: none; }
.multi-select-dropdown > summary::after { color: var(--rose-dark); content: "⌄"; transition: transform .18s ease; }
.multi-select-dropdown[open] > summary { border-color: var(--rose); outline: 3px solid rgba(255, 192, 213, .28); }
.multi-select-dropdown[open] > summary::after { transform: rotate(180deg); }
.multi-select-menu { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; left: 0; display: grid; min-width: min(330px, calc(100vw - 48px)); max-height: 340px; gap: 7px; overflow: auto; padding: 12px; border: 1px solid #e9bfcd; border-radius: 14px; background: #fffdfd; box-shadow: var(--shadow); }
.multi-select-menu label { display: flex; min-height: 42px; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-size: .78rem; font-weight: 700; cursor: pointer; }
.multi-select-menu label:hover, .multi-select-menu label:focus-within { background: #fff1f5; color: var(--deep); }
.multi-select-menu input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--rose-dark); }
.multi-select-actions { position: sticky; bottom: -12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px -4px -4px; padding: 8px 4px 4px; background: linear-gradient(180deg, rgba(255,253,253,0), #fffdfd 24%); }
.multi-select-actions button { min-height: 40px; margin: 0; padding: 8px 10px; border: 1px solid #e8c5d1; background: #fff7fa; box-shadow: none; color: var(--rose-dark); font-size: .72rem; }
.multi-select-actions [data-multi-done] { border-color: transparent; background: linear-gradient(135deg, #df7095, #c74370); color: #fff; }
.all-filters { padding: 16px 18px; border: 1px dashed #e2b7c4; border-radius: 15px; background: #fff9fb; }
.all-filters summary { cursor: pointer; color: var(--rose-dark); font-weight: 900; }
.all-filters .qa-grid { margin-top: 16px; }
.browse-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 36px 0 18px; scroll-margin-top: 90px; }
.browse-results-heading h2 { margin: 0; font-size: 1.7rem; }
.browse-results-heading .eyebrow { margin-bottom: 4px; }
.browse-refine-button { display: none; min-height: 44px; padding: 11px 15px; box-shadow: none; }
.browse-results { display: grid; gap: 16px; }
.browse-card { display: grid; grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr); gap: 20px 26px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: radial-gradient(circle at 0 0, rgba(251,224,232,.7), transparent 14rem), rgba(255,255,255,.9); box-shadow: var(--soft-shadow); }
.biodata-clickable-card { cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.biodata-clickable-card::after { position: absolute; top: 16px; right: 16px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #ecc4d1; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--rose-dark); content: "›"; font-family: Arial, sans-serif; font-size: 1.25rem; line-height: 1; }
.biodata-clickable-card:hover { border-color: #dc9caf; box-shadow: 0 17px 38px rgba(94, 32, 60, .13); transform: translateY(-2px); }
.biodata-clickable-card:focus-visible { border-color: var(--rose); outline: 3px solid rgba(242, 163, 186, .7); outline-offset: 3px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--rose-dark); }
.browse-card-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.browse-card-identity .biodata-avatar { width: 92px; height: 92px; flex: 0 0 auto; }
.browse-card h3 { margin: 7px 0 2px; color: var(--deep); font-size: 1.28rem; }
.browse-card-identity p { margin: 0; }
.browse-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; margin: 0; }
.browse-card dl > div { padding: 11px 12px; border-radius: 12px; background: rgba(255,247,250,.78); }
.browse-card dt { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.browse-card dd { margin: 2px 0 0; color: var(--deep); font-size: .82rem; overflow-wrap: anywhere; }
.browse-card p { margin: 7px 0; color: var(--muted); font-size: .84rem; }
.browse-card-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid #f0dce3; }

/* Private viewed and shortlist cues */
.match-card.is-viewed, .browse-card.is-viewed { border-color: #e8a9bc; background-color: #fff9fb; }
.match-card.is-viewed::before, .browse-card.is-viewed::before { content: ""; position: absolute; inset: 16px auto 16px 0; width: 4px; border-radius: 0 8px 8px 0; background: linear-gradient(180deg, #c64571, #e788a7); }
.browse-card { position: relative; }
.viewed-badge { display: inline-flex; align-items: center; gap: 4px; width: max-content; margin-left: 7px; padding: 4px 8px; border: 1px solid #efbdcb; border-radius: 999px; background: #fff1f5; color: #a92c57; font-size: .66rem; font-weight: 850; letter-spacing: .02em; vertical-align: middle; }
.viewed-badge[hidden] { display: none; }
.shortlist-form { margin: 0; }
.shortlist-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 13px; border: 1px solid #e7afc0; border-radius: 11px; background: #fff9fb; color: #9d3156; font: inherit; font-size: .77rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.shortlist-button:hover { transform: translateY(-1px); border-color: #ce6e8e; background: #fff0f5; }
.shortlist-button.is-shortlisted { border-color: #bd3b68; background: #bd3b68; color: #fff; }
.shortlist-button.is-shortlisted [aria-hidden="true"] { color: #ffdce7; }
.shortlist-button:disabled { opacity: .58; cursor: wait; transform: none; }
.detail-saved-actions { display: flex; margin-top: 14px; }
.shortlist-library-link { gap: 7px; }
.shortlist-page { max-width: 1180px; }
.shortlist-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.shortlist-page-heading > div { max-width: 760px; }
.shortlist-page-heading h1 { margin: 12px 0 14px; font-size: clamp(2.15rem, 5vw, 4.5rem); line-height: .98; }
.shortlist-page-heading h1 em { color: var(--rose); font-style: normal; }
.shortlist-count { flex: 0 0 auto; padding: 10px 14px; border: 1px solid #e8b7c5; border-radius: 999px; background: #fff5f8; color: #9f3459; font-size: .78rem; font-weight: 850; }
.shortlist-results .browse-card h2 { margin: 7px 0 2px; font-size: 1.25rem; }
.shortlist-empty { margin-top: 24px; }
@media (max-width: 720px) {
  .viewed-badge { margin-left: 4px; }
  .browse-card-actions .shortlist-form, .browse-card-actions .shortlist-button { width: 100%; }
  .match-actions .shortlist-form, .match-actions .shortlist-button { width: min(100%, 260px); }
  .detail-saved-actions { justify-content: center; }
  .shortlist-page-heading { align-items: flex-start; flex-direction: column; text-align: center; }
  .shortlist-page-heading > div { width: 100%; }
  .shortlist-page-heading .shortlist-count { align-self: center; }
}
.source-detail-link { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 14px; border: 1px solid #e8bdca; border-radius: 10px; background: #fff7fa; }
.packages-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.packages-hero > div:first-child { max-width: 760px; }
.packages-hero h1 { font-size: clamp(2rem, 3.1vw, 2.9rem); }
.selected-contact-biodata { display: flex; min-width: 260px; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: var(--soft-shadow); }
.selected-contact-biodata img { width: 76px; height: 76px; }
.selected-contact-biodata strong, .selected-contact-biodata small { display: block; }
.selected-contact-biodata strong { margin-top: 7px; color: var(--deep); }
.selected-contact-biodata small { color: var(--muted); }
.contact-credit-note, .package-trust-note { margin: 25px 0 0; padding: 13px 16px; border: 1px solid #e8c6d1; border-radius: 13px; background: #fff8fa; color: var(--deep); font-size: .82rem; text-align: center; }
.contact-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.contact-package-card { position: relative; display: grid; align-content: start; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--soft-shadow); }
.contact-package-card.featured { border-color: #d7819e; background: linear-gradient(145deg, #fff, #fff0f5); box-shadow: 0 18px 42px rgba(105,36,68,.14); }
.package-highlight { position: absolute; top: -13px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--rose-dark); box-shadow: 0 7px 16px rgba(100,31,61,.16); color: #fff; font-size: .62rem; font-weight: 900; }
.contact-package-card .panel-kicker { margin: 0 0 7px; color: var(--rose-dark); }
.contact-package-card h2 { margin: 0; font-size: 1.35rem; }
.contact-package-card > p:not(.panel-kicker) { min-height: 74px; color: var(--muted); font-size: .82rem; }
.package-price { margin: 9px 0; color: var(--rose-dark); font-family: Georgia, serif; font-size: 2rem; }
.contact-package-card ul { margin: 4px 0 22px; padding-left: 20px; color: var(--muted); font-size: .78rem; }
.contact-package-card li + li { margin-top: 6px; }
.package-compact-benefit { color: var(--rose-dark); font-size: .74rem; font-weight: 750; line-height: 1.45; }
.contact-package-card form { align-self: end; margin-top: auto; }
.contact-package-card button { width: 100%; }
.pagination-nav { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 30px; }
.pagination-nav a, .pagination-nav span { display: inline-grid; min-width: 42px; min-height: 42px; place-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--deep); font-size: .78rem; font-weight: 800; text-decoration: none; }
.pagination-nav a:hover { border-color: #d887a4; color: var(--rose-dark); }
.pagination-nav [aria-current="page"] { border-color: var(--rose); background: var(--rose); color: #fff; }
.pagination-nav .pagination-direction { padding-right: 15px; padding-left: 15px; }
.pagination-nav .pagination-ellipsis { min-width: 24px; border-color: transparent; background: transparent; }
.pagination-summary { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: .76rem; }
.payment-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 24px; align-items: start; margin-top: 30px; }
.payment-summary-card, .payment-confirmation-card { padding: clamp(25px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 95% 6%, rgba(255, 218, 230, .8), transparent 12rem), rgba(255,255,255,.88); box-shadow: var(--soft-shadow); }
.payment-summary-card h2 { margin: 6px 0; font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.payment-summary-card > p { color: var(--muted); font-size: .84rem; }
.payment-amount { display: block; margin: 8px 0 13px; color: var(--rose-dark); font-family: Georgia, serif; font-size: 2.2rem; }
.bkash-number-card { display: grid; gap: 4px; margin: 24px 0 17px; padding: 20px; border: 1px solid #efc5d3; border-radius: 18px; background: linear-gradient(135deg, #fff7fa, #fff); }
.bkash-number-card small, .bkash-number-card span { color: var(--muted); font-size: .7rem; }
.bkash-number-card strong { color: #b51f5d; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .04em; }
.payment-form-card { margin-top: 0; }
.payment-instructions { line-height: 1.8; }
.payment-pending-state { display: grid; justify-items: center; padding: 30px 10px; text-align: center; }
.payment-pending-state > span, .confirmation-mark { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 16px; border-radius: 50%; background: #e9f8ef; color: #287b4d; font-size: 1.6rem; font-weight: 900; }
.payment-pending-state p { max-width: 560px; color: var(--muted); }
.payment-confirmation-card { max-width: 880px; margin: 35px auto 0; text-align: center; }
.payment-confirmation-card .confirmation-mark { margin-right: auto; margin-left: auto; }
.payment-confirmation-card > p:not(.eyebrow) { max-width: 690px; margin-right: auto; margin-left: auto; color: var(--muted); }
.confirmation-reference { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.confirmation-reference div { padding: 16px; border-left: 1px solid var(--line); }
.confirmation-reference div:first-child { border-left: 0; }
.confirmation-reference small, .confirmation-reference strong { display: block; }
.confirmation-reference small { margin-bottom: 5px; color: var(--muted); font-size: .68rem; }
.confirmation-reference strong { overflow-wrap: anywhere; font-size: .84rem; }

.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); gap: 24px; align-items: stretch; margin-bottom: 24px; padding: clamp(27px, 4vw, 43px); border-radius: 28px; background: linear-gradient(135deg, #743053, #bd4774 62%, #e36d91); box-shadow: 0 24px 60px rgba(112,35,78,.2); color: #fff; }
.profile-hero .eyebrow { color: #ffdbe6; }
.profile-hero h1 { max-width: 760px; margin-bottom: 10px; color: #fff; font-size: clamp(1.9rem, 3.25vw, 2.85rem); line-height: 1.16; text-shadow: 0 4px 18px rgba(56, 11, 39, .55); }
.profile-hero h1 span[data-i18n="account.welcome"] { display: inline-block; padding: .02em .18em .08em; border-radius: .22em; background: rgba(67, 18, 47, .36); color: #fffafc; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.profile-hero p { max-width: 650px; margin: 0; color: #ffe8ef; }
.profile-identity-card { display: grid; align-content: center; justify-items: start; gap: 7px; padding: 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 22px; background: rgba(255,255,255,.13); }
.profile-avatar { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #fff; color: var(--rose-dark); font-size: 1.45rem; font-weight: 900; }
.profile-identity-card strong { font-size: 1rem; }
.profile-identity-card small { color: #ffe8ef; font-size: .78rem; overflow-wrap: anywhere; }
.profile-action-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: var(--soft-shadow); }
.profile-action-strip form { margin: 0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 22px; }
.profile-main-card, .profile-side-card { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.84); box-shadow: var(--soft-shadow); }
.profile-main-card { padding: 26px; }
.profile-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.profile-section-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.profile-section-heading > span { padding: 7px 11px; border-radius: 999px; background: #fff1f5; color: var(--rose-dark); font-size: .73rem; font-weight: 900; white-space: nowrap; }
.profile-biodata-list { display: grid; gap: 16px; }
.profile-biodata-card { padding: 22px; border: 1px solid #f0d7df; border-radius: 18px; background: #fffdfd; }
.profile-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.profile-biodata-card h3 { margin: 0 0 14px; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.35rem; }
.profile-biodata-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.profile-biodata-card dt { color: var(--muted); font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.profile-biodata-card dd { margin: 2px 0 0; color: var(--deep); font-size: .82rem; overflow-wrap: anywhere; }
.profile-note { margin: 16px 0 0; padding: 11px 13px; border-radius: 12px; background: #fff8e9; color: #8e5a19; font-size: .78rem; }
.profile-card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.profile-card-actions form { margin: 0; }
.profile-side { display: grid; gap: 16px; align-content: start; }
.profile-side-card { padding: 22px; }
.profile-side-card h2 { margin-bottom: 8px; font-size: 1.25rem; }
.profile-side-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.profile-access-alert { margin-bottom: 18px; }
.profile-premium-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 17px; padding: 11px 15px; border: 1px solid #e8b9ca; border-radius: 12px; background: linear-gradient(135deg, #fff8fb, #ffe7ef); color: var(--rose-dark); font-size: .79rem; font-weight: 900; line-height: 1.35; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.profile-premium-action:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(123, 42, 79, .12); }

.compatibility-page { max-width: 1180px; }
.compatibility-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 34px; align-items: center; margin: 20px 0 24px; padding: clamp(28px, 5vw, 52px); overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 28px; background: radial-gradient(circle at 100% 0, rgba(255,226,235,.2), transparent 19rem), linear-gradient(135deg, #71304f, #b54470 62%, #df6a8d); box-shadow: 0 24px 55px rgba(112,35,78,.18); color: #fff; }
.compatibility-hero::after { position: absolute; right: -110px; bottom: -180px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.045), 0 0 0 80px rgba(255,255,255,.025); content: ""; }
.compatibility-hero > * { position: relative; z-index: 1; }
.compatibility-hero .eyebrow { color: #ffd8e5; }
.compatibility-hero h1 { max-width: 760px; margin: 0 0 12px; color: #fff; font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.08; }
.compatibility-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #ffe9f0; }
.compatibility-hero-mark { display: grid; width: 132px; height: 132px; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; background: rgba(255,255,255,.11); box-shadow: inset 0 0 0 13px rgba(255,255,255,.045); }
.compatibility-hero-mark span { margin-bottom: -25px; color: #ffd2a4; font-size: 1.6rem; }
.compatibility-hero-mark small { color: #fff; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 800; }
.compatibility-form { margin-top: 0; }
.compatibility-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.compatibility-form-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.compatibility-input-grid { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(300px, 1.2fr); gap: 17px; }
.compatibility-input-grid label { display: grid; gap: 8px; color: var(--deep); font-size: .79rem; font-weight: 900; }
.compatibility-input-grid input, .compatibility-input-grid select { width: 100%; min-height: 52px; }
.compatibility-form .form-help { margin: 12px 0 18px; color: var(--muted); font-size: .76rem; }
.compatibility-form > button { min-width: 220px; }
.compatibility-alert { margin-top: 20px; }
.compatibility-result { margin-top: 24px; padding: clamp(24px, 4.5vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: var(--soft-shadow); }
.compatibility-result-lead { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 28px; align-items: center; margin-bottom: 25px; }
.compatibility-result-lead h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 2.8vw, 2.35rem); }
.compatibility-result-lead p:not(.eyebrow) { max-width: 770px; margin: 0; color: var(--muted); font-size: .84rem; }
.compatibility-score { display: grid; width: 124px; height: 124px; place-items: center; align-content: center; justify-self: end; border: 8px solid #ffe1ea; border-radius: 50%; background: linear-gradient(145deg, #fff, #fff2f6); box-shadow: inset 0 0 0 1px #e8b8c8, 0 12px 28px rgba(111,35,73,.12); text-align: center; }
.compatibility-score strong { color: var(--rose-dark); font-family: Georgia, serif; font-size: 2.35rem; line-height: 1; }
.compatibility-score span { margin-top: 5px; color: var(--muted); font-size: .65rem; font-weight: 800; }
.compatibility-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compatibility-pair > article { padding: 21px; border: 1px solid #f0d5de; border-radius: 19px; background: linear-gradient(145deg, #fff, #fff9fb); }
.compatibility-identity { display: flex; gap: 15px; align-items: center; margin-bottom: 17px; }
.compatibility-identity img { flex: 0 0 auto; border: 1px solid #efd0da; border-radius: 50%; background: #fff7fa; }
.compatibility-identity h3 { margin: 7px 0 0; font-family: Georgia, serif; font-size: 1.42rem; overflow-wrap: anywhere; }
.compatibility-pair dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.compatibility-pair dl div { padding-top: 11px; border-top: 1px solid #f1dce3; }
.compatibility-pair dt { color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.compatibility-pair dd { margin: 4px 0 0; color: var(--deep); font-size: .81rem; overflow-wrap: anywhere; }
.compatibility-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 17px; }
.compatibility-review-grid article { padding: 21px; border: 1px solid #efd8df; border-radius: 18px; background: #fffafb; }
.compatibility-review-grid h3 { margin: 0 0 12px; font-size: 1.15rem; }
.compatibility-review-grid ul { display: grid; gap: 9px; margin: 0; padding-left: 19px; color: #644554; font-size: .8rem; }
.compatibility-method { margin: 17px 0 0; padding: 13px 15px; border-radius: 13px; background: #fff5f8; color: var(--muted); font-size: .75rem; }
.compatibility-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.compatibility-guidance { display: flex; gap: 17px; align-items: center; margin-top: 23px; padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.82); box-shadow: var(--soft-shadow); }
.compatibility-guidance > span { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #ffe8ef; color: var(--rose-dark); font-size: 1.35rem; }
.compatibility-guidance h2 { margin: 0 0 6px; font-size: 1.3rem; }
.compatibility-guidance p { margin: 0; color: var(--muted); font-size: .82rem; }

.admin-body, .admin-login-body { background: radial-gradient(circle at 8% 8%, rgba(255, 200, 216, .55), transparent 26rem), radial-gradient(circle at 92% 2%, rgba(218, 193, 247, .42), transparent 28rem), linear-gradient(135deg, #fffafb 0%, #fff4f7 52%, #f8eefc 100%); }
.admin-shell { display: grid; grid-template-columns: 285px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: -webkit-sticky; position: sticky; top: 0; align-self: start; display: flex; min-height: 100vh; flex-direction: column; gap: 26px; padding: 26px 20px; border-right: 1px solid rgba(238, 212, 221, .9); background: rgba(255, 250, 251, .96); background: rgba(255, 250, 251, .86); box-shadow: 12px 0 35px rgba(94, 32, 60, .06); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-brand { display: flex; align-items: center; gap: 11px; color: var(--deep); text-decoration: none; }
.admin-brand strong { display: block; font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.22rem; line-height: 1.1; }
.admin-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a { padding: 11px 13px; border: 1px solid transparent; border-radius: 13px; color: #654253; font-size: .86rem; font-weight: 800; text-decoration: none; transition: .18s ease; }
.admin-sidebar nav a:hover, .admin-sidebar nav a[aria-current="page"] { border-color: #f0c7d4; background: linear-gradient(135deg, #fff5f8, #ffe8ef); color: var(--rose-dark); box-shadow: 0 8px 17px rgba(126, 47, 82, .08); }
.admin-nav-toggle { display: none; min-height: 44px; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #e7c5d0; border-radius: 11px; background: #fff7fa; box-shadow: none; color: var(--rose-dark); font-size: .75rem; }
.admin-sidebar-footer { margin-top: auto; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: #fff7f9; }
.admin-sidebar-footer small, .admin-sidebar-footer strong, .admin-sidebar-footer a { display: block; overflow-wrap: anywhere; }
.admin-sidebar-footer small { color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-sidebar-footer strong { margin: 4px 0 9px; color: var(--deep); font-size: .78rem; }
.admin-sidebar-footer a { color: var(--rose-dark); font-size: .78rem; font-weight: 900; text-decoration: none; }
.admin-sidebar-footer .admin-profile-link { margin: 10px 0 12px; padding: 9px 11px; border: 1px solid #e8c4d0; border-radius: 10px; background: #fff; text-align: center; }
.admin-main { min-width: 0; padding: 28px clamp(22px, 4vw, 56px) 70px; }
.admin-topbar { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 22px; }
.admin-topbar a, .admin-primary-link, .admin-card-header a, .admin-table-action { color: var(--rose-dark); font-size: .78rem; font-weight: 900; text-decoration: none; }
.admin-topbar a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); }
.admin-hero-panel, .admin-detail-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; padding: clamp(27px, 4vw, 44px); border: 1px solid rgba(255,255,255,.58); border-radius: 28px; background: linear-gradient(135deg, rgba(117, 43, 83, .96), rgba(184, 64, 110, .92) 58%, rgba(226, 105, 136, .9)); box-shadow: 0 24px 60px rgba(112, 35, 78, .22); color: #fff; overflow: hidden; position: relative; }
.admin-hero-panel::after, .admin-detail-hero::after { position: absolute; top: -150px; right: -100px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.05), 0 0 0 77px rgba(255,255,255,.03); content: ""; }
.admin-hero-panel > *, .admin-detail-hero > * { position: relative; z-index: 1; }
.admin-hero-panel .eyebrow, .admin-detail-hero .eyebrow { color: #ffd9e4; }
.admin-hero-panel h1, .admin-detail-hero h1 { max-width: 780px; margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.45rem); color: #fff; }
.admin-hero-panel p, .admin-detail-hero p { max-width: 650px; margin: 0; color: #ffe9ef; font-size: .9rem; }
.admin-primary-link { display: inline-flex; min-width: 205px; justify-content: center; padding: 13px 17px; border-radius: 13px; background: #fff; color: var(--rose-dark); box-shadow: 0 12px 28px rgba(72, 16, 43, .18); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 17px; margin: 0 0 24px; }
.admin-stat-grid article, .admin-card { border: 1px solid rgba(238, 212, 221, .94); border-radius: 22px; background: rgba(255,255,255,.84); box-shadow: var(--soft-shadow); }
.admin-stat-grid article { padding: 22px; }
.admin-stat-grid span { display: block; color: #8b6b79; font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.admin-stat-grid strong { display: block; margin: 7px 0 2px; color: var(--deep); font-family: Georgia, serif; font-size: 2.25rem; line-height: 1; }
.admin-stat-grid small, .admin-stat-grid p { color: var(--muted); font-size: .78rem; }
.admin-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-feature-grid article p { margin: 8px 0 0; }
.admin-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 22px; }
.admin-card { padding: 24px; overflow: hidden; }
.admin-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.admin-card-header h2, .admin-page-heading h1 { margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
.admin-card-header .eyebrow, .admin-page-heading .eyebrow { margin-bottom: 5px; }
.admin-page-heading { max-width: 820px; margin-bottom: 24px; }
.admin-page-heading p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
.admin-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.admin-status-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; border: 1px solid #f0d7df; border-radius: 14px; background: #fff9fb; color: inherit; text-decoration: none; }
.admin-status-grid strong { color: var(--deep); font-family: Georgia, serif; font-size: 1.35rem; }
.status-pill { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 4px 9px; border: 1px solid #e7c2d0; border-radius: 999px; background: #fff4f8; color: var(--rose-dark); font-size: .66rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.status-approved { border-color: #bfe5c9; background: #effbf2; color: #237840; }
.status-draft { border-color: #e7c7a0; background: #fff8e9; color: #8d5819; }
.status-pending_review { border-color: #f0d0a6; background: #fff8e9; color: #a06318; }
.status-needs_correction { border-color: #eabf80; background: #fff2da; color: #9a5c11; }
.status-rejected, .status-deleted { border-color: #efb7bd; background: #fff1f2; color: #9b2636; }
.status-suspended { border-color: #cec2f3; background: #f5f1ff; color: #6041a2; }
.status-source_unavailable { border-color: #efb7bd; background: #fff1f2; color: #9b2636; }
.status-running, .status-queued, .status-cancel_requested { border-color: #e7c7a0; background: #fff8e9; color: #8d5819; }
.status-completed { border-color: #bfe5c9; background: #effbf2; color: #237840; }
.status-failed, .status-cancelled { border-color: #efb7bd; background: #fff1f2; color: #9b2636; }
.admin-source-list { display: grid; gap: 10px; }
.admin-source-list div { display: flex; justify-content: space-between; gap: 18px; padding: 13px; border-radius: 13px; background: #fff8fa; }
.admin-source-list span { color: var(--muted); font-size: .84rem; }
.admin-source-list strong { color: var(--deep); font-size: 1rem; }
.admin-activity-list { display: grid; gap: 11px; }
.admin-activity-list article { padding: 13px; border-radius: 13px; background: #fff8fa; }
.admin-activity-list strong, .admin-activity-list span, .admin-activity-list small { display: block; }
.admin-activity-list strong { color: var(--deep); font-size: .84rem; }
.admin-activity-list span, .admin-activity-list small { color: var(--muted); font-size: .72rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: #8a6c7a; font-size: .67rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 13px 12px; border-bottom: 1px solid #f1e2e7; color: var(--deep); font-size: .8rem; vertical-align: top; }
.admin-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; }
.admin-table tr:hover td { background: #fff8fa; }
.admin-table-roomy td { min-width: 120px; }
.admin-filter-bar { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(160px, .7fr) minmax(220px, 1.2fr) auto; gap: 14px; align-items: end; margin-bottom: 22px; padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--soft-shadow); }
.admin-filter-bar label { display: grid; gap: 6px; }
.admin-filter-bar span, .admin-action-panel label span { color: var(--deep); font-size: .72rem; font-weight: 900; }
.admin-filter-bar input, .admin-filter-bar select, .admin-action-panel textarea { width: 100%; padding: 12px 13px; border: 1px solid #e9bfcd; border-radius: 10px; background: #fffdfd; color: var(--deep); font: inherit; }
.admin-detail-hero { align-items: flex-end; }
.admin-detail-hero .back-link { color: #ffe6ee; }
.admin-review-status-card { min-width: 235px; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(255,255,255,.14); }
.admin-review-status-card small { display: block; margin-top: 8px; color: #ffe9ef; font-size: .72rem; }
.admin-action-panel { margin-bottom: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.84); box-shadow: var(--soft-shadow); }
.admin-action-panel form { display: grid; gap: 16px; }
.admin-action-panel textarea { min-height: 95px; resize: vertical; }
.admin-review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-review-actions button { padding: 11px 14px; font-size: .78rem; }
.admin-action-approve { background: linear-gradient(135deg, #62bf78, #2d8c4c); }
.admin-action-needs_correction { background: linear-gradient(135deg, #e9ad5b, #c8792b); }
.admin-action-reject, .admin-action-delete { background: linear-gradient(135deg, #dd6876, #b73749); }
.admin-action-suspend { background: linear-gradient(135deg, #8d75c8, #684fa5); }
.admin-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 18px; margin: 0; }
.admin-summary-grid-single { grid-template-columns: 1fr; }
.admin-summary-grid div { padding: 13px; border-radius: 13px; background: #fff8fa; }
.admin-summary-grid dt { color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.admin-summary-grid dd { margin: 4px 0 0; color: var(--deep); font-size: .83rem; overflow-wrap: anywhere; }
.muted-copy { color: var(--muted); font-size: .85rem; }
.admin-debug-form { grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; }
.admin-debug-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-debug-columns h3 { margin: 0 0 8px; font-size: 1rem; }
.admin-debug-columns ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .8rem; }
.admin-login-page { display: grid; min-height: 100vh; place-items: center; padding: 28px; }
.admin-login-card { width: min(100%, 520px); padding: clamp(30px, 5vw, 46px); border: 1px solid rgba(255,255,255,.7); border-radius: 30px; background: rgba(255,255,255,.86); box-shadow: 0 30px 80px rgba(94, 32, 60, .17); }
.admin-login-card h1 { margin: 8px 0 12px; font-size: clamp(2rem, 5vw, 3rem); }
.admin-login-card p { color: var(--muted); font-size: .9rem; }
.admin-login-card .registration-form { display: grid; gap: 14px; margin: 23px 0 12px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.admin-login-card small { display: block; color: #8e6d7c; font-size: .72rem; line-height: 1.6; }
.admin-form-grid { display: grid; gap: 16px; }
.admin-form-grid label { display: grid; gap: 7px; color: var(--deep); font-size: .78rem; font-weight: 800; }
.admin-form-grid input, .admin-form-grid textarea, .admin-inline-form input { width: 100%; padding: 10px 11px; border: 1px solid #e8c4d0; border-radius: 10px; background: #fffdfd; color: var(--deep); font: inherit; }
.admin-form-grid textarea { min-height: 88px; resize: vertical; }
.admin-form-grid fieldset { display: grid; gap: 13px; margin: 0; padding: 17px; border: 1px solid #efd1db; border-radius: 15px; }
.admin-form-grid legend { padding: 0 7px; color: var(--rose-dark); font-weight: 900; }
.admin-check-row { display: flex !important; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid #efd1db; border-radius: 13px; background: #fff8fa; }
.admin-check-row input { width: 18px; height: 18px; accent-color: var(--rose-dark); }
.admin-muted-note { color: var(--muted); font-size: .8rem; }
.admin-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-inline-form { display: flex; align-items: center; gap: 8px; }
.admin-inline-form input { max-width: 86px; }
.admin-inline-form button, .admin-small-danger { padding: 8px 11px; font-size: .7rem; }
.admin-small-danger { background: linear-gradient(135deg, #f8e9ed, #ffd9e2); color: #9f2e49; box-shadow: none; }
.admin-heading-with-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.admin-heading-with-actions > div { max-width: 820px; }
.admin-secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; color: var(--rose-dark); font-size: .75rem; font-weight: 900; text-decoration: none; }
.admin-success-banner { margin-bottom: 20px; padding: 14px 17px; border: 1px solid #bfe5c9; border-radius: 14px; background: #effbf2; color: #237840; font-size: .82rem; font-weight: 800; }
.admin-error-banner { margin-bottom: 20px; padding: 14px 17px; border: 1px solid #efb7b7; border-radius: 14px; background: #fff3f3; color: #8d3030; font-size: .82rem; font-weight: 800; }
.admin-control-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: center; margin: -5px 0 24px; padding: 16px 18px; border: 1px solid #ead0d9; border-radius: 18px; background: rgba(255,255,255,.75); box-shadow: var(--soft-shadow); }
.admin-control-strip div:not(.admin-control-strip-actions) { padding-right: 14px; border-right: 1px solid #f0dbe2; }
.admin-control-strip span, .admin-payment-grid span, .admin-user-facts span, .admin-reviewed-payment span { display: block; margin-bottom: 4px; color: #92717f; font-size: .65rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.admin-control-strip strong { color: var(--deep); font-size: .82rem; }
.admin-control-strip-actions { display: flex; gap: 8px; }
.admin-control-strip-actions a { padding: 8px 10px; border: 1px solid #e8c5d1; border-radius: 9px; color: var(--rose-dark); font-size: .7rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.admin-settings-form { display: grid; gap: 22px; }
.admin-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-profile-summary { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,240,246,.88)); }
.admin-profile-avatar { display: grid; width: 72px; height: 72px; flex: 0 0 auto; place-items: center; border: 1px solid #e8b9ca; border-radius: 22px; background: linear-gradient(135deg, #8c315b, #d95b83); box-shadow: 0 12px 25px rgba(112,35,78,.18); color: #fff; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 900; }
.admin-profile-summary h2 { margin: 2px 0 4px; font-size: 1.65rem; }
.admin-profile-summary p:not(.eyebrow), .admin-profile-summary small, .admin-profile-password-card > p { margin: 0; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.admin-profile-summary small { display: block; margin-top: 6px; }
.admin-profile-form label { display: grid; gap: 7px; color: var(--deep); font-size: .77rem; font-weight: 900; }
.admin-profile-form input { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid #e8c4d0; border-radius: 11px; background: #fffdfd; color: var(--deep); font: inherit; }
.admin-profile-form label small { color: var(--muted); font-size: .68rem; font-weight: 500; }
.admin-profile-form button { justify-self: start; min-width: 190px; }
.admin-profile-password-card > p { margin: -6px 0 18px; }
.admin-profile-message { margin: 0 0 22px; padding: 14px 17px; border-radius: 14px; font-size: .8rem; font-weight: 800; }
.admin-profile-message.is-success { border: 1px solid #bfe5c9; background: #effbf2; color: #237840; }
.admin-profile-message.is-error { border: 1px solid #efb7b7; background: #fff3f3; color: #8d3030; }
.admin-settings-section { overflow: visible; }
.admin-section-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #fff1f5; color: var(--rose-dark); font-size: .72rem; font-weight: 900; }
.admin-setting-switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-toggle-card { display: flex; gap: 13px; align-items: flex-start; padding: 17px; border: 1px solid #ebced8; border-radius: 16px; background: #fff9fb; cursor: pointer; }
.admin-toggle-card input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rose-dark); }
.admin-toggle-card strong, .admin-toggle-card small { display: block; }
.admin-toggle-card strong { color: var(--deep); font-size: .84rem; }
.admin-toggle-card small, .admin-form-grid label small, .admin-entitlement-form small { margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 500; line-height: 1.45; }
.admin-form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select, .admin-entitlement-form input, .admin-entitlement-form select, .admin-revoke-form input, .admin-payment-review-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #e8c4d0; border-radius: 10px; background: #fffdfd; color: var(--deep); font: inherit; }
.admin-filter-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.admin-filter-actions a { padding: 7px 11px; border: 1px solid #ead0d9; border-radius: 999px; background: #fffafb; color: var(--muted); font-size: .7rem; font-weight: 900; text-decoration: none; }
.admin-filter-actions a:hover, .admin-filter-actions a[aria-current="page"] { border-color: #ce7e9b; background: #ffedf3; color: var(--rose-dark); }
.admin-noor-feedback-list { display: grid; gap: 14px; }
.admin-noor-feedback { display: grid; gap: 11px; padding: 18px; border: 1px solid #edd1db; border-radius: 17px; background: linear-gradient(145deg, #fff, #fffafb); }
.admin-noor-feedback > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-noor-feedback > header > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-noor-feedback > header small, .admin-noor-feedback > small { color: var(--muted); font-size: .68rem; }

.admin-import-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 22px; }
.import-source-card { overflow: visible; }
.import-source-card .admin-card-header { align-items: center; }
.import-launch-form { margin-top: 19px; }
.import-mode-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.import-mode-picker legend { grid-column: 1 / -1; margin-bottom: 2px; color: #92717f; font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.import-mode-picker label { display: flex; gap: 10px; min-width: 0; padding: 14px; border: 1px solid #ead0d9; border-radius: 14px; background: #fffafb; cursor: pointer; }
.import-mode-picker label:hover,
.import-mode-picker label:focus-within { border-color: #cf7d9a; background: #ffedf3; box-shadow: 0 8px 18px rgba(112, 35, 78, .08); }
.import-mode-picker input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rose-dark); }
.import-mode-picker span, .import-mode-picker strong, .import-mode-picker small { display: block; min-width: 0; }
.import-mode-picker strong { color: var(--deep); font-size: .8rem; }
.import-mode-picker small { margin-top: 3px; color: var(--muted); font-size: .67rem; line-height: 1.45; }
.import-rate-settings { padding: 14px 16px; border: 1px solid #ead0d9; border-radius: 14px; background: #fffafb; }
.import-rate-settings summary { color: var(--rose-dark); font-size: .78rem; font-weight: 900; cursor: pointer; }
.import-rate-settings .admin-form-grid { margin-top: 15px; }
.import-launch-form button[type="submit"] { width: 100%; min-height: 48px; }
.import-launch-form button:disabled { cursor: not-allowed; filter: grayscale(.25); opacity: .55; }
.form-help { margin: -10px 0 0; color: var(--muted); font-size: .72rem; }
.import-progress-card { margin-bottom: 22px; }
.import-progress-heading { display: flex; justify-content: space-between; gap: 14px; margin: 20px 0 8px; color: var(--deep); font-size: .78rem; font-weight: 900; }
.import-progress-track { overflow: hidden; height: 12px; border-radius: 999px; background: #f2dfe6; }
.import-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #be426d, #e7779a); transition: width .25s ease; }
.import-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin: 18px 0; }
.import-stat-grid div { min-width: 0; padding: 12px; border: 1px solid #f0d9e1; border-radius: 12px; background: #fffafb; }
.import-stat-grid span, .import-stat-grid strong { display: block; overflow-wrap: anywhere; }
.import-stat-grid span { color: var(--muted); font-size: .61rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.import-stat-grid strong { margin-top: 5px; color: var(--deep); font-size: .78rem; }
.admin-secondary-button { min-height: 42px; padding: 10px 14px; border: 1px solid #dc9aad; background: #fff7fa; box-shadow: none; color: var(--rose-dark); }
.admin-import-error { padding: 12px 14px; border: 1px solid #efb7b7; border-radius: 12px; background: #fff3f3; color: #8d3030; font-size: .77rem; }
.import-history-card { margin: 22px 0; }
.import-active-notice { margin-bottom: 22px; }
.source-settings-layout { align-items: start; }
.source-setting-switches { grid-template-columns: 1fr; }
.source-run-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin: 18px 0; }
.source-run-stats div { padding: 12px; border: 1px solid #f0d9e1; border-radius: 12px; background: #fffafb; }
.source-run-stats span, .source-run-stats strong { display: block; }
.source-run-stats span { color: var(--muted); font-size: .61rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.source-run-stats strong { margin-top: 5px; color: var(--deep); font-size: 1rem; }
.source-policy-list { display: grid; gap: 10px; }
.source-policy-list article { padding: 14px; border: 1px solid #f0d9e1; border-radius: 14px; background: #fffafb; }
.source-policy-list strong, .source-policy-list span { display: block; }
.source-policy-list strong { color: var(--deep); font-size: .8rem; }
.source-policy-list span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.source-retry-form { margin-top: 16px; }
.source-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.source-row-actions form { margin: 0; }
.source-row-actions button { min-height: 34px; padding: 7px 9px; }
.admin-noor-feedback blockquote { margin: 0; padding: 12px 14px; border-left: 3px solid #d47d9c; border-radius: 0 11px 11px 0; background: #fff5f8; color: #684554; font-size: .82rem; }
.admin-noor-feedback-form { display: grid; grid-template-columns: minmax(125px, .35fr) minmax(220px, 1fr) auto; align-items: end; gap: 10px; }
.admin-noor-feedback-form label { display: grid; gap: 5px; color: var(--deep); font-size: .7rem; font-weight: 800; }
.admin-noor-feedback-form input, .admin-noor-feedback-form select { width: 100%; min-height: 41px; padding: 8px 10px; border: 1px solid #e7c4d0; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.admin-noor-feedback-form button { min-height: 41px; }
.admin-package-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-package-editor { margin: 0; padding: 20px; border: 1px solid #ebced8; border-radius: 18px; background: linear-gradient(180deg, #fffdfd, #fff8fa); }
.admin-package-editor legend { padding: 0 8px; color: var(--deep); font-size: 1rem; font-weight: 900; }
.admin-package-editor .admin-check-row { margin-bottom: 16px; }
.admin-sticky-save { position: -webkit-sticky; position: sticky; z-index: 4; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border: 1px solid rgba(191, 101, 132, .42); border-radius: 17px; background: rgba(76, 30, 52, .97); background: rgba(76, 30, 52, .95); box-shadow: 0 18px 44px rgba(76, 30, 52, .25); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

[id] { scroll-margin-top: 92px; }

@media (hover: none) {
  button:hover, .site-header nav a.nav-account-link:hover, .language-toggle:hover, .blog-card:hover { transform: none; }
}
.admin-sticky-save strong, .admin-sticky-save small { display: block; }
.admin-sticky-save small { margin-top: 3px; color: #f6dce5; font-size: .7rem; }
.admin-sticky-save button { flex: 0 0 auto; }
.admin-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; border-color: #efc4c9; background: #fff8f8; }
.admin-danger-zone h2 { margin: 3px 0 7px; }
.admin-danger-zone p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .8rem; }
.admin-editorial-callout { margin-bottom: 24px; }
.admin-editorial-callout > .muted-copy { margin-top: -4px; }
.admin-blog-filter { grid-template-columns: minmax(190px, .7fr) minmax(280px, 1.3fr) auto auto; }
.admin-public-preview-link { display: inline-flex; margin-top: 12px; color: #fff; font-size: .72rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.admin-blog-review-grid { align-items: start; }
.admin-editorial-checklist ul { display: grid; gap: 11px; margin: 0; padding-left: 20px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.admin-blog-manuscript { max-width: 1050px; margin: 0 auto 22px; }
.admin-blog-manuscript > .admin-card-header > span { color: var(--muted); font-size: .76rem; font-weight: 800; }
.admin-blog-banner { overflow: hidden; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 19px; background: var(--cream); }
.admin-blog-banner img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.admin-blog-language-block, .admin-blog-section { margin-bottom: 27px; padding-bottom: 27px; border-bottom: 1px solid #f0dce3; }
.admin-blog-language-block h3, .admin-blog-section h3 { margin: 17px 0 9px; color: var(--deep); font-size: 1.12rem; }
.admin-blog-language-block p, .admin-blog-section p { max-width: 820px; color: #654d58; font-size: .9rem; line-height: 1.8; }
.admin-blog-references { padding: 18px; border-radius: 15px; background: #fff7fa; }
.admin-blog-references strong { color: var(--deep); }
.admin-blog-references ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 0; padding: 0; list-style: none; }
.admin-blog-references a { display: inline-flex; padding: 8px 11px; border: 1px solid #e9c8d4; border-radius: 9px; color: var(--rose-dark); font-size: .76rem; font-weight: 850; text-decoration: none; }
.admin-payment-filter { grid-template-columns: minmax(180px, .6fr) minmax(260px, 1.4fr) auto auto; }
.admin-user-filter { grid-template-columns: minmax(240px, 1.25fr) minmax(170px, .65fr) minmax(170px, .65fr) auto auto; }
.admin-payment-list, .admin-user-list { display: grid; gap: 16px; }
.admin-payment-card { padding: 19px; border: 1px solid #ecd2db; border-radius: 17px; background: #fffdfd; }
.admin-payment-card.status-card-pending { border-left: 4px solid #d89a47; }
.admin-payment-card.status-card-approved { border-left: 4px solid #48a565; }
.admin-payment-card.status-card-rejected { border-left: 4px solid #cf5264; }
.admin-payment-summary, .admin-user-card-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-payment-summary > div { display: flex; align-items: center; gap: 9px; }
.admin-payment-summary small { color: var(--muted); font-size: .68rem; }
.admin-payment-amount { color: var(--deep); font-family: Georgia, serif; font-size: 1.65rem; }
.admin-payment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 17px 0; }
.admin-payment-grid > div, .admin-user-facts > div { min-width: 0; padding: 12px; border-radius: 12px; background: #fff7fa; }
.admin-payment-grid strong, .admin-payment-grid small, .admin-user-facts strong { display: block; overflow-wrap: anywhere; }
.admin-payment-grid strong { color: var(--deep); font-size: .78rem; }
.admin-payment-grid small { margin-top: 3px; color: var(--muted); font-size: .67rem; }
.admin-transaction-id { letter-spacing: .05em; }
.admin-payment-review-form { display: grid; gap: 13px; padding-top: 15px; border-top: 1px solid #f0dce3; }
.admin-payment-review-form > label:not(.admin-check-row), .admin-entitlement-form label, .admin-revoke-form label { display: grid; gap: 6px; color: var(--deep); font-size: .72rem; font-weight: 900; }
.admin-verification-check small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 500; }
.admin-reviewed-payment { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border-radius: 13px; background: #fff8fa; }
.admin-reviewed-payment p { margin: 0; color: var(--deep); font-size: .78rem; }
.admin-empty-state { padding: 34px; text-align: center; }
.admin-empty-state strong { color: var(--deep); }
.admin-empty-state p { color: var(--muted); font-size: .8rem; }
.admin-user-card { padding: 21px; }
.admin-user-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.admin-user-identity .profile-avatar { width: 46px; height: 46px; font-size: 1rem; }
.admin-user-identity h2 { margin: 0; color: var(--deep); font-size: 1.05rem; }
.admin-user-identity p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.admin-user-statuses { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.admin-user-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.admin-user-facts strong { color: var(--deep); font-size: .74rem; }
.admin-user-actions-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: 14px; padding-top: 15px; border-top: 1px solid #f0dce3; }
.admin-entitlement-form { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) auto; gap: 10px; align-items: end; }
.admin-entitlement-form-inline { padding-top: 15px; border-top: 1px solid #f0dce3; }
.admin-revoke-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.admin-user-verification-check { align-self: end; min-height: 45px; }
.admin-form-actions { display: flex; align-items: center; }
.admin-user-record-columns { align-items: start; margin-top: 20px; }
.admin-user-delete-zone { align-items: flex-start; }
.admin-user-delete-zone > div { max-width: 650px; }
.admin-user-delete-form { display: grid; flex: 0 1 440px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-user-delete-form label { display: grid; gap: 6px; color: var(--deep); font-size: .72rem; font-weight: 900; }
.admin-user-delete-form input { width: 100%; padding: 11px 12px; border: 1px solid #e4aeb8; border-radius: 10px; background: #fff; color: var(--deep); font: inherit; }
.admin-user-delete-form button { grid-column: 1 / -1; }

@media (min-width: 1600px) {
  .hero { max-width: 1440px; padding-top: 100px; padding-bottom: 92px; }
  .hero h1 { max-width: 12.3em; }
}

@media (max-width: 1200px) and (min-width: 841px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 48px; }
  .hero h1 { max-width: 11.2em; font-size: clamp(2.25rem, 4.4vw, 3.55rem); }
}

@media (max-width: 900px) {
  .site-header { z-index: 40; min-height: 66px; padding: 9px clamp(16px, 4vw, 28px); }
  .brand small { display: none; }
  .mobile-header-actions, .mobile-nav-toggle { display: inline-flex; }
  .site-header nav.site-nav { position: fixed; z-index: 30; top: 0; right: 0; bottom: 0; display: flex; align-items: stretch; flex-direction: column; width: min(86vw, 352px); height: 100vh; height: 100dvh; max-height: 100dvh; overflow-y: auto; padding: 18px; background: linear-gradient(160deg, #fffafd 0%, #fff2f6 58%, #ffe8ef 100%); box-shadow: -28px 0 70px rgba(70, 18, 46, .22); transform: translate3d(105%, 0, 0); transition: transform .22s ease; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; will-change: transform; }
  .site-header nav.site-nav.is-open { transform: translate3d(0, 0, 0); }
  .mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--deep); font-family: "Noto Serif Bengali", Georgia, serif; font-size: 1.2rem; font-weight: 900; }
  .site-header nav.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(232, 191, 206, .76); border-radius: 15px; background: rgba(255, 255, 255, .72); color: var(--ink); font-size: .92rem; }
  .site-header nav.site-nav a::after { display: none; }
  .site-header nav.site-nav a:hover { background: #fff; box-shadow: 0 12px 24px rgba(100, 31, 61, .09); transform: translateY(-1px); }
  .site-header nav.site-nav a.nav-account-link { min-height: 50px; border-color: transparent; background: linear-gradient(135deg, #e5789c, #c94772); color: #fff; box-shadow: 0 13px 27px rgba(72, 16, 43, .2); }
  .site-header nav.site-nav a.nav-account-link:hover { color: #fff; }
  .site-header nav.site-nav .language-toggle { justify-content: center; min-height: 48px; width: 100%; padding: 12px 14px; font-size: .9rem; }
  .mobile-nav-backdrop:not([hidden]) { position: fixed; z-index: 25; inset: 0; display: block; background: rgba(54, 20, 42, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .hero { margin-top: 0; }
}

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; max-width: 760px; padding-top: 30px; }
  .hero-copy { order: 2; }
  .search-panel { order: 1; justify-self: stretch; }
  .hero-copy, .section-heading, .how-it-works > div:first-child, .accuracy-cards article, .steps article, .results-header, .list-intro, .premium-upgrade-panel > div:first-child, .browse-results-heading, .manual-page > .eyebrow, .manual-page > h1, .manual-page > .registration-lead, .detail-page > .eyebrow, .detail-page > h1, .detail-page > .source-note, .profile-hero, .profile-section-heading { text-align: center; }
  .section-heading, .lead, .hero-verse, .promise-grid, .how-it-works > div:first-child, .registration-lead, .terms-lead, .results-lead, .list-intro > p, .steps, .profile-hero p { margin-right: auto; margin-left: auto; }
  .hero-verse { justify-content: center; border-top: 3px solid var(--rose); border-right: 0; border-radius: 14px; }
  .hero-verse blockquote, .hero-verse cite { text-align: center; }
  .feature-icon { margin-right: auto; margin-left: auto; }
  .list-intro { align-items: center; }
  .summary-card div { text-align: center; }
  .results-identity { justify-content: center; }
  .results-header h1 { margin-right: auto; margin-left: auto; }
  .profile-identity-card { justify-items: center; text-align: center; }
  .profile-section-heading { align-items: center; }
  .profile-section-heading > span { margin-right: auto; margin-left: auto; }
  .hero h1 { max-width: 12.5em; font-size: clamp(2.2rem, 6.5vw, 3.25rem); }
  html.bangla-ui .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .search-panel { max-width: 580px; }
  .accuracy-cards { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; }
  .steps { max-width: 650px; }
  .premium-upgrade-panel { grid-template-columns: 1fr; }
  .payment-layout { grid-template-columns: 1fr; }
  .payment-summary-card { text-align: center; }
  .packages-hero { align-items: stretch; flex-direction: column; text-align: center; }
  .selected-contact-biodata { align-self: center; text-align: left; }
  .contact-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
  .registration-hero { grid-template-columns: 1fr; }
  .registration-intro { text-align: center; }
  .registration-intro h1, .registration-intro .registration-lead { margin-right: auto; margin-left: auto; }
  .registration-hero .biodata-identity { align-items: center; min-height: 0; text-align: center; }
  .browse-filter-form > .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse-search-intro { max-width: none; text-align: center; }
  .browse-search-intro h1, .browse-search-intro .registration-lead { margin-right: auto; margin-left: auto; }
  .biodata-id-search { grid-template-columns: 1fr; text-align: center; }
  .biodata-id-search p { margin-right: auto; margin-left: auto; }
  .profile-hero, .profile-grid { grid-template-columns: 1fr; }
  .manual-step-shell { top: 75px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; z-index: 12; min-height: auto; gap: 15px; padding: 16px 20px; }
  .admin-nav-toggle { display: inline-flex; }
  .admin-sidebar nav, .admin-sidebar-footer { display: none; }
  .admin-sidebar[data-menu-open="true"] nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-sidebar[data-menu-open="true"] .admin-sidebar-footer { display: block; margin-top: 0; }
  .admin-import-grid { grid-template-columns: 1fr; }
  .import-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .source-run-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-stat-grid, .admin-two-column, .admin-feature-grid, .admin-debug-columns, .admin-setting-switches, .admin-form-grid-2, .admin-form-grid-3, .admin-package-editor-grid, .admin-payment-grid, .admin-user-facts, .admin-user-actions-grid, .admin-profile-grid { grid-template-columns: 1fr; }
  .admin-profile-summary { grid-column: auto; }
  .admin-hero-panel, .admin-detail-hero { align-items: flex-start; flex-direction: column; }
  .admin-filter-bar, .admin-debug-form, .admin-entitlement-form, .admin-revoke-form, .admin-user-delete-form { grid-template-columns: 1fr; }
  .admin-user-delete-form { width: 100%; }
  .admin-filter-bar button { width: 100%; }
  .admin-summary-grid { grid-template-columns: 1fr; }
  .admin-heading-with-actions, .admin-danger-zone, .admin-payment-summary, .admin-reviewed-payment, .admin-user-card-header, .admin-sticky-save { align-items: stretch; flex-direction: column; }
  .admin-heading-with-actions .admin-primary-link { width: 100%; }
  .admin-control-strip { grid-template-columns: 1fr; }
  .admin-control-strip div:not(.admin-control-strip-actions) { padding: 0 0 11px; border-right: 0; border-bottom: 1px solid #f0dbe2; }
  .admin-control-strip-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-sticky-save { position: static; }
  .admin-sticky-save button { width: 100%; }
}
@media (max-width: 740px) {
  .how-it-works { gap: 32px; padding: 54px 20px; }
  .steps { grid-template-columns: 1fr; gap: 14px; width: min(100%, 520px); }
  .steps article { padding: 18px 16px; border: 1px solid #edcfda; border-top: 2px solid #dc8eaa; border-radius: 15px; background: rgba(255,255,255,.72); }
  .mobile-find-biodata { display: inline-flex; }
  .site-header { z-index: 40; min-height: 66px; padding: 9px 16px; }
  .summary-card { grid-template-columns: repeat(2, 1fr); }
  .summary-card div:nth-child(2) { border-left: 0; }
  .summary-card div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .list-intro { display: block; }
  .list-intro > p { margin-top: 10px; }
  .results-header { padding-top: 28px; }
  .results-header h1 { font-size: clamp(1.95rem, 7.5vw, 2.65rem); }
  .match-card { grid-template-columns: 75px minmax(0, 1fr); gap: 17px; }
  .match-visual .biodata-avatar { width: 70px; height: 70px; }
  .score { width: 64px; height: 64px; border-width: 5px; }
  .score strong { font-size: 1.35rem; }
  .match-main dl { grid-template-columns: 1fr; gap: 9px; }
  .match-actions { grid-column: 2; justify-items: start; }
  .browse-filter-form.mobile-collapsed { display: none; }
  .browse-page.has-results .browse-search-intro { display: none; }
  .browse-page.has-results { padding-top: 25px; }
  .browse-refine-button { display: inline-flex; flex: 0 0 auto; }
  .browse-results-heading { align-items: stretch; flex-direction: column; text-align: center; }
  .browse-results-heading > div { text-align: center; }
  .browse-refine-button { width: 100%; justify-content: center; }
  .browse-card { grid-template-columns: 1fr; }
  .browse-card-actions { grid-column: auto; }
  .contact-gate { display: block; }
  .contact-gate .contact-button { margin-top: 15px; }
  .field-grid { grid-template-columns: 1fr; }
  .command-card { padding: 29px 23px; }
  .biodata-identity { align-items: flex-start; flex-direction: column; }
  .qa-grid { grid-template-columns: 1fr; }
  .browse-filter-form > .qa-grid { grid-template-columns: 1fr; }
  .qa-field-wide { grid-column: auto; }
  .division-choice-list { grid-template-columns: 1fr; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .brand strong { font-size: 1.08rem; }
  .brand-mark { width: 31px; height: 31px; }
  .mobile-nav-toggle { min-width: 46px; padding: 10px 12px; }
  .mobile-nav-toggle span[data-i18n] { display: none; }
  .mobile-find-biodata { min-height: 42px; padding: 8px 10px; font-size: .7rem; }
  .site-header nav.site-nav { width: min(91vw, 356px); padding: 16px; }
  .hero { gap: 28px; padding: 18px 16px 58px; }
  .hero h1 { max-width: 11em; font-size: clamp(2.05rem, 11vw, 2.75rem); line-height: 1.22; }
  html.bangla-ui .hero h1 { max-width: 11.8em; font-size: clamp(1.9rem, 10vw, 2.55rem); line-height: 1.32; }
  .lead { margin: 17px 0 15px; font-size: .95rem; }
  .hero-verse { margin: 17px 0 23px; padding: 12px 13px; }
  .promise-grid div { padding: 13px 9px; text-align: center; }
  .promise-grid strong { font-size: .9rem; }
  .promise-grid span { font-size: .63rem; }
  .search-panel { width: 100%; max-width: none; padding: 28px 20px; border-radius: 22px; box-shadow: 0 22px 48px rgba(112, 35, 78, .24); }
  .search-panel input, .search-panel select, .search-panel button, .create-prompt a, .member-match-panel button { min-height: 48px; }
  .search-panel button { width: 100%; }
  .confirmation-reference { grid-template-columns: 1fr 1fr; }
  .confirmation-reference div:nth-child(3) { border-left: 0; }
  .confirmation-reference div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pagination-nav { flex-wrap: wrap; }
  .pagination-nav .pagination-direction { width: calc(50% - 6px); }
  .match-constellation { right: -28px; bottom: 10px; transform: scale(.82); transform-origin: bottom right; }
  .accuracy-section { padding: 28px 20px 64px; }
  .how-it-works { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .results-header, .match-list, .detail-page, .admin-page, .registration-page, .terms-page, .manual-page { padding-right: 18px; padding-left: 18px; }
  .results-header { padding-top: 20px; }
  .results-header .back-link { margin-bottom: 17px; }
  .results-header .eyebrow { margin-bottom: 8px; }
  .results-identity { margin-bottom: 11px; }
  .results-header h1 { max-width: 15ch; font-size: clamp(1.85rem, 8vw, 2.3rem); line-height: 1.17; }
  .results-lead { font-size: .86rem; line-height: 1.65; }
  .summary-card { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .summary-card div { padding: 15px 13px; border-top: 1px solid var(--line); border-left: 1px solid var(--line) !important; }
  .summary-card div:nth-child(-n + 2) { border-top: 0; }
  .summary-card div:nth-child(2n) { border-left: 0 !important; }
  .summary-card strong { font-size: .78rem; line-height: 1.55; }
  .match-list { padding-top: 44px; }
  .empty-state { padding: 40px 20px; }
  .empty-state h3, .empty-state h1 { font-size: 1.4rem; }
  .match-card { padding: 22px 18px; }
  .match-visual { display: flex; align-items: center; justify-content: center; }
  .premium-package-grid { grid-template-columns: 1fr; }
  .match-actions { grid-column: auto; justify-items: start; }
  .score { width: 70px; height: 70px; }
  .command-card { border-radius: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .registration-form { padding: 25px 21px; }
  .registration-hero { margin-top: 18px; padding: 27px 20px; border-radius: 20px; }
  .registration-intro h1, html.bangla-ui .registration-intro h1 { font-size: clamp(1.85rem, 8.5vw, 2.25rem); }
  .manual-section, .full-review-card, .registration-form-card { padding: 24px 20px; }
  .biodata-id-search { margin-top: 25px; padding: 21px 17px; border-radius: 18px; }
  .biodata-id-search-controls { grid-template-columns: minmax(104px, 36%) minmax(0, 1fr); }
  .biodata-id-search select { padding-inline: 9px 24px; font-size: .7rem; }
  .biodata-id-search button { grid-column: 1 / -1; width: 100%; }
  .browse-choice-divider { font-size: .62rem; letter-spacing: .025em; }
  .registration-submit-grid { grid-template-columns: 1fr; }
  .manual-actions { grid-template-columns: 1fr; }
  .manual-step-topline { align-items: flex-start; flex-direction: column; gap: 4px; }
  .manual-step-actions { align-items: stretch; flex-direction: column; }
  .manual-step-actions button { width: 100%; }
  .manual-review-grid { grid-template-columns: 1fr; }
  .browse-card { grid-template-columns: 1fr; }
  .browse-card dl { grid-template-columns: 1fr; }
  .browse-card, .member-match-panel, .create-prompt, .contact-gate { text-align: center; }
  .browse-card dl, .match-main dl, .why, details, .data-section, .field-grid, .profile-biodata-card dl, .registration-form, .manual-form, .registration-form-card, .full-review-card, .manual-section { text-align: left; }
  .browse-card .detail-link, .match-actions, .show-more-wrap, .contact-gate .contact-button { justify-self: center; justify-items: center; text-align: center; }
  .browse-card-identity { align-items: center; flex-direction: column; text-align: center; }
  .browse-card-actions { align-items: stretch; flex-direction: column; }
  .browse-card-actions a { width: 100%; justify-content: center; text-align: center; }
  .score { justify-self: center; }
  .match-main > .card-kicker, .match-main > h3, .score-method { text-align: center; }
  .match-actions { width: 100%; }
  .match-actions .detail-link, .match-actions .contact-button { width: min(100%, 260px); text-align: center; }
  .profile-card-top, .profile-card-actions { justify-content: center; }
  .profile-biodata-card h3, .profile-note, .profile-side-card { text-align: center; }
  .browse-filter-form button, .detail-link, .contact-button { min-height: 48px; }
  .browse-filter-form button { width: 100%; }
  .address-dropdown-menu { position: fixed; top: auto; right: 16px; bottom: 18px; left: 16px; min-width: 0; max-height: min(70vh, 520px); padding: 16px; border-radius: 20px; }
  .multi-select-menu { position: fixed; top: auto; right: 16px; bottom: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 16px; min-width: 0; max-height: min(70vh, 520px); max-height: min(70vh, calc(100dvh - 88px)); padding: 16px; border-radius: 20px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .address-select-dropdown[open] > summary { position: relative; z-index: 9; }
  .multi-select-dropdown[open] > summary { position: relative; z-index: 11; }
  .create-prompt { align-items: stretch; flex-direction: column; }
  .profile-hero { padding: 27px 20px; border-radius: 21px; }
  .profile-action-strip { align-items: stretch; flex-direction: column; }
  .profile-action-strip form, .profile-action-strip button, .profile-action-strip a { width: 100%; text-align: center; }
  .profile-biodata-card dl { grid-template-columns: 1fr; }
  .profile-card-actions { align-items: stretch; flex-direction: column; }
  .profile-card-actions form, .profile-card-actions button, .profile-card-actions a { width: 100%; text-align: center; }
  .admin-main { padding-right: 18px; padding-left: 18px; }
  .admin-sidebar { padding: 20px 16px; }
  .admin-sidebar nav { grid-template-columns: 1fr; }
  .import-mode-picker { grid-template-columns: 1fr; }
  .import-mode-picker legend { grid-column: auto; }
  .import-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-run-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-topbar { justify-content: stretch; flex-direction: column; }
  .admin-hero-panel, .admin-detail-hero, .admin-card, .admin-action-panel { border-radius: 18px; }
  .admin-review-actions { display: grid; grid-template-columns: 1fr; }
  .contact-package-grid { grid-template-columns: 1fr; }
  .contact-package-card > p:not(.panel-kicker) { min-height: 0; }
  .selected-contact-biodata { width: 100%; min-width: 0; justify-content: center; }
  .detail-identity { align-items: center; flex-direction: column; text-align: center; }
  .detail-title-row { justify-content: center; }
  .detail-page h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .registration-page > h1, .terms-page > h1, .manual-page > h1, .browse-search-intro h1 { margin-right: auto; margin-left: auto; font-size: clamp(1.85rem, 8.5vw, 2.35rem); }
  .manual-section, .full-review-card, .registration-form-card, .profile-main-card, .profile-side-card { border-radius: 17px; }
  .profile-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
}

@media (max-width: 380px) {
  .site-header { padding-right: 12px; padding-left: 12px; }
  .brand { gap: 8px; }
  .brand strong { font-size: .98rem; }
  .brand-mark { width: 29px; height: 29px; font-size: 1rem; }
  .mobile-header-actions { gap: 5px; }
  .mobile-find-biodata { padding-right: 8px; padding-left: 8px; }
  .hero { padding-right: 12px; padding-left: 12px; }
  .search-panel { padding: 24px 16px; border-radius: 20px; }
  .search-panel h2 { font-size: 1.45rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid div { border-left: 0; border-top: 1px solid var(--line); }
  .promise-grid div:first-child { border-top: 0; }
  .results-header, .match-list, .detail-page, .admin-page, .registration-page, .terms-page, .manual-page { padding-right: 14px; padding-left: 14px; }
  .summary-card { grid-template-columns: 1fr; }
  .summary-card div { border-top: 1px solid var(--line) !important; border-left: 0 !important; }
  .summary-card div:first-child { border-top: 0 !important; }
}

/* Editorial journal */
.blog-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: clamp(32px, 6vw, 86px); align-items: end; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 64px) 58px; }
.blog-hero-copy h1 { max-width: 880px; margin-bottom: 22px; }
.blog-hero-copy > p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }
.blog-hero-note { position: relative; overflow: hidden; padding: 30px; border: 1px solid #ead0da; border-radius: 25px; background: linear-gradient(145deg, #fff, #fff0f5); box-shadow: var(--soft-shadow); }
.blog-hero-note::after { position: absolute; right: -55px; bottom: -65px; width: 145px; height: 145px; border: 1px solid rgba(201, 79, 120, .16); border-radius: 50%; box-shadow: 0 0 0 24px rgba(201, 79, 120, .05); content: ""; }
.blog-hero-note span { display: grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: var(--blush); color: var(--rose-dark); }
.blog-hero-note p { position: relative; z-index: 1; margin: 0; color: #6f4758; }
.blog-index { max-width: 1240px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 64px) 108px; }
.blog-index-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
.blog-index-heading h2 { max-width: 660px; margin-bottom: 0; }
.blog-index-heading > p { max-width: 430px; margin-bottom: 6px; color: var(--muted); }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: rgba(255, 255, 255, .84); box-shadow: var(--soft-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { box-shadow: 0 20px 44px rgba(94, 32, 60, .14); transform: translateY(-4px); }
.blog-card-image { display: block; overflow: hidden; aspect-ratio: 12 / 7; background: var(--cream); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-body { padding: 25px 25px 28px; }
.blog-card-meta, .blog-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 15px; color: var(--rose-dark); font-size: .72rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.blog-card-meta span + span::before, .blog-article-meta > * + *::before { margin-right: 18px; color: #d4a1b4; content: "•"; }
.blog-card h2 { margin-bottom: 13px; font-size: clamp(1.34rem, 2vw, 1.72rem); line-height: 1.35; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--rose-dark); }
.blog-card-body > p { color: var(--muted); font-size: .93rem; }
.blog-read-link { display: inline-flex; color: var(--rose-dark); font-size: .88rem; font-weight: 850; text-decoration: none; }
.blog-read-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-article { max-width: 1180px; margin: 0 auto; padding: 52px clamp(20px, 5vw, 64px) 84px; }
.blog-article-header { max-width: 910px; margin: 0 auto 36px; text-align: center; }
.blog-article-header .back-link { display: inline-flex; margin-bottom: 30px; }
.blog-article-meta { justify-content: center; }
.blog-article-header h1 { max-width: 860px; margin: 0 auto 24px; font-size: clamp(2.1rem, 4.2vw, 3.65rem); line-height: 1.14; }
.blog-article-lead { max-width: 790px; margin: 0 auto; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.2rem); }
.blog-article-banner { overflow: hidden; margin: 0 0 58px; border: 1px solid var(--line); border-radius: 30px; background: var(--cream); box-shadow: var(--shadow); }
.blog-article-banner img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: clamp(34px, 6vw, 74px); align-items: start; max-width: 1020px; margin: 0 auto; }
.blog-article-body section { margin-bottom: 42px; }
.blog-article-body h2 { margin-bottom: 15px; font-size: clamp(1.55rem, 2.6vw, 2.08rem); }
.blog-article-body p { color: #5e4651; font-size: 1.01rem; line-height: 1.85; }
.blog-references { position: sticky; top: 105px; padding: 25px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255, 255, 255, .9); box-shadow: var(--soft-shadow); }
.blog-references h2 { margin-bottom: 17px; font-size: 1.36rem; }
.blog-references ul { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; }
.blog-references a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--rose-light); color: var(--deep); font-size: .84rem; font-weight: 800; text-decoration: none; }
.blog-references a:hover { background: var(--blush); }
.blog-references > p:last-child { margin: 0; color: var(--muted); font-size: .79rem; }
.editorial-note { margin-top: 50px; padding: 22px 24px; border-left: 4px solid var(--rose); border-radius: 0 16px 16px 0; background: #fff1f5; }
.editorial-note strong { display: block; margin-bottom: 6px; color: var(--deep); }
.editorial-note p { margin: 0; font-size: .9rem; }
.blog-continue { max-width: 1020px; margin: 0 auto 100px; padding: 38px clamp(24px, 5vw, 52px); border-radius: 27px; background: linear-gradient(135deg, #702746, #b54270); box-shadow: var(--shadow); color: #fff; text-align: center; }
.blog-continue .eyebrow { color: #ffd7e4; }
.blog-continue h2 { max-width: 680px; margin: 0 auto 20px; color: #fff; }
.blog-continue a { display: inline-flex; padding: 11px 17px; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 850; text-decoration: none; }

@media (max-width: 930px) {
  .blog-hero { grid-template-columns: 1fr; }
  .blog-hero-copy, .blog-hero-note, .blog-index-heading { text-align: center; }
  .blog-hero-copy > p, .blog-hero-copy h1 { margin-right: auto; margin-left: auto; }
  .blog-hero-note span { margin-right: auto; margin-left: auto; }
  .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-index-heading { align-items: center; flex-direction: column; }
  .blog-index-heading > p { max-width: 620px; }
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-references { position: static; }
}

@media (max-width: 620px) {
  .blog-hero { padding-top: 44px; }
  .blog-card-grid { grid-template-columns: 1fr; }
  .blog-card-body { padding: 22px 20px 25px; text-align: center; }
  .blog-card-meta { justify-content: center; }
  .blog-article { padding-top: 34px; }
  .blog-article-header h1 { font-size: clamp(2rem, 10.5vw, 2.8rem); }
  .blog-article-banner { margin-bottom: 37px; border-radius: 20px; }
  .blog-article-body h2, .blog-article-body p { text-align: left; }
  .blog-continue { margin-right: 16px; margin-left: 16px; border-radius: 20px; }
}

@media (max-width: 840px) {
  .compatibility-hero { grid-template-columns: 1fr; text-align: center; }
  .compatibility-hero h1, .compatibility-hero p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
  .compatibility-hero-mark { width: 104px; height: 104px; justify-self: center; }
  .compatibility-input-grid, .compatibility-result-lead, .compatibility-pair, .compatibility-review-grid { grid-template-columns: 1fr; }
  .compatibility-score { justify-self: center; }
}

@media (max-width: 540px) {
  .compatibility-page { padding-right: 16px; padding-left: 16px; }
  .compatibility-hero { gap: 24px; padding: 29px 20px; border-radius: 21px; }
  .compatibility-hero h1 { font-size: clamp(1.9rem, 10vw, 2.5rem); }
  .compatibility-form-heading { align-items: center; flex-direction: column; text-align: center; }
  .compatibility-form > button, .compatibility-actions a { width: 100%; min-height: 48px; justify-content: center; text-align: center; }
  .compatibility-result { padding: 23px 17px; border-radius: 20px; }
  .compatibility-result-lead { text-align: center; }
  .compatibility-result-lead p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
  .compatibility-pair > article { padding: 18px; }
  .compatibility-identity { justify-content: center; text-align: left; }
  .compatibility-pair dl { grid-template-columns: 1fr; text-align: left; }
  .compatibility-review-grid article { padding: 18px; text-align: left; }
  .compatibility-guidance { align-items: center; flex-direction: column; text-align: center; }
}


/* Collection proof, admin access and promotion controls */
.collection-stats { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); gap: clamp(36px, 5vw, 72px); isolation: isolate; align-items: center; overflow: hidden; width: min(calc(100% - 40px), 1240px); margin: clamp(48px, 7vw, 88px) auto; padding: clamp(48px, 6vw, 76px); border: 1px solid rgba(221, 166, 186, .58); border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,239,245,.92) 58%, rgba(246,237,255,.9)); box-shadow: 0 24px 64px rgba(94, 32, 60, .1); }
.collection-stats::before { position: absolute; z-index: -1; top: -150px; right: -120px; width: 340px; height: 340px; border: 1px solid rgba(201,79,120,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(201,79,120,.055), 0 0 0 78px rgba(130,100,159,.045); content: ""; }
.collection-stats-copy { position: relative; z-index: 1; }
.collection-stats-copy h2 { max-width: 620px; margin-bottom: 16px; font-size: clamp(2rem, 3.35vw, 3.05rem); line-height: 1.14; }
html.bangla-ui .collection-stats-copy h2 { line-height: 1.3; }
.collection-stats-copy > p:last-child { max-width: 600px; margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.75; }
.collection-stat-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; padding: 12px; border: 1px solid rgba(229,183,199,.72); border-radius: 26px; background: rgba(255,255,255,.64); box-shadow: var(--soft-shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.collection-stat { position: relative; display: flex; min-width: 0; min-height: 136px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(20px, 2.5vw, 28px); border: 1px solid rgba(238,212,221,.95); border-radius: 18px; background: rgba(255,255,255,.92); text-align: left; }
.collection-stat::after { position: absolute; right: -26px; bottom: -34px; width: 94px; height: 94px; border: 1px solid rgba(201,79,120,.12); border-radius: 50%; content: ""; }
.collection-stat-total { grid-column: 1 / -1; min-height: 174px; border-color: transparent; background: linear-gradient(135deg, #8f315c, #c84f78 72%, #d9688d); box-shadow: 0 15px 32px rgba(130,41,78,.2); }
.collection-stat-total::after { right: -18px; bottom: -66px; width: 178px; height: 178px; border-color: rgba(255,255,255,.14); box-shadow: 0 0 0 28px rgba(255,255,255,.05); }
.collection-stat-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: clamp(.72rem, 1.2vw, .82rem); font-weight: 850; letter-spacing: .025em; line-height: 1.4; }
.collection-stat-label::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(201,79,120,.1); content: ""; }
.collection-stat strong { position: relative; z-index: 1; display: block; color: var(--rose-dark); font-family: "Noto Serif Bengali", "Nirmala UI", Georgia, serif; font-size: clamp(2rem, 3.5vw, 2.85rem); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.collection-stat-total .collection-stat-label { color: rgba(255,255,255,.84); }
.collection-stat-total .collection-stat-label::before { background: #ffd5a8; box-shadow: 0 0 0 5px rgba(255,213,168,.13); }
.collection-stat-total strong { color: #fff; font-size: clamp(2.75rem, 5vw, 4.25rem); text-shadow: 0 5px 20px rgba(69,17,43,.18); }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.admin-pagination > div { display: flex; align-items: center; gap: 10px; }
.admin-pagination a, .admin-pagination > div > span { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; }
.admin-pagination > div > span { opacity: .45; }
.admin-pagination-summary { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.admin-admin-account-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.coupon-apply-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--rose-light); }
.coupon-apply-form label { margin: 0; }
.coupon-apply-form button { min-height: 48px; white-space: nowrap; }
.payment-original-amount { display: block; color: var(--muted); font-size: 1rem; text-decoration: line-through; }
.coupon-applied { display: inline-flex; margin: 8px 0 14px; padding: 6px 10px; border-radius: 999px; background: #e8f7ef; color: #17633b; font-size: .75rem; font-weight: 850; }
@media (max-width: 900px) {
  .collection-stats { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .collection-stats-copy h2, .collection-stats-copy > p { margin-right: auto !important; margin-left: auto !important; }
  .collection-stat-grid { width: min(100%, 650px); margin: 0 auto; text-align: left; }
}
@media (max-width: 620px) {
  .collection-stats { width: calc(100% - 28px); margin-top: 36px; margin-bottom: 36px; padding: 34px 18px 20px; border-radius: 25px; }
  .collection-stats::before { top: -116px; right: -154px; }
  .collection-stats-copy h2 { font-size: clamp(1.72rem, 8vw, 2.15rem); line-height: 1.2; }
  html.bangla-ui .collection-stats-copy h2 { line-height: 1.34; }
  .collection-stats-copy > p:last-child { font-size: .9rem; line-height: 1.7; }
  .collection-stat-grid { gap: 9px; padding: 9px; border-radius: 20px; }
  .collection-stat { min-height: 112px; padding: 17px 14px; border-radius: 15px; }
  .collection-stat-total { min-height: 142px; }
  .collection-stat-label { font-size: .68rem; }
  .collection-stat strong { font-size: clamp(1.8rem, 8vw, 2.25rem); }
  .collection-stat-total strong { font-size: clamp(2.55rem, 13vw, 3.45rem); }
  .admin-pagination { align-items: stretch; flex-direction: column; text-align: center; }
  .admin-pagination > div { justify-content: center; }
  .coupon-apply-form { grid-template-columns: 1fr; }
  .coupon-apply-form button { width: 100%; }
}

/* Biodata detail: high-contrast overview and long-form reading experience */
.detail-page { max-width: 1180px; padding-top: clamp(28px, 4.5vw, 54px); }
.detail-back-link { display: inline-flex; align-items: center; min-height: 42px; margin-bottom: 20px; }
.detail-overview-card { position: relative; display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.58fr); overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 30px; background: linear-gradient(145deg, #682342 0%, #8f315c 48%, #b7426d 100%); box-shadow: 0 26px 62px rgba(91, 25, 56, .22); color: #fff; }
.detail-overview-card::before { position: absolute; top: -185px; right: -145px; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.045), 0 0 0 82px rgba(255,255,255,.025); content: ""; pointer-events: none; }
.detail-overview-card > * { position: relative; z-index: 1; min-width: 0; }
.detail-overview-identity { display: grid; align-content: center; justify-items: center; padding: clamp(30px, 4vw, 48px) clamp(22px, 3vw, 38px); text-align: center; }
.detail-overview-card .detail-avatar { width: clamp(108px, 11vw, 136px); height: clamp(108px, 11vw, 136px); border: 4px solid rgba(255,255,255,.92); background: #fff6f9; box-shadow: 0 16px 34px rgba(49, 7, 27, .3); }
.detail-overview-heading { display: grid; justify-items: center; width: 100%; min-width: 0; }
.detail-overview-card .eyebrow { margin: 18px 0 6px; color: #ffdce7; }
.detail-overview-card h1 { width: 100%; max-width: 100%; min-width: 0; margin: 0; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.24; text-wrap: pretty; }
.detail-overview-card h1 span { color: inherit; }
.detail-profile-id { display: block; margin-top: 2px; overflow-wrap: anywhere; word-break: break-word; }
.detail-overview-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.detail-overview-card .source-badge, .detail-overview-card .viewed-badge { margin: 0; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.13); color: #fff7fa; }
.detail-overview-card .source-note { margin: 9px 0 0; color: rgba(255,255,255,.76); font-size: .72rem; }
.detail-overview-card .detail-saved-actions { justify-content: center; margin-top: 18px; }
.detail-overview-card .shortlist-button { border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.94); color: #8e2e59; box-shadow: 0 10px 24px rgba(55, 10, 31, .16); }
.detail-overview-card .shortlist-button.is-shortlisted { border-color: #fff; background: #fff; color: #8e2e59; }
.detail-overview-facts { padding: clamp(26px, 4vw, 44px); border-left: 1px solid rgba(255,255,255,.19); background: rgba(52, 7, 30, .1); }
.detail-overview-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.detail-overview-label > span { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.11); color: #ffd0a7; }
.detail-overview-label p { margin: 0 0 2px; color: #ffdce7; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-overview-label h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.overview-empty { max-width: 46ch; margin: 18px 0 0; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: .84rem; }
.overview-fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.overview-fact { display: grid; grid-template-columns: minmax(95px, .42fr) minmax(0, .58fr); align-items: start; min-height: 58px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.09); }
.overview-fact-wide { grid-column: 1 / -1; }
.overview-fact dt, .overview-fact dd { min-width: 0; padding: 12px 13px; overflow-wrap: anywhere; }
.overview-fact dt { align-self: stretch; border-right: 1px solid rgba(255,255,255,.16); color: #ffdeea; font-size: .7rem; font-weight: 800; line-height: 1.55; }
.overview-fact dd { margin: 0; color: #fff; font-size: .86rem; font-weight: 700; line-height: 1.62; white-space: pre-line; }
.detail-section-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; margin: 24px 0; padding: 12px 14px; border: 1px solid #ecd1da; border-radius: 15px; background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(92,32,59,.06); }
.detail-section-nav > span { color: #805c6b; font-size: .7rem; font-weight: 850; white-space: nowrap; }
.detail-section-nav > div { display: flex; gap: 7px; overflow-x: auto; padding: 2px 1px 5px; scrollbar-width: thin; }
.detail-section-nav a { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #edd1db; border-radius: 999px; background: #fff8fa; color: #7b425a; font-size: .7rem; font-weight: 750; line-height: 1.35; text-decoration: none; }
.detail-section-nav a:hover, .detail-section-nav a:focus-visible { border-color: #d6819e; background: #ffedf3; color: var(--deep); outline: none; }
.detail-content-stack { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
.detail-content-stack .detail-reading-section { scroll-margin-top: 100px; padding: clamp(23px, 3.5vw, 34px); border: 1px solid #ead0d9; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(94,32,60,.075); }
.detail-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; padding-bottom: 15px; border-bottom: 1px solid #f0dbe2; }
.detail-section-heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #ffedf3; color: var(--rose-dark); font-family: Inter, sans-serif; font-size: .65rem; font-weight: 900; }
.detail-content-stack .detail-section-heading h2 { margin: 0; color: var(--deep); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }
.detail-content-stack .detail-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-content-stack .detail-field { min-width: 0; padding: 15px 16px; border: 1px solid #f0dce3; border-radius: 13px; background: #fffafb; }
.detail-content-stack .detail-field-wide { grid-column: 1 / -1; }
.detail-content-stack .detail-field dt { margin-bottom: 6px; color: #8a6071; font-size: .72rem; font-weight: 800; line-height: 1.5; }
.detail-content-stack .detail-field dd { max-width: 78ch; margin: 0; color: #422734; font-size: .91rem; line-height: 1.78; overflow-wrap: anywhere; white-space: pre-line; }
.detail-page .contact-gate-bottom { max-width: 1040px; margin: 28px auto 0; }
html.bangla-ui .overview-fact dd, html.bangla-ui .detail-content-stack .detail-field dd { line-height: 1.9; }

@media (max-width: 900px) {
  .detail-overview-card { grid-template-columns: 1fr; }
  .detail-overview-identity { padding-bottom: 30px; }
  .detail-overview-facts { border-top: 1px solid rgba(255,255,255,.19); border-left: 0; }
  .detail-section-nav { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 740px) {
  .detail-page { padding-top: 24px; padding-bottom: 70px; }
  .detail-overview-card { border-radius: 22px; }
  .detail-overview-identity { padding: 29px 20px 25px; }
  .detail-overview-card .eyebrow { margin-top: 15px; }
  .detail-overview-card h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .detail-overview-facts { padding: 22px 18px; }
  .overview-fact-list { grid-template-columns: 1fr; }
  .overview-fact-wide { grid-column: auto; }
  .detail-section-nav { margin: 18px 0; }
  .detail-section-nav > div { margin-right: -4px; }
  .detail-content-stack { gap: 14px; }
  .detail-content-stack .detail-reading-section { padding: 21px 18px; border-radius: 18px; }
  .detail-content-stack .detail-field-grid { grid-template-columns: 1fr; }
  .detail-content-stack .detail-field-wide { grid-column: auto; }
  .detail-content-stack .detail-field { padding: 14px; }
  .detail-content-stack .detail-field dd { font-size: .94rem; line-height: 1.82; }
}

@media (max-width: 420px) {
  .detail-back-link { margin-bottom: 14px; font-size: .75rem; }
  .detail-overview-card .detail-avatar { width: 102px; height: 102px; }
  .detail-overview-facts { padding: 19px 14px; }
  .detail-overview-label { margin-bottom: 14px; }
  .overview-fact { grid-template-columns: minmax(92px, .4fr) minmax(0, .6fr); border-radius: 11px; }
  .overview-fact dt, .overview-fact dd { padding: 11px 10px; }
  .overview-fact dt { font-size: .68rem; }
  .overview-fact dd { font-size: .84rem; }
  .detail-section-nav { margin-right: -2px; margin-left: -2px; padding: 10px; }
  .detail-content-stack .detail-reading-section { padding: 19px 15px; }
  .detail-section-heading { align-items: flex-start; }
}
