/* Shared capsule navigation for public pages and the authenticated workspace. */
:root{--app-nav-reserve:calc(90px + env(safe-area-inset-bottom,0px))}
@media(max-width:1099px){
  html:has(.customer-navigation),html:has(.ui-bottom-nav){scroll-padding-bottom:calc(var(--app-nav-reserve) + 20px)}
  body:has(.customer-navigation):not(.ui-workspace){padding-bottom:var(--app-nav-reserve)}
  body.ui-workspace{--ui-bottom:var(--app-nav-reserve)}
  .customer-navigation,.ui-workspace .ui-bottom-nav{box-sizing:border-box;position:fixed;z-index:30;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:auto;max-width:560px;height:64px;min-height:64px;margin:0 auto;padding:5px 6px;border:1px solid #e3e7ec;border-radius:34px;background:#fffffff7;box-shadow:0 5px 20px #182c4214;align-items:center}
  .customer-navigation ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;height:100%;max-width:none;margin:0;padding:0;list-style:none}
  .customer-navigation li{min-width:0;height:100%}
  .customer-navigation a,.ui-workspace .ui-bottom-nav .ui-nav-link{box-sizing:border-box;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;height:52px;min-height:52px;padding:4px 2px;border-radius:26px;background:transparent;color:#657184;font:550 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;white-space:nowrap;text-decoration:none}
  .ui-workspace .ui-bottom-nav .ui-nav-link{width:25%}
  .customer-navigation a[aria-current],.ui-workspace .ui-bottom-nav .ui-nav-link[aria-current]{background:#f8e9e8;color:#962630;font-weight:680}
  .ui-workspace .ui-bottom-nav .ui-nav-link[aria-current]::before{display:none}
  .customer-navigation a:hover,.ui-workspace .ui-bottom-nav .ui-nav-link:hover{background:#f5ebea}
  .ui-workspace .ui-bottom-nav{background:#fffefa}
  .ui-workspace .ui-bottom-nav .ui-nav-link{color:#172c46;font-weight:580}
  .ui-workspace .ui-bottom-nav .ui-nav-link[aria-current]{color:#962630;font-weight:680}
  .customer-nav-icon,.customer-nav-icon svg,.ui-workspace .ui-bottom-nav svg{width:23px;height:23px;inline-size:23px;block-size:23px}
  .customer-navigation .customer-nav-badge,.ui-workspace .ui-bottom-nav .ui-nav-badge{position:absolute;top:-4px;right:-8px;left:auto;inset-inline-start:auto;min-width:8px;min-height:8px;border:2px solid white;border-radius:12px;padding:1px 4px;background:#ad3327;color:white;font:700 10px/1.2 Arial,sans-serif}
  .ui-workspace .ui-bottom-nav .ui-nav-badge{top:1px;right:calc(50% - 26px)}
  .ui-workspace .ui-route-host{padding-bottom:calc(28px + var(--app-nav-reserve))}
  .ui-workspace.ui-chat-route .ui-route-host{padding-bottom:0}
  body.ui-workspace.msg-keyboard{--ui-bottom:0px}
  .ui-workspace.msg-keyboard .ui-bottom-nav{display:none}
}
