/* Sweet Date + BuddyBoss adapter. Preserve core actions, data, nonces and forms. */
body.zrm-modern .kleo-page { background:#fffaf9; min-width:0; }
body.zrm-modern .row { max-width:1248px; width:100%; }
body.zrm-modern #main-content.columns { display:block; min-width:0; }
body.zrm-modern :is(#buddypress,#bbpress-forums) { color:var(--zrm-ink); font-family:Inter,"Segoe UI",Arial,sans-serif; }
body.zrm-modern #buddypress :is(input,textarea,select) { box-sizing:border-box; max-width:100%; min-height:44px; border-color:var(--zrm-line); border-radius:12px; box-shadow:none; font-size:16px; }
body.zrm-modern #buddypress :is(button,input[type=submit],a.button) { min-height:44px; border-radius:24px; background:var(--zrm-berry); color:white; border-color:var(--zrm-berry); text-shadow:none; box-shadow:none; white-space:normal; }
body.zrm-modern #buddypress :is(h1,h2,h3,h4,h5) { color:var(--zrm-ink); }
body.zrm-modern #buddypress .item-list-tabs { background:transparent; }
body.zrm-modern #buddypress .item-list-tabs ul { display:flex; flex-wrap:wrap; gap:6px; }
body.zrm-modern #buddypress .item-list-tabs li { float:none; }
body.zrm-modern #buddypress .item-list-tabs li a { border-radius:12px; padding:11px 15px; color:var(--zrm-muted); }
body.zrm-modern #buddypress .item-list-tabs li.selected a { background:var(--zrm-blush); color:var(--zrm-berry); }
body.zrm-modern #buddypress #members-list.item-list.search-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin:24px 0; width:100%; }
body.zrm-modern #buddypress #members-list.item-list.search-list>.columns { float:none; display:block; width:100%!important; min-width:0; margin:0; padding:0; }
body.zrm-modern #buddypress #members-list.item-list.search-list .search-item { width:100%; min-width:0; border:1px solid var(--zrm-line); background:white; border-radius:22px; padding:20px; height:auto; box-sizing:border-box; }
body.zrm-modern #buddypress #members-list.item-list.search-list .avatar { position:relative; top:auto; left:auto; margin:0 auto 15px; width:100%; height:auto; }
body.zrm-modern #buddypress #members-list.item-list.search-list .avatar img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:15px; margin:0; }
body.zrm-modern #buddypress #members-list .author { font-size:20px; padding:0; margin:12px 0; }
body.zrm-modern #buddypress #members-list .search-body { margin:0; }
body.zrm-modern #buddypress #members-list .bp-member-dir-buttons { position:static; display:flex; flex-wrap:wrap; gap:8px; }
body.zrm-modern #buddypress #members-list .action { position:static; }
body.zrm-modern #buddypress :is(.activity-inner,.message-content,.thread-content,.bb-activity-text) { overflow-wrap:anywhere; }
body.zrm-modern #buddypress :is(.thread-content,.message-content) { border-radius:18px; border-color:var(--zrm-line); }
body.zrm-modern #buddypress .message-box { border-color:var(--zrm-line); background:white; border-radius:18px; padding:18px; margin:12px 0; }
body.zrm-modern #buddypress .message-box.alt { background:#fff0f5; }
body.zrm-modern #buddypress #item-header-avatar img { border-radius:24px; max-width:100%; height:auto; }
body.zrm-modern #buddypress .profile .bp-widget { background:white; border:1px solid var(--zrm-line); padding:24px; border-radius:20px; margin-bottom:20px; }
body.zrm-modern #buddypress .standard-form :is(.editfield,.bb-field-wrapper) { min-width:0; }
body.zrm-modern .zrm-live-members { max-width:1248px; margin:auto; padding:0 24px 40px; }
/* Presentation only: open/closed state remains owned by Nouveau/Magnific. */
body.zrm-modern .moderation-popup .modal-container { width:520px; max-width:calc(100vw - 32px); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow-y:auto; border-radius:22px; border:1px solid var(--zrm-line); background:#fffaf9; color:var(--zrm-ink); font-family:Inter,"Segoe UI",Arial,sans-serif; }
body.zrm-modern .moderation-popup .bb-model-header h4 { color:var(--zrm-ink); font-family:inherit; font-size:22px; font-weight:700; }
body.zrm-modern .moderation-popup .bb-model-header .mfp-close { width:44px; height:44px; min-width:44px; min-height:44px; color:var(--zrm-ink); background:#fff1f5; border-radius:50%; padding:0; }
body.zrm-modern .moderation-popup .bb-model-header .mfp-close span { font-size:0; position:absolute; inset:12px; }
body.zrm-modern .moderation-popup .bb-model-header .mfp-close span::before,body.zrm-modern .moderation-popup .bb-model-header .mfp-close span::after { content:""; display:block; position:absolute; top:9px; left:0; width:20px; height:2px; background:currentColor; transform:rotate(45deg); }
body.zrm-modern .moderation-popup .bb-model-header .mfp-close span::after { transform:rotate(-45deg); }
body.zrm-modern .moderation-popup .bb-model-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
body.zrm-modern .moderation-popup .bb-model-footer .button { background:var(--zrm-berry); color:white; border:1px solid var(--zrm-berry); border-radius:24px; min-height:44px; padding:10px 20px; text-shadow:none; box-shadow:none; }
body.zrm-modern .moderation-popup .bb-model-footer :is(input.button,button.button) { display:inline-flex; justify-content:center; align-items:center; width:auto; min-width:96px; height:auto; margin:0; padding:10px 20px; font:600 14px/22px "Segoe UI",sans-serif; }
body.zrm-modern .moderation-popup .bb-model-footer .bb-cancel-report-content { background:transparent; color:var(--zrm-berry); border-color:var(--zrm-line); margin:0 8px 0 0; }
body.zrm-modern .moderation-popup textarea { box-sizing:border-box; width:100%; max-width:100%; border:1px solid var(--zrm-line); border-radius:12px; padding:12px; font:inherit; }
body.zrm-modern .moderation-popup :is(button,input,textarea):focus-visible { outline:3px solid #7625c6; outline-offset:2px; }
.zrm-live-profile { margin:32px auto; max-width:1248px; background:#fff; border:1px solid var(--zrm-line); border-radius:24px; overflow:hidden; }
.zrm-live-cover { height:330px; background:linear-gradient(125deg,#d34474,#efbbce 55%,#fff0f5); }
.zrm-live-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.zrm-live-profile-heading { display:flex; flex-wrap:wrap; align-items:center; gap:24px; padding:0 36px 28px; position:relative; }
.zrm-live-avatar { width:150px; height:150px; border:6px solid white; border-radius:50%; overflow:hidden; margin-top:-45px; flex:none; }
.zrm-live-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.zrm-live-identity { padding-top:22px; min-width:0; }
.zrm-live-identity h1 { font-size:30px; letter-spacing:-1px; line-height:1.3; overflow-wrap:anywhere; }
.zrm-live-identity p { color:var(--zrm-muted); font-size:13px; overflow-wrap:anywhere; }
.zrm-live-profile-actions { display:flex; flex-wrap:wrap; gap:10px; margin-left:auto; padding-top:16px; }
.zrm-live-profile-actions :is(a,button) { min-height:44px; padding:10px 18px; border:1px solid var(--zrm-line); border-radius:24px; display:inline-flex; align-items:center; color:var(--zrm-berry); }
.zrm-live-profile-meta { padding:0 36px; overflow-wrap:anywhere; }
.zrm-live-profile-meta:empty { display:none; }
@media(max-width:767px) { .zrm-live-profile {margin:20px 16px}.zrm-live-cover {height:230px}.zrm-live-profile-heading {padding:0 20px 24px;gap:15px}.zrm-live-avatar {width:105px;height:105px;margin-top:-30px}.zrm-live-identity h1 {font-size:24px}.zrm-live-profile-actions {margin-left:0;width:100%;padding-top:0}.zrm-live-profile-meta {padding:0 20px} }
@media(max-width:1023px) { body.zrm-modern #buddypress #members-list.item-list.search-list {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:639px) { body.zrm-modern #buddypress #members-list.item-list.search-list {grid-template-columns:1fr;gap:20px} body.zrm-modern #buddypress .standard-form :is(#basic-details-section,#profile-details-section,#blog-details-section) {float:none;width:100%} body.zrm-modern #buddypress .item-list-tabs ul {gap:3px} body.zrm-modern #buddypress .item-list-tabs li a {padding:10px;font-size:12px} body.zrm-modern #buddypress .profile .bp-widget {padding:16px} body.zrm-modern #buddypress table {table-layout:fixed;width:100%} body.zrm-modern #buddypress td {overflow-wrap:anywhere;padding:8px} }
