/* Shared phone navigation; desktop layouts stay unchanged. */
.mobile-nav,.mobile-menu{display:none}
@media(max-width:760px){
 html{scroll-padding-bottom:100px}body:has(.mobile-nav){padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .mobile-nav{position:fixed;inset:auto 0 0;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px max(4px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid #dce2ec;box-shadow:0 -3px 20px #152a3508}
 .mobile-nav>a,.mobile-nav>button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:56px;padding:5px 0;border:0;border-radius:12px;background:none;color:#627187;text-decoration:none;font:500 10px/1.2 'Segoe UI',sans-serif;letter-spacing:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 .mobile-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .mobile-nav .is-current{color:#4154ee;background:#edf0ff;font-weight:700}.mobile-nav .mobile-badge{position:absolute;top:1px;left:calc(50% + 7px);min-width:17px;height:17px;padding:0 4px;border-radius:12px;background:#d93953;color:white;font:700 10px/17px 'Segoe UI',sans-serif;border:1px solid white}.mobile-badge[hidden]{display:none}
 .mobile-menu[open]{display:block;position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:min(85dvh,760px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:22px 22px 0 0;padding:24px 20px calc(22px + env(safe-area-inset-bottom,0px));background:white;color:#152a35;box-shadow:0 -15px 70px #152a3530}
 .mobile-menu::backdrop{background:#10243288;backdrop-filter:blur(3px)}body:has(.mobile-menu[open]){overflow:hidden}
 .mobile-menu header{display:flex;justify-content:space-between;align-items:start;gap:15px;margin:0 0 18px}.mobile-menu h2{font:600 25px/1.2 Bahnschrift,'Segoe UI',sans-serif;margin:0 0 7px}.mobile-menu header p{font-size:12px;color:#68778c;margin:0}.mobile-menu header button{flex-shrink:0;width:44px;height:44px;min-height:44px;border:0;border-radius:50%;background:#f0f2f5;color:#263c50;font-size:26px;padding:0;cursor:pointer}
 .mobile-menu nav{display:grid;gap:2px}.mobile-menu nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:12px 2px;border-bottom:1px solid #e9edf2;font:500 15px/1.4 'Segoe UI',sans-serif;color:#263c50;text-decoration:none}.mobile-menu nav span{color:#8491a5}.mobile-menu form{margin-top:20px}.mobile-menu .mobile-logout{background:#f1f3f8;color:#4f6079;min-height:46px;width:100%;border:0;border-radius:9px;padding:10px;font:500 14px 'Segoe UI',sans-serif}
 .mobile-nav :focus-visible,.mobile-menu :focus-visible{outline:3px solid #4154ee;outline-offset:2px}
 html.mobile-keyboard-open .mobile-nav{display:none}
 /* Feed uses a single full-width column with clear separators, like a mobile social app. */
 .community-nav{display:none}.community-shell{padding:10px 0 0}.community-header{padding:9px 14px;gap:12px;min-height:64px;padding-top:calc(9px + env(safe-area-inset-top,0px))}.community-header .brand-logo{width:166px}.community-header .bell{display:none}.community-header .my-avatar{margin-left:auto}.community-header .my-avatar img{width:38px;height:38px}.community-header .feed-search{height:36px}.community-header input{font-size:16px}
 .feed-heading{padding:5px 16px;margin-bottom:12px}.feed-heading h1{font-size:22px}.feed-heading>span{font-size:11px}.feed-column>.demo-note{margin:0 12px 12px;padding:8px 11px;font-size:10px}.feed-column>.social-card{border-radius:0;border-left:0;border-right:0;box-shadow:none;margin-bottom:10px;padding:16px}.feed-column .post-photo{width:calc(100% + 32px);margin-left:-16px;margin-right:-16px;max-height:620px;object-fit:contain;background:#eef1f5}.post-body{font-size:16px;line-height:1.55}.post-heading{margin-bottom:12px}.post-heading strong{font-size:14px}.post-heading small{font-size:11px}.post-heading .avatar{width:42px;height:42px}.reactions button{min-width:44px;min-height:44px}.post-actions{gap:4px}.post-actions>a{display:flex;align-items:center;min-height:44px;padding:0 5px}.post-actions .reactions{gap:0}.post-actions .reactions button{padding:6px;font-size:18px}.post-actions .reactions button:only-child{font-size:14px;padding:8px}
 .post-menu summary{min-width:44px;min-height:44px;display:grid;place-items:center}.post-edit summary{min-height:34px;display:flex;align-items:center}.comment-bubble{padding:10px 12px}.comment-bubble p{font-size:14px}.comment .quiet{min-height:36px}.reply textarea{font-size:16px}.reply button{min-height:44px;min-width:62px}.community-shell input:not([type=checkbox]),.community-shell textarea,.community-shell select{font-size:16px}.community-shell button{min-height:44px}.composer .composer-heading small{font-size:11px}.composer textarea{margin-bottom:8px;padding:13px;min-height:70px}.composer-footer{margin-top:12px;padding-top:12px}.composer-attachments summary{display:flex;align-items:center;min-height:40px}.program-intro{border-radius:0;margin-bottom:10px;padding:24px 16px}.program-intro form{flex-wrap:wrap}.mission-grid{padding:0 12px}.mission-grid .social-card{padding:18px}.feed-column>.back-link{padding:0 16px}.community-shell .post{scroll-margin-top:125px}.community-shell .reply{scroll-margin-bottom:100px}
 /* The same bottom bar is available on event, gallery, people and profile screens. */
 body:has(.mobile-nav) .site-header>nav{display:none}body:has(.mobile-nav) .site-header{position:sticky;top:0;left:auto;right:auto;z-index:40;margin:0;width:100%;min-height:66px;height:auto;padding:12px 16px;background:#fff;gap:12px;flex-wrap:nowrap;border-radius:0;border-bottom:1px solid #e4e8ef}body:has(.mobile-nav) .site-header .brand-logo{width:166px}body:has(.mobile-nav) .site-header .class-link{font-size:12px;margin-left:auto;padding-left:12px}.workspace input:not([type=checkbox]):not([type=radio]),.workspace textarea,.workspace select{font-size:16px}.workspace button,.workspace .button{min-height:44px}.workspace .table-scroll{overflow-x:auto;overscroll-behavior-x:contain}.workspace .entry-grid input{min-width:145px}.workspace .table-scroll table{max-width:none}.workspace .panel{overflow-wrap:anywhere}body:has(.mobile-nav) footer{padding-bottom:22px}.workspace .event-admin-tools{overflow-x:auto;justify-content:flex-start;flex-wrap:nowrap}.workspace .event-admin-tools a{white-space:nowrap;min-height:44px;display:flex;align-items:center}.reunion-section-nav{overflow-x:auto;justify-content:flex-start}.reunion-section-nav>a{white-space:nowrap;min-height:44px}
}
@media(max-width:359px){.mobile-nav>a,.mobile-nav>button{font-size:9px}.community-header .brand-logo{width:150px}.post-actions>a{font-size:10px;padding:0 3px}.reactions button{min-width:40px}.feed-heading h1{font-size:20px}.feed-heading>span{display:none}}
