/* RecoveryBuddy full-bleed content. Header and footer selectors are intentionally excluded. */
html,body.rb-fullwidth-page{overflow-x:hidden}
body.rb-fullwidth-page .site-main,
body.rb-fullwidth-page main#content,
body.rb-fullwidth-page #content,
body.rb-fullwidth-page #primary,
body.rb-fullwidth-page #main,
body.rb-fullwidth-page .content-area,
body.rb-fullwidth-page .site-content,
body.rb-fullwidth-page .page-content,
body.rb-fullwidth-page article.page,
body.rb-fullwidth-page article.type-page,
body.rb-fullwidth-page .entry-content{
 width:100%!important;max-width:none!important;min-width:0!important;
 margin-left:0!important;margin-right:0!important;
 padding-left:0!important;padding-right:0!important;
}
body.rb-fullwidth-page .entry-header{display:none!important}

/* Elementor classic sections and modern Flexbox Containers. */
body.rb-fullwidth-page .elementor,
body.rb-fullwidth-page .elementor-inner,
body.rb-fullwidth-page .elementor-section-wrap,
body.rb-fullwidth-page .elementor-location-single,
body.rb-fullwidth-page .elementor-element.rb-elementor-page-section,
body.rb-fullwidth-page .elementor-element.rb-elementor-page-section > .elementor-container,
body.rb-fullwidth-page .elementor-element.rb-elementor-page-section > .e-con-inner,
body.rb-fullwidth-page .elementor-widget-shortcode,
body.rb-fullwidth-page .elementor-widget-shortcode > .elementor-widget-container,
body.rb-fullwidth-page .rb-elementor-app-widget,
body.rb-fullwidth-page .rb-elementor-app-widget > .elementor-widget-container{
 width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
 padding-left:0!important;padding-right:0!important;
}
body.rb-fullwidth-page .elementor-section.elementor-section-boxed > .elementor-container,
body.rb-fullwidth-page .e-con.e-con-boxed > .e-con-inner{
 max-width:none!important;width:100%!important;
}
body.rb-fullwidth-page .rb-elementor-page-heading{padding-left:20px!important;padding-right:20px!important}

/* Full viewport breakout for themes that keep the page inside a boxed parent. */
body.rb-fullwidth-page .rb-elementor-page-section,
body.rb-fullwidth-page .rb-elementor-app-widget,
body.rb-fullwidth-page .rb-app,
body.rb-fullwidth-page .rb-hero{
 position:relative;width:100vw!important;max-width:100vw!important;
 left:50%;right:50%;margin-left:-50vw!important;margin-right:-50vw!important;
 box-sizing:border-box;
}
body.rb-fullwidth-page .rb-app{margin-top:0!important;margin-bottom:0!important}

/* Preserve active Hello Theme / Elementor Theme Builder header and footer. */
body.rb-fullwidth-page header.site-header,
body.rb-fullwidth-page footer.site-footer,
body.rb-fullwidth-page .elementor-location-header,
body.rb-fullwidth-page .elementor-location-footer{
 left:auto!important;right:auto!important;margin-left:auto!important;margin-right:auto!important;
 max-width:none;position:relative;z-index:20;
}

