body.bp-user #buddypress{max-width:975px!important;margin:32px auto 90px!important;padding:0 18px;color:#161616}body.bp-user #buddypress #item-header-cover-image{display:grid!important;grid-template-columns:230px minmax(0,1fr);align-items:start!important;gap:34px!important;padding:10px 12px 32px!important}body.bp-user #buddypress #item-header-avatar{flex:none!important;justify-self:center;margin:0!important}body.bp-user #buddypress #item-header-avatar img{width:165px!important;height:165px!important;max-width:none;border:3px solid white!important;outline:3px solid #ddd;border-radius:50%!important;object-fit:cover}body.bp-user #buddypress #item-header-content{width:100%;min-width:0}body.bp-user #buddypress h2.user-nicename{font-size:24px!important;font-weight:700!important;letter-spacing:-.035em;color:#161616!important;text-shadow:none!important;margin:0 0 9px!important}body.bp-user .mp-profile-display-name{font-size:15px;font-weight:600;margin:0 0 12px}body.bp-user .mp-profile-counts{display:flex;gap:28px;margin:15px 0;font-size:15px}body.bp-user .mp-profile-counts span{white-space:nowrap}body.bp-user .mp-profile-bio{margin:14px 0;font-size:14px}body.bp-user #buddypress .mp-profile-actions{display:flex!important;gap:10px;flex-wrap:wrap;margin:20px 0 0}body.bp-user #buddypress .mp-profile-actions a,body.bp-user #buddypress .mp-handle-toggle{background:#f0f1f3!important;color:#151515!important;border:0!important;border-radius:9px!important;padding:10px 22px!important;font:600 14px system-ui!important;text-decoration:none;cursor:pointer}body.bp-user #buddypress #item-header .generic-button{display:none!important}body.bp-user #buddypress .mp-gallery{margin-top:24px;border-top:1px solid #ddd}body.bp-user #buddypress .mp-gallery-title{padding:18px;text-align:center;font-weight:700;font-size:12px;letter-spacing:.09em}body.bp-user #buddypress .mp-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}body.bp-user #buddypress .mp-gallery-empty{padding:75px 12px;text-align:center}body.bp-user .mp-handle-form{max-width:450px;padding:14px;border:1px solid #ddd;border-radius:10px;margin-top:12px}body.bp-user .mp-handle-form[hidden]{display:none!important}body.bp-user .mp-handle-row{display:flex;gap:8px;align-items:center;margin:8px 0}body.bp-user .mp-handle-row input{min-width:0;flex:1;padding:8px}body.bp-user .mp-handle-row button{padding:8px 12px;background:#222;color:white;border:0;border-radius:6px}body.bp-user .mp-handle-form small{font-size:12px;color:#666}@media(max-width:650px){body.bp-user #buddypress{padding:0 8px!important;margin:20px auto!important}body.bp-user #buddypress #item-header-cover-image{grid-template-columns:100px minmax(0,1fr);gap:14px!important;padding:12px 8px 22px!important}body.bp-user #buddypress #item-header-avatar img{width:88px!important;height:88px!important}body.bp-user #buddypress h2.user-nicename{font-size:19px!important}body.bp-user .mp-profile-counts{gap:12px;flex-wrap:wrap;font-size:12px}body.bp-user #buddypress .mp-profile-actions a,body.bp-user #buddypress .mp-handle-toggle{padding:8px 12px!important;font-size:12px!important}}
/* Compact profile metadata and the space before the publication gallery. */
body.bp-user #buddypress .mp-profile-link .mp-link-label{text-align:right}
body.bp-user #buddypress .mp-profile-link .mp-link-value{text-align:left}
body.bp-user #buddypress #item-header-cover-image{padding-bottom:8px!important;margin-bottom:0!important}
body.bp-user #buddypress #item-header{margin-bottom:0}
body.bp-user #buddypress .mp-gallery{margin-top:8px}

/* Compact profile: preserve BuddyPress nodes and existing controls. */
/* Profile typography is explicit so the packaged screen does not inherit a different OS font. */
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url('../fonts/manrope/Manrope-VariableFont_wght.woff2') format('woff2')}
body.bp-user.mp-profile-gallery-active #buddypress{font:300 18px/1.4 Manrope,sans-serif;margin-top:38px!important}
body.bp-user #buddypress .mp-gallery-title{line-height:1.4}
body.bp-user #buddypress .mp-gallery-empty h3{font-weight:400;line-height:1.125;letter-spacing:-.1px;margin:22px 0}
body.bp-user #buddypress .mp-gallery-empty p{font-weight:300;line-height:1.4}
body.bp-user #buddypress #item-header-cover-image{grid-template-columns:106px minmax(0,1fr) auto;column-gap:18px!important;row-gap:6px!important;padding:12px 10px!important}
body.bp-user #buddypress #item-header-content{display:contents!important;text-align:left!important}
body.bp-user #buddypress #item-header-avatar{grid-column:1;grid-row:1 / span 3;align-self:start}
body.bp-user #buddypress #item-header-avatar img{width:100px!important;height:100px!important}
body.bp-user #buddypress h2.user-nicename{grid-column:2;grid-row:1;margin:0!important;min-width:0;font-size:22px!important;line-height:1.3;overflow-wrap:anywhere}
body.bp-user #buddypress .mp-profile-counts{grid-column:2;grid-row:2;align-self:start;margin:0;gap:12px;font-size:14px;flex-wrap:wrap}
body.bp-user #buddypress #item-header-cover-image #item-header-content .mp-profile-links{grid-column:2;grid-row:3;display:grid!important;gap:4px!important;margin:2px 0 0!important;min-width:0}
body.bp-user #buddypress .mp-profile-link{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none;font:600 14px/1.5 system-ui,sans-serif}
body.bp-user #buddypress .mp-link-icon{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;line-height:1;color:#666;font-size:19px;font-weight:500}
body.bp-user #buddypress .mp-link-icon svg{width:17px;height:17px}
body.bp-user #buddypress .mp-link-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.bp-user #buddypress .mp-link-value{color:#1765a6;min-width:0;overflow-wrap:anywhere}
body.bp-user #buddypress .mp-profile-actions{grid-column:3;grid-row:1 / span 3;align-self:center;margin:0;gap:8px;align-items:stretch}
body.bp-user #buddypress .mp-profile-actions a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:38px;padding:9px 16px!important;line-height:1.2!important}
/* Header hooks must not fall into the narrow avatar column of this grid. */
body.bp-user #buddypress #item-header-cover-image{position:relative}
body.bp-user #buddypress #item-header .mp-profile-actions:empty{display:none!important}
body.bp-user #buddypress #item-header .mp-dm-profile-action{grid-column:2 / -1;justify-self:start;box-sizing:border-box;max-width:100%;width:auto;white-space:normal}
body.bp-user #buddypress #item-header .mp-incident-profile-menu{position:absolute;top:8px;right:8px;margin:0}
body.bp-user #buddypress #item-header-cover-image:has(.mp-incident-profile-menu) .mp-profile-name-row{padding-right:44px}
body.bp-user #buddypress #item-header .mp-incident-menu-toggle{border:0!important;background:transparent!important;color:#62564b!important;box-shadow:none!important;padding:0!important;font:28px/1 system-ui;min-width:44px;min-height:44px}
body.bp-user #buddypress #item-header .mp-incident-menu-panel button{background:transparent!important;color:#32271e!important;border:0!important;width:100%;padding:10px 12px;font:400 14px/1.4 system-ui}
@media(prefers-color-scheme:dark){
 body.bp-user #buddypress #item-header .mp-incident-menu-toggle,body.bp-user #buddypress #item-header .mp-incident-menu-panel button{color:var(--mp-night-text,#f1eae2)!important}
 body.bp-user #buddypress #item-header .mp-incident-menu-panel{background:var(--mp-night-field,#211c18);border-color:var(--mp-night-line,#665648)}
 body.bp-user #buddypress #item-header .mp-dm-profile-action{background:var(--mp-night-field,#2b241e);color:var(--mp-night-text,#f1eae2)}
 body.bp-user #buddypress #item-header #item-header-content .mp-profile-link .mp-link-value{color:var(--mp-night-link,#edb877)!important}
}
body.bp-user #buddypress .mp-profile-bio,body.bp-user #buddypress .mp-profile-display-name,body.bp-user #buddypress .mp-admin-edit{grid-column:2 / -1;margin:6px 0}
body.bp-user #buddypress .mp-edit-profile{grid-column:1 / -1}
body.bp-user #buddypress .mp-gallery-title{padding:14px 8px}
body.bp-user #buddypress .mp-gallery-grid a{position:relative}
body.bp-user #buddypress .mp-gallery-stats{position:absolute;inset:auto 0 0;height:26px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 4px;background:rgba(0,0,0,.62);color:#fff;font:600 12px/1 system-ui,sans-serif;pointer-events:none}
body.bp-user #buddypress .mp-gallery-stat{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
body.bp-user #buddypress .mp-gallery-stat svg{width:14px;height:14px;flex:none}

