/* Solid blue presence: no pale center or external glow. */
html #root#root#root#root#root#root#root {
  --ft-presence-blue:#0e367a;
  --ft-presence-light:#0e367a;
}
html #root#root#root#root#root#root#root .ft-person-portrait {
  position:relative;
  display:flex;
  width:max-content;
  max-width:100%;
  flex:0 0 auto;
  line-height:0;
  overflow:visible;
}
html #root#root#root#root#root#root#root :is(.ft-person-presence,.ft-presence-marker) {
  display:block!important;
  position:absolute!important;
  z-index:10!important;
  width:12px!important;
  height:12px!important;
  right:0!important;
  bottom:0!important;
  top:auto!important;
  box-sizing:border-box!important;
  border:1px solid #071b41!important;
  border-radius:50%!important;
  background:#0e367a!important;
  box-shadow:none!important;
  pointer-events:none;
}
html #root#root#root#root#root#root#root [data-presence-size="profile"] {width:13px!important;height:13px!important;top:8px!important;right:8px!important;bottom:auto!important;}
html #root#root#root#root#root#root#root [data-presence-size="large"] {width:13px!important;height:13px!important;}
html #root#root#root#root#root#root#root [data-presence-size="small"] {width:10px!important;height:10px!important;right:-1px!important;bottom:-1px!important;}
html #root#root#root#root#root#root#root :is(.ft-presence-marker>span,[data-presence-halo]) {display:none!important;}
html #root#root#root#root#root#root#root [data-presence-dot] {background:#0e367a!important;border-color:#071b41!important;box-shadow:none!important;}
html #root#root#root#root#root#root#root [data-presence-label] {color:#0e367a!important;}

/* Preserve the space available to the menu body; match the settings top bar. */
html #root#root#root#root#root#root#root .ft-notifications-head {
  --notice-hi:#fffdfa;--notice-low:#f4eee1;--notice-edge:#c9a97580;--notice-ink:#8c672b;
  display:block!important;
  height:63px!important;
  min-height:63px!important;
  flex:0 0 63px!important;
  box-sizing:border-box!important;
  padding:10px 14px!important;
}
html[data-theme="dark"] #root#root#root#root#root#root#root .ft-notifications-head {--notice-hi:#292d36;--notice-low:#11141c;--notice-edge:#bfc7d3;--notice-ink:#d5deed;}
html[data-theme="porcelain"] #root#root#root#root#root#root#root .ft-notifications-head {--notice-hi:#fff;--notice-low:#e9eff6;--notice-edge:#b2c2d699;--notice-ink:#566d87;}
html #root#root#root#root#root#root#root .ft-notifications-topbar {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  height:42px!important;
  box-sizing:border-box!important;
  padding:7px 9px!important;
  border:1px solid var(--notice-edge)!important;
  border-radius:12px!important;
  background:linear-gradient(var(--notice-hi),var(--notice-low))!important;
  color:var(--notice-ink)!important;
  box-shadow:inset 0 1px #ffffff44,0 1px 2px #00000008!important;
}
html #root#root#root#root#root#root#root .ft-notifications-topbar>h1 {
  margin:0!important;
  min-width:0!important;
  font:700 11px/16px "JetBrains Mono",ui-monospace,monospace!important;
  text-transform:uppercase!important;
  letter-spacing:.4px!important;
  color:inherit!important;
}
html #root#root#root#root#root#root#root .ft-notifications-close {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  height:25px!important;
  min-height:25px!important;
  flex:0 0 auto!important;
  padding:4px 7px!important;
  border:1px solid var(--notice-edge)!important;
  border-radius:6px!important;
  background:linear-gradient(var(--notice-hi),var(--notice-low))!important;
  color:var(--notice-ink)!important;
  font:700 9px/13px "JetBrains Mono",ui-monospace,monospace!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  cursor:pointer;
}
html #root#root#root#root#root#root#root .ft-notifications-close>svg {width:12px!important;height:12px!important;flex-shrink:0!important;}
/* Reserve stable room even before data arrives or while a poll is pending. */
html #root#root#root#root#root#root#root .fc-menu-scroll .fc-community-tiles {
  height:188px!important;
  min-height:188px!important;
  grid-template-rows:188px!important;
}
html #root#root#root#root#root#root#root .fc-menu-scroll .fc-community-tiles>section {
  display:flex!important;
  flex-direction:column!important;
  height:188px!important;
  min-height:188px!important;
  box-sizing:border-box!important;
}
html #root#root#root#root#root#root#root .fc-menu-scroll .fc-tile-door {flex:0 0 44px!important;}
html #root#root#root#root#root#root#root .fc-menu-scroll .fc-tile-previews {
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
}
