:root{--green:#167a63;--green-dark:#0f604e;--mint:#eaf6f1;--bg:#f3f7f5;--surface:#fff;--ink:#16221f;--muted:#71807b;--line:#dce8e3;--danger:#b23a3a;--shadow:0 8px 28px rgba(24,55,46,.07);--shadow-lg:0 16px 45px rgba(24,55,46,.10);--radius:18px;--max:1180px}
*{box-sizing:border-box}\n/* Global header logo safety: the source asset is square; never allow it to expand beyond the navigation bar. */
.site-header-logo{display:block;width:auto!important;height:auto!important;max-width:233px!important;max-height:52px!important;object-fit:contain!important;flex:0 0 auto!important}
.brand .site-header-logo{width:auto!important;height:auto!important}
@media(max-width:700px){.site-header-logo{max-width:145px!important;max-height:42px!important}.brand{min-width:0!important}}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}a{color:inherit}button,input,select,textarea{font:inherit}.container{width:min(calc(100% - 40px),var(--max));margin:auto}.page{padding:28px 0 90px}.topbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.nav{min-height:68px;width:min(calc(100% - 40px),var(--max));margin:auto;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:190px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#1d9074,#0c604c);color:#fff;display:grid;place-items:center;font-weight:900;font-size:13px;box-shadow:0 6px 18px rgba(22,122,99,.2)}.brand-mark.small{width:40px;height:40px}.brand-name,.brand strong{font-size:18px;font-weight:850;letter-spacing:-.35px}.nav-search{flex:1;max-width:390px;position:relative}.nav-search input{width:100%;border:1px solid var(--line);background:#f7faf9;border-radius:13px;padding:10px 14px 10px 38px;outline:0}.nav-search span{position:absolute;left:13px;top:8px;color:var(--muted);font-size:18px}.nav-links,header nav{margin-left:auto;display:flex;align-items:center;gap:3px}header nav a{display:flex;align-items:center;gap:6px;padding:9px 11px;border-radius:11px;text-decoration:none;color:#53635e;font-size:13px;font-weight:750}header nav a:hover,header nav a.active{background:var(--mint);color:var(--green-dark)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.button{border:1px solid transparent;border-radius:11px;min-height:40px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:800;cursor:pointer;text-decoration:none;font-size:13px}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.secondary{background:#f7faf9;color:#40514b;border-color:var(--line)}.button.secondary:hover{background:var(--mint);color:var(--green-dark)}.button.danger{background:#fff1f1;color:var(--danger);border-color:#f0d2d2}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:900;letter-spacing:1.7px;text-transform:uppercase;color:var(--green)}h1,h2,h3,p{margin-top:0}.clean-list{margin:0;padding-left:20px;color:#53635e}.mobile-nav{display:none}
/* Dashboard / feed */
.hero-mini{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;padding:30px 0 24px}.hero-mini h1{font-size:38px;letter-spacing:-1px;margin:5px 0 8px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-grid .card{padding:25px}.dashboard-grid h2{font-size:23px;margin-bottom:8px}.feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.feed-title{padding:6px 0 20px}.feed-title h1{font-size:39px;line-height:1.08;letter-spacing:-1.4px;margin:5px 0 12px}.composer{padding:18px;margin-bottom:18px}.composer textarea{width:100%;resize:vertical;min-height:105px;border:1px solid var(--line);border-radius:13px;padding:13px;outline:0}.composer textarea:focus,.people-search input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,122,99,.09)}.composer-row{display:flex;align-items:center;gap:9px;margin-top:11px}.composer-row select{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 12px}.file-button{border:1px solid var(--line);background:#f7faf9;border-radius:11px;padding:9px 12px;font-weight:750;cursor:pointer}.file-button input{display:none}.post-list{display:grid;gap:16px}.post-card{padding:18px}.post-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.post-author{display:flex;gap:11px;align-items:center;text-decoration:none}.post-avatar,.comment-avatar{width:44px;height:44px;border-radius:13px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:900;overflow:hidden}.post-avatar img{width:100%;height:100%;object-fit:cover}.post-author strong{display:block;font-size:14px}.post-author span,.post-date{display:block;color:var(--muted);font-size:11px}.post-content{padding:15px 0 8px;white-space:normal}.post-media{margin:8px 0;border-radius:14px;overflow:hidden;background:#eef4f1}.post-media img{display:block;width:100%;max-height:560px;object-fit:cover}.post-stats{display:flex;gap:15px;color:var(--muted);font-size:11px;padding:11px 0;border-bottom:1px solid var(--line)}.post-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px}.comments{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}.comment{display:flex;gap:9px;padding:8px 0}.comment-avatar{width:34px;height:34px;border-radius:10px;font-size:12px}.comment strong{font-size:12px}.comment span{display:block;font-size:12px}.comment small{display:block;color:var(--muted);font-size:10px}.comment-form{display:flex;gap:8px;margin-top:10px}.comment-form input{flex:1;border:1px solid var(--line);border-radius:11px;padding:9px 12px}.feed-side{display:grid;gap:16px;position:sticky;top:88px}.feed-side .card{padding:20px}.feed-side h2{font-size:18px;margin:6px 0}.empty-feed{padding:45px;text-align:center}
/* People */
.people-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.side-card{padding:18px;position:sticky;top:88px;height:max-content}.side-card h3{font-size:15px;margin:5px 0 14px}.side-nav{display:grid;gap:4px}.side-nav a{padding:10px 11px;border-radius:10px;text-decoration:none;font-size:13px;font-weight:700;color:#586761}.side-nav a.active,.side-nav a:hover{background:var(--mint);color:var(--green-dark)}.people-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.people-header h1{font-size:34px;letter-spacing:-1px;margin:5px 0}.people-search{display:flex;gap:9px;margin-bottom:18px}.people-search input{flex:1;border:1px solid var(--line);border-radius:13px;padding:12px 14px;background:#fff;outline:0}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.person-card{padding:20px;position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s}.person-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.person-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--green),#8ac9b6)}.person-head{display:flex;gap:13px;align-items:center}.person-avatar{width:64px;height:64px;border-radius:17px;overflow:hidden;background:var(--mint);color:var(--green);display:grid;place-items:center;font-size:23px;font-weight:900;flex:0 0 auto}.person-avatar img{width:100%;height:100%;object-fit:cover}.person-name{margin:0 0 2px;font-size:17px}.person-name a{text-decoration:none}.person-meta{margin:0;color:var(--muted);font-size:11px}.person-title{font-weight:750;margin:14px 0 5px;line-height:1.4}.person-info{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.chip{font-size:10px;font-weight:800;padding:6px 8px;border-radius:999px;background:#f6f9f8;color:#53635e;border:1px solid var(--line)}.person-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.person-actions form{display:inline-flex}.person-actions .button{min-height:37px;padding:8px 11px;font-size:12px}.empty-state{padding:50px;text-align:center}
/* Profile */
.profile-hero{overflow:hidden}.profile-cover{height:205px;background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.3),transparent 27%),linear-gradient(120deg,#0c5f4c,#1c9276 55%,#9bd4c3);position:relative}.profile-cover:before{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(255,255,255,.2);border-radius:50%;right:-100px;top:-220px}.profile-cover:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(255,255,255,.13);border-radius:50%;left:-100px;bottom:-160px}.profile-main{padding:0 30px 26px;position:relative}.profile-avatar{width:140px;height:140px;border-radius:30px;border:6px solid #fff;background:var(--mint);display:grid;place-items:center;overflow:hidden;color:var(--green);font-size:50px;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.15);margin-top:-70px;position:relative}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-main .eyebrow{display:block;margin-top:16px}.profile-main h1{font-size:36px;letter-spacing:-1px;margin:3px 0}.headline{font-size:17px;font-weight:750;margin-bottom:3px}.profile-main>.muted{font-size:12px}.profile-main>p:not(.headline):not(.muted){max-width:760px}.profile-main .person-actions{margin-top:15px}.profile-main .button{min-height:40px}.profile-main .button{white-space:nowrap}.profile-main:after{content:"";display:block;clear:both}.profile-hero>.profile-main{min-height:185px}.profile-hero .profile-avatar{float:left;margin-right:22px}.profile-hero .profile-main h1,.profile-hero .profile-main .headline,.profile-hero .profile-main>.muted,.profile-hero .profile-main>.eyebrow{margin-left:162px}.profile-hero .profile-main .person-actions,.profile-hero .profile-main>p:not(.headline):not(.muted){margin-left:162px}.dashboard-grid .label{display:block}.dashboard-grid .card p{margin-bottom:14px}.label{display:block;color:var(--muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.9px;margin-bottom:4px}.section-card{padding:23px;margin-top:20px}.section-card h2{font-size:19px;margin-bottom:14px}.timeline-item{padding:14px 0;border-bottom:1px solid var(--line)}.timeline-item:last-child{border-bottom:0}.timeline-item strong{font-size:14px}.timeline-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
/* Settings */
.settings-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px}.settings-menu{padding:18px;position:sticky;top:88px;height:max-content}.account-mini{display:flex;align-items:center;gap:10px;padding:3px 4px 17px;border-bottom:1px solid var(--line);margin-bottom:10px}.account-mini .mini-avatar{width:40px;height:40px;border-radius:12px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:900}.account-mini strong{display:block;font-size:13px}.account-mini span{display:block;color:var(--muted);font-size:11px}.settings-menu a{display:flex;gap:9px;align-items:center;padding:10px 11px;border-radius:10px;text-decoration:none;color:#586761;font-weight:700;font-size:13px}.settings-menu a.active,.settings-menu a:hover{background:var(--mint);color:var(--green-dark)}.settings-main{min-width:0}.settings-main h1{font-size:36px;letter-spacing:-1px;margin:5px 0 4px}.settings-intro{margin-bottom:20px}.settings-card{padding:25px;margin-bottom:17px}.settings-card h2{font-size:19px;margin:0}.section-sub{font-size:12px;color:var(--muted);margin:4px 0 20px}.settings-card form{display:grid;gap:16px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:grid;gap:6px}.field label{font-size:11px;font-weight:850;color:#33433e}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;outline:0;background:#fff}.field textarea{resize:vertical;min-height:110px}.save-row{display:flex;justify-content:flex-end;padding-top:2px}.profile-photo-row{display:flex;align-items:center;gap:15px;padding:15px;border:1px dashed #c8ddd6;border-radius:14px;background:#fbfdfc}.settings-avatar,.photo-placeholder{width:68px;height:68px;border-radius:17px;object-fit:cover;flex:0 0 auto}.photo-placeholder{background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:900;font-size:24px}.photo-form{display:flex!important;align-items:center;gap:9px!important}.photo-form input{max-width:320px}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle{display:flex!important;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fbfdfc}.toggle input{width:auto;margin-top:3px}.toggle strong{display:block;font-size:12px}.toggle small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.alert{padding:12px 14px;border-radius:12px;margin-bottom:15px;font-size:12px}.alert.success{background:#ecfaf4;color:#176b54;border:1px solid #ccefe1}.alert.error{background:#fff1f1;color:#922d2d;border:1px solid #f1cccc}
/* Responsive */
@media(max-width:900px){.nav-search{display:none}.nav{gap:12px}.brand{min-width:auto}.people-shell,.settings-layout{grid-template-columns:1fr}.side-card,.settings-menu{display:none}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-layout{grid-template-columns:1fr}.feed-side{display:none}}
@media(max-width:700px){body{padding-bottom:74px}.container{width:calc(100% - 24px)}.page{padding-top:17px;padding-bottom:88px}.topbar .nav{min-height:60px;width:calc(100% - 24px);padding:0}.topbar header nav,.topbar .nav>nav,.nav-links{display:none!important}.topbar .brand-name,.topbar .brand strong{font-size:16px}.brand-mark,.brand-mark.small{width:37px;height:37px;border-radius:12px}.hero-mini{display:block;padding:15px 0 18px}.hero-mini h1{font-size:30px}.hero-mini .button{margin-top:10px}.dashboard-grid{grid-template-columns:1fr;gap:14px}.dashboard-grid .card{padding:19px}.feed-title h1{font-size:31px}.composer{padding:13px}.composer-row{flex-wrap:wrap}.composer-row select{flex:1;min-width:135px}.post-card{padding:14px}.post-date{font-size:10px}.post-actions .button{flex:1}.comment-form{flex-wrap:wrap}.comment-form input{min-width:0}.people-header{display:block}.people-header h1{font-size:29px}.people-search{display:block}.people-search input,.people-search .button{width:100%}.people-search .button{margin-top:7px}.people-grid{grid-template-columns:1fr}.person-card{padding:17px}.person-actions{display:grid;grid-template-columns:1fr 1fr}.person-actions form,.person-actions>a,.person-actions .button{width:100%}.profile-cover{height:145px}.profile-main{padding:0 17px 20px}.profile-hero>.profile-main{min-height:0}.profile-hero .profile-avatar{float:none;margin:-52px 0 0;width:104px;height:104px;border-radius:24px;font-size:38px}.profile-hero .profile-main h1,.profile-hero .profile-main .headline,.profile-hero .profile-main>.muted,.profile-hero .profile-main>.eyebrow,.profile-hero .profile-main .person-actions,.profile-hero .profile-main>p:not(.headline):not(.muted){margin-left:0}.profile-main .eyebrow{margin-top:13px}.profile-main h1{font-size:30px}.profile-main .person-actions{display:grid;grid-template-columns:1fr 1fr}.profile-main .person-actions form,.profile-main .person-actions .button{width:100%}.section-card{padding:18px;margin-top:14px}.settings-main h1{font-size:29px}.settings-card{padding:18px}.field-grid,.toggle-grid{grid-template-columns:1fr}.profile-photo-row{align-items:flex-start}.photo-form{display:flex!important;flex-direction:column;align-items:stretch}.photo-form input{max-width:none}.save-row{justify-content:stretch}.save-row .button{width:100%}.mobile-nav{position:fixed!important;left:0!important;right:auto!important;bottom:0!important;width:100vw!important;max-width:100vw!important;height:74px;min-height:74px;background:rgba(255,255,255,.99);border-top:1px solid var(--line);z-index:2147483647;display:flex;align-items:stretch;justify-content:stretch;padding:5px 0 calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 25px rgba(20,50,42,.10);overflow:hidden;isolation:isolate}.mobile-nav a{flex:0 0 20%;width:20%;max-width:none;min-width:0;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:#6a7974;font-size:10px;font-weight:850;line-height:1;overflow:visible}.mobile-nav a span{display:block;max-width:100%;white-space:nowrap}.mobile-nav a span:first-child{font-size:20px;line-height:1}.mobile-nav a.active{color:var(--green)}.mobile-nav a:nth-child(3){position:relative}.mobile-nav a:nth-child(3) span:first-child{width:40px;height:40px;margin-top:-4px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;box-shadow:0 7px 18px rgba(22,122,99,.25)}body{padding-bottom:100px;overflow-x:hidden}.page{padding-bottom:108px}}

@media(max-width:430px){.mobile-nav{height:74px;min-height:74px;padding:5px 0 calc(5px + env(safe-area-inset-bottom,0px))}.mobile-nav a{height:64px;font-size:9px}.mobile-nav a span:first-child{font-size:19px}.mobile-nav a:nth-child(3) span:first-child{width:38px;height:38px}}

/* Mobile settings experience */
.settings-mobile-head{display:none}
@media(max-width:700px){
  .settings-mobile-head{display:block;margin-bottom:16px}
  .settings-mobile-title{padding:4px 2px 13px}
  .settings-mobile-title .eyebrow{font-size:10px;letter-spacing:2px}
  .settings-mobile-title h1{font-size:30px;line-height:1.08;margin:3px 0 5px;letter-spacing:-.7px}
  .settings-mobile-title p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;max-width:520px}
  .settings-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
  .settings-mobile-tabs a{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:12px 11px;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;color:#52615c;box-shadow:0 3px 12px rgba(20,50,42,.035)}
  .settings-mobile-tabs a span{grid-row:1/3;width:30px;height:30px;border-radius:10px;background:#f1f8f5;display:grid;place-items:center;color:var(--green);font-size:15px}
  .settings-mobile-tabs strong{font-size:12px;line-height:1.2}
  .settings-mobile-tabs small{font-size:9px;color:var(--muted);margin-top:2px}
  .settings-mobile-tabs a.active{border-color:#b9ded3;background:linear-gradient(135deg,#f2fbf8,#fff)}
  .settings-mobile-tabs a.active strong{color:var(--green-dark)}
  .settings-mobile-links{display:flex;gap:8px;margin-top:9px}
  .settings-mobile-links a{flex:1;display:flex;justify-content:center;align-items:center;min-height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;text-decoration:none;color:#4f5e59;font-size:11px;font-weight:800}
  .settings-mobile-links a:first-child{color:var(--green-dark);background:#f5faf8}
  .settings-layout{display:block}
  .settings-main>.eyebrow,.settings-main>h1,.settings-main>.settings-intro{display:none}
  .settings-card{border-radius:18px;box-shadow:0 5px 18px rgba(20,50,42,.055)}
  .settings-card h2{font-size:18px}
  .settings-card .section-sub{font-size:11px;line-height:1.45}
  .field input,.field select,.field textarea{font-size:16px;min-height:46px}
  .field textarea{min-height:120px}
  .toggle{padding:13px 12px;min-height:64px}
  .profile-photo-row{padding:13px;border-radius:15px}
  .settings-avatar,.photo-placeholder{width:60px;height:60px;border-radius:15px}
}
.notifications-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.notifications-head h1{font-size:31px;letter-spacing:-.7px;margin:6px 0}.notifications-list{overflow:hidden}.notification{display:flex;align-items:center;gap:13px;padding:16px 18px;border-bottom:1px solid var(--border)}.notification:last-child{border-bottom:0}.notification.unread{background:var(--primary-soft)}.notification-body{flex:1;line-height:1.45}.notification-body small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.notification .post-avatar{width:42px;height:42px;flex:0 0 auto}.notif-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:var(--primary);color:#fff;font-size:10px}@media(max-width:620px){.notifications-head{align-items:flex-start;flex-direction:column}.notifications-head h1{font-size:27px}.notifications-head .button{width:100%}.notification{padding:13px 12px;align-items:flex-start}.notification .button{font-size:10px;padding:7px 8px}.notification-body{font-size:13px}}

/* =========================================================
   PHYSIOSOCIAL v5 AUTH + MOBILE ACCOUNT ACTION
========================================================= */
.mobile-logout{display:none!important}
.logout-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;line-height:1;font-weight:700;color:var(--primary);padding:9px 14px;border:1px solid var(--primary);border-radius:10px;background:#fff;white-space:nowrap}
.logout-link:hover{color:#fff;background:var(--primary)}
@media(max-width:700px){
  body{overflow-x:hidden}
  .mobile-logout{display:inline-flex!important;align-items:center;justify-content:center;width:auto;height:38px;box-sizing:border-box;border:1px solid var(--primary);border-radius:10px;background:#fff;color:var(--primary);text-decoration:none;font-size:13px;font-weight:700;line-height:1;padding:0 11px;flex:0 0 auto;box-shadow:none;white-space:nowrap}
  .mobile-logout:hover{color:#fff;background:var(--primary)}
  .topbar .nav{padding-right:12px}
  .topbar .brand{min-width:0}
  .topbar .brand strong{white-space:nowrap}
  .mobile-nav{padding:6px 0 max(6px,env(safe-area-inset-bottom));height:auto;min-height:66px;box-sizing:border-box;align-items:stretch}
  .mobile-nav a{flex:1 1 0;width:auto;min-width:0;max-width:none;height:54px;justify-content:center;gap:3px;padding:5px 1px;overflow:hidden;text-align:center}
  .mobile-nav a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-nav a span:first-child{font-size:18px}
}
/* Authentication */
.auth-body{min-height:100vh;background:linear-gradient(135deg,#f1faf7,#f7f9ff);display:grid;place-items:center;padding:24px}
.auth-shell{width:min(1040px,100%);min-height:650px;background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 22px 65px rgba(20,32,30,.12);overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr}
.auth-brand-panel{padding:56px;background:linear-gradient(145deg,#0a3d91,#087f6b);color:#fff;display:flex;flex-direction:column;justify-content:center}
.auth-brand-panel .eyebrow{color:#bff6e7}.auth-brand-panel h1{color:#fff;font-size:clamp(34px,4vw,52px);margin:10px 0 16px}.auth-brand-panel p{color:rgba(255,255,255,.84);line-height:1.7;max-width:430px}.auth-logo{width:72px;height:72px;border-radius:21px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;font-size:27px;font-weight:950;margin-bottom:28px}.auth-points{display:grid;gap:11px;margin-top:22px;color:rgba(255,255,255,.9);font-size:14px}.auth-form-panel{padding:50px 58px;display:flex;flex-direction:column;justify-content:center}.auth-mobile-brand{display:none}.auth-heading h2{font-size:34px;letter-spacing:-.8px;margin:5px 0 8px}.auth-heading p{color:var(--muted);margin:0 0 24px}.auth-form{gap:17px}.auth-form label span{font-size:13px;color:#3f504b}.auth-form input,.auth-form select{min-height:48px;border-radius:12px}.auth-submit{width:100%;min-height:49px;font-size:15px;justify-content:space-between;padding:0 17px}.auth-row{display:flex;justify-content:flex-end;margin-top:-7px;font-size:13px}.auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:21px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--border);flex:1}.auth-register{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.auth-register .button{min-width:150px}.auth-legal{text-align:center;color:#8a9793;font-size:11px;margin:24px 0 0}.register-shell{min-height:720px}
@media(max-width:800px){.auth-body{padding:0;display:block}.auth-shell{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none;display:block}.auth-brand-panel{display:none}.auth-form-panel{min-height:100vh;padding:28px 20px 40px;justify-content:flex-start}.auth-mobile-brand{display:flex;align-items:center;gap:11px;margin-bottom:42px}.auth-mobile-brand .brand-mark{width:42px;height:42px}.auth-mobile-brand strong{display:block}.auth-mobile-brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.auth-heading h2{font-size:29px}.auth-heading p{font-size:14px}.auth-form{gap:15px}.auth-form .grid-2{grid-template-columns:1fr}.auth-register{flex-direction:column;align-items:stretch;text-align:center}.auth-register .button{width:100%}.register-shell .auth-mobile-brand{margin-bottom:30px}.register-shell .auth-form-panel{padding-top:24px}}
@media(max-width:380px){.auth-form-panel{padding-left:16px;padding-right:16px}.auth-heading h2{font-size:26px}}


/* Phase 1.5 photo posting */
.file-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.file-button input[type=file] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.media-status { color: var(--muted); font-size: 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-media-preview { margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-soft); }
.composer-preview-image { display:block; width:100%; max-height:360px; object-fit:cover; }
.post-error { margin-bottom: 18px; }
.post-media img { display:block; width:100%; max-height:720px; object-fit:contain; background:var(--surface-soft); border-radius:12px; }
@media (max-width:700px) {
  .composer-row { flex-wrap:wrap; }
  .file-button { flex:1 1 auto; min-width:120px; }
  .composer-row select, .composer-row .button { flex:1 1 auto; }
  .media-status { flex:1 1 100%; max-width:100%; }
}

/* v9 notification/mobile polish */
.mobile-tools{display:none;align-items:center;gap:8px}.mobile-tools a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800}.mobile-alert{position:relative;width:38px;height:38px;border:1px solid var(--border);border-radius:11px;background:#fff;font-size:17px}.mobile-alert-badge{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;border-radius:20px;background:var(--primary);color:#fff;font-size:9px;display:grid;place-items:center;padding:0 4px}.notification{transition:background .18s ease}.notification:hover{background:#f7faf9}.notification.unread:hover{background:#e3f3ed}
@media(max-width:620px){.mobile-tools{display:flex}.mobile-logout{display:inline-flex!important;position:static!important;width:auto!important;height:38px!important;padding:0 12px!important;border:1px solid var(--border)!important;border-radius:11px!important;background:#fff!important;color:var(--text)!important;text-decoration:none!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:800!important}.topbar .nav{padding-right:8px}.topbar{z-index:70}.notifications-list{border-radius:16px}.notification .post-avatar{width:40px;height:40px}.notification .button{white-space:nowrap}}
/* Phase 2 — Private Messaging */
.messages-shell{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:650px;overflow:hidden}
.conversation-list{border-right:1px solid var(--border);background:#fbfdfc}.messages-heading{padding:22px 20px 15px;display:flex;justify-content:space-between;align-items:end;gap:10px}.messages-heading h1{margin:5px 0 0;font-size:27px}.messages-heading .button{padding:9px 11px;font-size:12px}.message-search{padding:0 18px 14px}.message-search input{width:100%;border:1px solid var(--border);border-radius:11px;padding:11px 12px;outline:none}.conversation-item{display:flex;gap:11px;align-items:center;padding:13px 18px;text-decoration:none;border-left:3px solid transparent}.conversation-item:hover,.conversation-item.active{background:var(--primary-soft);border-left-color:var(--primary)}.msg-avatar{width:44px;height:44px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900;flex:0 0 auto;overflow:hidden;text-decoration:none}.msg-avatar img{width:100%;height:100%;object-fit:cover}.conversation-copy{min-width:0;flex:1}.conversation-copy strong,.conversation-copy small,.conversation-copy p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-copy strong{font-size:14px}.conversation-copy small{font-size:11px;color:var(--muted)}.conversation-copy p{margin:3px 0 0;font-size:12px;color:var(--muted)}.unread-dot{background:var(--primary);color:#fff;border-radius:20px;padding:3px 7px;font-size:10px}.conversation-panel{display:flex;flex-direction:column;min-width:0;background:#fff}.conversation-header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:11px}.conversation-header>div{flex:1}.conversation-header strong,.conversation-header span{display:block}.conversation-header strong{font-size:15px}.conversation-header span{font-size:11px;color:var(--muted)}.message-stream{flex:1;padding:22px;overflow:auto;background:linear-gradient(#fbfdfc,#f6faf8)}.bubble-row{display:flex;margin:8px 0}.bubble-row.mine{justify-content:flex-end}.bubble{max-width:min(72%,560px);background:#fff;border:1px solid var(--border);border-radius:15px 15px 15px 4px;padding:10px 13px;font-size:14px;line-height:1.55;box-shadow:0 3px 12px rgba(20,55,45,.05)}.bubble-row.mine .bubble{background:var(--primary);color:#000000;border-color:var(--primary);border-radius:15px 15px 4px 15px}.bubble small{display:block;font-size:9px;opacity:.65;margin-top:5px;text-align:right}.message-composer{padding:14px 18px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto;gap:9px}.message-composer textarea{resize:none;min-height:48px;max-height:130px;border:1px solid var(--border);border-radius:12px;padding:12px;font:inherit;outline:none}.messages-welcome,.messages-empty{text-align:center;margin:auto;max-width:470px;padding:35px}.message-logo{width:64px;height:64px;border-radius:20px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:30px;margin:0 auto 15px}.messages-welcome h1,.messages-empty h2{margin:0 0 8px}.messages-welcome p,.messages-empty p{color:var(--muted);line-height:1.6}.messages-empty-small{text-align:center;padding:40px 24px;color:var(--muted)}.messages-empty-small span{font-size:30px;color:var(--primary);display:block;margin-bottom:10px}.messages-empty-small strong{display:block;color:var(--text)}.messages-empty-small p{font-size:12px;line-height:1.5}.mobile-message{display:none;text-decoration:none;color:var(--text);font-weight:800;padding:7px}
@media(max-width:760px){
 .messages-shell{grid-template-columns:1fr;min-height:calc(100vh - 145px);border-radius:16px}.conversation-list{border-right:0}.conversation-list .message-search{padding-bottom:10px}.conversation-item{padding:12px 15px}.conversation-panel{min-height:calc(100vh - 145px)}
 .messages-heading{padding:17px 15px 12px}.messages-heading h1{font-size:24px}.messages-heading .button{font-size:11px}.conversation-panel:not(:has(.conversation-header)){display:none}
 .conversation-header{padding:11px 13px}.conversation-header .button{display:none}.message-stream{padding:14px}.bubble{max-width:84%;font-size:13px}.message-composer{padding:10px 11px;grid-template-columns:1fr auto}.message-composer .button{padding:10px 13px}.mobile-message{display:inline-flex}.mobile-tools{display:flex;align-items:center;gap:3px}
}


/* Phase 2 v11 — complete chat composer + mobile chat UX */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.chat-back{display:none;text-decoration:none;color:var(--muted);font-weight:850;margin-right:2px}
.message-composer textarea{width:100%;min-height:48px;max-height:140px;line-height:1.45;background:#fff}.message-composer textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,122,99,.08)}
.message-composer .button{min-width:72px}
@media(max-width:760px){
 .messages-shell{display:block;min-height:calc(100vh - 150px);overflow:hidden}
 .conversation-list{min-height:calc(100vh - 150px)}
 .conversation-panel{min-height:calc(100vh - 150px);height:calc(100vh - 150px);overflow:hidden}
 .conversation-panel:not(:has(.conversation-header)){display:flex}
 .conversation-panel:not(:has(.conversation-header)) .messages-welcome{padding:28px 20px}
 .conversation-header{flex:0 0 auto;padding:10px 12px;min-height:62px}
 .conversation-header .chat-back{display:inline-flex;align-items:center;font-size:22px;line-height:1}
 .conversation-header .chat-back span{font-size:12px;margin-left:2px}
 .conversation-header .msg-avatar{width:40px;height:40px}
 .message-stream{flex:1;min-height:0;overflow-y:auto;padding:14px 12px}
 .message-composer{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));background:#fff}
 .message-composer textarea{min-height:44px;max-height:96px;padding:11px 12px;border-radius:12px}
 .message-composer .button{height:44px;min-height:44px;padding:0 14px}
 .conversation-list:has(+ .conversation-panel .conversation-header){display:none}
 .messages-shell:has(.conversation-header) .conversation-panel{display:flex}
}
@media(max-width:420px){.conversation-header>div{min-width:0}.conversation-header strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-composer .button{min-width:58px;padding:0 11px}.bubble{max-width:88%}}

/* v12 messaging discoverability */
.mobile-tools{display:flex;align-items:center;gap:7px}
.mobile-tools a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:750}
.mobile-message{width:38px;height:38px;border-radius:11px;background:var(--primary-soft);color:var(--primary);border:1px solid var(--border);font-size:17px}
@media(min-width:621px){.mobile-tools{display:none!important}}
@media(max-width:620px){
 .mobile-tools{margin-left:auto}
 .mobile-tools .mobile-message{display:inline-flex}
 .mobile-tools .mobile-alert{display:inline-flex;width:38px;height:38px;border-radius:11px;background:#f7faf9;border:1px solid var(--border)}
 .mobile-tools .mobile-logout{display:inline-flex;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:#fff;font-size:12px}
 .person-actions{flex-wrap:wrap}
 .person-actions .button{min-height:40px}
}

/* ps-v13-chat-css */
.ps-chat-counter{display:block;margin:4px 8px 0;text-align:right;font-size:11px;opacity:.65}
.chat-messages,.messages,.message-list,.ps-chat-messages{scroll-behavior:smooth}
@media (max-width:700px){
  .chat-messages,.messages,.message-list,.ps-chat-messages{padding-bottom:92px!important}
  textarea[name="message"],textarea[name="body"],textarea[name="content"]{
    min-height:44px!important;max-height:120px;resize:none
  }
}
/* Phase 2.1 v14 complete chat UX */
.typing-indicator{padding:5px 18px;font-size:11px;color:var(--muted);background:#fff;border-bottom:1px solid var(--border)}
.presence-status{color:var(--primary)!important;font-size:10px!important}
.message-composer{position:relative;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:end}
.message-composer .attach-button,.message-composer .emoji-button{width:42px;height:44px;border:1px solid var(--border);border-radius:12px;background:#fff;display:grid;place-items:center;cursor:pointer;font-size:18px}
.message-composer .attach-button:hover,.message-composer .emoji-button:hover{background:var(--primary-soft)}
.chat-compose-meta{position:absolute;left:58px;right:105px;bottom:1px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);pointer-events:none}
.chat-attachment{display:block;margin-top:7px;padding:8px 10px;border-radius:9px;background:rgba(0,0,0,.05);text-decoration:none;color:inherit;font-size:12px}
.bubble-row.mine .chat-attachment{background:rgba(255,255,255,.14)}
.message-delete{border:0;background:none;color:inherit;opacity:.55;font-size:10px;padding:0;margin-top:4px;cursor:pointer;display:block;margin-left:auto}.message-delete:hover{opacity:1;text-decoration:underline}
@media(max-width:700px){.message-composer{grid-template-columns:auto minmax(0,1fr) auto auto;padding-bottom:calc(11px + env(safe-area-inset-bottom,0px))}.message-composer .attach-button,.message-composer .emoji-button{width:38px;height:44px}.message-composer .button{min-width:58px}.chat-compose-meta{left:50px;right:72px}.conversation-header .button{display:none}}
/* v18 chat delivery + unread indicators */
.nav-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.notif-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#d93025;color:#fff;font-size:9px;font-weight:900;line-height:1;vertical-align:top;margin-left:3px}
.mobile-message{position:relative}
.mobile-message .notif-badge{position:absolute;right:-3px;top:-3px;margin:0;min-width:16px;height:16px}
.mobile-nav .nav-icon-wrap .notif-badge{position:absolute;right:-12px;top:-7px;margin:0;min-width:15px;height:15px;font-size:8px}
@media(max-width:760px){.mobile-nav .nav-icon-wrap{height:22px}.mobile-nav a.active .nav-icon-wrap{color:var(--primary)}}


/* v23 — seven-item mobile navigation */
@media(max-width:700px){
  .mobile-nav{display:flex!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
  .mobile-nav a{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;padding-left:1px!important;padding-right:1px!important}
  .mobile-nav a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-nav a span:last-child{font-size:9px;letter-spacing:-.05px}
  .mobile-nav a span:first-child{font-size:18px}
}
@media(max-width:390px){
  .mobile-nav a span:last-child{font-size:8px}
  .mobile-nav a span:first-child{font-size:17px}
}
/* Phase 2.4 — notification center */
.notification-page .notifications-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.notification-total-badge{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#d93025;color:#fff;font-size:12px}.notification-head-actions{display:flex;gap:8px;flex-wrap:wrap}.notification-filters{display:flex;gap:7px;overflow:auto;padding:12px 0;scrollbar-width:none}.notification-filters a{white-space:nowrap;text-decoration:none;padding:9px 13px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-size:12px;font-weight:800}.notification-filters a.active{background:var(--primary);color:#fff;border-color:var(--primary)}.notification{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border)}.notification:last-child{border-bottom:0}.notification.unread{background:var(--primary-soft)}.notification-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-decoration:none;color:inherit}.notification-icon{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid var(--border);font-size:15px}.notification-body{min-width:0;flex:1}.notification-body div{line-height:1.4}.notification-body small{display:block;color:var(--muted);margin-top:3px}.notification-action{flex:0 0 auto}.notification-action .button{padding:7px 9px;font-size:11px}@media(max-width:700px){.notification-page .notifications-head{display:block}.notification-head-actions{margin-top:12px}.notification-head-actions form{flex:1}.notification-head-actions .button{width:100%;padding:10px 8px}.notification{padding:12px 10px}.notification-icon{display:none}.notification-action .button{font-size:10px;padding:7px}.notification-filters{margin:0 -4px}.notification-page{padding-bottom:92px}}

/* Phase 2.6 — professional profiles & connections */
.verified-badge{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#167a63;color:#fff;font-size:13px;font-weight:900;vertical-align:middle;box-shadow:0 2px 7px rgba(22,122,99,.22)}
.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0;overflow:hidden;margin-top:18px}.profile-stats a{padding:17px 10px;text-align:center;text-decoration:none;color:inherit;border-right:1px solid var(--line)}.profile-stats a:last-child{border-right:0}.profile-stats strong{display:block;font-size:21px}.profile-stats span{display:block;color:var(--muted);font-size:11px;margin-top:3px;font-weight:750}.profile-stats a:hover{background:#f7fbfa}.verification-success{display:flex;gap:10px;align-items:center}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-post-item{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfdfc}.profile-post-item a{text-decoration:none}.profile-post-item p{margin:8px 0 0;line-height:1.5}.profile-post-item img{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin-top:10px}.people-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 13px}.people-tabs a{padding:8px 11px;border:1px solid var(--line);border-radius:999px;text-decoration:none;color:var(--muted);font-size:11px;font-weight:800;background:#fff}.people-tabs a.active,.people-tabs a:hover{background:var(--mint);color:var(--green-dark);border-color:#b9dfd4}
@media(max-width:700px){.profile-stats{grid-template-columns:repeat(4,1fr)}.profile-stats a{padding:13px 5px}.profile-stats strong{font-size:18px}.profile-stats span{font-size:9px}.section-heading-row{align-items:flex-start}.section-heading-row .button{font-size:10px;padding:8px}.profile-post-list{grid-template-columns:1fr}.people-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.people-tabs a{white-space:nowrap}}
/* Phase 2.7 — Groups & Communities */
.groups-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:10px 0 20px}.groups-hero h1{font-size:38px;letter-spacing:-1.2px;margin:5px 0}.groups-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.group-card{overflow:hidden}.group-cover{height:115px;background:linear-gradient(135deg,var(--green-dark),var(--green),#a7d9cb);display:flex;align-items:center;justify-content:space-between;padding:18px;color:#fff}.group-cover span{width:62px;height:62px;border-radius:18px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);display:grid;place-items:center;font-size:28px;font-weight:900}.group-cover b{font-size:10px;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.18);text-transform:uppercase;letter-spacing:.6px}.group-cover.large{height:180px}.group-cover.large span{width:90px;height:90px;font-size:40px}.group-body{padding:18px}.group-body h2{font-size:20px;margin:4px 0 7px}.group-body h2 a{text-decoration:none}.group-body p{font-size:12px;color:var(--muted);min-height:56px}.group-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px}.group-card .person-actions{margin-top:15px}.group-dialog{border:0;border-radius:20px;padding:0;width:min(520px,calc(100% - 28px));box-shadow:0 25px 80px rgba(20,50,42,.25)}.group-dialog::backdrop{background:rgba(10,25,20,.45)}.group-dialog form{padding:25px;display:grid;gap:14px}.group-dialog h2{margin:0;font-size:25px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.group-hero{overflow:hidden}.group-hero-body{padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:20px}.group-hero-body h1{font-size:34px;margin:4px 0}.group-hero-body .person-actions{margin:0}.group-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;margin-top:20px}.group-members-list{display:grid;gap:10px}.group-member-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.group-member-row>div{display:grid}.group-member-row span{font-size:11px;color:var(--muted)}.section-heading-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading-row h2{margin:4px 0 0}.group-layout .composer h2{font-size:19px;margin:4px 0 12px}.group-layout .composer{margin-bottom:16px}
@media(max-width:900px){.groups-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.group-layout{grid-template-columns:1fr}.group-layout .feed-side{display:none}}
@media(max-width:700px){.groups-hero{display:block}.groups-hero h1{font-size:30px}.groups-hero>.button{width:100%;margin-top:10px}.groups-grid{grid-template-columns:1fr}.group-body p{min-height:0}.group-hero-body{display:block;padding:18px}.group-hero-body h1{font-size:28px}.group-hero-body .person-actions{margin-top:13px}.group-hero-body .person-actions .button,.group-hero-body .person-actions form{width:100%}.group-cover.large{height:135px}.group-cover.large span{width:68px;height:68px;font-size:30px}.group-member-row{align-items:flex-start;flex-direction:column}.group-member-row form{display:flex;width:100%;gap:7px}.group-member-row form .button{flex:1}.dialog-actions{display:grid;grid-template-columns:1fr 1fr}.dialog-actions .button{width:100%}}

/* Phase 2.7 Groups navigation + mobile create-group fix */
.groups-hero{display:flex;justify-content:space-between;align-items:center;gap:20px}
.groups-grid{margin-top:18px}
.group-dialog{z-index:3000}
@media(max-width:700px){
  .groups-hero{display:block}
  .groups-hero>.button{display:flex;width:100%;min-height:46px}
  .group-dialog{width:calc(100vw - 24px);max-width:520px;margin:auto}
  .group-dialog form{padding:20px}
  .group-dialog input,.group-dialog textarea,.group-dialog select{width:100%;max-width:100%;box-sizing:border-box}
  .dialog-actions{grid-template-columns:1fr 1fr}
  .mobile-nav a.mobile-nav-groups{color:var(--green)}
  .mobile-nav a.mobile-nav-groups.active{background:var(--mint);border-radius:10px}
}
.ps-verify-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-width:22px;max-width:22px;flex:0 0 22px;vertical-align:-.18em;line-height:0;margin-left:4px;font-size:0;overflow:hidden;border:0;background:transparent;box-shadow:none}.ps-verify-badge img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;margin:0!important;padding:0!important}.ps-verify-user{width:20px;height:20px;min-width:20px;max-width:20px;flex-basis:20px}.page-head h1 .ps-verify-badge{width:24px;height:24px;min-width:24px;max-width:24px;flex-basis:24px;vertical-align:-.22em}.page-activity-head .ps-verify-badge,.org-head h3 .ps-verify-badge{width:20px;height:20px;min-width:20px;max-width:20px;flex-basis:20px;vertical-align:-.2em}

/* Verification badge sizing fix v4: keep artwork inside the intended inline box. */
@media(max-width:700px){.page-head h1 .ps-verify-badge{width:22px;height:22px;min-width:22px;max-width:22px;flex-basis:22px}.page-head h1{display:flex;align-items:center;flex-wrap:wrap;gap:3px}.page-activity-head .ps-verify-badge,.org-head h3 .ps-verify-badge{width:19px;height:19px;min-width:19px;max-width:19px;flex-basis:19px}}

/* =========================================================
   PhysioSocial v10 — Responsive authentication redesign
   Desktop + mobile login/register
========================================================= */
.auth-v10{min-height:100vh;margin:0;background:linear-gradient(135deg,#f2fbf8 0%,#f7f9ff 52%,#eef7ff 100%);color:#102d39;font-family:inherit;display:grid;place-items:center;padding:28px;box-sizing:border-box}
.auth-v10 *{box-sizing:border-box}.auth-v10 a{color:#008e83}.auth-v10-shell{width:min(1180px,100%);min-height:720px;background:#fff;border:1px solid rgba(15,54,68,.10);border-radius:30px;overflow:hidden;box-shadow:0 28px 90px rgba(17,54,64,.16);display:grid;grid-template-columns:42% 58%}
.auth-v10-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#062e4c 0%,#075b68 46%,#00a991 100%);color:#fff}.auth-v10-hero:after{content:"";position:absolute;width:430px;height:430px;border-radius:50%;right:-190px;bottom:-170px;background:rgba(255,255,255,.07)}.auth-v10-hero-inner{height:100%;padding:52px 48px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}.auth-v10-brand{display:inline-flex;width:225px;margin-bottom:48px}.auth-v10-brand img{display:block;width:100%;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.98}.auth-v10-copy{max-width:410px}.auth-v10-kicker{font-size:11px;letter-spacing:3px;font-weight:900;color:#0b9d8e}.auth-v10-hero .auth-v10-kicker{color:#9ff4e7}.auth-v10-copy h1{font-size:clamp(34px,4vw,50px);line-height:1.06;letter-spacing:-1.7px;color:#fff;margin:13px 0 18px}.auth-v10-copy p{font-size:15px;line-height:1.75;color:rgba(255,255,255,.84);margin:0}.auth-v10-benefits{display:grid;gap:13px;margin-top:30px}.auth-v10-benefits div{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:750;color:rgba(255,255,255,.93)}.auth-v10-benefits b{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#a9fff0}
.auth-v10-card{background:#fff;padding:58px 74px;display:flex;flex-direction:column;justify-content:center;min-width:0}.auth-v10-heading{margin-bottom:24px}.auth-v10-heading h2{font-size:38px;line-height:1.1;letter-spacing:-1.2px;margin:8px 0 9px;color:#102d39}.auth-v10-heading p{margin:0;color:#74858b;font-size:14px}.auth-v10-mobile-brand{display:none}.auth-v10-alert{padding:12px 14px;border-radius:12px;font-size:13px;font-weight:650;margin:0 0 18px}.auth-v10-alert.success{background:#e9f8f3;color:#08755f;border:1px solid #bce7da}.auth-v10-alert.error{background:#fff1f0;color:#a52925;border:1px solid #f0c5c2}.auth-v10-form{display:grid;gap:17px}.auth-v10-form label>span{display:block;font-size:12px;font-weight:800;color:#40545c;margin:0 0 7px}.auth-v10-input{position:relative;display:flex;align-items:center;border:1px solid #d6e0e3;border-radius:12px;background:#fff;min-height:52px;transition:border-color .18s,box-shadow .18s}.auth-v10-input:focus-within{border-color:#079b89;box-shadow:0 0 0 4px rgba(7,155,137,.10)}.auth-v10-input i{width:42px;text-align:center;color:#719097;font-style:normal;font-weight:800}.auth-v10-input input,.auth-v10-input select{width:100%;min-height:50px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0 14px 0 0;border-radius:12px;font:inherit;color:#18333d}.auth-v10-input input::placeholder{color:#a1adb1}.auth-v10-input select{padding-right:30px;appearance:auto}.auth-v10-eye{border:0;background:transparent;color:#6f848a;padding:10px 14px;cursor:pointer;font-size:13px}.auth-v10-row{display:flex;justify-content:flex-end;margin-top:-7px;font-size:12px;font-weight:800}.auth-v10-row a,.auth-v10-new a{color:#008f86;text-decoration:none}.auth-v10-submit{width:100%;min-height:53px;border:0;border-radius:12px;background:linear-gradient(90deg,#04a58b,#087ca9);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 9px 22px rgba(4,145,139,.18);transition:transform .15s,box-shadow .15s}.auth-v10-submit:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(4,145,139,.23)}.auth-v10-submit b{font-size:20px}.auth-v10-or{display:flex;align-items:center;gap:10px;margin:22px 0;color:#9aa8ad;font-size:12px}.auth-v10-or:before,.auth-v10-or:after{content:"";height:1px;background:#e5ebed;flex:1}.auth-v10-new{display:flex;justify-content:center;align-items:center;gap:7px;color:#74858b;font-size:13px;font-weight:700}.auth-v10-new a{font-weight:900}.auth-v10-legal{text-align:center;margin-top:25px;color:#8b989d;font-size:10.5px;line-height:1.7}.auth-v10-legal a{text-decoration:underline;text-underline-offset:2px}.auth-v10-legal span{padding:0 7px;color:#b2bdc1}.auth-v10-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-v10-register-shell{min-height:760px}.auth-v10-register-form{gap:15px}.auth-v10-consent{display:flex!important;align-items:flex-start;gap:10px;margin:2px 0 1px;padding:13px 14px;background:#f5fbf9;border:1px solid #d8eee8;border-radius:12px}.auth-v10-consent input{width:17px;height:17px;accent-color:#079b89;margin:1px 0 0;flex:0 0 auto}.auth-v10-consent span{font-size:11px!important;line-height:1.65;color:#62757b!important;font-weight:600!important;margin:0!important}.auth-v10-consent a{font-weight:900}
@media(max-width:900px){.auth-v10{padding:0;display:block}.auth-v10-shell,.auth-v10-register-shell{width:100%;min-height:100vh;border-radius:0;border:0;box-shadow:none;display:block}.auth-v10-hero{display:none}.auth-v10-card{min-height:100vh;padding:28px 22px 36px;justify-content:flex-start}.auth-v10-mobile-brand{display:flex;justify-content:center;margin:0 0 34px}.auth-v10-mobile-brand a{display:block;width:180px}.auth-v10-mobile-brand img{display:block;width:100%;height:auto;object-fit:contain}.auth-v10-heading{text-align:center;margin-bottom:24px}.auth-v10-heading h2{font-size:29px;letter-spacing:-.8px}.auth-v10-heading p{font-size:13px}.auth-v10-grid2{grid-template-columns:1fr;gap:15px}.auth-v10-form{gap:15px}.auth-v10-register-form{gap:14px}.auth-v10-consent{padding:12px}.auth-v10-legal{margin-top:22px}}
@media(max-width:430px){.auth-v10-card{padding:23px 16px 30px}.auth-v10-mobile-brand{margin-bottom:29px}.auth-v10-mobile-brand a{width:165px}.auth-v10-heading h2{font-size:27px}.auth-v10-kicker{font-size:10px;letter-spacing:2.4px}.auth-v10-input{min-height:50px}.auth-v10-input input,.auth-v10-input select{min-height:48px}.auth-v10-new{flex-wrap:wrap}.auth-v10-legal{font-size:10px}}

/* PhysioSocial UI/UX Pro Refresh — dashboard, feed & profile only. Backend untouched. */
:root{--ps-shadow-soft:0 10px 35px rgba(17,53,44,.07);--ps-shadow-card:0 14px 42px rgba(17,53,44,.08);--ps-radius-xl:24px}
.page-dashboard .page,.page-feed .page,.page-profile .page{max-width:1240px}
.page-dashboard .topbar,.page-feed .topbar,.page-profile .topbar{box-shadow:0 2px 18px rgba(20,55,45,.04)}
.page-dashboard .nav,.page-feed .nav,.page-profile .nav{min-height:72px}
.page-dashboard .brand,.page-feed .brand,.page-profile .brand{flex-shrink:0}
.page-dashboard .site-header-logo,.page-feed .site-header-logo,.page-profile .site-header-logo{display:block;max-height:48px;width:auto;max-width:190px;object-fit:contain}
.page-dashboard .page{padding-top:34px}
.page-dashboard .hero-mini{position:relative;overflow:hidden;align-items:center;padding:34px 34px 32px;margin-bottom:22px;border:1px solid var(--line);border-radius:var(--ps-radius-xl);background:linear-gradient(135deg,#f7fcfa 0%,#fff 62%,#eef8f4 100%);box-shadow:var(--ps-shadow-soft)}
.page-dashboard .hero-mini:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(22,122,99,.10);border-radius:50%;right:-85px;top:-150px;pointer-events:none}
.page-dashboard .hero-mini>div{position:relative;z-index:1;max-width:760px}
.page-dashboard .hero-mini .eyebrow,.page-feed .feed-title .eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:var(--mint);border:1px solid #d6ece5}
.page-dashboard .hero-mini h1{font-size:clamp(31px,4vw,46px);line-height:1.08;margin:11px 0 10px;letter-spacing:-1.7px}
.page-dashboard .hero-mini p{font-size:15px;max-width:650px;margin-bottom:0}
.page-dashboard .hero-mini>.button{position:relative;z-index:2;min-width:145px;min-height:46px;border-radius:13px;box-shadow:0 8px 20px rgba(22,122,99,.16)}
.page-dashboard .dashboard-grid{gap:18px}
.page-dashboard .dashboard-grid .card{position:relative;overflow:hidden;padding:25px 26px;border-radius:20px;box-shadow:var(--ps-shadow-soft);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.page-dashboard .dashboard-grid .card:hover{transform:translateY(-2px);box-shadow:var(--ps-shadow-card);border-color:#cfe2db}
.page-dashboard .dashboard-grid .card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--green),#75c5ae)}
.page-dashboard .dashboard-grid .card:nth-child(2):before{background:linear-gradient(90deg,#0f604e,#31a984)}
.page-dashboard .dashboard-grid h2{font-size:24px;letter-spacing:-.5px}
.page-dashboard .clean-list{display:grid;gap:7px;padding-left:19px;margin:14px 0 19px}
.page-dashboard .dashboard-grid .button{min-height:42px;border-radius:12px}
.page-feed .page{padding-top:24px}
.page-feed .feed-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.page-feed .feed-title{padding:10px 2px 22px}
.page-feed .feed-title h1{font-size:clamp(31px,4vw,44px);letter-spacing:-1.8px;margin:11px 0 9px}
.page-feed .feed-title p{font-size:14px;max-width:700px}
.page-feed .composer{border-radius:20px;padding:19px;margin-bottom:16px;box-shadow:var(--ps-shadow-soft);border-color:#d5e5df}
.page-feed .composer:before{content:"Create a professional update";display:block;font-size:11px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;color:var(--green);margin-bottom:10px}
.page-feed .composer textarea{min-height:112px;border-radius:15px;background:#fbfdfc;padding:15px;font-size:15px}
.page-feed .composer-row{padding-top:2px}
.page-feed .file-button,.page-feed .composer-row select{border-radius:12px;background:#f8fbfa}
.page-feed .post-list{gap:14px}
.page-feed .post-card{border-radius:20px;padding:19px 20px;box-shadow:var(--ps-shadow-soft);transition:box-shadow .18s ease,border-color .18s ease}
.page-feed .post-card:hover{box-shadow:var(--ps-shadow-card);border-color:#d0e1db}
.page-feed .post-head{padding-bottom:2px}
.page-feed .post-avatar{width:48px;height:48px;border-radius:15px}
.page-feed .post-content{font-size:15px;line-height:1.65;padding:14px 0 9px}
.page-feed .post-media{border-radius:16px;margin:9px 0 5px}
.page-feed .post-media img{max-height:620px}
.page-feed .post-stats{padding:10px 2px;border-bottom-color:#e6efeb}
.page-feed .post-actions{padding-top:9px;gap:6px}
.page-feed .post-actions .button{border-radius:10px;background:#f8fbfa}
.page-feed .post-actions .button:hover{background:var(--mint);border-color:#cce3db}
.page-feed .comments{margin-top:13px;padding-top:13px}
.page-feed .comment-form input{background:#fbfdfc}
.page-feed .feed-side{gap:14px;top:94px}
.page-feed .feed-side .card{border-radius:20px;padding:19px;box-shadow:var(--ps-shadow-soft)}
.page-feed .feed-side .card:first-child{background:linear-gradient(145deg,#f7fcfa,#fff)}
.page-feed .feed-side h2{font-size:19px;letter-spacing:-.3px}
.page-profile .page{padding-top:26px}
.page-profile .profile-hero{border-radius:24px;box-shadow:var(--ps-shadow-card);border-color:#d3e4de}
.page-profile .profile-cover{height:225px;background-color:#167a63}
.page-profile .profile-main{padding:0 32px 28px}
.page-profile .profile-avatar{width:148px;height:148px;border-radius:32px;border-width:7px;margin-top:-74px;box-shadow:0 12px 32px rgba(14,58,47,.18)}
.page-profile .profile-main h1{font-size:39px;letter-spacing:-1.5px;line-height:1.12}
.page-profile .headline{font-size:17px;color:#29443d}
.page-profile .profile-main>p:not(.headline):not(.muted){font-size:14px;line-height:1.65;color:#53635e}
.page-profile .profile-main .person-actions{gap:8px}
.page-profile .profile-main .person-actions .button{min-height:41px;border-radius:12px}
.page-profile .profile-stats{margin-top:16px;border-radius:18px;box-shadow:var(--ps-shadow-soft);border-color:#d5e5df}
.page-profile .profile-stats a{padding:18px 10px;transition:background .16s ease}
.page-profile .profile-stats a:hover{background:#f4faf7}
.page-profile .profile-stats strong{font-size:23px;letter-spacing:-.5px}
.page-profile .dashboard-grid{margin-top:18px;gap:18px}
.page-profile .dashboard-grid .card,.page-profile .section-card{border-radius:20px;box-shadow:var(--ps-shadow-soft);border-color:#d5e5df}
.page-profile .dashboard-grid .card{padding:24px}
.page-profile .dashboard-grid h2,.page-profile .section-card h2{font-size:20px;letter-spacing:-.4px}
.page-profile .label{color:var(--green);font-size:9px;letter-spacing:1.1px}
@media(max-width:1120px) and (min-width:701px){.page-dashboard .nav,.page-feed .nav,.page-profile .nav{gap:12px}.page-dashboard header nav a,.page-feed header nav a,.page-profile header nav a{padding:8px 7px;font-size:11px}.page-dashboard .site-header-logo,.page-feed .site-header-logo,.page-profile .site-header-logo{max-width:165px}.page-feed .feed-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:900px) and (min-width:701px){.page-dashboard .hero-mini{padding:28px}.page-profile .profile-main h1{font-size:34px}}
@media(max-width:700px){.page-dashboard .page,.page-feed .page,.page-profile .page{width:calc(100% - 18px);padding-top:13px}.page-dashboard .topbar .nav,.page-feed .topbar .nav,.page-profile .topbar .nav{min-height:58px;width:calc(100% - 18px)}.page-dashboard .site-header-logo,.page-feed .site-header-logo,.page-profile .site-header-logo{max-height:43px;max-width:155px}.page-dashboard .hero-mini{padding:23px 20px 20px;border-radius:20px;margin-bottom:15px}.page-dashboard .hero-mini h1{font-size:30px;letter-spacing:-1.1px;margin-top:9px}.page-dashboard .hero-mini p{font-size:13px;line-height:1.55}.page-dashboard .hero-mini>.button{width:100%;margin-top:15px}.page-dashboard .dashboard-grid .card{padding:20px;border-radius:18px}.page-dashboard .dashboard-grid h2{font-size:21px}.page-feed .feed-title{padding:7px 2px 16px}.page-feed .feed-title h1{font-size:29px;letter-spacing:-1.1px;margin:9px 0 7px}.page-feed .feed-title p{font-size:12px;line-height:1.5}.page-feed .composer{padding:14px;border-radius:17px}.page-feed .composer:before{font-size:9px;margin-bottom:8px}.page-feed .composer textarea{min-height:92px;padding:12px;font-size:14px;border-radius:13px}.page-feed .composer-row{gap:7px}.page-feed .composer-row select{min-width:120px}.page-feed .post-card{padding:14px;border-radius:17px}.page-feed .post-avatar{width:43px;height:43px;border-radius:13px}.page-feed .post-content{font-size:14px;line-height:1.58}.page-feed .post-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-feed .post-actions .button{min-height:39px;padding:8px 6px;font-size:11px}.page-feed .comments{margin-left:-2px;margin-right:-2px}.page-profile .profile-hero{border-radius:20px}.page-profile .profile-cover{height:150px}.page-profile .profile-main{padding:0 17px 20px}.page-profile .profile-avatar{width:108px;height:108px;margin-top:-54px;border-radius:25px;border-width:6px}.page-profile .profile-main h1{font-size:30px;letter-spacing:-1px;line-height:1.15}.page-profile .profile-main .headline{font-size:14px}.page-profile .profile-main>p:not(.headline):not(.muted){font-size:13px}.page-profile .profile-main .person-actions{gap:7px;margin-top:13px}.page-profile .profile-main .person-actions .button{min-height:39px;padding:8px 9px;font-size:11px}.page-profile .profile-stats{margin-top:12px;border-radius:16px}.page-profile .profile-stats a{padding:13px 4px}.page-profile .profile-stats strong{font-size:18px}.page-profile .profile-stats span{font-size:8px}.page-profile .dashboard-grid{margin-top:13px;gap:12px}.page-profile .dashboard-grid .card,.page-profile .section-card{padding:18px;border-radius:17px}.page-profile .dashboard-grid h2,.page-profile .section-card h2{font-size:18px}}

/* =========================================================
   PhysioSocial 047 — Portal UX / LinkedIn + Facebook feed / Research
========================================================= */
.page-feed .feed-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.page-feed .feed-title{padding:12px 2px 18px}
.page-feed .feed-title h1{font-size:clamp(32px,3.4vw,43px);max-width:780px}
.page-feed .composer{border-radius:18px;border-color:#dce8e3;box-shadow:0 8px 28px rgba(17,53,44,.06)}
.page-feed .composer textarea{min-height:86px;background:#fbfdfc;border-radius:14px}
.page-feed .post-card{border-radius:18px;border-color:#dce8e3;box-shadow:0 7px 24px rgba(17,53,44,.055);transition:transform .15s ease,box-shadow .15s ease}
.page-feed .post-card:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(17,53,44,.08)}
.page-feed .post-actions .button{border-radius:10px}
.page-feed .feed-side .card{border-radius:18px;border-color:#dce8e3;box-shadow:0 7px 24px rgba(17,53,44,.05)}
.page-feed .feed-side .quick-links{display:grid;gap:7px;margin-top:10px}
.page-feed .feed-side .quick-links a{padding:9px 10px;border-radius:10px;text-decoration:none;background:#f6faf8;font-size:12px;font-weight:800;color:#40514b}
.page-feed .feed-side .quick-links a:hover{background:var(--mint);color:var(--green-dark)}
.page-dashboard .portal-overview{margin-top:20px}
.page-dashboard .portal-overview-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px}
.page-dashboard .portal-overview-head h2{margin:4px 0 0;font-size:25px;letter-spacing:-.6px}
.page-dashboard .portal-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.page-dashboard .portal-feature{padding:18px;border-radius:18px;text-decoration:none;background:#fff;border:1px solid #dce8e3;box-shadow:0 7px 22px rgba(17,53,44,.05);transition:transform .15s,box-shadow .15s,border-color .15s;min-width:0}
.page-dashboard .portal-feature:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(17,53,44,.08);border-color:#c7ded6}
.page-dashboard .portal-feature .pf-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eaf7f3;font-size:20px;margin-bottom:11px}
.page-dashboard .portal-feature strong{display:block;font-size:14px;margin-bottom:4px}
.page-dashboard .portal-feature span{display:block;color:#71817c;font-size:11px;line-height:1.45}
.page-research .research-hero{padding:30px;border-radius:22px;background:linear-gradient(135deg,#f0fbf7,#f7faff 58%,#fff8ea);border:1px solid #dce8e3;box-shadow:0 10px 32px rgba(17,53,44,.06)}
.page-research .research-hero h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px;margin:8px 0}
.page-research .research-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start;margin-top:18px}
.page-research .research-list{display:grid;gap:14px}
.page-research .research-card{padding:20px;border-radius:18px;border:1px solid #dce8e3;box-shadow:0 7px 24px rgba(17,53,44,.05)}
.page-research .research-card h2{font-size:20px;letter-spacing:-.3px;margin:5px 0 6px}
.page-research .research-meta{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.page-research .research-meta span{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:#f1f7f5;color:#61716c}
.page-research .research-abstract{color:#53635e;line-height:1.6;font-size:13px}.page-research .research-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.page-research .research-side{display:grid;gap:15px;position:sticky;top:88px}.page-research .research-side .card{padding:19px;border-radius:18px}
.page-research .research-form{display:grid;gap:13px}.page-research .research-form .field{display:grid;gap:6px}.page-research .research-form label{font-size:11px;font-weight:850;color:#40514b}.page-research .research-form input,.page-research .research-form textarea,.page-research .research-form select{width:100%;border:1px solid #d7e4df;border-radius:11px;padding:10px 11px;background:#fff;outline:0}.page-research .research-form textarea{min-height:100px;resize:vertical}.page-research .research-form input:focus,.page-research .research-form textarea:focus,.page-research .research-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,122,99,.09)}
@media(max-width:1050px){.page-dashboard .portal-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-research .research-layout{grid-template-columns:1fr}.page-research .research-side{position:static}}
@media(max-width:700px){.page-dashboard .portal-overview-head{display:block}.page-dashboard .portal-feature-grid{grid-template-columns:1fr 1fr;gap:10px}.page-dashboard .portal-feature{padding:15px}.page-feed .feed-layout{grid-template-columns:1fr}.page-feed .feed-side{display:none}.page-research .research-hero{padding:20px;border-radius:18px}.page-research .research-hero h1{font-size:31px}.page-research .research-layout{gap:13px}.page-research .research-card{padding:16px}.page-research .research-actions .button{flex:1 1 calc(50% - 8px)} }
@media(max-width:430px){.page-dashboard .portal-feature-grid{grid-template-columns:1fr}.page-research .research-actions .button{width:100%;flex-basis:100%}}

/* PhysioSocial Unified Mobile Menu — 048 fix */
.mobile-unified-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:74px!important;min-height:74px!important;z-index:2147483000!important;display:none;align-items:stretch!important;justify-content:stretch!important;background:rgba(255,255,255,.98)!important;border-top:1px solid var(--line)!important;box-shadow:0 -10px 30px rgba(20,50,42,.12)!important;padding:5px 0 calc(5px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;overflow:visible!important;isolation:isolate}
.mobile-unified-nav .mobile-main-link{position:relative;flex:1 1 20%!important;width:20%!important;min-width:0!important;max-width:none!important;height:64px!important;border:0!important;background:transparent!important;color:#66756f!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:4px 1px!important;font-size:10px!important;font-weight:850!important;line-height:1!important;cursor:pointer!important;box-sizing:border-box!important}
.mobile-unified-nav .mobile-main-link .nav-icon{font-size:20px!important;line-height:1!important;display:grid!important;place-items:center!important}
.mobile-unified-nav .mobile-main-link.active{color:var(--green)!important}
.mobile-unified-nav .mobile-main-link.mobile-post .nav-icon{width:40px!important;height:40px!important;border-radius:50%!important;background:var(--green)!important;color:#fff!important;box-shadow:0 7px 18px rgba(22,122,99,.25)!important;font-size:23px!important;margin-top:-5px!important}
.mobile-unified-nav .mobile-more-button{font-family:inherit!important;appearance:none!important;-webkit-appearance:none!important}
.mobile-unified-nav .mobile-more-button .nav-icon{font-size:22px!important;letter-spacing:-2px}
.ps-mobile-more-menu{position:fixed!important;inset:0!important;z-index:2147483640!important;display:block!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important;transition:opacity .18s ease,visibility .18s ease!important}
.ps-mobile-more-menu.show{visibility:visible!important;pointer-events:auto!important;opacity:1!important}
.ps-mobile-more-backdrop{position:absolute!important;inset:0!important;background:rgba(9,25,21,.46)!important;backdrop-filter:blur(3px)!important}
.ps-mobile-more-sheet{position:absolute!important;left:10px!important;right:10px!important;bottom:84px!important;max-height:calc(100dvh - 120px)!important;overflow:auto!important;background:#fff!important;border:1px solid #dbe8e3!important;border-radius:22px!important;box-shadow:0 24px 60px rgba(8,35,28,.25)!important;padding:17px!important;transform:translateY(18px)!important;transition:transform .18s ease!important}
.ps-mobile-more-menu.show .ps-mobile-more-sheet{transform:translateY(0)!important}
.ps-mobile-more-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:3px 2px 13px!important;border-bottom:1px solid #e6efeb!important}
.ps-mobile-more-head h2{margin:3px 0 0!important;font-size:25px!important;letter-spacing:-.6px!important}
.ps-mobile-more-close{width:38px!important;height:38px!important;border:1px solid #dbe8e3!important;border-radius:12px!important;background:#f6faf8!important;color:#40514b!important;font-size:25px!important;line-height:1!important;cursor:pointer!important}
.ps-mobile-more-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;padding:13px 0!important}
.ps-mobile-more-grid a{display:grid!important;grid-template-columns:34px 1fr!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;padding:12px!important;border:1px solid #e2ece8!important;border-radius:14px!important;background:#fbfdfc!important;text-decoration:none!important;color:#263a34!important;min-width:0!important}
.ps-mobile-more-grid a:hover{background:#f0faf6!important;border-color:#c9e2d8!important}
.ps-mobile-more-grid a>span{grid-row:1 / span 2;width:34px!important;height:34px!important;border-radius:11px!important;background:#e9f7f2!important;display:grid!important;place-items:center!important;font-size:17px!important}
.ps-mobile-more-grid b{font-size:11px!important;line-height:1.2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ps-mobile-more-grid small{font-size:8px!important;color:#788680!important;line-height:1.3!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ps-mobile-more-footer{display:flex!important;flex-wrap:wrap!important;gap:8px!important;border-top:1px solid #e6efeb!important;padding-top:12px!important}
.ps-mobile-more-footer a{font-size:10px!important;font-weight:800!important;color:#61716c!important;text-decoration:none!important;padding:7px 9px!important;border-radius:9px!important;background:#f6faf8!important}
.ps-mobile-more-footer a.danger-link{color:#a33d3d!important;background:#fff2f2!important}
html.ps-more-open,html.ps-more-open body{overflow:hidden!important}
@media(max-width:700px){.mobile-unified-nav{display:flex!important}.mobile-unified-nav~.ps-mobile-more-menu{display:block!important}}
@media(min-width:701px){.mobile-unified-nav,.ps-mobile-more-menu{display:none!important}}
@media(max-width:420px){.ps-mobile-more-sheet{left:7px!important;right:7px!important;bottom:80px!important;border-radius:19px!important;padding:13px!important}.ps-mobile-more-grid{gap:7px!important}.ps-mobile-more-grid a{padding:10px!important;grid-template-columns:30px 1fr!important}.ps-mobile-more-grid a>span{width:30px!important;height:30px!important;font-size:15px!important}.ps-mobile-more-grid b{font-size:10px!important}.ps-mobile-more-grid small{font-size:7px!important}.mobile-unified-nav{height:72px!important;min-height:72px!important}.mobile-unified-nav .mobile-main-link{height:62px!important;font-size:9px!important}.mobile-unified-nav .mobile-main-link.mobile-post .nav-icon{width:38px!important;height:38px!important}}

/* 051 calling UI */
.ps-call-ui{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(8,18,28,.42);padding:18px}.ps-call-card{width:min(440px,94vw);background:#fff;border-radius:24px;box-shadow:0 24px 80px rgba(0,0,0,.25);padding:24px;text-align:center}.ps-call-title{font-size:22px;font-weight:800}.ps-call-sub{color:#6b7280;margin:8px 0 18px}.ps-call-media{min-height:12px}.ps-call-media video{width:100%;max-height:360px;border-radius:18px;background:#111;object-fit:cover}.ps-call-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}.ps-call-actions .danger{background:#b42318;color:#fff}.ps-call-actions button{min-width:100px}@media(max-width:600px){.ps-call-card{border-radius:20px;padding:20px}.ps-call-actions button{flex:1;min-width:90px}}
.call-actions{display:flex;gap:8px;align-items:center;margin-left:auto;flex-wrap:wrap}.conversation-header .call-actions{justify-content:flex-end}@media(max-width:700px){.call-actions{width:100%;margin-left:0}.conversation-header .call-actions .button{flex:1}}

/* 052: the call overlay must remain hidden until calling.js explicitly opens it. */
.ps-call-ui[hidden]{display:none !important;}

/* Advanced Search v57 */
.page-search .search-hero-pro{padding:30px;border-radius:24px;background:linear-gradient(135deg,#effaf6 0%,#f7fbfa 55%,#fff 100%);border:1px solid #d8e8e2;box-shadow:0 14px 40px rgba(17,53,44,.07)}
.page-search .search-hero-pro h1{font-size:clamp(32px,5vw,52px);letter-spacing:-1.8px;line-height:1.08;margin:8px 0 12px;max-width:850px}.page-search .search-hero-pro>p{max-width:760px;font-size:15px}
.search-pro-form{margin-top:22px;background:rgba(255,255,255,.84);border:1px solid #dce9e4;border-radius:19px;padding:15px;box-shadow:0 8px 25px rgba(17,53,44,.05)}
.search-pro-main{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;border:1px solid #cbded7;background:#fff;border-radius:14px;overflow:hidden}.search-pro-main>span{font-size:20px;text-align:center;color:#71827c}.search-pro-main input{width:100%;border:0;outline:0;padding:14px 8px;font-size:14px;min-width:0}.search-pro-main .button{border-radius:0;min-height:50px;padding:10px 20px}
.search-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:13px}.search-filter-grid label{display:grid;gap:5px}.search-filter-grid label>span{font-size:10px;font-weight:900;letter-spacing:.4px;text-transform:uppercase;color:#53635e}.search-filter-grid input,.search-filter-grid select{width:100%;min-width:0;border:1px solid #d5e3de;border-radius:11px;background:#fff;padding:10px 11px;outline:0;color:#263a34}.search-filter-grid input:focus,.search-filter-grid select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,122,99,.09)}
.search-pro-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px}.search-filter-note{font-size:11px;color:#7a8984;margin-left:auto}.search-active-filters{display:inline-flex;margin-left:9px;padding:5px 9px;border-radius:999px;background:#e8f6f0;color:#176b59;font-size:10px;font-weight:900}
.page-search .search-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.page-search .search-tabs a{padding:8px 13px;border:1px solid #dce8e3;border-radius:999px;background:#fff;text-decoration:none;color:#61716c;font-size:11px;font-weight:850}.page-search .search-tabs a.active,.page-search .search-tabs a:hover{background:var(--green);border-color:var(--green);color:#fff}
.search-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:13px 2px;color:#5d6e68;font-size:13px}.search-summary strong{font-size:18px;color:#243a33}.search-summary>span:not(.search-active-filters){font-size:12px}
.search-person-pro{display:grid;grid-template-columns:96px minmax(0,1fr);gap:17px;padding:18px;align-items:center}.search-avatar-large{width:96px;height:96px;border-radius:22px;font-size:30px}.search-avatar-large img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.search-person-body h3{margin:0 0 4px;font-size:19px}.search-person-body>p{font-size:11px;color:#687871;margin-bottom:8px}.search-person-body>strong{display:block;font-size:13px;margin-bottom:8px}.search-person-body .button{margin-top:10px}.page-result-logo-large{width:64px;height:64px}.page-result-logo-large img{width:100%;height:100%;object-fit:cover;border-radius:16px}
@media(max-width:900px){.search-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.page-search .search-hero-pro{padding:19px;border-radius:19px}.page-search .search-hero-pro h1{font-size:31px;letter-spacing:-1px}.search-pro-form{padding:10px;border-radius:16px}.search-pro-main{grid-template-columns:25px minmax(0,1fr)}.search-pro-main .button{grid-column:1/-1;border-radius:10px;margin:6px}.search-filter-grid{grid-template-columns:1fr 1fr;gap:8px}.search-filter-grid input,.search-filter-grid select{padding:9px;font-size:12px}.search-pro-actions .button{flex:1}.search-filter-note{width:100%;margin-left:0}.search-person-pro{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:14px}.search-avatar-large{width:70px;height:70px;border-radius:18px;font-size:23px}.search-person-body h3{font-size:16px}.search-person-body .button{width:100%;font-size:11px}.search-active-filters{margin-left:0}.page-search .search-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.page-search .search-tabs a{white-space:nowrap}}
@media(max-width:430px){.search-filter-grid{grid-template-columns:1fr}.search-pro-actions{display:grid;grid-template-columns:1fr 1fr}.search-filter-note{grid-column:1/-1}.search-person-pro{grid-template-columns:60px minmax(0,1fr)}.search-avatar-large{width:60px;height:60px}}
/* Dashboard search entry */
.page-dashboard .hero-actions{display:flex;gap:8px;flex-wrap:wrap}.page-dashboard .portal-feature-search{border-color:#cde3da;background:linear-gradient(135deg,#f4fbf8,#fff)}
@media(max-width:700px){.page-dashboard .hero-actions{display:grid;grid-template-columns:1fr 1fr}.page-dashboard .hero-actions .button{width:100%}}
@media(max-width:430px){.page-dashboard .hero-actions{grid-template-columns:1fr}}