@media(max-width:650px){
 body.bp-user #buddypress #item-header-cover-image{grid-template-columns:90px minmax(0,1fr);column-gap:16px!important;row-gap:6px!important;padding:8px!important}
 body.bp-user #buddypress #item-header-avatar{grid-row:1 / span 2}
 body.bp-user #buddypress #item-header-avatar img{width:84px!important;height:84px!important}
 body.bp-user #buddypress h2.user-nicename{align-self:end;font-size:20px!important}
 body.bp-user #buddypress #item-header-cover-image #item-header-content .mp-profile-links{grid-column:1 / -1;grid-row:3;margin-top:6px!important}
 body.bp-user #buddypress .mp-profile-actions{grid-column:1 / -1;grid-row:4;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;align-self:stretch}
 body.bp-user #buddypress .mp-profile-actions a{min-height:38px;padding:9px 10px!important;font-size:12px!important}
 body.bp-user #buddypress #item-header .mp-dm-profile-action{grid-column:1 / -1}
 body.bp-user #buddypress .mp-profile-bio,body.bp-user #buddypress .mp-profile-display-name,body.bp-user #buddypress .mp-admin-edit{grid-column:1 / -1}
}

body.bp-user #buddypress #item-header-cover-image::before,body.bp-user #buddypress #item-header-cover-image::after,body.bp-user #buddypress #item-header-content::before,body.bp-user #buddypress #item-header-content::after{display:none!important}

