/* Scoped first-paint states; completed profiles keep their approved styling. */
.scv-public-profile-shell{box-sizing:border-box;width:min(1300px,calc(100% - 32px));min-height:65vh;margin:20px auto 24px;padding:26px;border:1px solid #dce5ef;border-radius:22px;background:#fff;color:#52637e;font:inherit}
.scv-public-profile-shell[hidden],.scv-public-profile-shell [hidden]{display:none!important}
.scv-public-profile-shell h1{margin:0 0 12px;color:#071833;font-size:clamp(26px,4vw,36px);line-height:1.2}
.scv-public-profile-shell p{margin:20px 0 0;line-height:1.5}
.scv-public-profile-skeleton{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px}
.scv-public-profile-skeleton span{display:block;border-radius:12px;background:#e8eff6}
.scv-public-profile-skeleton .scv-loading-portrait{height:180px;border-radius:18px}
.scv-loading-copy{display:grid;align-content:center;gap:14px}
.scv-loading-copy span{width:70%;height:18px}
.scv-loading-copy span:first-child{width:85%;height:30px}
.scv-loading-copy span:last-child{width:45%}
.scv-public-profile-skeleton .scv-loading-meta{grid-column:1/-1;height:64px}
.scv-public-profile-shell button,.scv-public-profile-shell a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:18px 10px 0 0;padding:10px 18px;border:1px solid #2869c8;border-radius:12px;background:#fff;color:#205ba5;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.scv-public-profile-shell button{background:#2165d7;color:#fff}
.scv-public-profile-shell :is(button,a,h1,p):focus-visible{outline:3px solid #6494f3;outline-offset:3px}
html:is(.scv-public-profile-loading,.scv-public-profile-load-error) #scv-page-content{opacity:0!important;pointer-events:none!important;height:0!important;min-height:0!important;overflow:hidden!important}
html:not(.scv-public-profile-js) #scvPublicProfileLoading{display:none}
/* The initial public text is visible with or without JavaScript, until hydration. */
html:not(.scv-public-profile-js) #scvPublicProfileLoading.scv-server-summary{display:block;min-height:0}
.scv-public-summary-note{box-sizing:border-box;width:min(1300px,calc(100% - 32px));margin:12px auto 24px;color:#52637e;font:inherit;line-height:1.5}
.scv-server-summary [data-scv-public-summary]{overflow-wrap:anywhere}
.scv-server-summary [data-scv-public-summary] p{margin:12px 0 0}
html:not(.scv-public-profile-js) .scv-server-summary [data-scv-loading-message]{display:none}
/* Public visitors see the real site menu during the initial session check. */
body.public-profile-page .scv-global-header.scv-public-header-pending .scv-account-placeholder{visibility:hidden!important}
@media(max-width:1100px){
 body.public-profile-page .scv-global-header.scv-public-header-pending .scv-account-placeholder{display:none!important}
 body.public-profile-page .scv-global-header.scv-public-header-pending .scv-mobile-menu-toggle-v40{display:inline-flex!important}
 body.public-profile-page .scv-global-header.scv-public-header-pending .scv-mobile-header-actions{margin-left:auto}
}
@media(max-width:700px){
 .scv-public-profile-shell{width:calc(100% - 16px);margin:12px auto 16px;padding:16px;min-height:70vh}
 .scv-public-profile-skeleton{grid-template-columns:94px minmax(0,1fr);gap:15px}
 .scv-public-profile-skeleton .scv-loading-portrait{height:120px}
 .scv-loading-copy span{height:14px}
 .scv-loading-copy span:first-child{height:23px}
}
@media(max-width:360px){
 body.public-profile-page .scv-global-header.scv-public-header-pending .scv-header-search-toggle{display:none!important}
}
