/* Inline status at every viewport; keep mobile navigation unchanged. */
.app .sidebar .brand .ghrBrandHeading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px;min-width:0;max-width:100%;padding-inline-end:0;box-sizing:border-box}
.app .sidebar .brand .ghrBrandHeading>b{flex:0 0 auto;white-space:nowrap}
.app .sidebar .brand .ghrBrandHeading>.ghr17Status{display:block!important;flex:0 1 auto;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;margin:0!important;font-size:11px;line-height:1.2;color:#169b62}
.app .sidebar .brand .ghrBrandHeading .ghrNewChatButton{flex:0 0 auto;margin-inline-start:auto}
@media(max-width:1000px){.app .sidebar .brand .ghrBrandHeading{padding-inline-end:44px;gap:6px}.app .sidebar .brand .ghrBrandHeading .ghrNewChatButton{width:32px;height:32px}.app .sidebar .brand .ghrBrandHeading>.ghr17Status{font-size:10px}}
/* Match reference: chat list ~30%, chat fills rest, profile ~30% when opened. */
@media(min-width:1001px){
.app.ghr17Desktop{--ghr18-list:min(30%,540px);--ghr18-profile:min(30%,500px);display:grid!important;grid-template-columns:minmax(0,var(--ghr18-list)) minmax(0,1fr) minmax(0,var(--ghr18-profile))!important;grid-template-rows:minmax(0,1fr);gap:0!important;}
.app.ghr17Desktop.ghrContactPanelHidden{grid-template-columns:minmax(0,var(--ghr18-list)) minmax(0,1fr)!important}
.app.ghr17Desktop>.sidebar{grid-column:1;grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;min-height:0;box-sizing:border-box;}
.app.ghr17Desktop>main.chat{grid-column:2;grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;min-height:0;box-sizing:border-box;}
.app.ghr17Desktop>aside.profile{grid-column:3;grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;min-height:0;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
.app.ghr17Desktop>.xcoreProfileArea{position:absolute;top:8px;right:12px;z-index:30}
.app.ghr17Desktop>main.chat .head{min-width:0;gap:8px}
.app.ghr17Desktop>main.chat .headName{min-width:0;flex:1 1 auto;overflow:hidden;text-align:start}
.app.ghr17Desktop>main.chat .headName>b,.app.ghr17Desktop>main.chat .headName>small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app.ghr17Desktop>main.chat .body{min-width:0;min-height:0}
.app.ghr17Desktop>.sidebar .list{min-height:0}
.app.ghr17Desktop .ghr17ProfileHeading{position:sticky;top:0;z-index:2;background:inherit;padding-top:44px}
}
@media(min-width:1001px) and (max-width:1250px){.app.ghr17Desktop{--ghr18-list:28%;--ghr18-profile:27%}.app.ghr17Desktop>main.chat .head{flex-wrap:wrap;gap:4px}.app.ghr17Desktop>main.chat .replyAccountControl{min-width:0;max-width:100%}}
@media(min-width:1001px){
.app.ghr17Desktop.ghrContactPanelHidden>main.chat .head{padding-inline-end:64px!important}
.app.ghr17Desktop.ghrContactPanelHidden>.xcoreProfileArea>.xcoreProfileButton{width:40px!important;min-width:0!important;max-width:40px!important;padding:4px!important;justify-content:center;gap:0}
.app.ghr17Desktop.ghrContactPanelHidden>.xcoreProfileArea>.xcoreProfileButton .xcoreProfileText,.app.ghr17Desktop.ghrContactPanelHidden>.xcoreProfileArea>.xcoreProfileButton .xcoreProfileChevron{display:none!important}
}
