/* Compact member profiles only: keep public articles and group typography unchanged. */
body.bp-user main .wp-block-post-title{font-size:26px!important;line-height:1.2!important;margin-bottom:12px!important}body.bp-user #buddypress{font-size:16px;line-height:1.45}body.bp-user #buddypress #header-cover-image{height:70px!important}body.bp-user #buddypress #item-header-cover-image{padding:0 16px 12px!important;min-height:0!important}body.bp-user #buddypress #item-header-avatar{margin-top:18px!important;float:left!important;margin-right:14px!important}body.bp-user #buddypress #item-header-avatar img.avatar{width:64px!important;height:64px!important;border-width:3px!important}body.bp-user #buddypress #item-header-content{margin-top:78px!important;padding-top:0!important;width:auto!important;float:none!important;min-height:0!important}body.bp-user #buddypress #item-header-content h2{font-size:21px!important;line-height:1.25!important}body.bp-user #buddypress .item-meta,body.bp-user #buddypress .activity{font-size:14px!important;line-height:1.4!important}body.bp-user #buddypress #item-header{margin-bottom:12px!important;border-radius:10px!important}body.bp-user #buddypress #object-nav ul,body.bp-user #buddypress #subnav ul{gap:5px!important;margin-bottom:10px!important}body.bp-user #buddypress #object-nav li a,body.bp-user #buddypress #subnav li a{font-size:15px!important;padding:8px 11px!important;min-height:26px;border-radius:7px!important;line-height:1.5!important}body.bp-user #buddypress #item-body{padding:14px 16px!important;border-radius:10px!important}body.bp-user #buddypress .bp-screen-title,body.bp-user #buddypress .profile h2{font-family:var(--wp--preset--font-family--source-sans-3)!important;font-weight:700!important;font-size:20px!important;margin:0 0 10px!important}body.bp-user #buddypress table.profile-fields td{font-size:16px!important;padding:8px 9px!important;line-height:1.4!important}body.bp-user #buddypress #profile-edit-form label,body.bp-user #buddypress #profile-edit-form legend{font-size:16px!important}body.bp-user #buddypress #profile-edit-form input,body.bp-user #buddypress #profile-edit-form textarea,body.bp-user #buddypress #profile-edit-form select{font-size:16px!important}body.bp-user #buddypress .nwh-profile-actions .nwh-btn{font-size:15px!important;padding:8px 12px!important}body.bp-user #buddypress .activity-list{display:block!important}body.bp-user #buddypress .activity-list>li{padding:12px!important;margin-bottom:10px!important;text-align:left!important}body.bp-user #buddypress .activity-content p{font-size:16px!important;line-height:1.5!important}body.bp-user #buddypress #whats-new-form textarea{font-size:16px!important;min-height:72px!important}body:has(.nwh-walks) main{margin-top:0!important}body:has(.nwh-walks) .wp-block-post-title{font-size:26px!important;line-height:1.2!important;margin-bottom:12px!important}body:has(.nwh-walks) main>.wp-block-group:first-child{padding-top:16px!important;padding-bottom:0!important}@media(max-width:480px){body.bp-user #buddypress #item-body{padding:12px!important}body.bp-user #buddypress table.profile-fields td{padding:7px 5px!important}body.bp-user #buddypress #item-header-content{margin-top:78px!important}body.bp-user main .wp-block-post-title{font-size:23px!important}}
/* The portal uses its own member template alongside native BuddyPress screens. */
body.bp-user .nwhp-cover{height:72px!important}body.bp-user .nwhp-head{margin-bottom:14px!important}body.bp-user .nwhp-card{border-radius:10px!important}body.bp-user .nwhp-head-row{padding:0 18px 14px!important;gap:14px!important;align-items:center!important}body.bp-user .nwhp-avatar{width:72px!important;height:72px!important;margin-top:-22px!important;border-width:4px!important;border-radius:50%!important}body.bp-user .nwhp-who{min-width:160px!important;flex-basis:220px!important;padding-top:10px!important}body.bp-user .nwhp-name{font-size:24px!important;line-height:1.25!important}body.bp-user .nwhp-meta{font-size:15px!important;margin-top:4px!important}body.bp-user .nwhp .nwhp-btn{font-size:15px!important;padding:9px 12px!important}body.bp-user .nwhp-tabs{padding:0 12px!important}body.bp-user .nwhp .nwhp-tab{font-size:15px!important;padding:10px 11px!important}body.bp-user .nwhp-grid{grid-template-columns:minmax(0,1fr) 270px!important;gap:14px!important}body.bp-user .nwhp-col{gap:14px!important}body.bp-user .nwhp-sec,body.bp-user .nwhp-side,body.bp-user .nwhp-body{padding:16px 18px!important}body.bp-user .nwhp-sec h2{font-size:20px!important}body.bp-user .nwhp-side h2{font-size:18px!important}body.bp-user .nwhp-text,body.bp-user .nwhp-facts dd{font-size:16px!important;line-height:1.5!important}body.bp-user .nwhp-hint,body.bp-user .nwhp-list{font-size:15px!important;line-height:1.5!important}@media(max-width:860px){body.bp-user .nwhp-grid{grid-template-columns:1fr!important}}@media(max-width:480px){body.bp-user .nwhp-name{font-size:22px!important}body.bp-user .nwhp-head-row{padding-left:12px!important;padding-right:12px!important}}

