
/* BuddySocial v9.84 - Full Pimp Studio + Super Admin parity */
body[data-page="pimp_profile"] .pimp-v984-section-intro,
body[data-page="admin_pimp_profile"] .pimp-v984-section-intro{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:0 0 10px;border-bottom:1px solid #c7dbe8;background:linear-gradient(180deg,#f9fcfe,#edf6fb)}
body[data-page="pimp_profile"] .pimp-v984-section-intro>span,
body[data-page="admin_pimp_profile"] .pimp-v984-section-intro>span{font-size:22px}
body[data-page="pimp_profile"] .pimp-v984-section-intro b,body[data-page="pimp_profile"] .pimp-v984-section-intro small,
body[data-page="admin_pimp_profile"] .pimp-v984-section-intro b,body[data-page="admin_pimp_profile"] .pimp-v984-section-intro small{display:block}
body[data-page="pimp_profile"] .pimp-v984-section-intro b,body[data-page="admin_pimp_profile"] .pimp-v984-section-intro b{color:#285f86;font-size:12px}
body[data-page="pimp_profile"] .pimp-v984-section-intro small,body[data-page="admin_pimp_profile"] .pimp-v984-section-intro small{margin-top:2px;color:#718796;font-size:9px}

body[data-page="pimp_profile"] .pimp-v984-cardbar,
body[data-page="admin_pimp_profile"] .pimp-v984-cardbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;margin:-1px -1px 8px;border-bottom:1px solid #b7cfdf;background:linear-gradient(180deg,#e7f4fc,#d4eaf6)}
body[data-page="pimp_profile"] .pimp-v984-cardbar b,body[data-page="admin_pimp_profile"] .pimp-v984-cardbar b{color:#2a6085;font-size:10px}
body[data-page="pimp_profile"] .pimp-v984-cardbar button,body[data-page="admin_pimp_profile"] .pimp-v984-cardbar button{border:1px solid #adc5d5;background:#fff;color:#356483;font-size:9px;font-weight:800;padding:4px 8px;cursor:pointer}
body[data-page="pimp_profile"] .pimp-v984-ready.pimp-v984-collapsed>*:not(.pimp-v984-cardbar),
body[data-page="admin_pimp_profile"] .pimp-v984-ready.pimp-v984-collapsed>*:not(.pimp-v984-cardbar){display:none!important}
body[data-page="pimp_profile"] .pimp-v984-ready,body[data-page="admin_pimp_profile"] .pimp-v984-ready{border:1px solid #c2d5e2!important;background:#f8fbfd!important;margin-bottom:9px!important}

body[data-page="admin_pimp_profile"] .pimp-v984-admin-safe{display:flex;align-items:center;gap:10px;margin:10px 0;padding:9px 11px;border:1px solid #95c5a1;background:#effaf1;color:#356b41;font-size:9px}
body[data-page="admin_pimp_profile"] .pimp-v984-admin-safe b{white-space:nowrap;color:#286038}

/* Admin blocks get exact same studio language */
body[data-page="admin_pimp_profile"] #blocks fieldset.theme-field.block-text-studio{position:relative;margin-bottom:10px;padding:0 9px 9px;border:1px solid #b8cddd;background:linear-gradient(180deg,#f7fbfe,#edf6fa);box-shadow:0 2px 7px rgba(31,65,91,.06)}
body[data-page="admin_pimp_profile"] #blocks fieldset.pimp-block-collapsed>*:not(.pimp-block-toolbar){display:none!important}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 -9px 8px;padding:8px 9px;background:linear-gradient(180deg,#e6f3fb,#d2e9f6);border-bottom:1px solid #afcadc}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-title{display:flex;align-items:center;gap:8px}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-number{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#2f6fa8;color:#fff;font-size:9px;font-weight:900}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-title b,body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-title small{display:block}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-title b{font-size:10px;color:#275d83} body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-title small{font-size:8px;color:#718796}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-actions{display:flex;gap:5px;flex-wrap:wrap}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-actions button{min-height:28px;padding:4px 7px;border:1px solid #b3c9d8;background:#fff;color:#356483;font-size:8px;font-weight:800;cursor:pointer}
body[data-page="admin_pimp_profile"] #blocks .pimp-reset-block{background:#fff8e8!important;border-color:#dfbd76!important;color:#8b5a08!important}
body[data-page="admin_pimp_profile"] #blocks .pimp-test-active{border-color:#dfa13a!important;box-shadow:0 0 0 3px rgba(243,154,19,.1)}
body[data-page="admin_pimp_profile"] #blocks .block-style-preview{position:relative;min-height:90px;padding:12px;margin:7px 0;border:1px dashed #9dbbd0;overflow:hidden;isolation:isolate}
body[data-page="admin_pimp_profile"] #blocks .block-style-preview:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.56),rgba(255,255,255,.56)),var(--pimp-current-site-image,url("../images/buddysocial-fixed-pages-bg-v965.png"));background-position:center,center;background-size:auto,cover}
body[data-page="admin_pimp_profile"] #blocks .pimp-preview-inner{margin-top:8px;padding:8px;border:1px solid #c1d4e1;background:rgba(255,255,255,.7)}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:9px 10px;border:1px solid #adc7d9;background:#eef7fc}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools b,body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools small{display:block} body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools b{font-size:10px;color:#2d6288} body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools small{font-size:8px;color:#738895}
body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-actions{display:flex;gap:5px}body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-actions button{font-size:8px;padding:4px 7px;border:1px solid #b5cad8;background:#fff;color:#356383;cursor:pointer}

/* Reuse preset appearance for admin */
body[data-page="admin_pimp_profile"] .pimp-style-presetbar{margin:8px 0;padding:8px;border:1px solid #c7d9e5;background:#fff}
body[data-page="admin_pimp_profile"] .pimp-style-presetbar-head b,body[data-page="admin_pimp_profile"] .pimp-style-presetbar-head small{display:block}body[data-page="admin_pimp_profile"] .pimp-style-presetbar-head b{font-size:10px;color:#2d6288}body[data-page="admin_pimp_profile"] .pimp-style-presetbar-head small{font-size:8px;color:#768a98;margin-top:2px}
body[data-page="admin_pimp_profile"] .pimp-style-preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:5px;margin-top:6px}
body[data-page="admin_pimp_profile"] .pimp-preset-btn{display:flex;align-items:center;gap:6px;min-height:32px;padding:5px 7px;border:1px solid #bed2e0;background:#fff;color:#2d5d7a;font-size:8px;font-weight:800;cursor:pointer}
body[data-page="admin_pimp_profile"] .pimp-preset-swatch{width:26px;height:18px;border-radius:3px;background:linear-gradient(135deg,var(--c1),var(--c2) 58%,var(--c3));border:1px solid rgba(0,0,0,.08)}

body[data-page="admin_pimp_profile"] #design .pimp-v984-group{margin:8px 0;border:1px solid #c5d8e4;background:#f8fbfd}body[data-page="admin_pimp_profile"] #design .pimp-v984-group-head{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;background:#e9f4fa;border-bottom:1px solid #c4d9e6}body[data-page="admin_pimp_profile"] #design .pimp-v984-group-head b{font-size:9px;color:#2d6288}body[data-page="admin_pimp_profile"] #design .pimp-v984-group-head button{font-size:8px;padding:3px 7px;border:1px solid #b5cad8;background:#fff;color:#356383;cursor:pointer}body[data-page="admin_pimp_profile"] #design .pimp-v984-group.is-collapsed>*:not(.pimp-v984-group-head){display:none!important}

/* Studio tabs clearer on both pages */
body[data-page="pimp_profile"] .pimp-tabs-organized,body[data-page="admin_pimp_profile"] .pimp-tabs-organized{position:sticky;top:0;z-index:40;background:rgba(246,250,253,.97);backdrop-filter:blur(6px);box-shadow:0 3px 10px rgba(31,65,91,.08)}
body[data-page="pimp_profile"] .pimp-tab-group>span,body[data-page="admin_pimp_profile"] .pimp-tab-group>span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#718797}
body[data-page="pimp_profile"] .pimp-tab-group a.active,body[data-page="admin_pimp_profile"] .pimp-tab-group a.active{box-shadow:inset 0 -3px #f39a16;background:#fff7e8!important;color:#875900!important}

@media(max-width:760px){
 body[data-page="pimp_profile"] .pimp-v984-cardbar,body[data-page="admin_pimp_profile"] .pimp-v984-cardbar,body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar,body[data-page="admin_pimp_profile"] #blocks .pimp-block-overview-tools{align-items:stretch;flex-direction:column}
 body[data-page="admin_pimp_profile"] #blocks .pimp-block-toolbar-actions{display:grid;grid-template-columns:1fr 1fr 1fr}
 body[data-page="admin_pimp_profile"] .pimp-style-preset-grid{grid-template-columns:1fr 1fr}
 body[data-page="pimp_profile"] .pimp-tabs-organized,body[data-page="admin_pimp_profile"] .pimp-tabs-organized{position:relative;top:auto}
}
