.bh-extended-profile{border-top:1px solid var(--shell-border);margin-top:24px;padding-top:24px}
.bh-profile-heading{display:flex;align-items:center;gap:16px;margin-bottom:16px}.bh-profile-heading h2{overflow-wrap:anywhere}
.bh-profile-avatar{display:inline-grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:var(--shell-accent-soft);color:var(--shell-accent);font-weight:700;overflow:hidden}
.bh-profile-heading .bh-profile-avatar{width:72px;height:72px;flex-basis:72px;font-size:22px}
[data-profile-avatar] img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.bh-profile-note{margin:12px 0!important}.bh-profile-form{margin-top:18px}
.bh-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.bh-profile-grid label,.bh-avatar-editor label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--shell-muted);min-width:0}
.bh-profile-grid input,.bh-profile-grid textarea{width:100%;border:1px solid var(--shell-border);background:var(--shell-card);color:var(--shell-text);border-radius:9px;padding:11px;font:inherit;min-width:0}
.bh-profile-wide{grid-column:1/-1}.bh-profile-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--shell-text)}
.bh-profile-message,.bh-avatar-message,.bh-theme-message{display:block;margin-top:10px;font-size:13px;overflow-wrap:anywhere}
.bh-avatar-editor,.bh-theme-editor{border-top:1px solid var(--shell-border);margin-top:24px;padding-top:20px}.bh-avatar-editor p,.bh-theme-editor p{font-size:13px;margin:8px 0 16px}
.bh-avatar-input{max-width:100%;margin-top:6px}.bh-avatar-preview{width:90px;height:90px;border-radius:50%;object-fit:cover;margin:16px 0}.bh-avatar-preview[hidden]{display:none}
.bh-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.bh-theme-segments{display:grid;grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(0,1fr));gap:4px;width:100%;max-width:380px;padding:4px;border:1px solid var(--shell-border);border-radius:12px;background:var(--theme-surface-soft,#f1f5f9)}
.bh-theme-segments button{position:relative;min-width:0;min-height:44px;padding:9px 6px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--shell-text);font-size:13px;line-height:20px;font-weight:600;white-space:nowrap;box-shadow:none}
.bh-theme-segments button:hover:not([aria-disabled="true"]):not([aria-pressed="true"]){background:var(--shell-card)}
.bh-theme-segments button[aria-pressed="true"]{background:var(--shell-accent-soft);border-color:var(--shell-accent);color:var(--theme-link,#1d4ed8);font-weight:700}
.bh-theme-segments button[aria-pressed="true"]::after{content:"";position:absolute;bottom:4px;left:12px;right:12px;height:2px;border-radius:1px;background:currentColor}
.bh-theme-segments button:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px;z-index:1}
.bh-theme-segments button[aria-disabled="true"]{cursor:wait}
.bh-profile-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--shell-border);border-radius:16px;background:var(--shell-card);color:var(--shell-text)}
.bh-profile-dialog::backdrop{background:#0a152780}.bh-profile-close{display:block;margin-left:auto;margin-bottom:16px}
.bh-profile-directory{margin-top:20px}.bh-profile-directory article{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--shell-border)}
.bh-profile-directory article>div{flex:1;min-width:0;overflow-wrap:anywhere}.bh-profile-directory small{display:block;color:var(--shell-muted);margin-top:5px}
.am-participant{display:inline-flex;gap:6px;align-items:center;vertical-align:middle}.am-participant .am-avatar{width:23px;height:23px;flex-basis:23px;font-size:9px}
@media(max-width:700px){.bh-profile-grid{grid-template-columns:1fr}.bh-profile-dialog{padding:16px}.bh-profile-directory article{flex-wrap:wrap}.bh-profile-directory article>button{margin-left:56px}.bh-profile-heading .bh-profile-avatar{width:56px;height:56px;flex-basis:56px}.bh-profile-heading h2{font-size:19px}}