/* One owner toolbar, distinct walking actions and profile settings. */
body.bp-user .nwhp-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 16px 10px;padding:8px;background:#F4F6F5!important;border:1px solid #d7e0e3;border-radius:8px}
body.bp-user .nwhp-toolbar .nwhp-tool{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;padding:7px 10px;border:1px solid transparent;border-radius:6px;font-size:15px;font-weight:600!important;line-height:1.25;text-decoration:none;color:#0D1B24!important;background:transparent!important;max-width:100%}
body.bp-user .nwhp-toolbar .nwhp-tool-primary{background:#0B4F6C!important;color:#fff!important;border-color:#0B4F6C!important;font-weight:700!important}
body.bp-user .nwhp-toolbar .nwhp-tool-browse{background:#fff!important;color:#0B4F6C!important;border-color:#0B4F6C!important}
body.bp-user .nwhp-toolbar .nwhp-tool-guide{color:#0B4F6C!important;text-decoration:underline;text-underline-offset:3px}
body.bp-user .nwhp-toolbar .nwhp-tool-edit{margin-left:auto;background:#fff!important;border-color:#cbd4d6!important}
body.bp-user .nwhp-toolbar .nwhp-tool-settings{background:#fff!important;border-color:#cbd4d6!important;font-weight:400!important}
body.bp-user .nwhp-toolbar .nwhp-tool:hover{background:#e3eaec!important;color:#0D1B24!important}
body.bp-user .nwhp-toolbar .nwhp-tool-primary:hover{background:#083e55!important;color:#fff!important}
body.bp-user .nwhp-toolbar .nwhp-tool:focus-visible{outline:3px solid #FF5A36;outline-offset:2px}
@media(max-width:860px){body.bp-user .nwhp-toolbar .nwhp-tool-edit{margin-left:0}}
@media(max-width:480px){body.bp-user .nwhp-toolbar{margin:0 10px 8px;gap:5px;padding:6px}body.bp-user .nwhp-toolbar .nwhp-tool{flex:1 1 auto;font-size:14px;min-height:42px;padding:7px 8px}}
/* Keep the primary action legible inside native BuddyPress wrappers and in every link state. */
body.bp-user .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary,
body.bp-user #buddypress .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary,
body.bp-user .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary:is(:link,:visited,:hover,:focus,:active),
body.bp-user #buddypress .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary:is(:link,:visited,:hover,:focus,:active){color:#fff!important;-webkit-text-fill-color:#fff!important;background:#0B4F6C!important;border-color:#0B4F6C!important}
body.bp-user .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary:hover,
body.bp-user #buddypress .nwhp .nwhp-toolbar a.nwhp-tool.nwhp-tool-primary:hover{background:#083e55!important;border-color:#083e55!important}
