/* One mobile navigation presentation for authenticated shared citizen routes.
   Native controls and their original positions are restored on desktop/print. */
/* This route had no desktop chat. Direct closes a loaded mobile conversation on
   exit and retains its draft/context for the user's next mobile open. */
body[data-citizen-mobile-chat-only] #portalChatRoot { visibility: hidden !important; pointer-events: none !important; }
body[data-citizen-mobile-chat-only] #portalChatLauncher { visibility: hidden !important; }
@media screen and (max-width: 900px) {
body[data-citizen-mobile-chat-only].shared-mobile-navigation :is(#portalChatRoot, #portalChatLauncher) { visibility: visible !important; }
body.citizen-readable-layout.shared-mobile-navigation {
  --citizen-nav-surface: var(--portal-theme-surface, #fff);
  --citizen-nav-soft: var(--portal-theme-surface-2, #f0f5f8);
  --citizen-nav-line: var(--portal-theme-border, #e2e9ee);
  --citizen-nav-text: var(--portal-theme-text, #20384b);
  --citizen-nav-accent: var(--portal-theme-accent, #126cb5);
  padding-bottom: calc(var(--citizen-bottom-space, 72px) + env(safe-area-inset-bottom)) !important;
}
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav { position: fixed !important; top: auto !important; bottom: 0 !important; left: 0; right: 0; z-index: 12005 !important; display: grid !important; grid-template-columns: repeat(var(--home-nav-count, 6), minmax(44px, 1fr)) !important; gap: 0 !important; width: 100%; margin: 0; padding: 3px max(4px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)) !important; border: 0; border-top: 1px solid var(--citizen-nav-line); border-radius: 0; background: var(--citizen-nav-surface) !important; box-shadow: none !important; transition: none !important; }
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav :is(.social-mobile-nav-link, #portalChatLauncher) { position: relative; display: grid !important; place-items: center; width: 100% !important; min-width: 44px !important; min-height: 50px !important; height: auto !important; padding: 6px 0 !important; gap: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--citizen-nav-text) !important; box-shadow: none !important; }
body.shared-mobile-navigation .social-mobile-nav .social-mobile-nav-link > span:not(.social-nav-icon):not(.social-nav-badge):not(.portal-chat-launcher-icon):not(#portalChatUnread), body.shared-mobile-navigation .social-mobile-nav .chat-launcher-text { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0 !important; }
body.shared-mobile-navigation .social-mobile-nav :is(.social-nav-icon, .portal-chat-launcher-icon) { display: grid !important; place-items: center; width: 26px !important; height: 26px !important; font-size: 26px !important; }
body.shared-mobile-navigation .social-mobile-nav :is(.social-nav-icon, .portal-chat-launcher-icon) svg { width: 26px !important; height: 26px !important; }
body.shared-mobile-navigation .social-mobile-nav .portal-chat-launcher-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.shared-mobile-navigation .social-mobile-nav .chat-online-dot { display: none !important; }
body.shared-mobile-navigation .social-mobile-nav :is(.social-nav-badge, #portalChatUnread) { position: absolute !important; top: 2px !important; right: 5px !important; min-width: 1.45em !important; height: 1.45em !important; padding: 0 .27em !important; border-radius: 1em; font-size: 11px !important; line-height: 1.45 !important; }
body.shared-mobile-navigation .social-mobile-nav :is([aria-current="page"], [aria-expanded="true"])::after { content: ''; position: absolute; bottom: 2px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--citizen-nav-accent); }
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav .home-nav-profile-avatar { display: grid; place-items: center; width: 28px !important; height: 28px !important; min-width: 28px !important; flex: 0 0 28px; border: 1.5px solid currentColor !important; border-radius: 50%; background-color: var(--citizen-nav-soft); color: var(--citizen-nav-text); background-size: cover; background-position: center; font-size: 11px !important; box-shadow: none; }
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav #portalChatLauncher { transform: none !important; }
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav .home-nav-profile-avatar { background-color: var(--citizen-nav-soft) !important; color: var(--citizen-nav-text) !important; box-shadow: none !important; }
body.citizen-readable-layout.shared-mobile-navigation .social-mobile-nav .home-nav-profile-avatar[data-home-avatar-initials="true"] { position: relative; color: transparent !important; border-color: var(--citizen-nav-text) !important; text-shadow: none !important; }
body.shared-mobile-navigation .social-mobile-nav .home-nav-profile-avatar[data-home-avatar-initials="true"]::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--citizen-nav-text); -webkit-mask: var(--home-avatar-initials) center / 100% 100% no-repeat; mask: var(--home-avatar-initials) center / 100% 100% no-repeat; }
body.shared-mobile-navigation .social-mobile-nav :is(.social-nav-badge, #portalChatUnread)[hidden] { display: none !important; }
body.shared-mobile-navigation .social-mobile-nav-link:focus-visible { outline: 3px solid var(--citizen-nav-accent) !important; outline-offset: -3px; }
}
