/* Community identity is independent from the Academy's shared tools. */
@media(max-width:700px){body[data-social-page="community"][data-community-theme="beige"] .mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
.site-header .jyotisfera-brand{display:flex;flex:0 1 252px;min-width:0;min-height:44px}
.site-header .jyotisfera-brand img{display:block;width:100%;height:auto;max-height:52px;object-fit:contain;object-position:left center}
@media(max-width:700px){
  .site-header .jyotisfera-brand{flex-basis:210px}
  .site-header .jyotisfera-brand img{width:100%;height:auto;max-height:42px}
}
/* The same shell follows members across the feed, profile and account. */
body[data-community-theme="beige"] .social-layout{grid-template-columns:minmax(0,1fr)}
body[data-community-theme="beige"] .social-layout>.member-page,body[data-community-theme="beige"] .social-layout>.account-page{grid-column:1}
body[data-community-theme="beige"] .account-footer{padding-left:20px}
@media(min-width:701px){
  body[data-community-theme="beige"] .site-header{position:sticky;top:0;z-index:50;background:var(--bg-color)}
}
@media(max-width:700px){
  body[data-community-theme="beige"]{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  body[data-community-theme="beige"] .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px}
  body[data-community-theme="beige"] .header-actions #logoutButton{display:inline-flex}
  body[data-community-theme="beige"][data-social-view="messages"]:has(.dm-thread-open){padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  body[data-community-theme="beige"][data-social-view="messages"]:has(.dm-thread-open) .mobile-nav{display:grid}
  body[data-community-theme="beige"][data-social-view="messages"]:has(.dm-thread-open) .dm-conversation{height:calc(var(--keyboard-height,100dvh) - 64px - env(safe-area-inset-bottom))}
}
/* Community navigation lives in the header on every screen. */
body[data-community-theme="beige"] .site-header{flex-wrap:wrap;gap:12px}
body[data-community-theme="beige"] .header-actions:has(>[hidden]:only-child){display:none}
body[data-community-theme="beige"] .layout{grid-template-columns:minmax(0,1fr) 220px}
body[data-community-theme="beige"] .layout>.community-profile{grid-column:1 / -1}
body[data-community-theme="beige"] .layout>.main{grid-column:1}
@media(max-width:1099px){
  body[data-community-theme="beige"] .header-actions{margin-left:auto}
  body[data-community-theme="beige"] .layout{grid-template-columns:minmax(0,1fr)}
  body[data-community-theme="beige"] .layout>.main{grid-column:1}
  body[data-community-theme="beige"] .layout>.main{grid-row:3;max-width:none}
}
@media(max-width:700px){
  body[data-community-theme="beige"]{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  body[data-community-theme="beige"] .site-header{position:relative;gap:8px}
}
