/* One shared shell; legacy elements remain hidden only to preserve old event bindings. */
html.ecb-shared-ready [data-legacy-site-shell]{display:none}
html.ecb-shared-ready body{padding-top:0}
#ecbSharedHeader{position:relative;z-index:100;width:100%;padding:0;background:#fff;border-bottom:1px solid var(--ecb-line);color:var(--ecb-ink)}
#ecbSharedHeader *{box-sizing:border-box}
.ecb-shell-top{min-height:32px;background:var(--ecb-warm);border-bottom:1px solid var(--ecb-line)}
.ecb-shell-top .site-utility-bar{border:0;background:transparent;margin:0;min-height:32px}
.ecb-shell-top .site-utility-bar__inner{min-height:32px;width:min(1280px,calc(100% - 48px));justify-content:flex-end}
.ecb-shell-row{width:min(1280px,calc(100% - 48px));min-height:76px;margin:auto;display:flex;align-items:center;gap:28px}
.ecb-shell-brand{font-size:1.8rem;font-weight:850;letter-spacing:-.06em;color:#282b2c;text-decoration:none;flex:none}.ecb-shell-brand span{color:var(--ecb-orange)}
.ecb-shell-nav{display:flex;align-items:center;gap:24px;margin-right:auto}.ecb-shell-nav a,.ecb-shell-account a,.ecb-shell-account button{font-size:1rem;color:inherit;text-decoration:none;font-weight:600}
.ecb-shell-nav>a{padding:22px 0;white-space:nowrap}.ecb-shell-nav a[aria-current=page]{color:var(--ecb-orange)}
.ecb-shell-account{margin-left:auto;display:flex;align-items:center;gap:16px;white-space:nowrap}.ecb-shell-account .ecb-shell-join{padding:10px 17px;background:var(--ecb-orange);border-radius:6px;color:white}
.ecb-shell-details{position:relative}.ecb-shell-details summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:600}.ecb-shell-details summary::-webkit-details-marker{display:none}.ecb-shell-details summary:after{content:'⌄';font-size:.8em}
.ecb-shell-panel{position:absolute;right:0;top:100%;width:240px;display:grid;gap:4px;padding:12px;background:white;border:1px solid var(--ecb-line);border-radius:10px;box-shadow:0 12px 36px #302a2214}.ecb-shell-panel a,.ecb-shell-panel button{display:block;width:100%;padding:10px 12px;text-align:left;background:none;border:0;border-radius:5px;font:inherit;color:var(--ecb-ink);text-decoration:none}.ecb-shell-panel a:hover,.ecb-shell-panel button:hover{background:var(--ecb-warm)}
.ecb-shell-menu{margin-left:0}.ecb-shell-menu summary{font-size:0;width:44px;justify-content:center}.ecb-shell-menu summary:before{content:'☰';font-size:24px}.ecb-shell-menu summary:after{display:none}
.ecb-shell-status{width:min(1280px,calc(100% - 48px));margin:0 auto;color:#a5321e;font-size:.875rem}.ecb-shell-status:empty{display:none}
#ecbSharedFooter{clear:both;background:#f6f3ee;border-top:1px solid var(--ecb-line);padding:40px max(24px,calc((100% - 1280px)/2));color:var(--ecb-muted);font-size:.875rem}
.ecb-shell-footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:24px}.ecb-shell-footer-links{display:flex;gap:20px;flex-wrap:wrap}.ecb-shell-footer-links a{color:var(--ecb-ink);font-size:.875rem;text-decoration:none}.ecb-shell-footer-copy{max-width:760px;margin:0;font-size:.875rem;line-height:1.8}
@media(max-width:1050px){.ecb-shell-nav{gap:14px}.ecb-shell-row{gap:18px}.ecb-shell-account{gap:10px}}
@media(max-width:900px){.ecb-shell-row{min-height:64px;width:calc(100% - 32px);gap:12px}.ecb-shell-nav{display:none}.ecb-shell-brand{font-size:1.55rem}.ecb-shell-account{gap:8px}.ecb-shell-account>a{font-size:.875rem}.ecb-shell-account .ecb-shell-join{padding:8px 10px}.ecb-shell-top .site-utility-bar__inner{width:calc(100% - 32px)}.ecb-shell-panel{max-width:calc(100vw - 32px)}.ecb-shell-account summary{font-size:.875rem;max-width:130px;overflow:hidden;text-overflow:ellipsis}.ecb-shell-top .site-utility-bar__label{font-size:.75rem}.ecb-shell-footer-top{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){#ecbSharedHeader *,#ecbSharedFooter *{scroll-behavior:auto}}
html[data-site-text-scale="150"] .ecb-shell-nav,html[data-site-text-scale="175"] .ecb-shell-nav,html[data-site-text-scale="200"] .ecb-shell-nav{display:none}
html[data-site-text-scale="200"] .ecb-shell-row{flex-wrap:wrap;gap:12px;padding-block:12px}
html[data-site-text-scale="200"] .ecb-shell-account{white-space:normal;flex-wrap:wrap}
html.ecb-shared-ready main{word-break:keep-all;overflow-wrap:anywhere}
#ecbSharedFooter,#ecbSharedFooter *{box-sizing:border-box;min-width:0;overflow-wrap:anywhere;white-space:normal}

/* Group related records instead of spreading one record across the page. */
.platform-body #networkMemberRows{display:grid;gap:12px;padding-block:16px}
.platform-body #networkMemberRows .ecb-net-member-row{display:grid;grid-template-columns:56px minmax(160px,1.2fr) minmax(100px,1fr) auto;gap:16px;align-items:center;padding:20px;border:1px solid var(--ecb-line);border-radius:12px;background:#fff}
.platform-body #networkMemberRows .ecb-net-member-activity{display:none}
.platform-body #networkMemberRows .ecb-net-member-info{display:grid;gap:4px}
.platform-body #networkMemberRows .ecb-net-member-region{padding-left:20px;border-left:1px solid var(--ecb-line);font-size:.875rem;color:var(--ecb-muted)}
.platform-body #networkInbox .proposal-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.platform-body #networkInbox .proposal-columns>section{padding:20px;background:#faf8f5;border:1px solid var(--ecb-line);border-radius:12px;min-width:0}
.platform-body #networkInbox .proposal-columns h4{margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--ecb-line);font-size:1rem}
.platform-body #networkInbox .proposal-item{padding:20px;margin:0 0 12px;border:1px solid var(--ecb-line);border-radius:10px;background:#fff}
.platform-body #networkInbox .proposal-item header{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.platform-body #networkInbox .proposal-item header>div{display:grid;gap:6px}
.platform-body #networkInbox .proposal-item header span{font-size:.875rem;color:var(--ecb-muted)}
.platform-body #networkInbox .proposal-item header em{font-style:normal;white-space:nowrap;border-radius:6px;padding:4px 8px;background:#f8eee5;color:#a64b20;font-size:.875rem}
.platform-body #networkInbox .proposal-item>p{padding-top:12px;border-top:1px solid var(--ecb-line);margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.member-chat-dialog{box-sizing:border-box;width:min(960px,calc(100% - 32px));padding:24px}
.member-chat-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:420px;border:1px solid var(--ecb-line);border-radius:10px;overflow:hidden}
.member-chat-workspace .member-chat-list{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px;background:#faf8f5;border-right:1px solid var(--ecb-line)}
.member-chat-workspace .member-chat-list button{padding:12px;font-size:.875rem}
.member-chat-empty{display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:24px;gap:24px;text-align:center}
.member-chat-empty>div:first-child{margin:auto;max-width:360px}.member-chat-empty h3{font-size:1.125rem}.member-chat-empty p,.chat-list-empty{font-size:.875rem;color:var(--ecb-muted);line-height:1.65}.chat-empty-icon{font-size:2rem;color:var(--ecb-orange)}
.chat-empty-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.chat-empty-composer textarea{box-sizing:border-box;resize:none;background:#f5f5f4}.chat-empty-composer button{padding:8px 16px;opacity:.5}
.member-chat-workspace #memberChatRoom{min-width:0;padding:20px}.member-chat-workspace [hidden]{display:none!important}
.member-chat-dialog>header{padding-bottom:16px;border-bottom:1px solid var(--ecb-line);margin-bottom:16px}
.member-chat-dialog button{padding:8px 14px;border:1px solid var(--ecb-line);border-radius:8px;background:#fff;color:var(--ecb-ink);font-weight:600}
.member-chat-dialog [data-chat-find],.member-chat-dialog .primary-button{background:var(--ecb-orange);color:#fff;border-color:var(--ecb-orange)}
.member-chat-dialog .chat-empty-composer textarea{height:76px;min-height:76px;max-height:76px;font-size:.875rem}
.member-chat-dialog .chat-empty-composer button{height:44px;min-height:44px}
.member-chat-dialog #memberChatStatus:empty{display:none}
@media(max-width:760px){.platform-body #networkMemberRows .ecb-net-member-row{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px}.platform-body #networkMemberRows .ecb-net-member-region{grid-column:2;border:0;padding:0}.platform-body #networkMemberRows .ecb-net-member-row>button{grid-column:1/-1}.platform-body #networkInbox .proposal-columns{grid-template-columns:1fr}.platform-body #networkInbox .proposal-columns>section,.platform-body #networkInbox .proposal-item{padding:16px}.member-chat-dialog{padding:16px}.member-chat-workspace{grid-template-columns:1fr;min-height:400px}.member-chat-workspace .member-chat-list{max-height:150px;overflow:auto;border-right:0;border-bottom:1px solid var(--ecb-line)}.member-chat-empty{padding:20px}.chat-empty-composer{grid-template-columns:1fr}.member-chat-workspace #memberChatRoom{padding:16px}}

/* Navigation selection changes color, never type size or control geometry. */
html{scrollbar-gutter:stable}
html.ecb-shared-ready .platform-body #memberMainNav{gap:4px 12px;min-height:64px;align-items:center}
html.ecb-shared-ready .platform-body #memberMainNav>button,
html.ecb-shared-ready .platform-body #memberMainNav>button.active,
html.ecb-shared-ready .platform-body #memberMainNav>button:not(.active){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:48px;height:3rem;padding:0 12px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:1rem!important;line-height:1.5;font-weight:600;letter-spacing:0;white-space:nowrap;color:var(--ecb-muted);transform:none;transition:color .15s}
html.ecb-shared-ready .platform-body #memberMainNav>button.active{color:var(--ecb-orange)}
html.ecb-shared-ready .platform-body #memberMainNav>button.active::after{left:12px;right:12px;bottom:0;height:2px}
html.ecb-shared-ready .platform-body .topbar{padding:24px 0;margin-bottom:24px;gap:24px;align-items:center}
html.ecb-shared-ready .platform-body .topbar h1{font-size:1.75rem;line-height:1.4;margin:0;letter-spacing:-.035em}
html.ecb-shared-ready .platform-body .topbar p{margin:6px 0 0}
html.ecb-shared-ready .platform-body .top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html.ecb-shared-ready .platform-body .top-actions>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;height:2.75rem;min-width:6.5rem;width:auto;padding:0 1rem;border:1px solid var(--ecb-line);border-radius:.5rem;font-size:1rem!important;font-weight:600;line-height:1.5;letter-spacing:0;box-shadow:none;transform:none;white-space:nowrap}
html.ecb-shared-ready .platform-body .top-actions>.primary-button{background:var(--ecb-orange);border-color:var(--ecb-orange);color:#fff}
html.ecb-shared-ready .platform-body .top-actions>:is(.ghost-button,.ecb-tour-restart){background:#fff;color:var(--ecb-ink)}
html.ecb-shared-ready .platform-body .member-home-panel{padding:24px;border-radius:.75rem;min-height:210px}
html.ecb-shared-ready .platform-body .member-home-panel>header{min-height:44px;margin:0 0 16px;padding:0 0 12px}
html.ecb-shared-ready .platform-body :is(.network-panel,.ecb-inbox-list-panel,.ecb-inbox-detail-panel,.profile-register-panel,.profile-video-panel,.profile-public-panel){box-sizing:border-box;border-radius:.75rem;border-color:var(--ecb-line)}
html.ecb-shared-ready .platform-body #memberGrid .bc-directory-card{border-radius:.75rem;border-color:var(--ecb-line)}
html.ecb-shared-ready .platform-body #memberGrid .member-preview-button{padding:20px;min-height:0}
html.ecb-shared-ready .platform-body #memberGrid .bc-directory-offer{min-height:3.3em;margin:16px 0 8px;font-weight:400}
html.ecb-shared-ready .platform-body #memberGrid .bc-directory-actions{display:grid;grid-template-columns:2.75rem minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:8px;padding:0 20px 20px}
html.ecb-shared-ready .platform-body #memberGrid .bc-directory-actions>button{width:100%;min-width:0;min-height:2.75rem;padding:6px;border-radius:.5rem;line-height:1.5;box-shadow:none}
html.ecb-shared-ready .platform-body #memberGrid .bc-directory-actions>.primary-button{background:var(--ecb-orange);border-color:var(--ecb-orange)}
@media(max-width:760px){
 html.ecb-shared-ready .platform-body #memberMainNav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible}
 html.ecb-shared-ready .platform-body #memberMainNav>button{width:100%;min-width:0;padding:0 4px;font-size:.875rem!important}
 html.ecb-shared-ready .platform-body .topbar{align-items:flex-start;gap:16px}
 html.ecb-shared-ready .platform-body .top-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.ecb-shared-ready .platform-body .top-actions>button{width:100%;min-width:0;padding:0 4px;font-size:.875rem!important}
 html.ecb-shared-ready .platform-body .member-home-panel{padding:20px;min-height:0}
}
@media(max-width:760px){html[data-site-text-scale="175"] .platform-body #memberMainNav,html[data-site-text-scale="200"] .platform-body #memberMainNav{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-site-text-scale="175"] .platform-body .top-actions,html[data-site-text-scale="200"] .platform-body .top-actions{grid-template-columns:1fr}}