:root{--b:#eff3f4;--t:#0f1419;--m:#536471;--blue:#1d9bf0}
.rb-app{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:250px minmax(0,650px) 330px;min-height:80vh;color:var(--t);font-family:Arial,sans-serif}
.rb-side{border-right:1px solid var(--b);padding:12px 18px}.rb-logo{font-size:22px;font-weight:900;padding:15px}.rb-side a{display:block;padding:13px 16px;border-radius:999px;color:var(--t);text-decoration:none;font-size:18px;font-weight:700}.rb-side a:hover,.rb-side a.active{background:#eff3f4}
.rb-main{border-right:1px solid var(--b);min-width:0}.rb-main>header{padding:14px 18px;border-bottom:1px solid var(--b);position:sticky;top:0;background:#fffc;backdrop-filter:blur(9px);z-index:3}.rb-main h1{font-size:20px;margin:0}.rb-right{padding:16px}.rb-card{background:#f7f9f9;padding:18px;border-radius:16px;margin:14px}.rb-banner{padding:30px;background:linear-gradient(135deg,#e8f5ff,#f6ecff)}.rb-cards,.rb-grid2,.rb-grid3{display:grid;gap:14px;padding:14px}.rb-cards,.rb-grid2{grid-template-columns:1fr 1fr}.rb-grid3{grid-template-columns:repeat(3,1fr)}
.rb-card span,.rb-muted,.rb-post span{color:var(--m)}.rb-card strong{font-size:24px}.rb-btn,.rb-outline{display:inline-block;border:0;border-radius:999px;padding:10px 18px;font-weight:800;text-decoration:none;cursor:pointer}.rb-btn{background:var(--blue);color:white}.rb-outline{background:white;border:1px solid #ccd6dd}.rb-form label{display:block;font-weight:700;margin:12px 0}.rb-form input,.rb-form textarea,.rb-form select,.rb-compose textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cfd9de;border-radius:9px;margin-top:6px}.rb-auth{max-width:650px;margin:30px auto;padding:28px;border:1px solid var(--b);border-radius:18px}.rb-compose{padding:16px;border-bottom:1px solid var(--b)}.rb-compose textarea{border:0;font-size:19px}.rb-post{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:15px;border-bottom:1px solid var(--b)}.rb-post img{width:48px;height:48px;border-radius:50%}.rb-post footer{color:var(--m);padding-top:14px}.rb-cover{height:200px;background:#cfd9de}.rb-profile-head{display:flex;justify-content:space-between;padding:0 18px}.rb-avatar{width:140px;height:140px;border-radius:50%;border:4px solid white;margin-top:-70px}.rb-tabs{display:flex;border-bottom:1px solid var(--b)}.rb-tabs button{flex:1;padding:14px;border:0;background:white;font-weight:700}.rb-me,.rb-ai{padding:13px 16px;margin:12px;border-radius:16px}.rb-me{background:#1d9bf0;color:white;margin-left:22%}.rb-ai{background:#eff3f4;margin-right:22%}.rb-meeting{padding:14px 0;border-bottom:1px solid var(--b)}#rb-jitsi-container{min-height:700px;background:#111}
@media(max-width:1000px){.rb-app{grid-template-columns:90px minmax(0,1fr)}.rb-right{display:none}.rb-side a{font-size:0}.rb-side a:first-letter{font-size:18px}}
@media(max-width:700px){.rb-app{display:block}.rb-side{position:fixed;bottom:0;left:0;right:0;height:auto;display:flex;overflow:auto;background:white;z-index:10;border-top:1px solid var(--b);padding:4px}.rb-logo{display:none}.rb-side a{font-size:12px;padding:9px}.rb-grid2,.rb-grid3,.rb-cards{grid-template-columns:1fr}.rb-main{padding-bottom:64px;border:0}}

/* RecoveryBuddy social profile, based on the supplied full-width reference. */
.rb-social-profile{--rb-navy:#12396f;--rb-blue:#0b65f5;--rb-line:#e4e9f1;--rb-soft:#f7f9fc;display:grid;grid-template-columns:320px minmax(620px,1fr) 315px;min-height:100vh;background:#fff;color:#0b1220;font-family:Inter,Arial,sans-serif}
.rb-social-profile *{box-sizing:border-box}.rb-profile-left{border-right:1px solid var(--rb-line);padding:10px 18px 28px;min-width:0}.rb-brand{display:block;padding:0 12px 10px}.rb-brand img{display:block;width:205px;max-height:68px;object-fit:contain;object-position:left center}.rb-panel{border:1px solid var(--rb-line);border-radius:16px;background:#fff;padding:18px;margin-bottom:16px;box-shadow:0 2px 10px rgba(18,57,111,.035)}
.rb-mini-profile{text-align:center;padding-top:18px}.rb-mini-profile>img{width:104px;height:104px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 1px 8px rgba(0,0,0,.12)}.rb-mini-profile h3{margin:10px 0 2px;font-size:21px}.rb-mini-profile p{margin:0;color:#536078}.rb-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:18px}.rb-mini-stats span{font-size:13px;color:#44506a}.rb-mini-stats b{display:block;color:#101725;font-size:17px;margin-bottom:3px}
.rb-profile-nav{padding:0 0 10px;border-bottom:1px solid var(--rb-line)}.rb-profile-nav a{display:flex;align-items:center;gap:18px;padding:12px 18px;border-radius:12px;text-decoration:none;color:#111827;font-weight:700}.rb-profile-nav a span{font-size:25px;width:28px;text-align:center;color:var(--rb-navy)}.rb-profile-nav a:hover,.rb-profile-nav a.active{background:#eef4ff;color:var(--rb-blue)}.rb-contacts{padding:14px 20px}.rb-contacts h4{margin:0 0 8px}.rb-contacts a,.rb-view-all{display:block;text-align:center;color:var(--rb-blue);font-weight:800;text-decoration:none;margin-top:18px}
.rb-profile-center{min-width:0;border-right:1px solid var(--rb-line);padding:0 18px 28px}.rb-profile-topbar{height:76px;display:flex;align-items:center;gap:14px;position:sticky;top:0;background:rgba(255,255,255,.95);z-index:7}.rb-searchbox{height:46px;border:1px solid var(--rb-line);border-radius:25px;display:flex;align-items:center;gap:10px;padding:0 16px;flex:1;max-width:430px;color:#1e335a}.rb-searchbox input{border:0;outline:0;width:100%;font-size:15px;background:transparent}.rb-create-post,.rb-primary-btn{background:var(--rb-navy);color:#fff!important;border:0;border-radius:14px;padding:14px 24px;text-decoration:none;font-weight:900;letter-spacing:.2px;cursor:pointer;white-space:nowrap}.rb-icon-link{font-size:25px;text-decoration:none;color:var(--rb-navy);padding:8px}
.rb-profile-card{border:1px solid var(--rb-line);border-radius:16px;overflow:hidden;background:#fff}.rb-profile-cover{height:222px;background-size:cover;background-position:center}.rb-profile-identity{display:flex;justify-content:space-between;align-items:flex-start;padding:0 24px}.rb-profile-avatar{width:148px;height:148px;border-radius:50%;object-fit:cover;border:6px solid #fff;margin-top:-74px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12)}.rb-profile-actions{display:flex;gap:14px;padding-top:18px}.rb-more-btn{width:54px;height:50px;border:1px solid var(--rb-line);border-radius:14px;background:#fff;font-size:20px;cursor:pointer;color:var(--rb-navy)}
.rb-profile-copy{padding:4px 24px 0}.rb-profile-copy h1{font-size:30px;margin:0 0 4px;line-height:1.15}.rb-verified{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#1478ff;color:#fff;font-size:14px;vertical-align:4px}.rb-handle{color:#44506a}.rb-handle span{background:#f0f2f5;border-radius:12px;padding:4px 10px;font-size:12px;margin-left:10px}.rb-profile-bio{max-width:760px;line-height:1.55;margin:14px 0}.rb-profile-meta{display:flex;flex-wrap:wrap;gap:14px 20px;color:#52617c;font-size:14px}.rb-profile-meta a{color:#0b65f5;text-decoration:none}
.rb-story-row{display:flex;gap:26px;align-items:flex-start;padding:24px;overflow-x:auto}.rb-add-story{width:66px;height:66px;border-radius:50%;border:1px solid var(--rb-line);background:#fff;font-size:35px;color:var(--rb-navy);position:relative;flex:0 0 auto}.rb-add-story small{position:absolute;top:72px;left:-4px;width:76px;font-size:12px;color:#33415d}.rb-story{flex:0 0 auto;text-align:center}.rb-story img{width:66px;height:66px;border-radius:50%;object-fit:cover;border:3px solid #fff;outline:2px solid #0b65f5}.rb-story span{display:block;font-size:13px;font-weight:700;margin-top:7px}.rb-profile-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line)}.rb-profile-tabs button{border:0;background:#fff;padding:16px 8px;font-weight:800;color:#52617c;cursor:pointer}.rb-profile-tabs button.active{color:var(--rb-blue);box-shadow:inset 0 -3px var(--rb-blue)}
#rb-profile-feed .rb-post{grid-template-columns:48px minmax(0,1fr);padding:18px 20px}.rb-profile-right{padding:76px 18px 20px}.rb-profile-right h3{margin:0 0 12px;font-size:18px}.rb-count{display:inline-grid;place-items:center;background:#edf3ff;color:#3475e6;border-radius:50%;font-size:12px;width:21px;height:21px}.rb-followers-panel h2{margin:12px 0 4px;font-size:26px}.rb-followers-panel h2 small{font-size:16px}.rb-followers-panel p{color:#536078;margin:0}.rb-avatar-stack{display:flex}.rb-avatar-stack img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-8px}.rb-avatar-stack img:first-child{margin-left:0}
.rb-modal[hidden]{display:none}.rb-modal{position:fixed;inset:0;background:rgba(6,18,39,.62);display:grid;place-items:center;z-index:99999;padding:20px}.rb-modal-dialog{position:relative;background:#fff;border-radius:18px;width:min(620px,100%);max-height:90vh;overflow:auto;padding:28px}.rb-modal-close{position:absolute;right:18px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer}.rb-modal-dialog h2{margin-top:0}.rb-modal-dialog .rb-primary-btn{width:100%;margin-top:10px}.rb-save-ok{color:#087f3e;font-weight:700;padding-top:10px}.rb-save-error{color:#b42318;font-weight:700;padding-top:10px}
@media(max-width:1180px){.rb-social-profile{grid-template-columns:96px minmax(0,1fr)}.rb-profile-right{display:none}.rb-profile-left{padding:10px 8px}.rb-brand img{width:75px;object-fit:cover;object-position:left}.rb-mini-profile{padding:8px}.rb-mini-profile>img{width:58px;height:58px}.rb-mini-profile h3,.rb-mini-profile p,.rb-mini-stats,.rb-contacts{display:none}.rb-profile-nav a{font-size:0;justify-content:center;padding:12px}.rb-profile-nav a span{font-size:24px}}
@media(max-width:760px){.rb-social-profile{display:block}.rb-profile-left{display:none}.rb-profile-center{padding:0;border:0}.rb-profile-topbar{padding:0 12px;height:66px}.rb-searchbox{max-width:none}.rb-create-post{font-size:0;width:48px;height:46px;padding:0}.rb-create-post::after{content:'+';font-size:28px}.rb-icon-link{display:none}.rb-profile-card{border-radius:0;border-left:0;border-right:0}.rb-profile-cover{height:165px}.rb-profile-avatar{width:112px;height:112px;margin-top:-56px}.rb-profile-actions .rb-primary-btn{padding:11px 16px;font-size:12px}.rb-profile-copy h1{font-size:24px}.rb-story-row{gap:18px;padding:20px 16px 30px}.rb-profile-tabs{overflow-x:auto;display:flex}.rb-profile-tabs button{min-width:110px}.rb-profile-meta{display:grid;gap:8px}.rb-profile-identity,.rb-profile-copy{padding-left:16px;padding-right:16px}}

/* 2026 profile reference refinement and hard full-width enforcement. */
body.rb-fullwidth-page .container,
body.rb-fullwidth-page .site-container,
body.rb-fullwidth-page .ast-container,
body.rb-fullwidth-page .content-wrapper,
body.rb-fullwidth-page .page-wrapper,
body.rb-fullwidth-page .wp-site-blocks > main,
body.rb-fullwidth-page .wp-block-group.alignwide,
body.rb-fullwidth-page .wp-block-group.alignfull{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
body.rb-fullwidth-page .rb-social-profile,
body.rb-fullwidth-page .rb-auth{position:relative;width:100vw;max-width:100vw;left:50%;margin-left:-50vw!important;margin-right:-50vw!important}
body.rb-fullwidth-page .rb-auth{left:50%;max-width:760px;width:calc(100% - 32px);margin-left:calc(-50vw + 16px)!important}
.rb-profile-v2{grid-template-columns:338px minmax(650px,1fr) 330px}.rb-profile-v2 .rb-profile-left{padding-top:56px}.rb-profile-v2 .rb-mini-profile{margin:0 4px 12px;padding:14px 16px 18px}.rb-avatar-wrap{position:relative;display:inline-block}.rb-avatar-wrap>img{display:block}.rb-avatar-check{position:absolute;right:1px;bottom:7px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#0c67ef;color:#fff;border:3px solid #fff;font-size:13px;font-weight:900}.rb-online-dot{position:absolute;right:0;bottom:2px;width:16px;height:16px;border-radius:50%;background:#20bd52;border:3px solid #fff}.rb-mini-profile .rb-online-dot{display:none}.rb-profile-v2 .rb-mini-profile>h3{margin-top:10px}.rb-profile-v2 .rb-mini-profile>p{font-size:14px}.rb-profile-v2 .rb-profile-nav{padding:0 4px 8px}.rb-profile-v2 .rb-profile-nav a{padding:11px 14px;font-size:14px;gap:14px}.rb-profile-v2 .rb-profile-nav a span{font-size:21px}.rb-profile-v2 .rb-contacts{margin:0 4px;padding:10px 14px 14px}.rb-person-row{display:flex!important;align-items:center;gap:10px;text-decoration:none!important;color:#111827!important;padding:7px 0}.rb-person-row img{width:38px;height:38px;border-radius:50%;object-fit:cover}.rb-person-row span{min-width:0;flex:1}.rb-person-row b,.rb-person-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rb-person-row b{font-size:13px}.rb-person-row small{font-size:12px;color:#536078;margin-top:2px}.rb-person-row i,.rb-person-row button{font-style:normal;border:0;background:transparent;color:#0b65f5;font-size:20px;padding:4px;cursor:pointer}.rb-profile-v2 .rb-profile-center{padding:0 26px 24px}.rb-profile-v2 .rb-profile-topbar{height:72px}.rb-profile-v2 .rb-searchbox{max-width:415px;height:47px}.rb-profile-v2 .rb-searchbox button{border:0;background:transparent;font-size:20px;color:#12396f}.rb-profile-v2 .rb-create-post{margin-left:auto;padding:14px 26px;border-radius:13px}.rb-badge-link{position:relative}.rb-badge-link b{position:absolute;top:1px;right:0;display:grid;place-items:center;min-width:18px;height:18px;border-radius:10px;background:#f31633;color:#fff;font-size:11px;border:2px solid #fff}.rb-top-user{display:flex;align-items:center;gap:7px;text-decoration:none;color:#111827;font-weight:800}.rb-top-user img{width:42px;height:42px;border-radius:50%;object-fit:cover}.rb-top-user{position:relative}.rb-top-user .rb-online-dot{right:18px;bottom:0;width:12px;height:12px}.rb-profile-v2 .rb-profile-card{border-radius:13px}.rb-profile-v2 .rb-profile-cover{height:222px}.rb-large-avatar{margin-top:-84px;margin-left:12px}.rb-large-avatar .rb-profile-avatar{margin:0;width:142px;height:142px}.rb-large-avatar .rb-online-dot{right:5px;bottom:5px;width:20px;height:20px}.rb-profile-v2 .rb-profile-identity{align-items:flex-start;padding:0 24px}.rb-edit-btn{border:1px solid var(--rb-line);background:#fff;border-radius:14px;padding:13px 24px;font-weight:800;cursor:pointer}.rb-profile-v2 .rb-profile-actions{padding-top:26px}.rb-profile-v2 .rb-profile-copy{padding-top:5px}.rb-profile-v2 .rb-profile-copy h1{font-size:27px}.rb-profile-v2 .rb-story-row{gap:30px;padding-top:25px}.rb-story-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;border:5px solid #fff;outline:2px solid #d9e1ec;background:#eef5ff;font-size:27px;color:#1767ec}.rb-story:nth-child(3) .rb-story-icon{background:#fff1f6;color:#f02b6f}.rb-story:nth-child(4) .rb-story-icon{background:#fff5df;color:#ee9200}.rb-story:nth-child(5) .rb-story-icon{background:#e9fbfb;color:#08a9b2}.rb-story:nth-child(6) .rb-story-icon{background:#f3eaff;color:#8f36df}.rb-story:nth-child(7) .rb-story-icon{background:#eaffef;color:#20a84d}.rb-profile-v2 .rb-profile-right{padding-top:72px}.rb-profile-footer-links{font-size:12px;line-height:2;color:#536078;padding:8px}.rb-profile-v2 #rb-profile-feed .rb-post:first-child:after{content:'';display:block;height:190px;margin-top:14px;border-radius:12px;background:url('../profile-post-v2.jpg') center/cover no-repeat}.rb-profile-v2 #rb-profile-feed .rb-post:first-child{grid-template-columns:48px minmax(0,1fr)}
@media(max-width:1220px){.rb-profile-v2{grid-template-columns:96px minmax(0,1fr)}.rb-profile-v2 .rb-profile-left{padding-top:14px}.rb-profile-v2 .rb-top-user{display:none}}
@media(max-width:760px){body.rb-fullwidth-page .rb-auth{width:calc(100% - 20px);margin-left:calc(-50vw + 10px)!important}.rb-profile-v2 .rb-profile-center{padding:0}.rb-profile-v2 .rb-profile-topbar{padding:0 10px}.rb-profile-v2 .rb-profile-cover{height:170px}.rb-large-avatar{margin-top:-61px;margin-left:0}.rb-large-avatar .rb-profile-avatar{width:112px;height:112px}.rb-profile-v2 .rb-profile-actions{padding-top:18px}.rb-edit-btn{padding:10px 14px;font-size:12px}.rb-profile-v2 .rb-profile-copy h1{font-size:24px}}

/* Profile media defaults: no forced stock banner and no avatar overlapping the banner. */
.rb-profile-cover.no-image{background-image:none!important;background:#f3f6fa;border-bottom:1px solid var(--rb-line)}
.rb-profile-identity-no-avatar{min-height:72px;justify-content:flex-end}
.rb-profile-identity-no-avatar .rb-profile-actions{margin-left:auto}

/* RecoveryBuddy brand consistency: circular avatars, navy buttons, navy links. */
:root{
  --rb-brand:#12396F;
}

/* Every avatar/photo frame generated by RecoveryBuddy is circular. */
.rb-app img.avatar,
.rb-app .avatar,
.rb-social-profile img.avatar,
.rb-social-profile .avatar,
.rb-mini-profile > img,
.rb-avatar,
.rb-profile-avatar,
.rb-avatar-wrap > img,
.rb-large-avatar img,
.rb-top-user img,
.rb-person-row img,
.rb-story img,
.rb-avatar-stack img,
.rb-post > img,
.rb-post img:first-child,
.rb-contact-avatar,
.rb-member-avatar,
.rb-user-avatar,
.rb-message-avatar,
.rb-request-avatar,
.rb-suggestion-avatar {
  border-radius:50% !important;
  aspect-ratio:1 / 1;
  object-fit:cover !important;
  overflow:hidden;
}

/* All RecoveryBuddy buttons use the approved brand color and white text. */
.rb-app button,
.rb-app input[type="button"],
.rb-app input[type="submit"],
.rb-app input[type="reset"],
.rb-app .button,
.rb-app .rb-btn,
.rb-app .rb-outline,
.rb-app .rb-primary-btn,
.rb-app .rb-create-post,
.rb-app .rb-edit-btn,
.rb-app .rb-more-btn,
.rb-app .rb-add-story,
.rb-app .rb-modal-close,
.rb-social-profile button,
.rb-social-profile input[type="button"],
.rb-social-profile input[type="submit"],
.rb-social-profile input[type="reset"],
.rb-social-profile .button,
.rb-social-profile .rb-btn,
.rb-social-profile .rb-outline,
.rb-social-profile .rb-primary-btn,
.rb-social-profile .rb-create-post,
.rb-social-profile .rb-edit-btn,
.rb-social-profile .rb-more-btn,
.rb-social-profile .rb-add-story,
.rb-social-profile .rb-modal-close {
  background-color:#12396F !important;
  border-color:#12396F !important;
  color:#fff !important;
}

.rb-app button:hover,
.rb-app input[type="button"]:hover,
.rb-app input[type="submit"]:hover,
.rb-app .button:hover,
.rb-social-profile button:hover,
.rb-social-profile input[type="button"]:hover,
.rb-social-profile input[type="submit"]:hover,
.rb-social-profile .button:hover {
  background-color:#0d2d59 !important;
  border-color:#0d2d59 !important;
  color:#fff !important;
}

.rb-app button:focus-visible,
.rb-app input[type="submit"]:focus-visible,
.rb-app .button:focus-visible,
.rb-social-profile button:focus-visible,
.rb-social-profile input[type="submit"]:focus-visible,
.rb-social-profile .button:focus-visible {
  outline:3px solid rgba(18,57,111,.28) !important;
  outline-offset:2px;
}

/* Every text link inside plugin-created pages uses RecoveryBuddy navy. */
.rb-app a,
.rb-app a:visited,
.rb-social-profile a,
.rb-social-profile a:visited,
.rb-auth a,
.rb-auth a:visited {
  color:#12396F !important;
}

.rb-app a:hover,
.rb-app a:focus,
.rb-social-profile a:hover,
.rb-social-profile a:focus,
.rb-auth a:hover,
.rb-auth a:focus {
  color:#0d2d59 !important;
}

/* Keep link-styled primary buttons white despite the global link rule. */
.rb-app a.rb-btn,
.rb-app a.rb-primary-btn,
.rb-app a.rb-create-post,
.rb-app a.button,
.rb-social-profile a.rb-btn,
.rb-social-profile a.rb-primary-btn,
.rb-social-profile a.rb-create-post,
.rb-social-profile a.button {
  color:#fff !important;
}

/* Role-aware RecoveryBuddy dashboard — inspired by the supplied medical dashboard. */
.rb-role-dashboard{--navy:#12396F;--ink:#102a54;--muted:#6d7c95;--line:#e3e9f2;--bg:#f7f9fc;display:grid;grid-template-columns:250px minmax(620px,1fr) 330px;min-height:100vh;width:100%;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.rb-role-dashboard *{box-sizing:border-box}.rb-dash-sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;gap:12px}.rb-dash-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;font-size:17px;margin:0 12px 34px}.rb-dash-brand>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--navy);color:#fff}.rb-dash-nav-title{font-weight:800;font-size:14px;margin:0 14px 9px}.rb-dash-sidebar nav{display:grid;gap:5px;margin-bottom:18px}.rb-dash-sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:10px;text-decoration:none!important;color:var(--ink)!important;font-weight:600;font-size:14px}.rb-dash-sidebar nav a i{font-style:normal;width:24px;text-align:center;font-size:18px}.rb-dash-sidebar nav a.active,.rb-dash-sidebar nav a:hover{background:var(--navy);color:#fff!important}.rb-dash-support{margin-top:auto;background:var(--navy);color:#fff;border-radius:16px;padding:20px;text-align:center}.rb-dash-support>span{font-size:30px}.rb-dash-support b{display:block;margin-top:8px}.rb-dash-support p{font-size:12px;line-height:1.55;opacity:.84}.rb-dash-support a{display:block;background:#fff;color:var(--navy)!important;border-radius:9px;padding:10px;text-decoration:none!important;font-weight:800;font-size:12px}.rb-dash-workspace{min-width:0}.rb-dash-topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 26px}.rb-dash-search{height:46px;max-width:430px;flex:1;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 15px;font-size:22px}.rb-dash-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;font-size:14px;background:transparent!important}.rb-dash-message{position:relative;text-decoration:none!important;font-size:23px;margin-left:auto}.rb-dash-message+.rb-dash-message{margin-left:0}.rb-dash-message b{position:absolute;right:-6px;top:-8px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#f5223b;color:#fff;font-size:10px}.rb-dash-user{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--ink)!important}.rb-dash-user img{width:46px;height:46px;border-radius:50%!important;object-fit:cover}.rb-dash-user span{display:grid}.rb-dash-user small{color:var(--muted);font-size:11px}.rb-dash-main{padding:28px 26px}.rb-dash-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.rb-dash-heading h1{font-size:27px;margin:0 0 4px}.rb-dash-heading p{margin:0;color:var(--muted)}.rb-dash-heading button{padding:11px 18px;border-radius:10px}.rb-dash-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.rb-dash-stat,.rb-dash-card{background:#fff;border:1px solid var(--line);border-radius:14px}.rb-dash-stat{padding:20px;display:flex;align-items:center;gap:17px;min-height:112px}.rb-dash-stat-icon{width:58px;height:58px;border-radius:12px;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:25px}.rb-dash-stat small,.rb-dash-stat strong{display:block}.rb-dash-stat small{font-size:14px;color:var(--muted);margin-bottom:5px}.rb-dash-stat strong{font-size:25px}.rb-dash-middle{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(210px,.75fr);gap:16px;margin-top:18px}.rb-dash-card{padding:20px}.rb-card-head{display:flex;align-items:center;justify-content:space-between}.rb-card-head h2{font-size:17px;margin:0}.rb-card-head>span{font-size:20px}.rb-chart-area{height:300px;position:relative;margin-top:18px;padding-left:40px}.rb-chart-grid{position:absolute;inset:0 0 30px;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:11px}.rb-chart-grid span{border-bottom:1px dashed #dce4ef;padding-bottom:2px}.rb-bars{position:absolute;left:48px;right:4px;bottom:0;top:8px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px}.rb-bars>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1}.rb-bars i{display:block;width:13px;min-height:8px;border-radius:8px 8px 0 0;background:#d6dfeb}.rb-bars>div:nth-child(even) i{background:var(--navy)}.rb-bars small{margin-top:10px;color:var(--muted);font-style:normal}.rb-dash-reports{display:grid;gap:12px;align-content:start}.rb-dash-reports .rb-card-head{margin-bottom:3px}.rb-dash-reports>a{display:grid;gap:8px;border:1px solid var(--line);border-radius:12px;padding:15px;text-decoration:none!important;color:var(--ink)!important}.rb-dash-reports>a.featured{background:var(--navy);color:#fff!important}.rb-dash-reports small{opacity:.72}.rb-dash-table{margin-top:18px}.rb-table-scroll{overflow:auto}.rb-dash-table table{width:100%;border-collapse:collapse;margin-top:12px;font-size:13px}.rb-dash-table th,.rb-dash-table td{text-align:left;padding:10px 8px;border-bottom:1px solid #edf1f6;white-space:nowrap}.rb-dash-table th{color:var(--muted);font-weight:600}.rb-table-person{display:flex;align-items:center;gap:9px;font-weight:700}.rb-table-person img{width:32px;height:32px;border-radius:50%!important;object-fit:cover}.rb-dash-right{background:#fff;border-left:1px solid var(--line);padding:106px 18px 20px}.rb-dash-right .rb-dash-card{margin-bottom:16px}.rb-calendar h3{font-size:14px;margin:0 0 24px}.rb-calendar-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.rb-calendar-title b{font-size:22px}.rb-week,.rb-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;text-align:center}.rb-week{font-size:11px;margin-bottom:13px}.rb-days span{height:31px;display:grid;place-items:center;border-radius:8px;font-size:12px}.rb-days span.today{background:var(--navy);color:#fff}.rb-upcoming{display:grid;gap:13px}.rb-upcoming .rb-card-head{margin-bottom:4px}.rb-upcoming>a{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;text-decoration:none!important;color:var(--ink)!important}.rb-upcoming>a.featured{background:var(--navy);color:#fff!important}.rb-upcoming i{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#edf3fb;font-style:normal;color:var(--navy)}.rb-upcoming span{display:grid;flex:1}.rb-upcoming small{opacity:.7;margin-top:4px}.rb-role-dashboard button,.rb-role-dashboard .button{background:#12396F!important;border-color:#12396F!important;color:#fff!important}.rb-role-dashboard a:not(.rb-dash-sidebar nav a):not(.rb-dash-support a):not(.featured){color:#12396F}.rb-role-dashboard img{object-fit:cover}.rb-role-dashboard .rb-dash-user img,.rb-role-dashboard .rb-table-person img{border-radius:50%!important;aspect-ratio:1/1}
@media(max-width:1250px){.rb-role-dashboard{grid-template-columns:88px minmax(0,1fr) 300px}.rb-dash-sidebar{padding-inline:10px}.rb-dash-brand b,.rb-dash-nav-title,.rb-dash-sidebar nav a span,.rb-dash-support{display:none}.rb-dash-brand{margin:0 auto 25px}.rb-dash-sidebar nav a{justify-content:center}.rb-dash-sidebar nav a i{font-size:21px}}
@media(max-width:980px){.rb-role-dashboard{grid-template-columns:78px minmax(0,1fr)}.rb-dash-right{display:none}.rb-dash-middle{grid-template-columns:1fr}.rb-dash-reports{grid-template-columns:repeat(3,1fr)}.rb-dash-reports .rb-card-head{grid-column:1/-1}}
@media(max-width:700px){.rb-role-dashboard{display:block}.rb-dash-sidebar{position:fixed;z-index:20;left:0;right:0;bottom:0;height:68px;border:0;border-top:1px solid var(--line);padding:6px;background:#fff}.rb-dash-brand,.rb-dash-nav-title,.rb-dash-sidebar nav:nth-of-type(2),.rb-dash-support{display:none}.rb-dash-sidebar nav:first-of-type{display:flex;overflow-x:auto;margin:0}.rb-dash-sidebar nav:first-of-type a{min-width:65px;padding:8px}.rb-dash-sidebar nav:first-of-type a:nth-child(n+6){display:none}.rb-dash-topbar{height:70px;padding:0 12px}.rb-dash-search{height:42px}.rb-dash-message{display:none}.rb-dash-user span{display:none}.rb-dash-user img{width:40px;height:40px}.rb-dash-main{padding:18px 12px 86px}.rb-dash-heading h1{font-size:22px}.rb-dash-heading p,.rb-dash-heading button{display:none}.rb-dash-stats{grid-template-columns:1fr}.rb-dash-stat{min-height:88px;padding:14px}.rb-dash-middle{display:block}.rb-dash-reports{margin-top:16px;display:grid;grid-template-columns:1fr}.rb-dash-chart{padding:14px}.rb-chart-area{height:240px}.rb-dash-table{padding:14px}}

/* Full-width RecoveryBuddy feed dashboard */
.rb-feed-dashboard{--rb-blue:#12396F;--rb-ink:#102a54;--rb-muted:#6d7c95;--rb-line:#e3e9f2;--rb-bg:#f7f9fc;display:grid;grid-template-columns:250px minmax(620px,1fr) 340px;width:100vw;max-width:100vw;min-height:100vh;margin:0;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;background:var(--rb-bg);color:var(--rb-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.rb-feed-dashboard *{box-sizing:border-box}.rb-feed-sidebar{background:#fff;border-right:1px solid var(--rb-line);padding:22px 16px;display:flex;flex-direction:column;gap:10px}.rb-feed-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;margin:0 12px 28px;font-size:17px}.rb-feed-brand span{width:42px;height:42px;border-radius:12px;background:var(--rb-blue);color:#fff;display:grid;place-items:center}.rb-feed-nav-label{font-size:14px;font-weight:800;margin:0 14px 8px}.rb-feed-sidebar nav{display:grid;gap:4px;margin-bottom:15px}.rb-feed-sidebar nav a{display:flex;align-items:center;gap:13px;padding:11px 14px;border-radius:10px;text-decoration:none!important;color:var(--rb-ink)!important;font-weight:650;font-size:14px}.rb-feed-sidebar nav a i{font-style:normal;width:24px;text-align:center;font-size:18px}.rb-feed-sidebar nav a.active,.rb-feed-sidebar nav a:hover{background:var(--rb-blue);color:#fff!important}.rb-feed-streak{margin-top:auto;background:var(--rb-blue);color:#fff;border-radius:16px;padding:20px;text-align:center}.rb-feed-streak>span{font-size:30px}.rb-feed-streak b{display:block;margin:7px 0}.rb-feed-streak p{font-size:12px;line-height:1.5;opacity:.85}.rb-feed-streak a{display:block;background:#fff;color:var(--rb-blue)!important;border-radius:9px;padding:10px;text-decoration:none!important;font-weight:800;font-size:12px}.rb-feed-workspace{min-width:0}.rb-feed-topbar{height:84px;background:#fff;border-bottom:1px solid var(--rb-line);display:flex;align-items:center;gap:14px;padding:0 24px}.rb-feed-topbar>label{height:46px;max-width:430px;flex:1;border:1px solid var(--rb-line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 15px}.rb-feed-topbar>label span{font-size:22px}.rb-feed-topbar input{width:100%;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important}.rb-feed-create{background:var(--rb-blue)!important;color:#fff!important;padding:13px 18px;border-radius:10px;text-decoration:none!important;font-weight:800;white-space:nowrap}.rb-feed-icon{position:relative;font-size:22px;text-decoration:none!important;margin-left:4px}.rb-feed-icon b{position:absolute;right:-8px;top:-8px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#f5223b;color:#fff;font-size:10px}.rb-feed-user{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--rb-ink)!important}.rb-feed-user img,.rb-feed-card img,.rb-feed-person img{border-radius:50%!important;object-fit:cover;aspect-ratio:1/1}.rb-feed-user img{width:46px;height:46px}.rb-feed-user span{display:grid}.rb-feed-user small{font-size:11px;color:var(--rb-muted)}.rb-feed-main{padding:28px 24px}.rb-feed-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.rb-feed-heading h1{font-size:27px;margin:0 0 4px}.rb-feed-heading p{margin:0;color:var(--rb-muted)}.rb-feed-heading select{border:1px solid var(--rb-line);border-radius:10px;padding:11px 16px;background:#fff;color:var(--rb-ink);font-weight:700}.rb-feed-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.rb-feed-stats>div,.rb-feed-card{background:#fff;border:1px solid var(--rb-line);border-radius:14px}.rb-feed-stats>div{display:flex;align-items:center;gap:13px;padding:17px}.rb-feed-stats i{width:48px;height:48px;border-radius:11px;display:grid;place-items:center;background:var(--rb-blue);color:#fff;font-style:normal;font-size:21px}.rb-feed-stats span{display:grid}.rb-feed-stats small{color:var(--rb-muted)}.rb-feed-stats strong{font-size:19px}.rb-feed-card{padding:18px}.rb-compose-card{display:grid;grid-template-columns:48px 1fr;gap:13px;margin-top:16px}.rb-compose-card>img{width:48px;height:48px}.rb-compose-card textarea{width:100%;min-height:74px;border:0!important;outline:0!important;box-shadow:none!important;resize:vertical;background:transparent!important;font-size:15px}.rb-compose-actions{border-top:1px solid #edf1f6;padding-top:12px;display:flex;align-items:center;gap:16px;color:var(--rb-blue);font-size:13px;font-weight:700;flex-wrap:wrap}.rb-compose-actions button{margin-left:auto;background:var(--rb-blue)!important;color:#fff!important;border:0!important;border-radius:9px;padding:10px 22px;font-weight:800}.rb-feed-section-title,.rb-feed-card-head{display:flex;align-items:center;justify-content:space-between}.rb-feed-section-title{margin:22px 0 10px}.rb-feed-section-title h2,.rb-feed-card h3{margin:0;font-size:17px}.rb-feed-section-title button{background:transparent!important;color:var(--rb-blue)!important;border:0!important;font-size:20px}.rb-feed-list{display:grid;gap:14px}.rb-feed-post{display:grid;grid-template-columns:46px 1fr;gap:12px}.rb-feed-post>img{width:46px;height:46px;border-radius:50%!important;object-fit:cover}.rb-feed-post-head{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.rb-feed-post-head span{color:var(--rb-muted);font-size:13px}.rb-feed-post-content{margin-top:7px;line-height:1.55;color:#213653}.rb-feed-post-actions{display:flex;justify-content:space-between;border-top:1px solid #edf1f6;margin-top:14px;padding-top:12px;color:var(--rb-blue);font-weight:700;font-size:13px}.rb-feed-loading{text-align:center;color:var(--rb-muted)}.rb-feed-right{background:#fff;border-left:1px solid var(--rb-line);padding:106px 18px 24px;display:grid;align-content:start;gap:16px}.rb-feed-right .rb-feed-card{margin:0}.rb-mini-calendar h3{font-size:14px;margin-bottom:22px}.rb-cal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.rb-cal-title b{font-size:22px}.rb-cal-week,.rb-cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;text-align:center}.rb-cal-week{font-size:11px;margin-bottom:12px}.rb-cal-days span{height:30px;display:grid;place-items:center;border-radius:8px;font-size:12px}.rb-cal-days span.today{background:var(--rb-blue);color:#fff}.rb-feed-event{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--rb-line);border-radius:12px;margin-top:12px;text-decoration:none!important;color:var(--rb-ink)!important}.rb-feed-event.featured{background:var(--rb-blue);color:#fff!important}.rb-feed-event i{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#edf3fb;color:var(--rb-blue);font-style:normal}.rb-feed-event span{display:grid;flex:1}.rb-feed-event small{opacity:.72;margin-top:3px}.rb-feed-person{display:flex;align-items:center;gap:10px;padding:11px 0;text-decoration:none!important;color:var(--rb-ink)!important}.rb-feed-person img{width:42px;height:42px}.rb-feed-person span{display:grid;flex:1}.rb-feed-person small{color:var(--rb-muted);font-size:11px}.rb-feed-person strong{font-size:20px;color:var(--rb-blue)}.rb-feed-viewall{display:block;text-align:center;margin-top:8px;font-weight:800;text-decoration:none!important}
@media(max-width:1250px){.rb-feed-dashboard{grid-template-columns:88px minmax(0,1fr) 310px}.rb-feed-sidebar{padding-inline:10px}.rb-feed-brand b,.rb-feed-nav-label,.rb-feed-sidebar nav a span,.rb-feed-streak{display:none}.rb-feed-brand{margin:0 auto 24px}.rb-feed-sidebar nav a{justify-content:center}.rb-feed-sidebar nav a i{font-size:21px}.rb-feed-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.rb-feed-dashboard{grid-template-columns:78px minmax(0,1fr)}.rb-feed-right{display:none}.rb-feed-create{display:none}.rb-feed-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.rb-feed-dashboard{display:block}.rb-feed-sidebar{position:fixed;z-index:50;left:0;right:0;bottom:0;height:68px;padding:6px;border:0;border-top:1px solid var(--rb-line)}.rb-feed-brand,.rb-feed-nav-label,.rb-feed-sidebar nav:nth-of-type(2),.rb-feed-streak{display:none}.rb-feed-sidebar nav:first-of-type{display:flex;overflow-x:auto;margin:0}.rb-feed-sidebar nav:first-of-type a{min-width:64px;padding:8px}.rb-feed-sidebar nav:first-of-type a:nth-child(n+6){display:none}.rb-feed-topbar{height:70px;padding:0 12px}.rb-feed-icon{display:none}.rb-feed-user span{display:none}.rb-feed-user img{width:40px;height:40px}.rb-feed-main{padding:18px 12px 86px}.rb-feed-heading p,.rb-feed-heading select{display:none}.rb-feed-heading h1{font-size:23px}.rb-feed-stats{grid-template-columns:1fr 1fr}.rb-feed-stats>div{padding:12px}.rb-feed-stats i{width:42px;height:42px}.rb-compose-actions span:nth-child(n+3){display:none}.rb-feed-post-actions{font-size:12px}.rb-feed-user{margin-left:auto}}

/* Dashboard social statistics and complete navigation */
.rb-dash-social-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 12px 18px;padding:12px 8px;border:1px solid #e6ebf3;border-radius:14px;background:#fff}
.rb-dash-social-stats a{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;text-decoration:none!important;color:#12396F!important;min-width:0}
.rb-dash-social-stats b{font-size:17px;line-height:1.1;color:#12396F}
.rb-dash-social-stats span{font-size:11px;color:#5c6b82;white-space:nowrap}
.rb-dash-community-nav{padding-bottom:12px}
.rb-dash-community-nav a i{font-style:normal;width:24px;text-align:center}
@media(max-width:1050px){.rb-dash-social-stats{margin-inline:7px;padding-inline:4px}.rb-dash-social-stats span{font-size:10px}}

/* RecoveryBuddy pages: preserve the active theme header/footer, hide only the page title,
   and break the plugin application out of boxed content containers to the viewport edges. */
body.rb-app-template .entry-title,
body.rb-app-template .page-title,
body.rb-app-template .wp-block-post-title,
body.rb-app-template .elementor-page-title,
body.rb-app-template .site-main > .page-header,
body.rb-app-template article > header.entry-header,
body.rb-app-template .breadcrumbs,
body.rb-app-template .breadcrumb,
body.rb-app-template .woocommerce-breadcrumb {
  display:none!important;
}

body.rb-app-template article,
body.rb-app-template .entry-content,
body.rb-app-template .page-content {
  max-width:none!important;
  width:100%!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Only the RecoveryBuddy application itself spans the viewport. Theme header/footer stay intact. */
body.rb-app-template .rb-app,
body.rb-app-template .rb-role-dashboard,
body.rb-app-template .rb-feed-dashboard,
body.rb-app-template .rb-social-profile,
body.rb-app-template .rb-profile-app,
body.rb-app-template .rb-dashboard-shell,
body.rb-app-template .recoverybuddy-app,
body.rb-app-template [class^="rb-page-"],
body.rb-app-template [class*=" rb-page-"] {
  position:relative!important;
  left:50%!important;
  right:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  box-sizing:border-box!important;
}

/* Elementor and common theme wrappers may add horizontal padding; the viewport breakout above
   neutralizes their width without removing the site header or footer. */
body.rb-app-template .entry-content > .elementor,
body.rb-app-template .entry-content > .wp-block-group,
body.rb-app-template .entry-content > .wp-block-cover,
body.rb-app-template .entry-content > .wp-block-columns {
  max-width:none!important;
}

body.rb-app-template { overflow-x:clip; }
@supports not (overflow:clip) { body.rb-app-template { overflow-x:hidden; } }

@media (max-width:782px){
  body.rb-app-template .rb-app,
  body.rb-app-template .rb-role-dashboard,
  body.rb-app-template .rb-feed-dashboard,
  body.rb-app-template .rb-social-profile,
  body.rb-app-template .rb-profile-app,
  body.rb-app-template .rb-dashboard-shell,
  body.rb-app-template .recoverybuddy-app,
  body.rb-app-template [class^="rb-page-"],
  body.rb-app-template [class*=" rb-page-"] {
    width:100vw!important;
    max-width:100vw!important;
  }
}

/* v1.3.4 — single-column, full-width RecoveryBuddy application pages.
   Keep the active theme header/footer, but stack plugin navigation above one fluid content column. */
body.rb-app-template .rb-app,
body.rb-app-template .rb-role-dashboard,
body.rb-app-template .rb-feed-dashboard {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100vw!important;
  max-width:100vw!important;
}

/* Standard RecoveryBuddy pages */
body.rb-app-template .rb-app > .rb-side {
  grid-column:1!important;
  width:100%!important;
  border-right:0!important;
  border-bottom:1px solid var(--b)!important;
  padding:10px 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  overflow-x:auto!important;
  position:static!important;
  height:auto!important;
  background:#fff!important;
}
body.rb-app-template .rb-app > .rb-side .rb-logo {
  flex:0 0 auto!important;
  padding:10px 14px!important;
  white-space:nowrap!important;
}
body.rb-app-template .rb-app > .rb-side a {
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:10px 14px!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
body.rb-app-template .rb-app > .rb-main {
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
  border-right:0!important;
}
body.rb-app-template .rb-app > .rb-right {display:none!important;}

/* Role dashboard: navigation becomes a full-width horizontal row above one content column. */
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar {
  grid-column:1!important;
  width:100%!important;
  border-right:0!important;
  border-bottom:1px solid var(--line)!important;
  padding:12px 18px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  overflow-x:auto!important;
  position:static!important;
  height:auto!important;
}
body.rb-app-template .rb-dash-brand {margin:0 12px 0 0!important;flex:0 0 auto!important;}
body.rb-app-template .rb-dash-nav-title,
body.rb-app-template .rb-dash-support {display:none!important;}
body.rb-app-template .rb-dash-sidebar nav {
  display:flex!important;
  flex-direction:row!important;
  gap:5px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
body.rb-app-template .rb-dash-sidebar nav a {
  flex:0 0 auto!important;
  white-space:nowrap!important;
  justify-content:flex-start!important;
}
body.rb-app-template .rb-dash-sidebar nav a span {display:inline!important;font-size:13px!important;}
body.rb-app-template .rb-role-dashboard > .rb-dash-workspace {
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
}
body.rb-app-template .rb-role-dashboard > .rb-dash-right {display:none!important;}
body.rb-app-template .rb-dash-main {width:100%!important;max-width:none!important;}
body.rb-app-template .rb-dash-middle {grid-template-columns:minmax(0,1fr)!important;}

/* Feed dashboard: keep feed navigation, but stack it above one fluid feed column. */
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar {
  grid-column:1!important;
  width:100%!important;
  border-right:0!important;
  border-bottom:1px solid var(--rb-line)!important;
  padding:12px 18px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  overflow-x:auto!important;
  position:static!important;
  height:auto!important;
}
body.rb-app-template .rb-feed-brand {margin:0 12px 0 0!important;flex:0 0 auto!important;}
body.rb-app-template .rb-feed-nav-label,
body.rb-app-template .rb-feed-streak {display:none!important;}
body.rb-app-template .rb-feed-sidebar nav {
  display:flex!important;
  flex-direction:row!important;
  gap:5px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
body.rb-app-template .rb-feed-sidebar nav a {
  flex:0 0 auto!important;
  min-width:auto!important;
  white-space:nowrap!important;
  justify-content:flex-start!important;
}
body.rb-app-template .rb-feed-sidebar nav a span {display:inline!important;font-size:13px!important;}
body.rb-app-template .rb-feed-dashboard > .rb-feed-workspace {
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
}
body.rb-app-template .rb-feed-dashboard > .rb-feed-right {display:none!important;}
body.rb-app-template .rb-feed-main {width:100%!important;max-width:none!important;}

/* Prevent any internal two-column content areas from recreating a split-page layout. */
body.rb-app-template .rb-grid2,
body.rb-app-template .rb-cards,
body.rb-app-template .rb-dash-middle {
  grid-template-columns:minmax(0,1fr)!important;
}

@media(max-width:700px){
  body.rb-app-template .rb-app > .rb-side,
  body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
  body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar {
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    height:auto!important;
    padding:8px 10px!important;
  }
  body.rb-app-template .rb-app > .rb-main,
  body.rb-app-template .rb-dash-main,
  body.rb-app-template .rb-feed-main {padding-bottom:24px!important;}
}


/* 1.3.5 — remove plugin branding from all front-end application pages. */
body.rb-app-template .rb-logo,
body.rb-app-template .rb-brand,
body.rb-app-template .rb-brand img,
body.rb-app-template .rb-dash-brand,
body.rb-app-template .rb-feed-brand,
body.rb-app-template img[src*="recoverybuddy-logo"] {
  display:none!important;
}

/* The shared horizontal scrolling navigation has zero vertical padding. */
body.rb-app-template .rb-app > .rb-side,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar {
  padding-top:0!important;
  padding-bottom:0!important;
}
body.rb-app-template .rb-app > .rb-side,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar,
body.rb-app-template .rb-dash-sidebar nav,
body.rb-app-template .rb-feed-sidebar nav {
  margin-top:0!important;
  margin-bottom:0!important;
}

@media(max-width:700px){
  body.rb-app-template .rb-app > .rb-side,
  body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
  body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar {
    padding-top:0!important;
    padding-bottom:0!important;
  }
}

/* 1.3.6 — hard reset: the horizontal scrolling menu begins at the very top edge. */
body.rb-app-template .rb-app,
body.rb-app-template .rb-role-dashboard,
body.rb-app-template .rb-feed-dashboard,
body.rb-app-template .rb-app > .rb-side,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar,
body.rb-app-template .rb-dash-sidebar nav,
body.rb-app-template .rb-feed-sidebar nav,
body.rb-app-template .rb-app > .rb-side nav,
body.rb-app-template .rb-dash-community-nav {
  margin-top:0!important;
  padding-top:0!important;
}
body.rb-app-template .rb-app > .rb-side,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar {
  inset-block-start:auto!important;
  border-top:0!important;
  row-gap:0!important;
}
body.rb-app-template .rb-app > .rb-side > :first-child,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > :first-child,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar > :first-child,
body.rb-app-template .rb-dash-sidebar nav > :first-child,
body.rb-app-template .rb-feed-sidebar nav > :first-child {
  margin-top:0!important;
}
body.rb-app-template .entry-content > .rb-app:first-child,
body.rb-app-template .entry-content > .rb-role-dashboard:first-child,
body.rb-app-template .entry-content > .rb-feed-dashboard:first-child,
body.rb-app-template .page-content > .rb-app:first-child,
body.rb-app-template .page-content > .rb-role-dashboard:first-child,
body.rb-app-template .page-content > .rb-feed-dashboard:first-child {
  margin-top:0!important;
  padding-top:0!important;
}

/* 1.3.7 — top scrolling navigation uses RecoveryBuddy navy buttons. */
body.rb-app-template .rb-app > .rb-side nav a,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a,
body.rb-app-template .rb-dash-community-nav a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 16px!important;
  margin:0!important;
  border:1px solid #12396F!important;
  border-radius:10px!important;
  background:#12396F!important;
  color:#fff!important;
  font-weight:800!important;
  line-height:1.1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  transition:background-color .18s ease, border-color .18s ease, transform .18s ease!important;
}
body.rb-app-template .rb-app > .rb-side nav a *,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a *,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a *,
body.rb-app-template .rb-dash-community-nav a * {
  color:#fff!important;
}
body.rb-app-template .rb-app > .rb-side nav a:hover,
body.rb-app-template .rb-app > .rb-side nav a:focus,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a:hover,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a:focus,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a:hover,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a:focus,
body.rb-app-template .rb-dash-community-nav a:hover,
body.rb-app-template .rb-dash-community-nav a:focus {
  background:#0E2F5A!important;
  border-color:#0E2F5A!important;
  color:#fff!important;
  transform:translateY(-1px);
}
body.rb-app-template .rb-app > .rb-side nav a.active,
body.rb-app-template .rb-app > .rb-side nav a[aria-current="page"],
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a.active,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav a[aria-current="page"],
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a.active,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav a[aria-current="page"],
body.rb-app-template .rb-dash-community-nav a.active,
body.rb-app-template .rb-dash-community-nav a[aria-current="page"] {
  background:#0A274A!important;
  border-color:#0A274A!important;
  color:#fff!important;
  box-shadow:0 3px 10px rgba(18,57,111,.22)!important;
}
body.rb-app-template .rb-app > .rb-side nav,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar nav,
body.rb-app-template .rb-feed-dashboard > .rb-feed-sidebar nav,
body.rb-app-template .rb-dash-community-nav {
  gap:8px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* 1.3.8 — one shared dashboard-style menu across all RecoveryBuddy pages. */
body.rb-app-template .rb-shared-dashboard-menu {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:#fff!important;
  border-bottom:1px solid var(--rb-line, #e6eaf0)!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
body.rb-app-template .rb-shared-social-stats {
  flex:0 0 auto!important;
  display:flex!important;
  align-items:stretch!important;
  margin:0!important;
  padding:0!important;
  border-right:1px solid var(--rb-line, #e6eaf0)!important;
}
body.rb-app-template .rb-shared-social-stats a {
  min-width:74px!important;
  padding:5px 10px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  color:#12396F!important;
  text-decoration:none!important;
  background:#fff!important;
}
body.rb-app-template .rb-shared-social-stats b {font-size:15px!important;line-height:1!important;color:#12396F!important;}
body.rb-app-template .rb-shared-social-stats span {font-size:11px!important;line-height:1.2!important;color:#12396F!important;margin-top:3px!important;}
body.rb-app-template .rb-shared-dashboard-menu nav {
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  min-height:52px!important;
}
body.rb-app-template .rb-shared-dashboard-menu nav a {
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:42px!important;
  padding:10px 16px!important;
  margin:0!important;
  border:1px solid #12396F!important;
  border-radius:10px!important;
  background:#12396F!important;
  color:#fff!important;
  font-weight:800!important;
  line-height:1.1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.rb-app-template .rb-shared-dashboard-menu nav a *,
body.rb-app-template .rb-shared-dashboard-menu nav a i,
body.rb-app-template .rb-shared-dashboard-menu nav a span {color:#fff!important;}
body.rb-app-template .rb-shared-dashboard-menu nav a:hover,
body.rb-app-template .rb-shared-dashboard-menu nav a:focus {background:#0E2F5A!important;border-color:#0E2F5A!important;color:#fff!important;}
body.rb-app-template .rb-shared-dashboard-menu nav a.active,
body.rb-app-template .rb-shared-dashboard-menu nav a[aria-current="page"] {background:#0A274A!important;border-color:#0A274A!important;color:#fff!important;box-shadow:0 3px 10px rgba(18,57,111,.22)!important;}
body.rb-app-template .rb-standard-page {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
body.rb-app-template .rb-standard-page > .rb-main {width:100%!important;max-width:none!important;margin:0!important;}
/* Feed uses the shared menu; remove its former duplicate navigation row. */
body.rb-app-template .rb-feed-dashboard.rb-use-shared-menu > .rb-feed-sidebar {display:none!important;}
body.rb-app-template .rb-feed-dashboard.rb-use-shared-menu {grid-template-columns:minmax(0,1fr)!important;}
body.rb-app-template .rb-feed-dashboard.rb-use-shared-menu > .rb-feed-workspace {grid-column:1!important;}
/* Profile keeps its useful profile/contact panel, but removes its duplicate page navigation. */
body.rb-app-template .rb-social-profile.rb-use-shared-menu .rb-profile-nav {display:none!important;}
@media(max-width:700px){
 body.rb-app-template .rb-shared-dashboard-menu {gap:6px!important;padding:0!important;}
 body.rb-app-template .rb-shared-social-stats a {min-width:64px!important;padding:4px 7px!important;}
 body.rb-app-template .rb-shared-dashboard-menu nav {padding:0!important;}
 body.rb-app-template .rb-shared-dashboard-menu nav a {padding:9px 13px!important;min-height:40px!important;}
}

/* 1.3.9 — dashboard-only social counters: prevent Posts/Supporters/Supporting overlap. */
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats {
  flex:0 0 240px!important;
  width:240px!important;
  min-width:240px!important;
  max-width:240px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:4px!important;
  margin:0!important;
  padding:5px!important;
  overflow:hidden!important;
}
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats a {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:5px 2px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  overflow:hidden!important;
  white-space:normal!important;
  line-height:1.1!important;
}
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats b,
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats span {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats b {
  font-size:16px!important;
  line-height:1!important;
}
body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats span {
  font-size:10px!important;
  line-height:1.15!important;
}
@media(max-width:700px){
  body.rb-app-template .rb-role-dashboard > .rb-dash-sidebar > .rb-dash-social-stats {
    display:none!important;
  }
}

/* 1.4.1 — global RecoveryBuddy button branding on every plugin page. */
body.rb-app-template :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .rb-btn,
  .rb-button,
  .rb-primary-btn,
  .rb-create-post,
  .rb-edit-btn,
  .rb-more-btn,
  .wp-element-button,
  [role="button"]
) {
  background-color:#12396F!important;
  background-image:none!important;
  border-color:#12396F!important;
  color:#FFFFFF!important;
  font-weight:900!important;
  text-shadow:none!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.rb-app-template :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .rb-btn,
  .rb-button,
  .rb-primary-btn,
  .rb-create-post,
  .rb-edit-btn,
  .rb-more-btn,
  .wp-element-button,
  [role="button"]
) :is(span,strong,b,i,svg) {
  color:#FFFFFF!important;
  fill:currentColor!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.rb-app-template :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .rb-btn,
  .rb-button,
  .rb-primary-btn,
  .rb-create-post,
  .rb-edit-btn,
  .rb-more-btn,
  .wp-element-button,
  [role="button"]
):is(:hover,:focus,:active) {
  background-color:#0E2F5A!important;
  border-color:#0E2F5A!important;
  color:#FFFFFF!important;
  font-weight:900!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.rb-app-template :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .rb-btn,
  .rb-button,
  .rb-primary-btn,
  .rb-create-post,
  .rb-edit-btn,
  .rb-more-btn,
  .wp-element-button,
  [role="button"]
):disabled,
body.rb-app-template :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .rb-btn,
  .rb-button,
  .rb-primary-btn,
  .rb-create-post,
  .rb-edit-btn,
  .rb-more-btn,
  .wp-element-button,
  [role="button"]
)[aria-disabled="true"] {
  background-color:#12396F!important;
  border-color:#12396F!important;
  color:#FFFFFF!important;
  font-weight:900!important;
  opacity:.55;
}


/* 1.4.2 — Support terminology action controls. */
.rb-person-row button[aria-label="Support"]{min-width:78px;width:auto;padding:9px 14px!important;white-space:nowrap}
.rb-feed-person>strong{min-width:78px;width:auto;padding:9px 14px!important;border-radius:10px;background:#12396F!important;color:#fff!important;font-weight:900!important;text-align:center}

/* Profile image uploads */
.rb-profile-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0 18px}
.rb-profile-upload-field{display:flex!important;flex-direction:column;gap:9px;font-weight:800}
.rb-profile-upload-field>span{color:#12396F;font-weight:900}
.rb-profile-upload-field input[type=file]{width:100%;padding:10px;border:1px solid #d7deea;border-radius:10px;background:#fff}
.rb-profile-upload-field small{font-weight:500;color:#65758b;line-height:1.4}
.rb-upload-preview{display:block;background:#edf2f7 center/cover no-repeat;border:2px solid #e3e8ef}
.rb-avatar-preview{width:112px!important;height:112px!important;border-radius:50%!important;object-fit:cover!important}
.rb-banner-preview{width:100%;height:130px;border-radius:12px}
.rb-remove-image{display:flex!important;align-items:center;gap:8px;font-size:13px;font-weight:700!important;color:#32445c}
.rb-remove-image input{width:auto!important;margin:0!important}
@media(max-width:720px){.rb-profile-upload-grid{grid-template-columns:1fr}.rb-banner-preview{height:110px}}
/* RecoveryBuddy profile publishing and role */
.rb-profile-role{display:inline-flex;margin-top:7px;padding:5px 11px;border-radius:999px;background:#eef3fa;color:#12396F;font-size:13px;font-weight:900}
.rb-profile-publishers{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px 20px;border-top:1px solid #e8edf4}
.rb-profile-publisher{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;box-shadow:0 4px 16px rgba(15,23,42,.05)}
.rb-profile-publisher h3{margin:0 0 10px}.rb-profile-publisher textarea,.rb-profile-publisher input[type=text]{width:100%;box-sizing:border-box;border:1px solid #d6deea;border-radius:10px;padding:11px;margin-bottom:10px}
.rb-profile-publisher textarea{min-height:90px;resize:vertical}.rb-profile-publisher>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.rb-media-picker{font-weight:800;color:#12396F;cursor:pointer}.rb-media-picker input{display:block;margin-top:6px;max-width:220px;font-weight:500;color:#334155}
.rb-profile-publisher button{background:#12396F!important;color:#fff!important;font-weight:900!important}
.rb-story-icon img{width:100%;height:100%;border-radius:50%;object-fit:cover}
@media(max-width:800px){.rb-profile-publishers{grid-template-columns:1fr}}

/* 1.5.2 — Current and upcoming meetings directory */
.rb-meetings-page{width:100%;display:block}
.rb-meetings-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.rb-meetings-intro h2{margin:0 0 6px;font-size:clamp(24px,3vw,36px);color:#132238}
.rb-meetings-intro p{margin:0;color:#64748b}
.rb-meeting-search{min-width:min(100%,320px)}
.rb-meeting-search input{width:100%;border:1px solid #d7dfeb;border-radius:12px;padding:12px 14px;background:#fff}
.rb-meeting-tabs{display:flex;gap:8px;overflow-x:auto;padding:0!important;margin:0 0 18px!important;scrollbar-width:thin}
.rb-meeting-tab{flex:0 0 auto;background:#12396F!important;color:#fff!important;font-weight:900!important;border:0!important;border-radius:10px!important;padding:11px 18px!important}
.rb-meeting-tab.is-active{background:#0A274A!important;box-shadow:0 4px 14px rgba(18,57,111,.22)}
.rb-meeting-section{margin:0 0 24px}
.rb-meeting-section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.rb-meeting-section-head h3{margin:0;font-size:20px;color:#132238}
.rb-meeting-section-head span{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:999px;background:#eaf0f8;color:#12396F;font-weight:900}
.rb-meeting-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.rb-meeting-card{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(240px,1.4fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid #e3e9f2;border-radius:16px;padding:18px;box-shadow:0 7px 24px rgba(15,23,42,.06)}
.rb-meeting-time{display:flex;flex-direction:column;gap:5px}.rb-meeting-time strong{color:#12396F;font-weight:900}.rb-meeting-time small{color:#64748b}
.rb-meeting-info>div{display:flex;gap:7px;flex-wrap:wrap}.rb-meeting-info h3{margin:8px 0 5px;color:#172033}.rb-meeting-info p{margin:0;color:#64748b}
.rb-meeting-badge,.rb-meeting-private{display:inline-flex;border-radius:999px;padding:5px 9px;background:#edf2f8;color:#12396F;font-size:12px;font-weight:900}.rb-meeting-badge.live{background:#12396F;color:#fff}
.rb-meeting-join{white-space:nowrap;text-align:center}.rb-meeting-empty{grid-column:1/-1;padding:28px;border:1px dashed #cdd7e5;border-radius:14px;background:#f8fafc;color:#64748b;text-align:center;font-weight:700}
.rb-meeting-create{margin-top:20px}.rb-meeting-create>summary{cursor:pointer;color:#12396F;font-weight:900;list-style:none}.rb-meeting-create>summary::-webkit-details-marker{display:none}.rb-meeting-create[open]>summary{margin-bottom:14px}
@media(max-width:850px){.rb-meeting-card{grid-template-columns:1fr}.rb-meeting-join{width:100%}.rb-meetings-intro{align-items:stretch;flex-direction:column}.rb-meeting-search{min-width:0;width:100%}}

/* Personalized recovery plan and private journal */
.rb-personal-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;width:100%}
.rb-personal-tools .rb-form{display:grid;gap:16px}
.rb-personal-tools .rb-form label{display:grid;gap:8px;font-weight:800;color:#172033}
.rb-personal-tools input,.rb-personal-tools textarea,.rb-personal-tools select{width:100%;box-sizing:border-box;border:1px solid #d8e0ea;border-radius:10px;padding:12px 14px;background:#fff;color:#172033}
.rb-form-actions,.rb-item-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.rb-saved-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px 0;border-bottom:1px solid #e8edf3}
.rb-saved-item:last-child{border-bottom:0}
.rb-saved-item h3{margin:0 0 4px}.rb-saved-item small{color:#6b7280}.rb-saved-content{margin-top:12px;line-height:1.65;white-space:normal}
#rb-plan-status,#rb-journal-status{font-weight:800;color:#12396F}
@media(max-width:700px){.rb-saved-item{grid-template-columns:1fr}.rb-item-actions{justify-content:flex-start}}

/* Peer Recovery Coach directory */
.rb-coach-directory{width:100%;display:grid;gap:24px}
.rb-coach-directory-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;border-radius:18px;background:#12396F;color:#fff}
.rb-coach-directory-hero>div{max-width:850px}.rb-coach-directory-hero h2{margin:4px 0 12px;color:#fff;font-size:clamp(30px,4vw,46px);line-height:1.12;font-weight:900}.rb-coach-directory-hero p{margin:0;color:rgba(255,255,255,.9);font-size:17px;line-height:1.65}.rb-coach-directory-hero .rb-eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#fff}.rb-coach-directory-hero .rb-coach-join{flex:0 0 auto;background:#fff!important;color:#12396F!important;border-color:#fff!important;max-width:260px;text-align:center}
.rb-coach-search{display:flex;gap:10px;align-items:center}.rb-coach-search label{flex:1}.rb-coach-search input{width:100%;height:50px;border:1px solid #d8e0ea;border-radius:12px;padding:0 16px;background:#fff}.rb-coach-directory-summary{font-size:14px;color:#5b6678}.rb-coach-directory-summary strong{font-size:18px;color:#12396F}
.rb-coach-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.rb-coach-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e1e7ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(18,57,111,.08)}.rb-coach-avatar{position:relative;display:block;align-self:center;margin-top:24px}.rb-coach-avatar img{display:block;width:128px!important;height:128px!important;border-radius:50%!important;object-fit:cover;border:5px solid #fff;box-shadow:0 5px 18px rgba(18,57,111,.18)}.rb-coach-verified{position:absolute;right:5px;bottom:7px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#12396F;color:#fff;border:3px solid #fff;font-size:13px;font-weight:900}.rb-coach-card-body{display:flex;flex:1;flex-direction:column;padding:18px 20px 14px;text-align:center}.rb-coach-card h3{margin:0 0 3px;font-size:20px}.rb-coach-card h3 a{color:#12396F!important;text-decoration:none}.rb-coach-username{font-size:13px;color:#697386}.rb-coach-role{display:inline-flex;align-self:center;margin:10px 0 6px;border-radius:999px;padding:6px 10px;background:#eaf0f8;color:#12396F;font-size:12px;font-weight:900}.rb-coach-location{font-size:13px;color:#5d6878}.rb-coach-card p{margin:14px 0;color:#4c5768;line-height:1.55}.rb-coach-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid #edf0f4;color:#667085;font-size:12px}.rb-coach-meta b{display:block;color:#172033;font-size:16px}.rb-coach-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px 18px}.rb-coach-actions>*:last-child{grid-column:1/-1}.rb-coach-actions a,.rb-coach-actions button{min-height:42px;display:flex;align-items:center;justify-content:center;text-align:center}.rb-coach-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.rb-coach-pagination a{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#12396F;color:#fff!important;font-weight:900;text-decoration:none}.rb-coach-pagination a.active{outline:3px solid rgba(18,57,111,.25);outline-offset:2px}.rb-empty-state{text-align:center;padding:48px 24px}
@media(max-width:1200px){.rb-coach-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.rb-coach-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-coach-directory-hero{align-items:flex-start;flex-direction:column}.rb-coach-directory-hero .rb-coach-join{max-width:none}}
@media(max-width:600px){.rb-coach-grid{grid-template-columns:1fr}.rb-coach-search{align-items:stretch;flex-direction:column}.rb-coach-directory-hero{padding:24px}.rb-coach-actions{grid-template-columns:1fr}.rb-coach-actions>*{grid-column:1!important}}


/* 1.5.5 — My Peer Recovery Coach */
.rb-my-coaches{display:grid;gap:24px;width:100%}.rb-my-coaches-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px}.rb-my-coaches-intro h2{margin:4px 0 8px;color:#172033;font-size:clamp(26px,3vw,38px)}.rb-my-coaches-intro p{margin:0;color:#64748b;max-width:780px}.rb-add-coach.is-added{background:#0A274A!important}.rb-coach-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-coach-actions .rb-add-coach{grid-column:1/-1}.rb-coach-actions>*:last-child{grid-column:1/-1}@media(max-width:700px){.rb-my-coaches-intro{align-items:flex-start;flex-direction:column}.rb-my-coaches-intro .rb-btn{width:100%;text-align:center}.rb-coach-actions{grid-template-columns:1fr}.rb-coach-actions>*{grid-column:1!important}}


/* 1.5.6 — Required Terms acceptance and mobile-first hardening */
.rb-terms-consent{
 display:flex!important;
 align-items:flex-start;
 gap:10px;
 margin:16px 0!important;
 padding:14px;
 border:1px solid #d8e0ea;
 border-radius:12px;
 background:#f8fafc;
 color:#172033;
 font-size:13px;
 line-height:1.55;
 font-weight:900!important;
}
.rb-terms-consent input[type="checkbox"]{
 flex:0 0 auto;
 width:20px!important;
 height:20px!important;
 margin:1px 0 0!important;
 accent-color:#12396F;
}
.rb-terms-consent span{min-width:0}
.rb-terms-consent a{color:#12396F!important;font-weight:900!important;text-decoration:underline;text-underline-offset:2px}

/* Prevent any RecoveryBuddy component from creating horizontal page overflow. */
.rb-standard-page,.rb-app,.rb-social-profile,.rb-auth,.rb-main,.rb-card,.rb-panel,
.rb-dashboard-shell,.rb-dashboard-main,.rb-feed-shell,.rb-feed-main,.rb-personal-tools,
.rb-meetings-page,.rb-coach-directory,.rb-my-coaches{min-width:0;max-width:100%;box-sizing:border-box}
.rb-standard-page *,.rb-app *,.rb-social-profile *,.rb-auth *{box-sizing:border-box}
.rb-standard-page img,.rb-app img,.rb-social-profile img,.rb-auth img{max-width:100%;height:auto}
.rb-standard-page input,.rb-standard-page select,.rb-standard-page textarea,
.rb-app input,.rb-app select,.rb-app textarea,.rb-auth input,.rb-auth select,.rb-auth textarea{max-width:100%}
.rb-shared-dashboard-menu nav,.rb-meeting-tabs,.rb-profile-tabs{scrollbar-width:thin;-webkit-overflow-scrolling:touch}

@media (max-width: 782px){
 body.rb-fullwidth-page{width:100%;overflow-x:hidden}
 body.rb-fullwidth-page .rb-elementor-page-heading{padding-left:12px!important;padding-right:12px!important}
 .rb-auth{width:calc(100% - 20px)!important;max-width:none!important;margin-top:10px!important;margin-bottom:20px!important;padding:18px!important;border-radius:14px}
 .rb-auth h1{font-size:clamp(24px,8vw,34px);line-height:1.15}
 .rb-form,.rb-grid2,.rb-grid3,.rb-cards{grid-template-columns:1fr!important}
 .rb-form button,.rb-form .rb-btn,.rb-auth button,.rb-auth .rb-btn{width:100%;min-height:48px}
 .rb-terms-consent{font-size:12px;padding:12px}
 .rb-shared-dashboard-menu{width:100%;overflow:hidden}
 .rb-shared-dashboard-menu nav{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap;padding:0!important;margin:0!important;gap:7px}
 .rb-shared-dashboard-menu nav a{flex:0 0 auto;min-height:44px;padding:10px 14px!important}
 .rb-shared-social-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
 .rb-shared-social-stats a{min-width:0!important;padding:9px 4px!important;text-align:center}
 .rb-shared-social-stats span{font-size:11px;white-space:normal;overflow-wrap:anywhere}
 .rb-main>header{position:relative;top:auto;padding:12px!important}
 .rb-card,.rb-panel{margin:10px 0!important;padding:14px!important;border-radius:13px}
 .rb-dashboard-grid,.rb-dashboard-stats,.rb-feed-stats,.rb-feed-layout,.rb-profile-publishers{grid-template-columns:1fr!important}
 .rb-meeting-list,.rb-coach-grid{grid-template-columns:1fr!important}
 .rb-meeting-card{grid-template-columns:1fr!important;padding:14px!important}
 .rb-coach-directory-hero{padding:20px!important;border-radius:14px}
 .rb-coach-directory-hero h2{font-size:29px!important}
 .rb-coach-actions{grid-template-columns:1fr!important}
 .rb-coach-actions>*{grid-column:1!important;width:100%}
 .rb-modal{padding:10px}.rb-modal-dialog{padding:20px 16px;border-radius:14px;max-height:94vh}
 #rb-jitsi-container{min-height:65vh}
 table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

@media (max-width: 420px){
 .rb-auth{width:calc(100% - 12px)!important;padding:14px!important}
 .rb-terms-consent{gap:8px;font-size:11px}
 .rb-shared-dashboard-menu nav a{padding:9px 12px!important;font-size:12px}
 .rb-profile-actions,.rb-form-actions,.rb-item-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
 .rb-profile-actions>* ,.rb-form-actions>* ,.rb-item-actions>*{width:100%!important;text-align:center}
}

/* Fish Audio voice responses */
.rb-ai-audio{display:block;width:100%;margin-top:14px;accent-color:#12396F}
.rb-voice-error{margin-top:10px;padding:10px 12px;border-radius:8px;background:#fff4f4;color:#8a1f1f;font-weight:700}


/* RecoveryBuddy v1.7.0: clear input boundaries and Deepgram voice controls */
.rb-app-template .rb-standard-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
.rb-app-template .rb-standard-page textarea,
.rb-app-template .rb-standard-page select,
.rb-app-template .rb-role-dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
.rb-app-template .rb-role-dashboard textarea,
.rb-app-template .rb-role-dashboard select,
.rb-app-template .rb-feed-app textarea,
.rb-app-template .rb-feed-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){border:2px solid #12396F!important;background:#fff!important;box-shadow:none!important;outline-offset:2px!important;border-radius:10px!important;}
.rb-app-template input:focus,.rb-app-template textarea:focus,.rb-app-template select:focus{border-color:#12396F!important;box-shadow:0 0 0 3px rgba(18,57,111,.16)!important;outline:none!important;}
.rb-stt-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 12px}.rb-stt-button{min-height:42px}.rb-stt-button.is-recording{animation:rb-stt-pulse 1.25s infinite}.rb-stt-status{font-weight:700;color:#12396F}.rb-stt-unavailable{display:block;margin:6px 0 10px;color:#6b7280}.rb-latest-community{width:100%}.rb-latest-community-intro{margin-bottom:18px}.rb-latest-community-intro h2{margin:6px 0 8px}.rb-latest-community-intro .rb-btn{display:inline-flex;margin-top:8px}@keyframes rb-stt-pulse{50%{box-shadow:0 0 0 7px rgba(18,57,111,.18)}}
@media(max-width:600px){.rb-stt-controls{align-items:stretch}.rb-stt-button{width:100%}.rb-stt-status{width:100%;text-align:center}.rb-latest-community-intro .rb-btn{width:100%;justify-content:center}}


/* Education Center */
.rb-education-center{display:grid;gap:24px;width:100%}
.rb-education-intro{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.rb-education-intro h2,.rb-education-intro p{flex-basis:100%;margin:0}
.rb-education-sections{display:grid;gap:24px}
.rb-education-category{display:grid;gap:20px}
.rb-education-category-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.rb-education-category-head h2{margin:0 0 8px}
.rb-education-category-head p{margin:0;max-width:850px}
.rb-education-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.rb-education-lesson{background:#fff;border:1px solid #d9e1ec;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.rb-education-image{display:block;aspect-ratio:16/9;overflow:hidden}
.rb-education-image img{width:100%;height:100%;object-fit:cover;display:block}
.rb-education-lesson-body{padding:18px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:12px}
.rb-education-lesson-body h3,.rb-education-lesson-body p{margin:0}
.rb-education-lesson-body .rb-btn{margin-top:auto}
.rb-education-empty{padding:20px;border:1px dashed #9badc4;border-radius:12px;background:#f7f9fc}
@media(max-width:1000px){.rb-education-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.rb-education-grid{grid-template-columns:1fr}.rb-education-category-head{flex-direction:column}.rb-education-intro .rb-btn,.rb-education-category-head .rb-btn{width:100%;justify-content:center}}
\n\n/* Dashboard owner horizontal profile card — reference-image inspired */
.rb-dashboard-owner-card{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:24px;
 width:min(100%,1050px);
 min-height:158px;
 margin-left:auto;
 margin-right:auto;
 padding:26px 30px;
 box-sizing:border-box;
 border:1px solid #e9eef5;
 border-radius:22px;
 background:#fff;
 box-shadow:0 10px 32px rgba(15,23,42,.08);
 color:#101a38;
}
.rb-dashboard-owner-avatar{
 display:block;
 flex:0 0 106px;
 width:106px;
 height:106px;
 overflow:hidden;
 border-radius:50%!important;
 line-height:0;
 text-decoration:none!important;
 border:5px solid #fff;
 background:#edf6ff;
 box-shadow:0 0 0 1px #e5edf7,0 8px 22px rgba(18,57,111,.12);
 box-sizing:border-box;
}
.rb-dashboard-owner-avatar img{
 width:100%!important;
 height:100%!important;
 aspect-ratio:1/1;
 display:block;
 object-fit:cover!important;
 object-position:center center!important;
 border-radius:50%!important;
 border:0!important;
 margin:0!important;
 padding:0!important;
 background:#edf6ff;
}
.rb-dashboard-owner-info{
 min-width:0;
 display:flex;
 flex:1 1 auto;
 flex-direction:column;
 align-items:flex-start;
 justify-content:center;
 gap:6px;
}
.rb-dashboard-owner-role{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:32px;
 padding:5px 14px;
 border:0;
 border-radius:4px;
 background:#eef7ff;
 color:#12396f!important;
 font-size:12px;
 font-weight:800;
 line-height:1.1;
 letter-spacing:.03em;
 text-transform:uppercase;
}
.rb-dashboard-owner-name{
 width:max-content;
 max-width:100%;
 margin-top:2px;
 color:#101a38!important;
 font-size:25px;
 font-weight:900;
 line-height:1.15;
 text-decoration:none!important;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.rb-dashboard-owner-name:hover{color:#12396f!important}
.rb-dashboard-owner-username{
 max-width:100%;
 color:#6d7385!important;
 font-size:15px;
 font-weight:600;
 line-height:1.35;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.rb-dashboard-owner-actions{
 display:flex;
 align-items:center;
 gap:12px;
 flex:0 0 auto;
}
.rb-dashboard-owner-message-link,.rb-dashboard-owner-profile-link{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:132px;
 min-height:50px;
 padding:0 20px;
 box-sizing:border-box;
 border-radius:14px;
 font-size:14px;
 font-weight:900;
 line-height:1;
 text-align:center;
 text-decoration:none!important;
 transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease;
}
.rb-dashboard-owner-message-link{
 border:2px solid #12396f;
 background:#fff;
 color:#12396f!important;
}
.rb-dashboard-owner-profile-link{
 border:2px solid #12396f;
 background:#12396f;
 color:#fff!important;
 box-shadow:0 8px 18px rgba(18,57,111,.18);
}
.rb-dashboard-owner-message-link:hover,.rb-dashboard-owner-profile-link:hover{
 transform:translateY(-2px);
 box-shadow:0 10px 22px rgba(18,57,111,.18);
}
.rb-dashboard-owner-message-link:hover{background:#f2f7fc}
.rb-dashboard-owner-profile-link:hover{background:#12396f;color:#fff!important}
.rb-dashboard-owner-profile-link:focus-visible,.rb-dashboard-owner-message-link:focus-visible,.rb-dashboard-owner-name:focus-visible,.rb-dashboard-owner-avatar:focus-visible{outline:3px solid rgba(18,57,111,.25);outline-offset:4px;border-radius:12px}
@media(max-width:820px){
 .rb-dashboard-owner-card{gap:18px;padding:22px}
 .rb-dashboard-owner-avatar{flex-basis:88px;width:88px;height:88px}
 .rb-dashboard-owner-avatar img{width:100%!important;height:100%!important}
 .rb-dashboard-owner-name{font-size:22px}
 .rb-dashboard-owner-actions{flex-direction:column;align-items:stretch}
 .rb-dashboard-owner-message-link,.rb-dashboard-owner-profile-link{min-width:116px;min-height:44px;padding:0 15px}
}
@media(max-width:600px){
 .rb-dashboard-owner-card{align-items:center;gap:15px;padding:20px 16px;flex-wrap:wrap;border-radius:18px}
 .rb-dashboard-owner-avatar{flex-basis:76px;width:76px;height:76px}
 .rb-dashboard-owner-avatar img{width:100%!important;height:100%!important}
 .rb-dashboard-owner-info{width:calc(100% - 96px)}
 .rb-dashboard-owner-role{min-height:28px;padding:4px 10px;font-size:10px}
 .rb-dashboard-owner-name{font-size:20px}
 .rb-dashboard-owner-username{font-size:13px}
 .rb-dashboard-owner-actions{width:100%;flex-direction:row;gap:10px}
 .rb-dashboard-owner-message-link,.rb-dashboard-owner-profile-link{flex:1 1 0;min-width:0;min-height:46px}
}
@media(max-width:390px){
 .rb-dashboard-owner-actions{flex-direction:column}
 .rb-dashboard-owner-message-link,.rb-dashboard-owner-profile-link{width:100%}
}


/* v1.8.5 — center dashboard owner profile image and identity text within card */
.rb-dashboard-owner-card{
 flex-direction:column!important;
 justify-content:center!important;
 align-items:center!important;
 text-align:center!important;
}
.rb-dashboard-owner-avatar{
 margin-left:auto!important;
 margin-right:auto!important;
}
.rb-dashboard-owner-info{
 flex:0 1 auto!important;
 width:100%!important;
 align-items:center!important;
 justify-content:center!important;
 text-align:center!important;
}
.rb-dashboard-owner-role,.rb-dashboard-owner-name,.rb-dashboard-owner-username{
 margin-left:auto!important;
 margin-right:auto!important;
 text-align:center!important;
}
.rb-dashboard-owner-actions{
 justify-content:center!important;
 width:100%;
}
@media(max-width:600px){
 .rb-dashboard-owner-card{flex-direction:column!important;flex-wrap:nowrap!important}
 .rb-dashboard-owner-info{width:100%!important;align-items:center!important;text-align:center!important}
 .rb-dashboard-owner-actions{justify-content:center!important}
}

/* Recovery Network social dashboard — v1.8.6 */
.rb-network-app{--rbn-blue:#12396f;--rbn-ink:#09265c;--rbn-muted:#6d7a96;--rbn-line:#dfe6f1;--rbn-bg:#f7f9fc;width:100%;max-width:1800px;margin:0 auto;background:var(--rbn-bg);color:var(--rbn-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:grid;grid-template-columns:120px minmax(0,1fr);min-height:900px}.rb-network-app *{box-sizing:border-box}.rb-network-rail{background:#fff;padding:96px 18px 30px;border-right:1px solid #edf1f7}.rb-network-rail nav{display:grid;gap:20px;position:sticky;top:90px}.rb-network-rail nav a{display:grid;justify-items:center;gap:7px;text-decoration:none!important;color:var(--rbn-ink)!important;font-size:13px;font-weight:700}.rb-network-rail nav a i{font-style:normal;width:54px;height:54px;display:grid;place-items:center;border-radius:11px;font-size:27px}.rb-network-rail nav a.active i,.rb-network-rail nav a:hover i{background:linear-gradient(145deg,#1760aa,#12396f);color:#fff;box-shadow:0 7px 18px rgba(18,57,111,.18)}.rb-network-shell{min-width:0}.rb-network-topbar{height:88px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #edf1f7;gap:24px}.rb-network-search{width:min(520px,46%);height:54px;display:flex;align-items:center;gap:12px;border:1px solid #cfd9e7;border-radius:8px;padding:0 16px;background:#fff}.rb-network-search span{font-size:29px;font-weight:800}.rb-network-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;font-size:17px;color:var(--rbn-ink)}.rb-network-top-actions{display:flex;align-items:center;gap:25px}.rb-network-top-actions>a:not(.rb-network-user){font-size:27px;color:var(--rbn-ink)!important;text-decoration:none!important}.rb-network-user{display:flex;align-items:center;gap:9px;text-decoration:none!important;color:var(--rbn-ink)!important}.rb-network-user img{width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important}.rb-network-user b{font-size:16px}.rb-network-grid{display:grid;grid-template-columns:minmax(330px,420px) minmax(560px,1fr) minmax(280px,360px);gap:30px;padding:32px 30px 40px}.rb-network-block{min-width:0}.rb-network-section-head{display:flex;align-items:center;justify-content:space-between;margin:0 12px 14px}.rb-network-section-head h2{margin:0;color:var(--rbn-ink);font-size:28px;line-height:1.1}.rb-network-section-head a{color:#0669ff!important;text-decoration:none!important;font-weight:700;font-size:14px}.rb-network-card{background:#fff;border:1px solid #eef2f7;border-radius:13px;box-shadow:0 8px 26px rgba(18,57,111,.045)}.rb-network-leftcol,.rb-network-centercol,.rb-network-rightcol{display:grid;align-content:start;gap:30px}.rb-network-request{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:19px 20px}.rb-network-request-border{border-top:1px solid var(--rbn-line)}.rb-network-request>img{width:70px!important;height:70px!important;border-radius:50%!important;object-fit:cover!important}.rb-network-request-main{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:start}.rb-network-request-main>div:first-child{display:grid}.rb-network-request-main a{text-decoration:none!important;color:var(--rbn-ink)!important}.rb-network-request-main b{font-size:18px}.rb-network-request-main small{font-size:14px;color:var(--rbn-muted);margin-top:5px}.rb-network-time{font-size:13px;color:var(--rbn-muted);white-space:nowrap}.rb-network-time i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#3fc08b;margin-right:7px}.rb-network-request-actions{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:10px}.rb-network-request-actions button,.rb-network-request-actions a{height:43px!important;border-radius:9px!important;border:0!important;display:grid!important;place-items:center!important;font-weight:800!important;font-size:15px!important}.rb-network-request-actions button{background:#12396f!important;color:#fff!important;cursor:pointer}.rb-network-request-actions a{background:#12396f!important;color:#fff!important}.rb-network-request-actions button:disabled{opacity:.65}.rb-network-event{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:20px;text-decoration:none!important;color:var(--rbn-ink)!important}.rb-network-event+.rb-network-event{border-top:1px solid var(--rbn-line)}.rb-network-event>i{font-style:normal;font-size:25px}.rb-network-event span{display:grid}.rb-network-event small{color:var(--rbn-muted);margin-top:5px}.rb-network-event strong{background:#12396f;color:#fff;border-radius:9px;padding:11px 16px}.rb-network-story-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rb-network-story{height:245px;border-radius:10px;overflow:hidden;position:relative;background:#12396f;display:block;text-decoration:none!important}.rb-network-story>img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}.rb-network-story:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(2,15,43,.76))}.rb-network-story>b{position:absolute;z-index:3;left:18px;bottom:18px;color:#fff;font-size:17px;line-height:1.2}.rb-network-create-story .rb-story-plus{position:absolute;z-index:4;left:18px;bottom:46px;width:48px;height:48px;background:#1673ef;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:38px;line-height:1}.rb-story-avatar{position:absolute;z-index:4;left:16px;bottom:48px;width:54px;height:54px;border-radius:50%;border:3px solid #fff;overflow:hidden}.rb-story-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.rb-network-compose{background:#fff;border:1px solid var(--rbn-line);border-radius:12px;min-height:92px;padding:17px;display:grid;grid-template-columns:52px 1fr auto auto;gap:12px;align-items:center}.rb-network-compose>img{width:52px!important;height:52px!important;border-radius:50%!important;object-fit:cover!important}.rb-network-compose textarea{min-height:44px!important;height:44px!important;resize:none!important;border:0!important;box-shadow:none!important;outline:0!important;padding:10px 0!important;font-size:16px!important;background:transparent!important}.rb-network-compose-icons{display:flex;align-items:center;gap:15px;font-size:23px}.rb-network-compose>button{background:#12396f!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:11px 18px!important;font-weight:800!important}.rb-network-feed-list{display:grid;gap:18px;margin-top:18px}.rb-network-feed-list .rb-feed-card{background:#fff;border:1px solid var(--rbn-line);border-radius:13px;padding:18px;box-shadow:0 8px 26px rgba(18,57,111,.04)}.rb-network-feed-list .rb-feed-card>img{width:54px!important;height:54px!important}.rb-network-feed-list .rb-feed-post-content{color:var(--rbn-ink);line-height:1.55}.rb-network-feed-list .rb-feed-post-actions{border-top:1px solid var(--rbn-line);margin-top:14px;padding-top:11px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center;color:var(--rbn-ink)}.rb-network-contact-card{padding:13px 18px}.rb-network-contact{display:flex;align-items:center;gap:14px;padding:10px 0;text-decoration:none!important;color:var(--rbn-ink)!important}.rb-network-contact img{width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover!important}.rb-network-contact span{display:grid}.rb-network-contact b{font-size:17px}.rb-network-contact small{margin-top:6px;color:var(--rbn-muted);font-size:13px}.rb-network-contact small i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px}.rb-network-contact small i.online{background:#3fc08b}.rb-network-contact small i.offline{background:#a9b2c3}.rb-network-empty,.rb-network-loading{padding:22px;color:var(--rbn-muted)}
@media(max-width:1350px){.rb-network-grid{grid-template-columns:340px minmax(0,1fr)}.rb-network-rightcol{grid-column:1/-1}.rb-network-contact-card{display:grid;grid-template-columns:repeat(3,1fr);gap:0 25px}.rb-network-story{height:220px}}
@media(max-width:980px){.rb-network-app{grid-template-columns:1fr}.rb-network-rail{padding:8px 12px;border-right:0;border-bottom:1px solid #edf1f7}.rb-network-rail nav{position:static;display:flex;overflow-x:auto;gap:6px}.rb-network-rail nav a{min-width:74px}.rb-network-rail nav a i{width:42px;height:42px;font-size:21px}.rb-network-grid{grid-template-columns:1fr}.rb-network-rightcol{grid-column:auto}.rb-network-leftcol{grid-template-columns:1fr 1fr;gap:20px}.rb-network-topbar{padding:0 18px}.rb-network-search{width:45%}.rb-network-user b{display:none}.rb-network-contact-card{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.rb-network-topbar{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 14px}.rb-network-search{order:2;width:100%;height:46px}.rb-network-top-actions{margin-left:auto;gap:15px}.rb-network-top-actions>a:not(.rb-network-user){font-size:22px}.rb-network-user img{width:40px!important;height:40px!important}.rb-network-grid{padding:20px 12px;gap:22px}.rb-network-leftcol{grid-template-columns:1fr}.rb-network-section-head h2{font-size:23px}.rb-network-story-row{grid-template-columns:repeat(3,78vw);overflow-x:auto;scroll-snap-type:x mandatory}.rb-network-story{height:220px;scroll-snap-align:start}.rb-network-compose{grid-template-columns:44px 1fr auto}.rb-network-compose>img{width:44px!important;height:44px!important}.rb-network-compose-icons{grid-column:2/-1;justify-content:flex-end}.rb-network-contact-card{grid-template-columns:1fr}.rb-network-request{grid-template-columns:58px 1fr}.rb-network-request>img{width:58px!important;height:58px!important}.rb-network-request-main{grid-template-columns:1fr}.rb-network-time{grid-row:2}.rb-network-request-actions{grid-column:1/-1}.rb-network-feed-list .rb-feed-post-actions{grid-template-columns:repeat(2,1fr)}}

/* Find People directory — v1.8.7 */
.rb-find-people-app{--rbp:#12396f;--rbp-deep:#082453;--rbp-ink:#071b49;--rbp-muted:#61708e;--rbp-line:#e6edf6;--rbp-bg:#f7faff;display:grid;grid-template-columns:82px minmax(0,1fr);min-height:760px;background:var(--rbp-bg);color:var(--rbp-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;width:100%;max-width:none;margin:0}
.rb-find-people-rail{background:#fff;border-right:1px solid var(--rbp-line);min-height:100%;display:flex;flex-direction:column;align-items:center}.rb-find-people-rail nav{width:100%;display:grid;gap:4px;padding:22px 0;position:sticky;top:0}.rb-find-people-rail nav a{min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#66738a!important;text-decoration:none!important;border-radius:0;font-size:11px;font-weight:700}.rb-find-people-rail nav a i{font-style:normal;font-size:25px;line-height:1}.rb-find-people-rail nav a.active{background:linear-gradient(145deg,#0d4f9c,#12396f);color:#fff!important;box-shadow:0 8px 20px rgba(18,57,111,.2)}
.rb-find-people-shell{min-width:0}.rb-find-people-topbar{height:86px;background:#fff;border-bottom:1px solid var(--rbp-line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:24px}.rb-find-people-topsearch{width:min(560px,48%);height:54px;border:1px solid #ced9e8;border-radius:7px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 15px}.rb-find-people-topsearch span{font-size:27px;font-weight:800;color:var(--rbp)}.rb-find-people-topsearch input{width:100%!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:17px!important;color:var(--rbp-ink)!important;padding:0!important}.rb-find-people-top-actions{display:flex;align-items:center;gap:22px}.rb-find-people-top-actions>a:not(.rb-find-people-user){font-size:25px;color:var(--rbp)!important;text-decoration:none!important}.rb-find-people-user{display:flex;align-items:center;gap:10px;color:var(--rbp-ink)!important;text-decoration:none!important}.rb-find-people-user>img{width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important}.rb-find-people-user>span{display:grid}.rb-find-people-user b{font-size:15px}.rb-find-people-user small{font-size:12px;color:var(--rbp-muted);margin-top:2px}.rb-find-people-user i{font-style:normal;font-size:17px;color:var(--rbp-muted)}
.rb-find-people-main{padding:34px 34px 48px}.rb-find-people-heading{display:grid;grid-template-columns:68px minmax(220px,1fr) auto auto;align-items:center;gap:22px;margin-bottom:24px}.rb-find-people-title-icon{width:62px;height:62px;border-radius:6px;display:grid;place-items:center;background:linear-gradient(145deg,#0d4f9c,#12396f);color:#fff;font-size:30px;box-shadow:0 8px 18px rgba(18,57,111,.18)}.rb-find-people-heading h1{margin:0!important;font-size:30px!important;line-height:1.1!important;color:var(--rbp-ink)!important;font-weight:800!important}.rb-find-people-heading p{margin:7px 0 0!important;color:var(--rbp-muted);font-size:14px}.rb-find-people-viewicons{display:flex;gap:14px;font-size:28px;color:#6e7c94}.rb-find-people-viewicons .active{color:var(--rbp)}.rb-find-people-tabs{display:flex;align-items:center;border:1px solid #d8e1ee;border-radius:30px;overflow:hidden;background:#fff}.rb-find-people-tabs a{min-width:115px;padding:13px 21px;text-align:center;text-decoration:none!important;color:#5c6a83!important;font-weight:700}.rb-find-people-tabs a.active{background:linear-gradient(135deg,#0f4d96,#12396f);color:#fff!important}
.rb-find-people-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--rbp-line);border-radius:10px;padding:15px 18px;margin-bottom:24px;box-shadow:0 7px 22px rgba(18,57,111,.035)}.rb-find-people-filters label{display:grid;gap:5px;min-width:205px}.rb-find-people-filters label span{font-size:12px;font-weight:800;color:var(--rbp-muted);text-transform:uppercase;letter-spacing:.05em}.rb-find-people-filters select{height:43px!important;border:1px solid #ccd7e7!important;border-radius:7px!important;background:#fff!important;color:var(--rbp-ink)!important;padding:0 36px 0 12px!important;box-shadow:none!important}.rb-find-people-filters button,.rb-find-people-filters>a{height:43px!important;border-radius:7px!important;padding:0 19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-weight:800!important}.rb-find-people-filters button{background:var(--rbp)!important;color:#fff!important;border:0!important}.rb-find-people-filters>a{background:#fff!important;color:var(--rbp)!important;border:1px solid var(--rbp)!important}
.rb-find-people-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:22px}.rb-find-person-card{background:#fff;border:1px solid #edf1f7;border-radius:8px;min-height:340px;padding:17px 20px 18px;box-shadow:0 10px 30px rgba(18,57,111,.045);display:flex;flex-direction:column;align-items:center;position:relative;transition:transform .18s ease,box-shadow .18s ease}.rb-find-person-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(18,57,111,.09)}.rb-find-person-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;color:#60708a}.rb-find-person-heart{font-size:29px;line-height:1;color:#64738b}.rb-find-person-heart.active{color:#0e559f}.rb-find-person-more{font-weight:900;letter-spacing:2px;font-size:17px}.rb-find-person-avatar{display:block;width:132px;height:132px;border-radius:50%;overflow:hidden;margin:5px auto 17px;background:#edf3f9}.rb-find-person-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:50%!important;display:block!important}.rb-find-person-meta{text-align:center;display:grid;justify-items:center}.rb-find-person-name{color:var(--rbp-ink)!important;text-decoration:none!important;font-size:20px!important;font-weight:800!important;line-height:1.2}.rb-find-person-username{margin-top:7px;color:#647390;font-size:14px}.rb-find-person-role{margin-top:8px;color:#53627c;font-size:13px;font-weight:700}.rb-find-person-actions{margin-top:auto;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:18px}.rb-find-person-actions>a,.rb-find-person-actions>button{min-height:44px!important;border-radius:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-decoration:none!important;font-weight:800!important;font-size:14px!important}.rb-find-person-profile{background:var(--rbp)!important;color:#fff!important;border:1px solid var(--rbp)!important}.rb-find-person-support{background:#fff!important;color:var(--rbp)!important;border:1px solid var(--rbp)!important;cursor:pointer}.rb-find-person-support.is-connected,.rb-find-person-support:disabled{background:#edf3f9!important;color:#62728b!important;border-color:#d9e2ee!important;cursor:default;opacity:1!important}.rb-find-people-empty{background:#fff;border:1px solid var(--rbp-line);border-radius:10px;padding:55px 25px;text-align:center}.rb-find-people-empty h2{margin:0 0 8px;color:var(--rbp-ink)}.rb-find-people-empty p{color:var(--rbp-muted)}.rb-find-people-empty a{display:inline-flex;margin-top:10px;background:var(--rbp);color:#fff!important;text-decoration:none!important;border-radius:7px;padding:11px 18px;font-weight:800}.rb-find-people-pagination{display:flex;justify-content:center;gap:8px;margin-top:28px}.rb-find-people-pagination a{width:40px;height:40px;border-radius:7px;border:1px solid #d6e0ed;background:#fff;color:var(--rbp)!important;text-decoration:none!important;display:grid;place-items:center;font-weight:800}.rb-find-people-pagination a.active{background:var(--rbp);color:#fff!important;border-color:var(--rbp)}
@media(max-width:1300px){.rb-find-people-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}
@media(max-width:980px){.rb-find-people-app{grid-template-columns:1fr}.rb-find-people-rail{min-height:0;border-right:0;border-bottom:1px solid var(--rbp-line);display:block}.rb-find-people-rail nav{position:static;display:flex;overflow-x:auto;padding:8px 10px;gap:6px}.rb-find-people-rail nav a{min-width:84px;min-height:60px;border-radius:8px}.rb-find-people-heading{grid-template-columns:60px 1fr auto}.rb-find-people-tabs{grid-column:1/-1;justify-self:start}.rb-find-people-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.rb-find-people-topbar{padding:0 18px}.rb-find-people-topsearch{width:48%}.rb-find-people-user>span{display:none}}
@media(max-width:650px){.rb-find-people-topbar{height:auto;min-height:82px;padding:12px 14px;flex-wrap:wrap}.rb-find-people-topsearch{width:100%;order:2;height:46px}.rb-find-people-top-actions{margin-left:auto}.rb-find-people-main{padding:20px 12px 35px}.rb-find-people-heading{grid-template-columns:52px 1fr;gap:12px}.rb-find-people-title-icon{width:50px;height:50px;font-size:24px}.rb-find-people-heading h1{font-size:25px!important}.rb-find-people-viewicons{display:none}.rb-find-people-tabs{width:100%}.rb-find-people-tabs a{flex:1;min-width:0}.rb-find-people-filters{align-items:stretch}.rb-find-people-filters label{min-width:100%;width:100%}.rb-find-people-filters button,.rb-find-people-filters>a{flex:1}.rb-find-people-grid{grid-template-columns:1fr;gap:14px}.rb-find-person-card{min-height:320px}.rb-find-person-avatar{width:120px;height:120px}.rb-find-people-user>img{width:42px!important;height:42px!important}.rb-find-people-top-actions>a:not(.rb-find-people-user){font-size:22px}}



/* Elementor owns its page/container widths. RecoveryBuddy only sizes its own
   component when embedded in an Elementor document or editor preview. */
body.rb-elementor-host :is(.rb-app,.rb-role-dashboard,.rb-feed-dashboard,.rb-social-profile,.rb-network-app,.rb-find-people-app,.rb-standard-page){
 width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}

/* v1.9.4 — one reliable dashboard menu in normal and Elementor layouts. */
.rb-role-dashboard.rb-use-shared-menu{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important}
.rb-role-dashboard.rb-use-shared-menu>.rb-dash-sidebar,.rb-role-dashboard.rb-use-shared-menu>.rb-dash-right{display:none!important}
.rb-role-dashboard.rb-use-shared-menu>.rb-dash-workspace{grid-column:1!important;width:100%!important;min-width:0!important}
.rb-feed-dashboard.rb-use-shared-menu{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important}
.rb-feed-dashboard.rb-use-shared-menu>.rb-feed-sidebar,.rb-feed-dashboard.rb-use-shared-menu>.rb-feed-right{display:none!important}
.rb-feed-dashboard.rb-use-shared-menu>.rb-feed-workspace{grid-column:1!important;width:100%!important;min-width:0!important}
.rb-social-profile.rb-use-shared-menu .rb-profile-nav{display:none!important}
.rb-shared-dashboard-menu{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:stretch!important;background:#fff!important;border-bottom:1px solid #e3e9f2!important;overflow:hidden!important;box-sizing:border-box!important}
.rb-shared-dashboard-menu .rb-shared-social-stats{display:grid!important;grid-template-columns:repeat(3,minmax(62px,1fr))!important;margin:0!important;padding:0!important;border:0!important;border-right:1px solid #e3e9f2!important;background:#fff!important}
.rb-shared-dashboard-menu .rb-shared-social-stats a{min-width:0!important;padding:6px 8px!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;color:#12396f!important;background:#fff!important}
.rb-shared-dashboard-menu .rb-shared-social-stats b{font-size:15px!important;line-height:1!important;color:#12396f!important}
.rb-shared-dashboard-menu .rb-shared-social-stats span{font-size:10px!important;line-height:1.2!important;margin-top:3px!important;color:#12396f!important}
.rb-shared-dashboard-menu>nav{min-width:0!important;display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:6px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important;scroll-behavior:smooth!important}
.rb-shared-dashboard-menu>nav>a{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:42px!important;padding:9px 14px!important;margin:0!important;border:1px solid #12396f!important;border-radius:9px!important;background:#12396f!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.1!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important}
.rb-shared-dashboard-menu>nav>a :is(i,span){color:#fff!important}
.rb-shared-dashboard-menu>nav>a:is(:hover,:focus){background:#0e2f5a!important;border-color:#0e2f5a!important;color:#fff!important}
.rb-shared-dashboard-menu>nav>a.active,.rb-shared-dashboard-menu>nav>a[aria-current="page"]{background:#fff!important;border-color:#12396f!important;color:#12396f!important;box-shadow:inset 0 -3px #12396f!important}
.rb-shared-dashboard-menu>nav>a.active :is(i,span),.rb-shared-dashboard-menu>nav>a[aria-current="page"] :is(i,span){color:#12396f!important}
@media(max-width:700px){.rb-shared-dashboard-menu{grid-template-columns:1fr!important}.rb-shared-dashboard-menu .rb-shared-social-stats{border-right:0!important;border-bottom:1px solid #e3e9f2!important}.rb-shared-dashboard-menu>nav{padding:6px!important}.rb-shared-dashboard-menu>nav>a{display:inline-flex!important;min-height:40px!important;padding:8px 12px!important;font-size:12px!important}.rb-role-dashboard.rb-use-shared-menu .rb-dash-main{padding-bottom:24px!important}}


/* v1.9.0 — production UI for messaging, notifications, groups, search, favorites, and account settings. */
.rb-messages-layout{display:grid;grid-template-columns:minmax(230px,320px) minmax(0,1fr);gap:20px;min-height:520px}.rb-messages-layout>aside{border-right:1px solid #e4eaf2;padding-right:16px}.rb-message-thread-link{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border-radius:10px;text-decoration:none!important;color:#1f2a3d!important}.rb-message-thread-link:hover,.rb-message-thread-link.active{background:#f0f5fb}.rb-message-thread-link img,.rb-message-thread-head img{width:46px!important;height:46px!important;border-radius:50%!important;object-fit:cover}.rb-message-thread-link span{min-width:0;display:grid}.rb-message-thread-link small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6c7890}.rb-message-thread-link i{min-width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#12396f;color:#fff;font-style:normal;font-size:12px}.rb-message-thread-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e4eaf2;margin-bottom:14px}.rb-message-bubble{width:max-content;max-width:min(80%,680px);padding:11px 14px;border-radius:14px;margin:9px 0;background:#f0f3f7;color:#1d2939}.rb-message-bubble.mine{margin-left:auto;background:#12396f;color:#fff}.rb-message-bubble small{display:block;margin-top:6px;opacity:.7;font-size:11px}.rb-messages-layout main .rb-form{margin-top:18px}.rb-notification-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e8edf4}.rb-notification-item:last-child{border-bottom:0}.rb-notification-item.unread{border-left:3px solid #12396f;padding-left:12px}.rb-notification-item h3,.rb-notification-item p{margin:0 0 5px}.rb-notification-item small{color:#738096}.rb-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rb-community-card{display:flex;flex-direction:column;gap:10px}.rb-community-card>img{width:100%!important;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.rb-community-card .rb-btn{margin-top:auto;align-self:flex-start}.rb-search-form{display:flex;gap:10px}.rb-search-form input{flex:1;min-width:0}.rb-search-results{display:grid;gap:12px;margin-top:20px}.rb-search-person{display:flex!important;align-items:center;gap:12px;text-decoration:none!important;color:inherit!important}.rb-search-person img{width:56px!important;height:56px!important;object-fit:cover;border-radius:50%!important}.rb-search-person span{display:grid}.rb-search-person small{color:#718096}.rb-bookmark-toggle{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:0}.rb-bookmark-toggle.saved{color:#12396f;font-weight:700}.rb-bookmark-toggle:disabled{opacity:.6;cursor:wait}.rb-bookmarks-page #rb-bookmark-list{display:grid;gap:14px;margin-top:18px}.rb-account-settings{max-width:760px}.rb-account-settings .rb-form>label{padding:8px 0}.rb-account-settings input[type=checkbox]{width:auto;margin-right:8px}
@media(max-width:900px){.rb-messages-layout{grid-template-columns:1fr}.rb-messages-layout>aside{border-right:0;border-bottom:1px solid #e4eaf2;padding-right:0;padding-bottom:16px}.rb-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rb-community-grid{grid-template-columns:1fr}.rb-search-form{display:grid}.rb-notification-item{align-items:flex-start;flex-direction:column}.rb-message-bubble{max-width:90%}}


/* v1.9.1 — mobile hardening: 320px+ phones, tablets, safe areas, no horizontal page drift. */
.rb-app,.rb-social-profile,.rb-profile-v2,.rb-role-dashboard,.rb-feed-dashboard,.rb-network-app,.rb-find-people-app,
.rb-shell,.rb-content,.rb-main,.rb-dashboard-main,.rb-network-shell,.rb-find-people-shell{min-width:0;max-width:100%}
.rb-app img,.rb-social-profile img,.rb-role-dashboard img,.rb-feed-dashboard img,.rb-network-app img,.rb-find-people-app img,
.rb-shell img,.rb-content img{max-width:100%;height:auto}
.rb-app video,.rb-app iframe,.rb-social-profile video,.rb-social-profile iframe,.rb-network-app video,.rb-network-app iframe,
.rb-find-people-app video,.rb-find-people-app iframe{max-width:100%}
.rb-app table,.rb-role-dashboard table,.rb-feed-dashboard table,.rb-network-app table,.rb-find-people-app table{max-width:100%}
.rb-table-wrap,.rb-dash-table,.rb-feed-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.rb-app input,.rb-app select,.rb-app textarea,.rb-app button,
.rb-social-profile input,.rb-social-profile select,.rb-social-profile textarea,.rb-social-profile button,
.rb-role-dashboard input,.rb-role-dashboard select,.rb-role-dashboard textarea,.rb-role-dashboard button,
.rb-feed-dashboard input,.rb-feed-dashboard select,.rb-feed-dashboard textarea,.rb-feed-dashboard button,
.rb-network-app input,.rb-network-app select,.rb-network-app textarea,.rb-network-app button,
.rb-find-people-app input,.rb-find-people-app select,.rb-find-people-app textarea,.rb-find-people-app button{max-width:100%;box-sizing:border-box}

@media(max-width:700px){
  html,body{overflow-x:hidden}
  body.rb-fullwidth-page{overflow-x:hidden}
  .rb-auth{width:calc(100% - 24px)!important;max-width:none!important;margin:16px 12px!important;padding:20px 16px!important;box-sizing:border-box}
  .rb-btn,.rb-outline,.rb-primary-btn,.rb-edit-btn,.rb-find-person-actions>a,.rb-find-person-actions>button{min-height:44px}
  .rb-form input,.rb-form select,.rb-form textarea,.rb-compose textarea,.rb-searchbox input,.rb-network-search input,.rb-find-people-topsearch input{font-size:16px!important}
  .rb-profile-actions,.rb-network-request-actions,.rb-coach-actions,.rb-item-actions{flex-wrap:wrap}
  .rb-profile-actions>*{max-width:100%}
  .rb-profile-meta{overflow-wrap:anywhere}
  .rb-post,.rb-message-thread-link,.rb-network-request{min-width:0}
  .rb-post>*,.rb-message-thread-link>*,.rb-network-request>*{min-width:0}
  #rb-jitsi-container{min-height:70vh!important;height:70vh!important}
  .rb-dash-sidebar,.rb-feed-sidebar{padding-bottom:max(6px,env(safe-area-inset-bottom))!important}
  .rb-dash-main,.rb-feed-main{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  .rb-network-rail nav,.rb-find-people-rail nav{scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .rb-network-rail nav::-webkit-scrollbar,.rb-find-people-rail nav::-webkit-scrollbar{display:none}
  .rb-find-person-actions{grid-template-columns:1fr!important}
  .rb-find-people-filters button,.rb-find-people-filters>a{width:100%;flex:none!important}
  .rb-search-form .rb-btn,.rb-search-form button{width:100%}
  .rb-notification-item .rb-btn{width:100%;text-align:center}
  .rb-community-card .rb-btn{width:100%;text-align:center}
  .rb-messages-layout{min-height:0}
  .rb-message-bubble{max-width:92%;overflow-wrap:anywhere;word-break:break-word}
}

@media(max-width:480px){
  .rb-network-grid,.rb-find-people-main,.rb-dash-main,.rb-feed-main{padding-left:10px!important;padding-right:10px!important}
  .rb-network-top-actions,.rb-find-people-top-actions{gap:10px}
  .rb-network-story-row{grid-template-columns:repeat(3,84vw)}
  .rb-profile-copy h1,.rb-network-section-head h2,.rb-find-people-heading h1{overflow-wrap:anywhere}
  .rb-tabs,.rb-profile-tabs,.rb-find-people-tabs{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .rb-find-people-tabs a{white-space:nowrap;min-width:120px}
  .rb-mini-stats,.rb-feed-stats{min-width:0}
}

@media(max-width:360px){
  .rb-network-top-actions>a:not(.rb-network-user),.rb-find-people-top-actions>a:not(.rb-find-people-user){display:none}
  .rb-network-user img,.rb-find-people-user>img{width:38px!important;height:38px!important}
  .rb-network-grid,.rb-find-people-main,.rb-dash-main,.rb-feed-main{padding-left:8px!important;padding-right:8px!important}
  .rb-find-person-card{padding-left:14px;padding-right:14px}
}
