/* Community pages use compact social panels. Ordinary news and the consent wizard keep their layout. */
body.rd-community-route{--blue:#2a5885;--blue-dark:#224b73;--ink:#222;--muted:#626d7a;--line:#dce1e6;--soft:#f2f3f5;--page:#edeef0;--radius:10px;background:#edeef0;color:#222;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body.rd-community-route .button{min-height:36px;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:500;line-height:1.4;box-shadow:none}
body.rd-community-route .button-blue{background:#3b71ac;border-color:#3b71ac;color:#fff}body.rd-community-route .button-blue:hover{background:#376ba6}
body.rd-community-route .button-outline{background:#eef2f6;color:#2a5885;border-color:transparent}body.rd-community-route .button-outline:hover{background:#e4eaf0}
body.rd-community-route .text-button{min-height:32px;font-size:13px;font-weight:500}.rd-community-route input,.rd-community-route select,.rd-community-route textarea{font-family:inherit}
/* Account controls injected by the portal remain the same nodes and keep their actions. */
body.rd-community-route .site-header{display:flex;align-items:center;gap:10px;min-height:60px;padding:0 max(20px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid #dce1e6}
body.rd-community-route .header-inner{width:auto;min-width:0;min-height:60px;flex:1;margin:0;gap:18px}
body.rd-community-route .brand{font-size:27px;gap:7px}body.rd-community-route .brand img{width:32px;height:32px}
body.rd-community-route .portal-nav{font-size:13px;font-weight:500;gap:4px;margin-left:auto;margin-right:8px}
body.rd-community-route .portal-nav>a,body.rd-community-route .city-menu summary{min-height:36px;padding:8px 11px;border-radius:6px}
body.rd-community-route .portal-current{background:#f2f3f5}
body.rd-community-route #rd-account-menu{position:relative;display:block;flex:0 0 auto;margin:0;font:500 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#2a5885}
body.rd-community-route #rd-account-menu>summary{min-height:36px;padding:8px 14px;border:0;border-radius:8px;background:#eef2f6;white-space:nowrap}
body.rd-community-route #rd-account-menu .rd-account-panel{top:calc(100% + 8px);width:290px;padding:14px;border:1px solid #dce1e6;border-radius:10px;box-shadow:0 8px 24px #00000016}
body.rd-community-route #rd-account-menu .rd-account-link,body.rd-community-route #rd-account-menu button,body.rd-community-route #rd-account-menu .rdc-header-profile-link{display:flex!important;align-items:center;justify-content:flex-start;gap:7px;min-height:40px;width:100%;max-width:none;margin:6px 0;padding:9px 10px;border:0;border-radius:6px;background:#f2f3f5;color:#2a5885!important;text-align:left;font:500 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;white-space:normal}
body.rd-community-route #rd-account-menu .rdc-header-profile-link span{max-width:none;white-space:normal}
body.rd-community-route #rd-admin-entry{flex:0 0 auto;min-height:36px;width:auto;max-width:none;margin:0;padding:8px 12px;border-radius:8px;font-size:13px;white-space:nowrap}
body.rd-community-route .site-header:has(#rd-account-menu .rd-account-link[href="/admin/company-management/"])>#rd-admin-entry{display:none!important}
/* Community shell: navigation, a wide profile header, then wall and information. */
body.rd-community-route .social-shell.is-community{width:min(1180px,calc(100% - 40px));max-width:1180px;grid-template-columns:164px minmax(0,1fr);gap:20px;margin:18px auto 40px}
body.rd-community-route .left-sticky{top:78px}body.rd-community-route .community-label{display:none}
body.rd-community-route .nav-item{min-height:36px;padding:8px 10px;gap:10px;border-radius:7px;font-size:13px;font-weight:500;color:#2a5885}
body.rd-community-route .nav-item.is-current{background:#e2e6ea}.rd-community-route .nav-item .icon{width:20px;height:20px}
body.rd-community-route .feed-nav{gap:2px}.rd-community-route .sidebar-footer{font-size:11px;margin:20px 10px;gap:5px 10px}
body.rd-community-route .privacy-nav-button,body.rd-community-route .moderation-button{font-size:12px;min-height:34px;padding:7px 9px;font-weight:400}
body.rd-community-route .sidebar-account{padding:16px 5px 0;margin-top:16px}.rd-community-route .sidebar-account strong{font-size:12px}.rd-community-route .sidebar-account p{font-size:11px}
body.rd-community-route .community-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:16px;align-items:start}.community-content-primary{min-width:0}
body.rd-community-route .card{border-radius:10px;border:1px solid #dce1e6;box-shadow:none}
body.rd-community-route .post{padding:16px 20px 0}.rd-community-route .feed{gap:12px}.rd-community-route .post-author-name{font-size:13px;font-weight:600}.rd-community-route .post-meta{font-size:12px;color:#626d7a}.rd-community-route .post .avatar{width:40px;height:40px}
body.rd-community-route .post-body{font-size:14px;line-height:1.55;margin-top:14px}.rd-community-route .post-tags{margin-top:12px}.rd-community-route .tag{border-radius:5px;font-size:11px}.rd-community-route .post-actions{margin-top:12px;padding:8px 0}.rd-community-route .post-action{font-size:12px;padding:8px 10px;border-radius:8px}.rd-community-route .post-action .icon{width:20px;height:20px}.rd-community-route .recommendation-reason{font-size:11px}
body.rd-community-route .feed-toolbar{margin:0 0 12px;padding:15px 20px;background:#fff;border:1px solid #dce1e6;border-radius:10px}.rd-community-route .feed-toolbar h2{font-size:16px;font-weight:600;color:#222}.rd-community-route .feed-toolbar p{display:none}.rd-community-route .mobile-settings{display:none}.rd-community-route .feed-notice{font-size:12px;margin:0 0 12px}
body.rd-community-route .state-panel{border:1px solid #dce1e6;border-radius:10px;padding:32px 22px}.rd-community-route .state-panel h3{font-size:17px}.rd-community-route .state-panel p{font-size:13px}.rd-community-route .comments{background:#fafbfc;padding:16px 20px}.rd-community-route .comment-text{font-size:13px}.rd-community-route .comment-author{font-size:12px}.rd-community-route .comment-form textarea{font-size:13px;border-radius:8px}
/* Shared real cover and circular avatar; the manager preview reuses these classes. */
.rdc-visual{position:relative;height:248px;background:linear-gradient(115deg,#d3e3f4,#b5cce5);isolation:isolate}.rdc-visual.is-compact{height:160px}.rdc-visual[data-accent=violet]{background:linear-gradient(115deg,#e5def1,#c7bada)}.rdc-visual[data-accent=green]{background:linear-gradient(115deg,#d9eae3,#b3d0c2)}.rdc-visual[data-accent=amber]{background:linear-gradient(115deg,#f1e5c8,#dfc98f)}.rdc-visual[data-accent=rose]{background:linear-gradient(115deg,#f2dde5,#dfb9c9)}
.rdc-visual-orbit{position:absolute;width:350px;height:350px;border:50px solid #ffffff27;border-radius:50%;right:7%;top:-135px}.rdc-visual-orbit:after{content:'';position:absolute;width:70px;height:70px;border-radius:50%;background:#ffffff22;right:-70px;bottom:-20px}
.rdc-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.rdc-avatar{position:absolute;bottom:-48px;left:24px;width:120px;height:120px;border:4px solid #fff;border-radius:50%;background:#e7edf4;display:flex;align-items:center;justify-content:center;color:#2a5885;font-size:42px;font-weight:600;z-index:1;overflow:hidden}.rdc-avatar img{width:100%;height:100%;object-fit:cover}.rdc-visual.is-compact .rdc-avatar{width:84px;height:84px;bottom:-32px;border-radius:50%;font-size:30px}
.business-community.rdc-profile{padding:0;overflow:hidden;margin-bottom:16px;border-radius:10px}.rdc-profile-copy{padding:18px 24px 20px 164px;min-height:111px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.rdc-profile-title{flex:1 1 220px;min-width:0}.rdc-profile-copy h2{font:600 24px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;margin:3px 0 7px;color:#222;overflow-wrap:anywhere}.rdc-kind{font-size:12px;color:#626d7a;font-weight:400}.rdc-profile-meta{font-size:12px;color:#626d7a;line-height:1.6}.rdc-profile-description{font-size:13px;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere;margin:12px 0}
.rdc-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rdc-profile-copy>.rdc-actions{flex:0 1 auto;max-width:100%;padding-top:17px}.rdc-state{display:inline-flex;align-items:center;min-height:32px;color:#626d7a;background:transparent;border-radius:6px;padding:5px 0;font-size:12px;font-weight:400}
.rdc-tabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid #e7e8ec;margin:0;padding:0 20px;scrollbar-width:none}.rdc-tabs::-webkit-scrollbar{display:none}.rdc-tabs>a,.rdc-tabs>button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:12px 1px 10px;border-radius:0;white-space:nowrap;font-size:13px;font-weight:500;background:transparent;color:#626d7a;border:0;border-bottom:2px solid transparent}.rdc-tabs [aria-current=page]{color:#222;border-bottom-color:#3b71ac;background:transparent}.rdc-tabs>a:hover,.rdc-tabs>button:hover{color:#2a5885;background:transparent}.rdc-profile-tabs{border-top:1px solid #e7e8ec;border-bottom:0;padding:0 24px}.rdc-profile-tabs .rdc-all-link{margin-left:auto;font-weight:400;color:#2a5885}
.rdc-info-sidebar{display:grid;gap:12px;min-width:0}.rdc-side-panel{border:1px solid #dce1e6;border-radius:10px;padding:16px;background:#fff;min-width:0}.rdc-side-panel h3{display:flex;gap:8px;align-items:baseline;font-size:14px;font-weight:600;margin:0 0 13px;color:#222}.rdc-side-panel h3>span{font-size:12px;font-weight:400;color:#626d7a}.rdc-side-description{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 14px}.rdc-side-panel dl{font-size:12px;margin:0;display:grid;grid-template-columns:auto 1fr;gap:7px 12px}.rdc-side-panel dt{color:#626d7a}.rdc-side-panel dd{margin:0;color:#2a5885;overflow-wrap:anywhere}.rdc-panel-link{display:block;font-size:12px;line-height:1.5;color:#2a5885;padding-top:12px;margin-top:12px;border-top:1px solid #e7e8ec}
.rdc-member-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.rdc-member-preview{display:flex;align-items:center;flex-direction:column;min-width:0;gap:6px;font-size:11px;line-height:1.3;color:#2a5885;text-align:center}.rdc-member-preview>span:last-child{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdc-person-avatar{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#e8edf3;color:#5c7b9e;font-size:17px;font-weight:500}
.rdc-community-section{margin-bottom:16px}.rdc-about{padding:20px;background:#fff;border:1px solid #dce1e6;border-radius:10px}.rdc-about h3{font-size:16px;font-weight:600;margin-bottom:14px}.rdc-about p{white-space:pre-wrap;line-height:1.65;color:#626d7a;font-size:13px}.rdc-about dl{display:grid;grid-template-columns:100px 1fr;gap:12px 16px;margin:18px 0 0;font-size:13px}.rdc-about dt{color:#626d7a}.rdc-about dd{margin:0;font-weight:400}
/* Directory: compact list rows, genuine filters, a small navigation rail. */
.communities-screen{width:min(1180px,calc(100% - 40px));margin:18px auto 40px}.rdc-directory-layout{display:grid;grid-template-columns:164px minmax(0,1fr);gap:20px;align-items:start}.rdc-directory-sidebar{position:sticky;top:78px}.rdc-side-nav{display:flex;flex-direction:column;gap:2px}.rdc-side-nav>a{display:flex;gap:10px;align-items:center;min-height:36px;padding:8px 10px;font-size:13px;border-radius:7px;color:#2a5885;white-space:nowrap}.rdc-side-nav>a:hover,.rdc-side-nav>a[aria-current=page]{background:#e2e6ea}.rdc-side-nav .icon{width:20px;height:20px}.rdc-sidebar-links{display:flex;gap:6px 12px;flex-wrap:wrap;margin:20px 10px;font-size:11px;color:#626d7a}
.rdc-directory-main{background:#fff;border:1px solid #dce1e6;border-radius:10px;overflow:hidden;min-width:0}.rdc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 10px;margin:0}.rdc-heading h1{font:600 21px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#222;margin:0 0 4px}.rdc-heading p{line-height:1.5;color:#626d7a;font-size:12px}.rdc-heading>.button{flex:none}
.rdc-controls{padding:16px 20px;border-bottom:1px solid #e7e8ec}.rdc-search{display:flex;gap:10px;align-items:center;position:relative;width:100%}.rdc-search input{min-width:0;width:100%;padding:10px 12px 10px 36px;background:#f2f3f5;border:1px solid transparent;border-radius:8px;font-size:13px;min-height:38px}.rdc-search input:focus{background:#fff;border-color:#b8c8dc}.rdc-search-icon{position:absolute;left:12px;width:17px;height:17px;color:#626d7a;pointer-events:none}.rdc-create-note{color:#626d7a;font-size:11px;line-height:1.6;margin:0;padding:14px 20px;border-top:1px solid #e7e8ec}
.rdc-grid{display:block;margin:0}.rdc-card{display:flex;align-items:center;gap:16px;background:#fff;border:0;border-bottom:1px solid #e7e8ec;border-radius:0;padding:20px;text-decoration:none;color:inherit;transition:background .12s}.rdc-card:last-child{border-bottom:0}.rdc-card:hover{background:#fafbfc;box-shadow:none}.rdc-row-avatar{width:80px;height:80px;flex:0 0 80px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#e7edf4;color:#527aab;font-size:30px;font-weight:500}.rdc-row-avatar img{width:100%;height:100%;object-fit:cover}.rdc-card-copy{min-width:0;flex:1;padding:0}.rdc-card-copy h2{font-size:15px;font-weight:600;line-height:1.35;margin:0 0 5px;color:#2a5885;overflow-wrap:anywhere}.rdc-card-description{font-size:13px;line-height:1.5;color:#626d7a;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 0;min-height:0}.rdc-card-meta{font-size:12px;color:#626d7a;margin-top:5px}.rdc-row-open{flex:none;font-size:12px;color:#2a5885;display:flex;align-items:center;gap:13px}.rdc-row-open>span{font-size:23px;font-weight:300}.rdc-directory-main>#rdc-error:empty{display:none}.rdc-directory-main #rdc-more{display:flex;margin:12px auto 20px}
/* Membership and invitation controls preserve explicit choices. */
.rdc-list{display:grid;gap:10px;margin-bottom:16px}.rdc-member-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce1e6;border-radius:10px;padding:16px;background:#fff;overflow-wrap:anywhere}.rdc-member-copy{min-width:0}.rdc-member-copy h3{font-size:15px;line-height:1.4;font-weight:600}.rdc-member-copy strong{font-size:13px;font-weight:600;color:#2a5885}.rdc-member-row .button{font-size:12px;padding:8px 12px}.rdc-help{font-size:12px;color:#626d7a;line-height:1.6;margin:7px 0}.rdc-empty{padding:30px 20px;text-align:center;background:#fff;border:1px solid #dce1e6;border-radius:10px;grid-column:1/-1}.rdc-empty h2,.rdc-empty h3{font-size:17px;line-height:1.35;margin-bottom:10px;font-weight:600}.rdc-empty p{color:#626d7a;line-height:1.65;font-size:13px;max-width:560px;margin:0 auto}.rdc-empty .button{margin-top:18px}.rdc-directory-main .rdc-empty{border:0;border-radius:0}.rdc-directory-main #rdc-invitations{padding:16px 20px;margin:0}
.rdc-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6}.rdc-check input{width:18px;height:18px;flex:none;margin-top:3px;accent-color:#3b71ac}.rdc-check input:disabled{opacity:.5}.rdc-membership-form{padding:16px;background:#f7f8fa;border:1px solid #dce1e6;border-radius:8px;margin:10px 0 0;flex:1 1 100%}.rdc-membership-form .rdc-actions{margin-top:14px}.rdc-membership-profile{padding:16px;border:1px solid #dce1e6;background:#fff;border-radius:10px;margin:0 0 12px}.rdc-membership-profile .button{margin-top:12px}
.rdc-message{padding:14px 16px;background:#f2f5f8;border:1px solid #dce1e6;border-radius:8px;line-height:1.6;margin:12px 0}.rdc-message.is-error,.rdc-inline-error{color:#a23445;background:#fff2f3;border-color:#efd0d6}.rdc-inline-error{padding:12px 14px;border-radius:8px;font-size:13px;line-height:1.6}.rdc-invitation{align-items:flex-start;flex-wrap:wrap}.rdc-invitation-actions{flex:1 1 340px;max-width:550px}.rdc-invitation-actions .rdc-actions{margin-top:12px}.rdc-invitation-focus{padding:20px;max-width:780px;margin:0 auto}.rdc-invitation-focus>h2{font-size:19px;margin:8px 0 12px}.rdc-invitation-focus>.rdc-help{margin-bottom:16px}
@media(max-width:1100px){body.rd-community-route .community-content-layout{grid-template-columns:minmax(0,1fr) 230px;gap:12px}.rdc-profile-copy>.rdc-actions{padding-top:0;flex:1 1 100%}.rdc-profile-copy{padding-bottom:17px}.rdc-visual{height:220px}}
@media(max-width:900px){body.rd-community-route .social-shell.is-community,.rdc-directory-layout{grid-template-columns:145px minmax(0,1fr);gap:14px}.rdc-visual{height:200px}body.rd-community-route .community-content-layout{grid-template-columns:minmax(0,1fr)}.rdc-info-sidebar{grid-template-columns:1fr 1fr}.rdc-profile-copy h2{font-size:22px}.rdc-profile-copy{padding-left:150px}.rdc-avatar{width:110px;height:110px;left:20px}.rdc-heading{align-items:flex-start}.rdc-heading>.button{font-size:12px;padding-inline:10px}.rdc-row-open{font-size:0;gap:0}}
@media(max-width:740px){
 body.rd-community-route .site-header{min-height:56px;padding:0 12px;gap:8px}body.rd-community-route .header-inner{min-height:56px;gap:10px}body.rd-community-route .brand{font-size:25px}body.rd-community-route .brand img{width:30px;height:30px}body.rd-community-route .portal-nav{display:none}body.rd-community-route #rd-account-menu>summary{min-height:36px;padding:8px 12px;font-size:13px}body.rd-community-route #rd-admin-entry{font-size:11px;padding:6px;max-width:130px;white-space:normal}body.rd-community-route .header-account{font-size:12px;min-height:36px;padding:8px 11px}
 body.rd-community-route .social-shell.is-community{display:flex;flex-direction:column;width:calc(100% - 20px);gap:0;margin:10px auto 24px}.rd-community-route .left-sticky{position:static}.rd-community-route .left-column,.rd-community-route .center-column{width:100%}.rd-community-route .feed-nav{margin-bottom:10px;padding-bottom:3px}.rd-community-route .nav-item{font-size:12px;padding:8px 10px}.rd-community-route .privacy-nav-button,.rd-community-route .moderation-button{display:inline-flex;min-height:32px;margin:0 6px 10px 0;font-size:11px;padding:6px 8px;width:auto}
 body.rd-community-route .community-content-layout{display:grid;grid-template-columns:1fr;gap:12px}.rdc-info-sidebar{grid-template-columns:1fr}.rdc-side-panel{padding:16px}.rdc-member-preview-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 6px}.rdc-person-avatar{width:42px;height:42px;font-size:15px}
 .business-community.rdc-profile{margin-bottom:12px}.rdc-visual{height:180px}.rdc-avatar{width:96px;height:96px;left:16px;bottom:-42px;border-width:3px;font-size:34px}.rdc-profile-copy{display:block;min-height:0;padding:13px 16px 15px 128px}.rdc-profile-copy h2{font-size:21px;margin:3px 0 5px}.rdc-profile-title{min-height:62px}.rdc-profile-meta,.rdc-kind{font-size:11px}.rdc-profile-copy>.rdc-actions{margin:14px 0 0 -112px;padding:0;gap:7px}.rdc-profile-copy>.rdc-actions>.button{min-height:40px;flex:1 1 130px;font-size:13px}.rdc-profile-copy>.rdc-actions>.rdc-state{min-height:32px;flex:1 1 100%;padding:0}.rdc-profile-copy>.rdc-membership-form{margin-left:-112px}.rdc-tabs{gap:21px;padding:0 16px}.rdc-tabs>a,.rdc-tabs>button{min-height:44px;font-size:13px;padding:11px 0 9px}.rdc-profile-tabs .rdc-all-link{font-size:11px;margin-left:auto}.rdc-profile-tabs{gap:18px}.rdc-community-section{margin-bottom:0}
 body.rd-community-route .feed-toolbar{padding:13px 16px;margin-bottom:10px}.rd-community-route .feed-toolbar h2{font-size:15px}body.rd-community-route .post{padding:15px 16px 0}.rd-community-route .post-body{font-size:14px;line-height:1.6}.rd-community-route .post-gallery{margin-inline:-16px}.rd-community-route .comments{margin-inline:-16px;padding:16px}.rd-community-route .post-actions{gap:0}.rd-community-route .post-action{padding:9px;min-width:42px}.rd-community-route .comment-form textarea{font-size:16px}.rd-community-route .state-panel{padding:28px 18px}
 .communities-screen{width:calc(100% - 20px);margin:10px auto 24px}.rdc-directory-layout{display:block}.rdc-directory-sidebar{position:static;margin-bottom:10px}.rdc-side-nav{flex-direction:row;overflow-x:auto;scrollbar-width:none;gap:3px}.rdc-side-nav>a{font-size:12px;min-height:36px;padding:8px 10px;flex:none}.rdc-sidebar-links{display:none}.rdc-heading{padding:16px 16px 10px;gap:10px}.rdc-heading h1{font-size:20px}.rdc-heading p{display:none}.rdc-heading>.button{font-size:12px;min-height:36px;padding:8px 10px}.rdc-controls{padding:13px 16px}.rdc-search input{min-height:40px;font-size:16px}.rdc-search>.button{min-height:40px;font-size:12px;padding-inline:11px}.rdc-search{gap:8px}.rdc-card{padding:16px;gap:13px}.rdc-row-avatar{width:64px;height:64px;flex-basis:64px;font-size:25px}.rdc-card-copy h2{font-size:14px}.rdc-card-description{font-size:12px;margin:4px 0}.rdc-card-meta{font-size:11px}.rdc-row-open{display:none}.rdc-create-note{font-size:11px;padding:13px 16px}
 .rdc-member-row{align-items:stretch;flex-direction:column;padding:16px}.rdc-member-row .rdc-actions{justify-content:flex-start}.rdc-empty{padding:28px 16px}.rdc-about{padding:18px 16px}.rdc-about dl{grid-template-columns:85px 1fr;gap:10px 12px}.rdc-invitation-actions{flex-basis:auto;max-width:none}.rdc-invitation-actions .button{flex:1 1 150px;min-height:40px}.rdc-invitation-focus{padding:18px 16px}.rdc-directory-main #rdc-invitations{padding:12px 16px}
}
@media(max-width:380px){.rdc-profile-tabs{gap:15px}.rdc-profile-tabs .rdc-all-link{max-width:65px;white-space:normal;line-height:1.3}.rdc-profile-copy h2{font-size:19px}.rdc-profile-copy{padding-left:120px}.rdc-profile-copy>.rdc-actions,.rdc-profile-copy>.rdc-membership-form{margin-left:-104px}.rdc-avatar{width:90px;height:90px}.rdc-visual{height:155px}.rdc-member-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rdc-heading h1{font-size:18px}.rdc-heading>.button{max-width:140px;white-space:normal;font-size:11px}.rdc-row-avatar{width:56px;height:56px;flex-basis:56px}.rdc-card{gap:11px;padding:14px}.rdc-side-nav .icon{width:18px;height:18px}}

@media(max-width:740px){body.rd-community-route .button,body.rd-community-route #rd-account-menu>summary,body.rd-community-route #rd-account-menu button,body.rd-community-route #rd-account-menu .rd-account-link,body.rd-community-route #rd-account-menu .rdc-header-profile-link,.rd-community-route .nav-item,.rdc-side-nav>a,.rdc-profile-copy>.rdc-actions>.button,.rdc-invitation-actions .button{min-height:44px}.rdc-heading>.button{min-height:44px}.rdc-search>.button{min-height:44px}.rdc-card-meta,.rdc-profile-meta,.rdc-kind,.rdc-member-preview{font-size:12px}}

/* Keep reading and consent controls comfortably readable within compact panels. */
body.rd-community-route{font-size:16px}
body.rd-community-route .post-body,body.rd-community-route .comment-text,body.rd-community-route input,body.rd-community-route textarea,body.rd-community-route select,body.rd-community-route .comment-form textarea{font-size:16px}
body.rd-community-route .rdc-help,body.rd-community-route .rdc-check,body.rd-community-route .rdc-kind,body.rd-community-route .rdc-profile-meta,body.rd-community-route .rdc-card-meta,body.rd-community-route .rdc-card-description,body.rd-community-route .rdc-create-note,body.rd-community-route .rdc-side-description,body.rd-community-route .rdc-side-panel dl,body.rd-community-route .rdc-panel-link,body.rd-community-route .post-author-name,body.rd-community-route .post-meta,body.rd-community-route .comment-author,body.rd-community-route .button,body.rd-community-route .nav-item,body.rd-community-route .rdc-side-nav>a,body.rd-community-route .rdc-tabs>a,body.rd-community-route .rdc-member-copy strong,body.rd-community-route .rdc-member-preview,body.rd-community-route .rdc-about p,body.rd-community-route .rdc-about dl,body.rd-community-route .rdc-empty p{font-size:14px}
body.rd-community-route #rd-account-menu,body.rd-community-route #rd-account-menu>summary,body.rd-community-route #rd-account-menu .rd-account-link,body.rd-community-route #rd-account-menu button,body.rd-community-route #rd-account-menu .rdc-header-profile-link{font-size:14px}
