/* 173: use the available screen, put identity in the home card, prioritize messages. */
html[data-hub-theme][data-hub-mode] .layout{width:100%;max-width:none!important;box-sizing:border-box;margin:0!important;grid-template-columns:190px minmax(0,1fr)!important;gap:22px!important;padding:22px 24px 32px!important}
html[data-hub-theme][data-hub-mode] .layout>section{max-width:none!important;width:100%!important;min-width:0;justify-self:stretch!important}
html[data-hub-theme][data-hub-mode] .topbar{max-width:none!important}.directory-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:18px!important}.directory-grid .directory-card{min-width:0;max-width:none}.directory-grid .description{min-height:125px!important}.directory-grid .visual-art{height:120px!important}
.hero-status173{display:inline-flex;margin:0 0 0 14px;vertical-align:middle;gap:7px;align-items:center;padding:7px 12px;border-radius:999px;border:1px solid var(--glass-edge);background:var(--glass-solid);color:var(--bh-ink);font-size:12px;font-weight:700}.hero-status173::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--bh-muted)}.hero-status173[data-state=signed]::before{background:#238362}.hero-status173[data-state=expired]::before{background:#b74a4a}.hero-status173[data-state=checking]::before,.hero-status173[data-state=offline]::before{background:#ad7b2c}
#app .welcome-copy h2{font-size:clamp(29px,2.8vw,42px);overflow-wrap:anywhere}#heroStats[hidden],#heroRetry[hidden]{display:none!important}.hero-stats173{display:flex;gap:22px;margin:19px 0;flex-wrap:wrap}.hero-stats173>span{display:flex;flex-direction:column;gap:4px;min-width:75px}.hero-stats173 small{font-size:12px;color:var(--bh-muted)}.hero-stats173 b{font-size:18px;color:var(--bh-ink);font-weight:650}.hero-actions173{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#heroRetry{padding:10px 16px;border:1px solid var(--glass-edge);background:var(--glass-solid);color:var(--bh-ink);border-radius:999px;cursor:pointer}.hero-actions173 .login-main{margin:0;max-width:100%}.account-shortcut{max-width:310px}.account-shortcut span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-line{justify-content:flex-start!important}
/* Chat: compact navigation, flexible message viewport, composer always close to the messages. */
html[data-hub-theme][data-hub-mode] body[data-active-module=chat] .layout{padding-top:12px!important;padding-bottom:8px!important}
body[data-active-module=chat] .workspace-crumb{display:none!important}
html[data-hub-theme][data-hub-mode] body[data-active-module=chat] #moduleDialog[open]{height:calc(100dvh - 110px)!important;min-height:480px!important}
body[data-active-module=chat] #moduleDialog>header{min-height:48px!important;height:48px!important;padding:5px 12px!important}
body[data-active-module=chat] #moduleDialog h2{font-size:15px!important}
body[data-active-module=chat] #closeModule,body[data-active-module=chat] #directModule{min-height:34px!important;height:34px!important;padding:6px 12px!important}
html[data-hub-theme] body.chat-workspace173{min-height:0!important;height:100dvh!important;overflow:auto;padding:0!important}
html[data-hub-theme] body.chat-workspace173 #hub169-content{height:100dvh!important;min-height:0!important;max-width:none!important;padding:10px 12px!important;display:flex!important;flex-direction:column!important;gap:7px;box-sizing:border-box}
.chat-workspace173 .bh-workspace-intro{display:none!important}
.chat-workspace173 #hub169-content .bh-workspace-tabs{flex-shrink:0;margin:0!important;padding:3px!important;border-radius:18px!important;min-height:40px}
.chat-workspace173 #hub169-content .bh-workspace-tabs button{min-height:32px!important;padding:6px 14px!important;font-size:12px!important}
.chat-workspace173 #hub169-content>.hub169-login-link{margin:0!important;padding:0 5px!important;font-size:11px!important;line-height:16px!important;align-self:flex-end;flex-shrink:0}
html[data-hub-theme] body.chat-workspace173 #hub169-content>.chat-panel173:not(.bh-panel-hidden){flex:1;min-height:0;display:flex!important;flex-direction:column;gap:7px;padding:12px!important;border-radius:20px!important;overflow:auto}
html[data-hub-theme] body.chat-workspace173 #hub169-content>.chat-panel173.bh-panel-hidden{display:none!important}
.chat-workspace173 #hub169-content .community-head{margin:0!important;flex-shrink:0;gap:8px}.chat-workspace173 #hub169-content :is(.community-head h2,#privateChat>h2){font-size:15px!important;line-height:1.3!important;margin:0!important}
.chat-workspace173 #hub169-content :is(.community-head p,#privateChat>p){margin:3px 0 0!important;font-size:11px!important;line-height:1.4!important}
html[data-hub-theme] body.chat-workspace173 #hub169-content .community-list{flex:1 1 auto!important;min-height:180px!important;height:auto!important;max-height:none!important;margin:0!important;padding:10px 12px!important;border-radius:16px!important;overflow-y:auto;overscroll-behavior:contain}
.chat-workspace173 #hub169-content .community-message{padding:10px 12px!important;margin-bottom:7px!important}.chat-workspace173 #hub169-content .community-message p{font-size:14px!important;line-height:1.55!important;margin:3px 0!important}
.chat-workspace173 #hub169-content .community-form{margin:0!important;gap:8px!important;flex-shrink:0}.chat-workspace173 #hub169-content .community-form textarea{min-height:46px!important;height:46px;max-height:130px;resize:vertical;padding:10px 12px!important;box-sizing:border-box}.chat-workspace173 #hub169-content .community-form button{min-height:46px!important;font-size:12px!important;min-width:78px!important}.chat-workspace173 #hub169-content #communityName{max-width:120px}
.chat-workspace173 #hub169-content .chat-photo-row{margin:0!important;gap:8px;font-size:10px!important;line-height:1.3!important;flex-shrink:0}.chat-workspace173 #hub169-content .chat-photo-button{padding:5px 10px!important;font-size:11px!important}.chat-workspace173 #hub169-content .community-note{margin:0!important;padding:0!important;font-size:10px!important;line-height:1.4!important;flex-shrink:0}.chat-workspace173 #hub169-content .account-chat-locked{padding:6px 10px!important;font-size:12px!important;line-height:1.4!important;margin:0!important}.chat-workspace173 #hub169-content .private-toolbar{margin:0!important;gap:7px}.chat-workspace173 #hub169-content .private-toolbar :is(select,button){min-height:34px!important;padding:6px 10px!important;font-size:12px!important}.chat-workspace173 #hub169-content .chat-photo-preview{max-height:100px;overflow:auto;flex-shrink:0}
@media(min-width:1800px){.directory-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important}}
@media(max-width:1050px) and (min-width:761px){html[data-hub-theme][data-hub-mode] .layout{grid-template-columns:164px minmax(0,1fr)!important;padding:18px!important;gap:18px!important}}
@media(max-width:760px){html[data-hub-theme][data-hub-mode] .layout{display:block!important;padding:18px 12px 112px!important}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.directory-grid .visual-art{height:100px!important}.hero-status173{margin:9px 0 0;display:table}.hero-stats173{gap:14px;margin:15px 0}.hero-stats173 b{font-size:15px}.hero-stats173>span{min-width:62px}.hero-actions173 .login-main{width:100%}.account-shortcut{max-width:135px!important}.account-shortcut span{display:inline!important;max-width:75px;font-size:10px;white-space:normal;line-height:1.3}.account-shortcut img{width:22px!important;height:22px!important}
html[data-hub-theme][data-hub-mode] body[data-active-module=chat] .layout{padding:8px 5px 96px!important}
html[data-hub-theme][data-hub-mode] body[data-active-module=chat] #moduleDialog[open]{height:calc(100dvh - 236px)!important;min-height:365px!important;border-radius:20px!important}
html[data-hub-theme] body.chat-workspace173 #hub169-content{padding:6px!important;gap:5px}
html[data-hub-theme] body.chat-workspace173 #hub169-content>.chat-panel173:not(.bh-panel-hidden){padding:8px!important;gap:6px}
html[data-hub-theme] body.chat-workspace173 #hub169-content .community-list{min-height:140px!important;padding:8px!important}
.chat-workspace173 #hub169-content .community-head p{display:none}.chat-workspace173 #hub169-content .community-form{flex-wrap:nowrap!important}.chat-workspace173 #hub169-content #communityName{width:70px!important;max-width:70px!important;padding:7px!important;font-size:12px}.chat-workspace173 #hub169-content .community-form button{min-width:52px!important;padding:7px!important;font-size:11px!important}.chat-workspace173 #hub169-content .community-form textarea{font-size:13px!important}.chat-workspace173 #hub169-content .chat-photo-status{font-size:9px!important}.chat-workspace173 #hub169-content .bh-workspace-tabs button{padding:6px 9px!important;font-size:11px!important}
}