/* Follow control shares the username row; its existing handler is unchanged. */
body.bp-user #buddypress .mp-profile-name-row{grid-column:2;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;min-width:0}
body.bp-user #buddypress .mp-profile-name-row h2.user-nicename{flex:0 1 auto;max-width:100%;align-self:center}
body.bp-user #buddypress .mp-profile-name-row .mp-follow-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;box-sizing:border-box;min-height:44px;padding:0 3px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#1765a6;font:600 13px/1.2 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
body.bp-user #buddypress .mp-profile-name-row .mp-follow-button.mp-is-following{color:#6b6b6b}
body.bp-user #buddypress .mp-follow-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:14px;height:14px;font-size:14px}
@media(max-width:650px){body.bp-user #buddypress .mp-profile-name-row{align-self:end}body.bp-user #buddypress .mp-profile-name-row .mp-follow-button{font-size:12px;gap:3px}}

/* Profile activity is replaced only on the gallery view, never on editing screens. */
body.mp-profile-gallery-active #buddypress #item-body{display:none!important}
body.bp-user #buddypress .mp-gallery-status{min-height:1px;text-align:center;color:#666;font:300 13px/1.4 Manrope,sans-serif}
body.bp-user #buddypress .mp-gallery-status:has([role="status"]:not(:empty)){padding:12px 0}
body.bp-user #buddypress .mp-gallery-status button{min-height:44px;margin-left:8px;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
body.bp-user #buddypress .mp-gallery-status[hidden],body.bp-user #buddypress .mp-gallery-status button[hidden]{display:none!important}
@media(prefers-color-scheme:dark){
 body.bp-user #buddypress .mp-gallery-empty{color:var(--mp-night-text,#f1eae2)}
 body.bp-user #buddypress .mp-gallery-empty p{color:var(--mp-night-muted,#c5b6a7)}
 body.bp-user #buddypress .mp-gallery-status{color:var(--mp-night-muted,#c2b5a7)}
}

/* Route-backed sections; preserve native account/avatar forms and hidden states. */
body.bp-user #buddypress .mp-profile-actions a[aria-current="page"]{background:#e7e3de!important;color:#251a13!important;box-shadow:inset 0 -2px 0 #aa671f}
body.bp-user #buddypress .mp-profile-actions a:focus-visible{outline:2px solid #aa671f;outline-offset:3px}
body.bp-user.settings #buddypress #subnav ul{display:flex;flex-wrap:wrap;gap:6px}
body.bp-user.settings #buddypress #subnav a{min-height:44px;display:inline-flex;align-items:center}

/* Avatar presentation only: native upload, cropping and permissions are unchanged. */
body.bp-user.change-avatar #buddypress .change-avatar-screen{margin:0 0 16px;font-size:22px;line-height:1.3;font-weight:650;color:#2d2118}
body.bp-user.change-avatar #buddypress .profile.change-avatar>.bp-feedback.info{margin:0 0 20px;border:1px solid #e7e1d9;border-radius:9px;background:#faf7f2;box-shadow:none;color:#62564b;font:400 14px/1.55 system-ui,sans-serif}
body.bp-user.change-avatar #buddypress .profile.change-avatar>.bp-feedback.info .bp-icon{background:#ece3d6;color:#79644d;border-radius:8px 0 0 8px}
body.bp-user.change-avatar #buddypress .profile.change-avatar>.bp-feedback.info .bp-help-text{font:inherit;padding:12px 14px}
body.bp-user.change-avatar #buddypress .bp-avatar-nav{margin:0 0 16px}
body.bp-user.change-avatar #buddypress .avatar-nav-items{display:flex;flex-wrap:wrap;gap:8px;border:0}
body.bp-user.change-avatar #buddypress .avatar-nav-items li.avatar-nav-item{border:0;list-style:none}
body.bp-user.change-avatar #buddypress .avatar-nav-items a{box-sizing:border-box;display:inline-flex;align-items:center;min-height:44px;padding:9px 15px;border:1px solid transparent;border-radius:8px;background:#f1f0ed;color:#655a50;font:600 14px/1.3 system-ui,sans-serif}
body.bp-user.change-avatar #buddypress .avatar-nav-items .current a{background:#e9e0d4;border-color:#d9c7af;color:#36291d}
body.bp-user.change-avatar #buddypress #drag-drop-area{box-sizing:border-box;width:100%;height:auto;min-height:150px;border:2px dashed #d4c3ad;border-radius:12px;background:#fdfbf8}
body.bp-user.change-avatar #buddypress .drag-over #drag-drop-area{border-color:#a76a25;background:#f8f0e4}
body.bp-user.change-avatar #buddypress .drag-drop-inside{padding:25px 12px;text-align:center}
body.bp-user.change-avatar #buddypress .drag-drop-inside p.drag-drop-info{color:#706358;font:400 14px/1.5 system-ui,sans-serif;margin:0 0 12px}
body.bp-user.change-avatar #buddypress .drag-drop-inside p.drag-drop-buttons{margin:0}
body.bp-user.change-avatar #buddypress #drag-drop-area input[type=button],body.bp-user.change-avatar #buddypress #avatar-crop-actions .button,body.bp-user.change-avatar #buddypress #avatar-upload-form input[type=submit]{box-sizing:border-box;min-height:44px;max-width:100%;padding:11px 18px;border:0;border-radius:9px;background:#32271e;color:#fff;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer;white-space:normal}
body.bp-user.change-avatar #buddypress .bp-avatar-nav a:focus-visible,body.bp-user.change-avatar #buddypress #drag-drop-area input:focus-visible,body.bp-user.change-avatar #buddypress #avatar-crop-actions .button:focus-visible{outline:2px solid #aa671f;outline-offset:3px}
body.bp-user.change-avatar #buddypress .profile.change-avatar p.warning{box-sizing:border-box;padding:12px 14px;border:1px solid #e1d4bb;border-radius:9px;background:#fbf6eb;color:#655532;font:400 13px/1.5 system-ui,sans-serif}
@media(max-width:650px){
 body.bp-user.change-avatar #buddypress #item-body .profile.change-avatar{margin:16px 0;padding:16px;border-radius:12px}
 body.bp-user.change-avatar #buddypress .change-avatar-screen{font-size:20px}
 body.bp-user.change-avatar #buddypress #drag-drop-area{min-height:135px}
 body.bp-user.change-avatar #buddypress .drag-drop-inside{padding:20px 10px}
}

/* One visual treatment for profile editing, avatar and all account settings. */
body.bp-user #buddypress #item-body .mp-edit-profile,
body.bp-user #buddypress #item-body .profile.change-avatar,
body.bp-user.settings #buddypress #item-body{
 box-sizing:border-box;width:100%;max-width:640px;margin:22px auto;padding:24px;
 border:1px solid #e7e1d9;border-radius:14px;background:#fff;color:#493c30;
 font:400 14px/1.55 system-ui,sans-serif;overflow-wrap:anywhere;
}
body.bp-user.settings #buddypress #item-body .mp-private-export,
body.bp-user.settings #buddypress #item-body .mp-account-delete{
 box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;
}
body.bp-user #buddypress #item-body .mp-edit-profile h3,
body.bp-user #buddypress #item-body .profile.change-avatar h2,
body.bp-user.settings #buddypress #item-body h2{
 margin:0 0 16px;padding:0;color:#2d2118;font:650 22px/1.3 system-ui,sans-serif;
}
body.bp-user #buddypress #item-body .mp-edit-profile p,
body.bp-user.settings #buddypress #item-body p{margin:0 0 16px;font:400 14px/1.55 system-ui,sans-serif}
body.bp-user #buddypress #item-body .mp-edit-profile label,
body.bp-user.settings #buddypress #item-body form label{
 margin:14px 0 6px;color:#493c30;font:600 14px/1.5 system-ui,sans-serif;
}
body.bp-user #buddypress #item-body .mp-edit-profile :is(input:not([type]),input[type=text],input[type=url],textarea),
body.bp-user.settings #buddypress #item-body form :is(input:not([type]),input[type=text],input[type=email],input[type=url],input[type=password],input[type=number],select,textarea){
 box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin:6px 0 14px;padding:11px 12px;
 border:1px solid #d6ccbf;border-radius:8px;background:#fff;color:#32271e;font:400 16px/1.4 system-ui,sans-serif;box-shadow:none;
}
body.bp-user #buddypress #item-body .mp-edit-profile textarea,
body.bp-user.settings #buddypress #item-body textarea{min-height:110px;resize:vertical}
body.bp-user #buddypress #item-body .mp-edit-profile small,
body.bp-user.settings #buddypress #item-body .description{
 color:#706358;font:400 13px/1.55 system-ui,sans-serif;margin:12px 0 16px;
}
body.bp-user #buddypress #item-body .mp-edit-profile button,
body.bp-user.settings #buddypress #item-body :is(button,input[type=submit],input[type=button]),
body.bp-user.settings #buddypress .mp-private-export a:is([href*="operation=download"],.mp-export-download){
 box-sizing:border-box;max-width:100%;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:9px;
 background:#32271e;color:#fff;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none;white-space:normal;cursor:pointer;
}
body.bp-user.settings #buddypress .mp-private-export a:is([href*="operation=download"],.mp-export-download){display:inline-flex;align-items:center}
body.bp-user.settings #buddypress #your-profile button[type=button],
body.bp-user.settings #buddypress #item-body form:has(input[name=operation][value=cancel]) button{
 background:#f1f0ed;border-color:#e7e1d9;color:#655a50;
}
body.bp-user.settings #buddypress #item-body form:has(input[name=operation][value=confirm]) button{
 background:#8d3027;color:#fff;
}
body.bp-user #buddypress #item-body .mp-edit-profile :is(button,input,textarea):focus-visible,
body.bp-user.settings #buddypress #item-body :is(button,input,select,textarea,a):focus-visible{
 outline:2px solid #aa671f;outline-offset:3px;
}
body.bp-user.settings #buddypress #item-body :is(button,input[type=submit]):disabled{opacity:.55;cursor:default}
body.bp-user.settings #buddypress #item-body a:not(.button){color:#805322}
body.bp-user.settings #buddypress #item-body .mp-private-export a:is([href*="operation=download"],.mp-export-download){color:#fff}
body.bp-user.settings #buddypress #item-body .bp-feedback{border-radius:9px;box-shadow:none;font:400 14px/1.55 system-ui,sans-serif}
body.bp-user.settings #buddypress #item-body .bp-feedback.info{
 margin:14px 0 16px;border:1px solid #e7e1d9;background:#faf7f2;color:#62564b;
}
body.bp-user.settings #buddypress #item-body .bp-feedback.info .bp-icon{background:#ece3d6;color:#79644d;border-radius:8px 0 0 8px}
body.bp-user.settings #buddypress #item-body .bp-feedback p{margin:0;padding:12px 14px;font:inherit}
body.bp-user.settings #buddypress #item-body .mp-private-export [role=status],
body.bp-user.settings #buddypress #item-body .mp-account-delete [role=status]{
 padding:12px 14px;border:1px solid #e7e1d9;border-radius:9px;background:#faf7f2;color:#62564b;
}
body.bp-user.settings #buddypress #item-body .mp-private-export [role=alert]{
 padding:12px 14px;border:1px solid #ebc9c5;border-radius:9px;background:#fff4f2;color:#8d3027;
}
body.bp-user.settings #buddypress #item-body .submit{margin:18px 0 0;padding:0;border:0}
body.bp-user.settings #buddypress #item-body .mp-private-export form,
body.bp-user.settings #buddypress #item-body .mp-account-delete form{margin:18px 0}
body.bp-user.settings #buddypress #item-body #subnav{margin:0 0 20px;padding:0 0 16px;border-top:0;border-bottom:1px solid #e7e1d9;box-shadow:none}
body.bp-user.settings #buddypress #item-body #subnav ul{margin:0;padding:0;gap:8px;list-style:none}
body.bp-user.settings #buddypress #item-body #subnav li{border:0}
body.bp-user.settings #buddypress #item-body #subnav a{
 box-sizing:border-box;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:8px;
 background:#f1f0ed;color:#655a50;font:600 13px/1.4 system-ui,sans-serif;text-decoration:none;
}
body.bp-user.settings #buddypress #item-body #subnav .selected>a,
body.bp-user.settings #buddypress #item-body #subnav .current>a{background:#e9e0d4;border-color:#d9c7af;color:#36291d}
@media(max-width:650px){
 body.bp-user #buddypress #item-body .mp-edit-profile,
 body.bp-user #buddypress #item-body .profile.change-avatar,
 body.bp-user.settings #buddypress #item-body{margin:16px 0;padding:16px;border-radius:12px}
 body.bp-user #buddypress #item-body .mp-edit-profile h3,
 body.bp-user #buddypress #item-body .profile.change-avatar h2,
 body.bp-user.settings #buddypress #item-body h2{font-size:20px}
}
/* A single account page, with native forms and visibly separated sections. */
body.mp-account-screen #buddypress #item-body{display:block!important;max-width:720px}
body.mp-account-screen #buddypress #subnav{display:none!important}
.mp-account h1{font:700 26px/1.3 system-ui,sans-serif;margin:0 0 20px}
.mp-account-sections{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}.mp-account-sections a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;background:#f1eee9;border-radius:8px;text-decoration:none;font-size:14px}.mp-account-sections a[aria-current]{background:#e9e0d4;box-shadow:inset 0 -2px #aa671f}
.mp-account>section{margin:28px 0 0;padding-top:24px;border-top:1px solid #e7ddd2}.mp-account [id]{scroll-margin-top:90px}
body.mp-account-screen #buddypress #item-body .mp-edit-profile,body.mp-account-screen #buddypress #item-body .profile.change-avatar{max-width:none;margin:0 0 24px;padding:0;border:0;border-radius:0}
.mp-account #google,.mp-account #avisos{margin-top:28px;padding-top:24px;border-top:1px solid #eee5dd}
body.mp-account-screen #buddypress #item-body .mp-account h3{font:650 19px/1.4 system-ui,sans-serif;margin:0 0 16px}
body.mp-account-screen #buddypress #item-body .mp-account-danger{margin-top:28px;padding:20px;border:1px solid #e6c5bf;border-radius:12px;background:#fffaf8}
body.mp-account-screen #buddypress #item-body .mp-account-danger h2{color:#8d3027}
body.mp-account-screen #buddypress #item-body #drag-drop-area{box-sizing:border-box;border:2px dashed #d4c3ad;border-radius:12px;min-height:150px;height:auto;background:#fdfbf8}
body.mp-account-screen #buddypress .drag-drop-inside{padding:24px 12px}
body.mp-account-screen #buddypress .avatar-nav-items{display:flex;flex-wrap:wrap;gap:8px;border:0}
body.mp-account-screen #buddypress .avatar-nav-item{border:0;list-style:none}
body.mp-account-screen #buddypress .avatar-nav-item a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;background:#f1eee9;border-radius:8px;font-size:14px;text-decoration:none}
body.mp-account-screen #buddypress .avatar-nav-item.current a{background:#e9e0d4}
body.mp-account-screen #buddypress #item-body .mp-account input[type=radio],body.mp-account-screen #buddypress #item-body .mp-account input[type=checkbox]{width:20px;height:20px;min-height:20px}
@media(max-width:650px){.mp-account-sections a{font-size:13px}.mp-account>section{margin-top:22px;padding-top:20px}body.mp-account-screen #buddypress #item-body .mp-account-danger{padding:16px}}

body.mp-account-screen #buddypress .mp-account-sections{border:0;box-shadow:none}
.mp-account .bp-screen-reader-text{position:absolute!important;left:0;top:0;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;margin:-1px}
body.mp-account-screen #buddypress .profile.change-avatar p.warning{padding:12px 14px;border:1px solid #e1d4bb;border-radius:9px;background:#fbf6eb;color:#655532;font:400 13px/1.5 system-ui,sans-serif}

/* Account forms keep their three pages; reduce only the owner's account header. */
body.mp-account-screen #buddypress #item-header-cover-image{grid-template-columns:56px minmax(0,1fr);gap:10px!important;padding:8px!important;align-items:center!important}
body.mp-account-screen #buddypress #item-header-avatar{grid-column:1;grid-row:1;align-self:center}
body.mp-account-screen #buddypress #item-header-avatar img{width:52px!important;height:52px!important}
body.mp-account-screen #buddypress h2.user-nicename{grid-column:2;grid-row:1;align-self:center;font-size:18px!important}
body.mp-account-screen #buddypress #item-header :is(.mp-profile-counts,.mp-profile-links,.mp-profile-bio,.mp-profile-display-name,.mp-profile-actions){display:none!important}
body.mp-account-screen #buddypress #item-body{margin-top:12px!important}
.mp-account h1{font-size:24px;margin-bottom:14px}
.mp-account-sections{margin-bottom:16px}
.mp-account>section{margin-top:0;padding-top:0;border-top:0}
.mp-account>section>h2{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
body.mp-account-screen #buddypress #item-header-cover-image #item-header-content .mp-profile-links{display:none!important}

/* Shared with the packaged app: keep avatar history readable on narrow screens. */
@media(max-width:600px){
 body.mp-account-screen #buddypress .avatars-history{flex-direction:column;gap:12px}
 body.mp-account-screen #buddypress .avatar-history-list{width:100%;min-width:0;flex:none}
 body.mp-account-screen #buddypress .avatar-history-table{width:100%;table-layout:fixed}
 body.mp-account-screen #buddypress .avatar-history-table th:first-child{width:35%}
 body.mp-account-screen #buddypress .avatar-history-table :is(th,td){word-break:normal;overflow-wrap:break-word}
 body.mp-account-screen #buddypress .avatar-history-actions{margin-left:0;min-width:0}
}

/* Keep a failed thumbnail's publication, counters and grid position available. */
body.bp-user #buddypress .mp-gallery-cell{position:relative;aspect-ratio:1;min-width:0;overflow:hidden;background:#eee9e2}
body.bp-user #buddypress .mp-gallery-cell>a{width:100%;height:100%;position:relative;color:#53483e}
body.bp-user #buddypress .mp-gallery-cell img[hidden]{display:none}
body.bp-user #buddypress .mp-gallery-thumbnail-state{position:absolute;inset:0 4px 26px;display:flex;align-items:center;justify-content:center;text-align:center;font:400 11px/1.25 Manrope,sans-serif;overflow-wrap:anywhere}
body.bp-user #buddypress .mp-thumbnail-failed .mp-gallery-thumbnail-state{bottom:70px}
body.bp-user #buddypress .mp-gallery-thumbnail-retry{position:absolute;bottom:26px;left:0;width:100%;min-height:44px;padding:4px 0;border:0;background:transparent;color:inherit;font:600 11px/1.2 Manrope,sans-serif;text-decoration:underline;cursor:pointer}
body.bp-user #buddypress .mp-gallery-thumbnail-retry:disabled{opacity:.6;cursor:wait}
body.bp-user #buddypress .mp-gallery-thumbnail-state[hidden],body.bp-user #buddypress .mp-gallery-thumbnail-retry[hidden]{display:none!important}
body.bp-user #buddypress .mp-gallery-thumbnail-retry:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
@media(prefers-color-scheme:dark){body.bp-user #buddypress .mp-gallery-cell{background:var(--mp-night-surface,#211d19);color:var(--mp-night-text,#f1eae2)}body.bp-user #buddypress .mp-gallery-cell>a{color:var(--mp-night-muted,#c2b5a7)}}
/* Profile publications and public references share the existing gallery and original destinations. */
body.bp-user #buddypress .mp-profile-tabs{display:flex;justify-content:center;gap:12px;margin:0 0 12px;border-bottom:1px solid var(--mp-border,#e4d9cb)}
body.bp-user #buddypress .mp-profile-tabs button{appearance:none;min-height:48px;padding:12px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--mp-muted,#66594d);font:600 14px/1.4 Manrope,system-ui,sans-serif;cursor:pointer}
body.bp-user #buddypress .mp-profile-tabs button[aria-selected=true]{border-bottom-color:#d18124;color:var(--mp-text,#33271d)}
body.bp-user #buddypress .mp-profile-tabs button:focus-visible{outline:2px solid currentColor;outline-offset:-4px;border-radius:4px}
body.bp-user #buddypress .mp-gallery-original-author{position:absolute;inset:0 0 auto;padding:7px 5px;background:rgba(24,19,14,.82);color:#fff;font:600 12px/1.3 Manrope,system-ui,sans-serif;overflow-wrap:anywhere;z-index:1;pointer-events:none}
.mp-repost-feedback{margin:8px 14px;font-size:14px;color:inherit}.mp-repost-feedback[hidden]{display:none}
@media(prefers-color-scheme:dark){body.bp-user #buddypress .mp-profile-tabs{border-bottom-color:var(--mp-night-border,#635446)}body.bp-user #buddypress .mp-profile-tabs button{color:var(--mp-night-muted,#c5b6a7)}body.bp-user #buddypress .mp-profile-tabs button[aria-selected=true]{color:var(--mp-night-text,#f1eae2)}}
/* The profile grid stays intact while its bounded reader is open. */
.mp-profile-stream[hidden],.mp-gallery[hidden],#item-header[hidden]{display:none!important}
.mp-profile-stream{max-width:680px;margin:0 auto;padding:0 12px max(160px,calc(100dvh - 700px));overflow-anchor:none}
.mp-profile-stream-head{position:sticky;top:64px;z-index:40;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px}
html body #buddypress .mp-profile-stream-head button{min-height:44px;padding:8px 12px;border:1px solid #ded2c4;border-radius:10px;background:#faf7f2;color:#493627;font:600 15px/1.4 system-ui}
.mp-profile-stream-head span{font:600 14px/1.4 system-ui;color:#6d665e}
.mp-profile-stream .mp-post-card{margin:0 0 24px;overflow-anchor:none}
.mp-profile-stream-edge{min-height:68px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:12px 0;font:14px/1.5 system-ui}
.mp-profile-stream-edge[hidden]{display:none!important}
html body #buddypress .mp-profile-stream-edge button{min-height:44px;padding:8px 12px;border:1px solid #ded2c4;border-radius:9px;background:#faf7f2;color:#493627;font:600 14px/1.4 system-ui}
@media(prefers-color-scheme:dark){.mp-profile-stream-head{background:#211c17}.mp-profile-stream-head span{color:#c2b5a7}html body #buddypress .mp-profile-stream-head button,html body #buddypress .mp-profile-stream-edge button{background:#30271e;color:#f1eae2;border-color:#665444}}

body.mp-profile-stream-active{overflow-anchor:none!important}

/* Existing conversation/report actions share one compact row, including the native profile. */
body.bp-user #buddypress #item-header .mp-profile-actions-compact{grid-column:2 / -1;grid-row:auto!important;display:flex!important;justify-content:flex-start;align-items:center;align-self:start;gap:6px;margin:2px 0 0!important}
body.bp-user #buddypress #item-header .mp-profile-actions-compact .mp-profile-icon-action{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;box-sizing:border-box;width:44px!important;min-width:44px;max-width:44px;min-height:44px;height:44px;padding:0!important;margin:0!important;border:1px solid var(--mp-border,#e4d9cb)!important;border-radius:10px!important;background:transparent!important;color:var(--mp-muted,#66594d)!important;text-decoration:none;line-height:1;cursor:pointer}
body.bp-user #buddypress .mp-profile-icon-action svg{width:22px;height:22px;flex:none;pointer-events:none}
body.bp-user #buddypress .mp-profile-icon-action:focus-visible{outline:2px solid #b96612;outline-offset:3px}
@media(prefers-color-scheme:dark){body.bp-user #buddypress #item-header .mp-profile-actions-compact .mp-profile-icon-action{color:var(--mp-night-text,#f1eae2)!important;border-color:var(--mp-night-border,#635446)!important}}

/* Share the links row; reserve the icon width so long URLs cannot run underneath. */
body.bp-user #buddypress #item-header .mp-profile-actions-compact:not(:has([data-profile-section])){grid-column:3;grid-row:3!important;justify-self:end;align-self:center;margin:0!important}
body.bp-user #buddypress #item-header-cover-image #item-header-content.mp-profile-compact-peer .mp-profile-links{grid-column:2!important;grid-row:3!important}
@media(max-width:650px){
 body.bp-user #buddypress #item-header .mp-profile-actions-compact:not(:has([data-profile-section])){grid-column:2;grid-row:3!important}
 body.bp-user #buddypress #item-header-cover-image #item-header-content.mp-profile-compact-peer .mp-profile-links{grid-column:1 / -1!important;grid-row:3!important;box-sizing:border-box;padding-right:106px!important}
}

/* Numbers above their labels; keep the existing counters and member-list buttons. */
body.bp-user #buddypress #item-header .mp-profile-counts{display:grid!important;grid-template-columns:repeat(3,max-content);justify-content:space-between;align-items:start;column-gap:12px;row-gap:0}
body.bp-user #buddypress #item-header .mp-profile-counts>:is(span,.mp-follow-count){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:44px;text-align:center;line-height:1.25!important;white-space:normal}
body.bp-user #buddypress #item-header .mp-profile-counts strong{display:block;font-size:18px;font-weight:700;line-height:1.2}
@media(max-width:650px){body.bp-user #buddypress #item-header .mp-profile-counts{gap:6px;font-size:12px}body.bp-user #buddypress #item-header .mp-profile-counts strong{font-size:17px}}
@media(max-width:360px){body.bp-user #buddypress #item-header .mp-profile-counts{grid-template-columns:repeat(3,minmax(0,1fr));font-size:11px}body.bp-user #buddypress #item-header .mp-profile-counts>:is(span,.mp-follow-count){overflow-wrap:anywhere}}
/* Shared account pages: a clear index, one screen per task, original forms retained. */
.mp-account{--account-paper:#faf7f2;--account-card:#fffdfa;--account-ink:#34271f;--account-muted:#796d62;--account-line:#e4dbcf;--account-tint:#f3e7d6;--account-accent:#a95d19}
html:has(body.mp-account-screen),html body.mp-account-screen,html body.mp-account-screen .wp-site-blocks{background:#faf7f2!important}
html body.mp-account-screen #buddypress #item-body{max-width:760px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.mp-account-screen #buddypress #item-header .mp-profile-counts{display:none!important}
body.mp-account-screen #buddypress .mp-account h1{font:650 28px/1.3 Georgia,serif;color:var(--account-ink);margin:0 0 16px}
.mp-account-intro{font:400 14px/1.6 system-ui;color:var(--account-muted);margin:0 0 20px}
.mp-account-index{display:block;border:1px solid var(--account-line);border-radius:16px;overflow:hidden;background:var(--account-card);margin:0 0 24px}
.mp-account-index a,.mp-account-privacy-links a{box-sizing:border-box;display:flex;align-items:center;gap:14px;min-height:60px;padding:16px 20px;border-bottom:1px solid var(--account-line);color:var(--account-ink)!important;font:500 15px/1.4 system-ui;text-decoration:none}
.mp-account-index a:last-child,.mp-account-privacy-links a:last-child{border-bottom:0}.mp-account-index a>span{flex:1}.mp-account-index a::after{content:'›';margin-left:auto;font:400 24px/1 system-ui;color:var(--account-muted)}.mp-account-index a:hover{background:var(--account-tint)}
.mp-account-row-icon{display:block;width:22px;height:22px;flex:0 0 22px;color:var(--account-muted)}
.mp-account-page-back,.mp-account-back a{display:inline-flex;align-items:center;min-height:44px;margin:0 0 18px;color:var(--account-muted)!important;text-decoration:none;font:500 14px/1.4 system-ui}
.mp-account-option,.mp-account-backup,.mp-account-privacy-links{margin:0 0 24px;border:1px solid var(--account-line);border-radius:16px;background:var(--account-card);color:var(--account-ink);overflow:hidden}
.mp-account-option-body,.mp-account-backup{padding:24px}.mp-account-option-body>section{margin:0}.mp-account-option-body #google,.mp-account-option-body #avisos{margin:0;padding:0;border:0}
html body.mp-account-screen #buddypress .mp-account-option-body .mp-edit-profile{padding:0!important;margin:0 0 24px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.mp-account-screen #buddypress .mp-account-option-body .mp-edit-profile h3{display:none}
.mp-account-contact{padding:18px 0;border-top:1px solid var(--account-line);border-bottom:1px solid var(--account-line);line-height:1.7;overflow-wrap:anywhere}
body.mp-account-screen #buddypress #item-body .mp-account-option-body .mp-account-danger{margin:0;padding:0;background:transparent;border:0}
.mp-account-privacy-links a{justify-content:space-between}.mp-account-privacy-links .mp-account-danger-link{color:#9a4235!important}
.mp-account-backup h2{font:650 19px/1.4 system-ui;margin:0 0 8px}.mp-account-backup p{font:400 14px/1.6 system-ui;color:var(--account-muted)}
.mp-pan-backup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
html body.mp-account-screen #buddypress .mp-pan-backup-actions :is(button,label){box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;margin:0!important;padding:12px!important;border:1px solid var(--account-line)!important;border-radius:10px!important;background:var(--account-card)!important;color:var(--account-ink)!important;font:500 14px/1.4 system-ui!important;text-align:center;cursor:pointer;position:relative}
.mp-pan-import-button input[type=file]{position:absolute!important;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer}.mp-pan-import-button:focus-within{outline:3px solid var(--account-accent);outline-offset:2px}
.mp-pan-backup-hint{font-size:12px!important}.mp-account :is([hidden],.mp-account-index[hidden],.mp-account-page-back[hidden]){display:none!important}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-actions:has([data-profile-section=account]){grid-column:1/-1!important;width:100%;margin:16px 0 8px!important}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-actions [data-profile-section=account]{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--mb-card,#fffdfa)!important;color:var(--mb-ink,#34271f)!important;border:1px solid var(--mb-line,#e4dbcf)!important;border-radius:14px!important;padding:16px 18px!important;font-weight:500!important}.mp-profile-actions [data-profile-section=account]::after{content:'›';font-size:22px}
@media(max-width:650px){body.mp-account-screen #buddypress{padding:0 14px!important}.mp-account-index a{padding:16px;font-size:14px;min-height:58px}.mp-account-option-body,.mp-account-backup{padding:18px}.mp-pan-backup-actions{gap:8px}.mp-account-intro{font-size:13px}}
@media(prefers-color-scheme:dark){.mp-account{--account-paper:#1d1915;--account-card:#29231d;--account-ink:#f7ecdf;--account-muted:#c0b1a0;--account-line:#514439;--account-tint:#3b2c1e;--account-accent:#e4ab68}html:has(body.mp-account-screen),html body.mp-account-screen,html body.mp-account-screen .wp-site-blocks{background:#1d1915!important}.mp-account-privacy-links .mp-account-danger-link{color:#ffb3ad!important}}
html body.mp-account-screen{min-height:100dvh}.mp-account h1{scroll-margin-top:90px}.mp-account-page-content>section>h2{position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important}

.mp-account-backup>[data-pan-account-files]{padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}
html body.mp-account-screen #buddypress .mp-account :is(.mp-account-index,.mp-account-option,.mp-account-backup,.mp-account-privacy-links){border:1px solid var(--account-line)!important;border-radius:16px!important;box-shadow:none!important;background:var(--account-card)!important}

/* Account identity uses private server-owned totals; existing task pages stay intact. */
body.mp-account-screen #buddypress:has(.mp-account-identity) #item-header{display:none!important}
.mp-account-identity{margin:0 0 24px;padding:26px;border:1px solid var(--account-line);border-radius:20px;background:var(--account-card);color:var(--account-ink)}
.mp-account-identity-person{display:flex;align-items:center;gap:22px;min-width:0}.mp-account-identity-person>img{width:100px!important;height:100px!important;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--account-line)}.mp-account-identity-person>div{min-width:0}
html body .mp-account-identity-person h2{font:650 26px/1.25 system-ui!important;margin:0 0 8px!important;color:var(--account-ink)!important;overflow-wrap:anywhere}.mp-account-identity-person p{font:400 15px/1.5 system-ui;margin:0;color:var(--account-muted);overflow-wrap:anywhere}
.mp-account-identity-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0;padding-top:20px;border-top:1px solid var(--account-line);font:400 13px/1.4 system-ui}
.mp-account-identity-counts>div{display:flex;flex-direction:column-reverse;gap:3px;min-width:0;text-align:center}.mp-account-identity-counts dt{color:var(--account-muted);overflow-wrap:anywhere}.mp-account-identity-counts dd{font-weight:700;font-size:20px;margin:0;color:var(--account-ink)}
@media(max-width:650px){.mp-account-identity{padding:18px;border-radius:16px}.mp-account-identity-person{gap:14px}.mp-account-identity-person>img{width:72px!important;height:72px!important}html body .mp-account-identity-person h2{font-size:21px!important}.mp-account-identity-person p{font-size:13px}.mp-account-identity-counts{gap:6px;font-size:11px;margin-top:18px;padding-top:16px}}
html body.mp-account-screen #buddypress .mp-account-identity{padding:26px!important;margin:0 0 24px!important}
@media(max-width:650px){html body.mp-account-screen #buddypress .mp-account-identity{padding:18px!important}}

/* Profile header, 02/11/2026: shared layout; real counters, no account settings. */
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-cover-image{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:8px 24px!important;padding:20px 0 24px!important;align-items:center!important;color:var(--mb-ink,#34271f)}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar{grid-column:1;grid-row:1 / span 2;align-self:center;justify-self:start}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar img{width:108px!important;height:108px!important;outline:2px solid var(--mb-line,#e4dbcf);border:3px solid var(--mb-card,#fffdfa)!important}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-name-row{grid-column:2;grid-row:1;align-self:end;display:block;padding:0!important;min-width:0}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-name-row h2.user-nicename{margin:0!important;font:700 clamp(24px,3vw,34px)/1.2 Manrope,system-ui,sans-serif!important;color:var(--mb-ink,#34271f)!important;letter-spacing:-.025em;overflow-wrap:anywhere}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-handle{grid-column:2;grid-row:2;align-self:start;margin:0!important;font:450 15px/1.5 Manrope,system-ui,sans-serif;color:var(--mb-muted,#796d62);overflow-wrap:anywhere}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions{grid-column:1 / -1!important;grid-row:3!important;justify-self:stretch;display:flex!important;align-items:center;gap:10px;margin:14px 0 4px!important;width:100%}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions:not(:has(> :not([hidden]))){display:none!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions .mp-follow-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;margin:0;padding:10px 20px!important;border:1px solid var(--mb-accent,#a95d19)!important;border-radius:14px!important;background:var(--mb-accent,#a95d19)!important;color:#fff!important;font:650 15px/1.4 system-ui!important;cursor:pointer}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions .mp-follow-button[hidden]{display:none!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions .mp-follow-button.mp-is-following{background:var(--mb-card,#fffdfa)!important;color:var(--mb-accent,#a95d19)!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-actions .mp-profile-icon-action{border-radius:14px!important;min-height:46px;height:46px;width:46px!important;flex-basis:46px;background:var(--mb-card,#fffdfa)!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts{grid-column:1 / -1;grid-row:4;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:10px;margin:14px 0 6px;width:100%;font:500 11px/1.35 Manrope,system-ui,sans-serif;color:var(--mb-muted,#796d62)}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts>:is(span,.mp-follow-count){box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:96px;padding:12px 6px!important;border:1px solid var(--mb-line,#e4dbcf)!important;border-radius:18px!important;background:var(--mb-card,#fffdfa)!important;color:var(--mb-muted,#796d62)!important;white-space:normal;overflow-wrap:anywhere;text-align:center;text-decoration:none!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts strong{font:750 24px/1.1 Manrope,system-ui,sans-serif;color:var(--mb-ink,#34271f)}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts>[data-stat]::before{content:'';display:block;width:20px;height:20px;background:currentColor;opacity:.8;mask:center / contain no-repeat var(--profile-stat-icon);-webkit-mask:center / contain no-repeat var(--profile-stat-icon)}
.mp-profile-counts>[data-stat=publications]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M3 15h18M9 3v18M15 3v18'/%3E%3C/svg%3E")}
.mp-profile-counts>[data-stat=recipes]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M5 10h14l-1 10H6L5 10ZM3 10h18M7 6l10-3M10 3l1 3'/%3E%3C/svg%3E")}
.mp-profile-counts>[data-stat=formulas]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h2m4 0h2m-8 4h2m4 0h2m-8 4h2m4 0h2'/%3E%3C/svg%3E")}
.mp-profile-counts>[data-stat=followers]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-3a6 6 0 0 1 12 0v3M16 4a3 3 0 0 1 0 6M21 21v-3a6 6 0 0 0-3-5'/%3E%3C/svg%3E")}
.mp-profile-counts>[data-stat=following]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='8' cy='7' r='3'/%3E%3Cpath d='M2 21v-3a6 6 0 0 1 12 0v3M19 9v8m-4-4h8'/%3E%3C/svg%3E")}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-cover-image #item-header-content .mp-profile-links{grid-column:1 / -1!important;grid-row:5!important;padding:0!important;margin:8px 0 0!important}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-bio{grid-column:1 / -1;grid-row:6;font-size:14px;color:var(--mb-muted,#796d62);margin:8px 0}
html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-display-name{display:none}
@media(max-width:650px){html body.bp-user:not(.mp-account-screen) #buddypress #item-header-cover-image{grid-template-columns:82px minmax(0,1fr)!important;gap:5px 16px!important;padding:12px 0 18px!important}html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar img{width:78px!important;height:78px!important}html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-name-row h2.user-nicename{font-size:24px!important}html body.bp-user:not(.mp-account-screen) #buddypress .mp-profile-handle{font-size:13px}html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:11px}html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts>:is(span,.mp-follow-count){min-height:88px;border-radius:16px;padding:10px 5px!important}html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts strong{font-size:22px}}
@media(prefers-color-scheme:dark){html body.bp-user:not(.mp-account-screen) #buddypress #item-header-cover-image{--mb-ink:#f5e9dc;--mb-muted:#c4b5a4;--mb-line:#594a3c;--mb-card:#29221c;--mb-accent:#c67d38}}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar{width:auto!important;min-width:0!important;padding:0!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar a{display:block;width:fit-content;margin:0;padding:0}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header-avatar img{display:block;box-sizing:border-box;float:none!important;margin:0!important}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header:has([data-profile-section=edit]) .mp-admin-edit{display:none!important}

/* One points summary and ranking presentation, reused by web and the native reader. */
.mb-points-summary{margin:18px 0;padding:0;border:1px solid var(--mb-line,#e4dbcf);border-radius:16px;background:var(--mb-card,#fffdfa);color:var(--mb-ink,#34271f)}
.mb-points-summary>a{display:flex;align-items:center;gap:14px;padding:18px;text-decoration:none!important;color:inherit!important}.mb-points-summary>a>span:nth-child(2){flex:1;min-width:0}.mb-points-summary strong{display:block;font:700 18px/1.4 Manrope,system-ui,sans-serif}.mb-points-summary small{display:block;margin-top:4px;font:400 13px/1.5 system-ui;color:var(--mb-muted,#796d62)}.mb-points-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--mb-soft,#f3e7d6);color:var(--mb-accent,#a95d19);font-size:25px;flex:none}
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mb-points-summary{grid-column:1/-1;grid-row:7;margin:12px 0 0}
.mb-points-page{max-width:880px;margin:36px auto 90px;padding:0 20px;box-sizing:border-box;color:var(--mb-ink,#34271f)}.mb-points-page h1{font:700 38px/1.2 Georgia,serif;margin:18px 0}.mb-points-page header>p:last-child{color:var(--mb-muted,#796d62);font:400 16px/1.6 system-ui}.mb-points-tabs{display:flex;gap:8px;margin:24px 0 12px}.mb-points-tabs a{padding:12px 22px;border:1px solid var(--mb-line,#e4dbcf);border-radius:12px;color:inherit;text-decoration:none;font-weight:600}.mb-points-tabs [aria-current=page]{background:var(--mb-accent,#a95d19);color:#fff;border-color:transparent}.mb-points-period{font-size:14px;color:var(--mb-muted,#796d62)}
.mb-points-ranking{list-style:none;padding:0!important;margin:20px 0!important;border:1px solid var(--mb-line,#e4dbcf);border-radius:18px;overflow:hidden;background:var(--mb-card,#fffdfa)}.mb-points-ranking:empty{display:none}.mb-points-ranking li{display:flex;align-items:center;gap:14px;padding:15px 18px;border-bottom:1px solid var(--mb-line,#e4dbcf);font:500 15px/1.4 system-ui}.mb-points-ranking li:last-child{border:0}.mb-points-rank{min-width:25px;text-align:center;color:var(--mb-accent,#a95d19);font-weight:700}.mb-points-ranking li>a{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:inherit;text-decoration:none!important}.mb-points-ranking li>a>span{overflow-wrap:anywhere}.mb-points-ranking img{width:42px!important;height:42px!important;border-radius:50%;object-fit:cover;flex:none}.mb-points-ranking li>strong{font-size:19px;text-align:right;white-space:nowrap}.mb-points-ranking li>strong small{display:block;font-size:11px;font-weight:400;color:var(--mb-muted,#796d62)}
.mb-points-rules,.mb-points-breakdown{margin-top:28px;padding:22px;border:1px solid var(--mb-line,#e4dbcf);border-radius:16px;background:var(--mb-card,#fffdfa);font:400 14px/1.7 system-ui}.mb-points-page h2{font:700 21px/1.3 system-ui;margin:0 0 14px}.mb-points-rules ul{padding-left:20px}.mb-points-rules p{color:var(--mb-muted,#796d62)}.mb-points-breakdown dl{margin:0}.mb-points-breakdown dl>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid var(--mb-line,#e4dbcf)}.mb-points-breakdown dd{font-weight:700;margin:0}.mb-points-empty{padding:25px;text-align:center;color:var(--mb-muted,#796d62)}
@media(max-width:650px){.mb-points-page{padding:0 14px;margin-top:24px}.mb-points-page h1{font-size:30px}.mb-points-summary strong{font-size:16px}.mb-points-ranking li{gap:8px;padding:13px 10px;font-size:14px}.mb-points-ranking li>a{gap:8px}.mb-points-ranking li>strong{font-size:18px}.mb-points-rules,.mb-points-breakdown{padding:18px}}
.mb-points-ranking li.is-me{background:var(--mb-soft,#f6e8d6)}
.mb-points-ranking li.is-me em{font-style:normal;color:var(--mb-muted,#796d62);font-weight:400}
.mb-points-mine{margin-top:28px;padding:22px;border:1px solid var(--mb-line,#e4dbcf);border-radius:16px;background:var(--mb-card,#fffdfa);font:400 14px/1.6 system-ui}
.mb-points-private{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:var(--mb-soft,#f6e8d6);color:var(--mb-muted,#796d62);font-size:13px}
.mb-points-mine-total{margin:-6px 0 12px;color:var(--mb-muted,#796d62)}
.mb-points-mine-total strong{color:var(--mb-ink,#34271f);font-size:18px}
.mb-points-mine dl{margin:0}
.mb-points-mine dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;border-bottom:1px solid var(--mb-line,#e4dbcf)}
.mb-points-mine dt small{color:var(--mb-muted,#796d62);font-size:12px;white-space:nowrap}
.mb-points-mine dd{margin:0;font-weight:700}
.mb-points-mine h3{font:600 15px/1.4 system-ui;margin:20px 0 6px}
.mb-points-history{list-style:none;margin:0!important;padding:0!important}
.mb-points-history li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;border-bottom:1px solid var(--mb-line,#e4dbcf)}
.mb-points-history li:last-child{border:0}
.mb-points-history span{min-width:0;overflow-wrap:anywhere}
.mb-points-history small{display:block;color:var(--mb-muted,#796d62);font-size:12px}
.mb-points-history strong{color:#3b6d11;white-space:nowrap}
details.mb-points-rules>summary{cursor:pointer;font:600 15px/1.4 system-ui;min-height:28px;display:flex;align-items:center}
details.mb-points-rules[open]>summary{margin-bottom:10px}
@media(max-width:650px){.mb-points-mine,details.mb-points-rules{padding:16px}.mb-points-page header>p:last-child{margin-top:0}}
@media(prefers-color-scheme:dark){.mb-points-history strong{color:#97c459}}
@media(prefers-color-scheme:dark){.mb-points-page,.mb-points-summary{--mb-ink:#f5e9dc;--mb-muted:#c4b5a4;--mb-line:#594a3c;--mb-card:#29221c;--mb-accent:#c67d38;--mb-soft:#41301f}}

/* Six public profile totals in one row, shared with the native profile. */
html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.mp-profile-counts>[data-stat=likes]{--profile-stat-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M12 21C-5 10 4-3 12 6c8-9 17 4 0 15Z'/%3E%3C/svg%3E")}
@media(max-width:650px){
 html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;font-size:9px;line-height:1.25}
 html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts>:is(span,.mp-follow-count){min-width:0;min-height:84px;border-radius:12px;padding:9px 2px!important;gap:5px;white-space:normal;overflow-wrap:normal}
 html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts strong{font-size:19px}
 html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts>[data-stat]::before{width:17px;height:17px}
}
@media(max-width:360px){html body.bp-user:not(.mp-account-screen) #buddypress #item-header .mp-profile-counts{font-size:8px;gap:3px}}

/* Shared web/native confirmation; cancellation is the initial focus. */
.mb-block-confirm{box-sizing:border-box;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:24px;border:1px solid var(--mb-line,#e4dbcf);border-radius:20px;background:var(--mb-card,#fffdfa);color:var(--mb-ink,#34271f);box-shadow:0 16px 60px #0003}
.mb-block-confirm::backdrop{background:#0007}.mb-block-confirm h2{font:700 24px/1.2 Manrope,system-ui,sans-serif;margin:0 0 14px;overflow-wrap:anywhere}.mb-block-confirm p{font:400 15px/1.55 Manrope,system-ui,sans-serif;margin:0 0 22px}.mb-block-confirm>div{display:flex;gap:10px}.mb-block-confirm button{flex:1;min-height:46px;padding:10px;border:1px solid var(--mb-line,#e4dbcf);border-radius:12px;background:transparent;color:inherit;font:600 15px/1.3 Manrope,system-ui;cursor:pointer}.mb-block-confirm .mb-block-confirm-accept{background:var(--mb-accent,#a95d19);color:#fff;border-color:transparent}.mb-block-confirm button:focus-visible{outline:2px solid var(--mb-accent,#a95d19);outline-offset:3px}
#item-header-content .mp-community-feedback{grid-column:1/-1;display:block;min-width:0;font:400 14px/1.5 system-ui;overflow-wrap:anywhere}#item-header-content .mp-community-feedback:empty{display:none}

/* Active blocking is an explicit state, shared by web and packaged clients. */
html body.bp-user #buddypress #item-header .mp-profile-actions .mp-community-block[aria-pressed="true"]{background:#b42318!important;border-color:#b42318!important;color:#fff!important;box-shadow:0 0 0 2px rgba(180,35,24,.12)}
html body.bp-user #buddypress #item-header .mp-profile-actions .mp-community-block[aria-pressed="true"]:focus-visible{outline:3px solid #e7857d;outline-offset:3px}
