/* Presence material variants; unchanged dimensions and coordinates. */
html #root#root#root#root#root#root#root#root#root [data-presence-color] {
 --presence-hi:#eef7ff;--presence-fill:#b4cfea;--presence-low:#8eb4d8;--presence-edge:#7ea3c9;
 background:radial-gradient(circle at 35% 25%,var(--presence-hi) 0%,var(--presence-fill) 46%,var(--presence-low) 100%)!important;
 border-color:var(--presence-edge)!important;
 box-shadow:inset 0 1px 1px #ffffff88,0 1px 2px #41668d25!important;
}
html #root#root#root#root#root#root#root#root#root [data-presence-color="red"] {--presence-hi:#cf7b86;--presence-fill:#7a0e1c;--presence-low:#540b16;--presence-edge:#6a0e1c;}
html #root#root#root#root#root#root#root#root#root [data-presence-color="rose"] {--presence-hi:#fff0f2;--presence-fill:#eab4bd;--presence-low:#d88e9f;--presence-edge:#c97e90;}
html #root#root#root#root#root#root#root#root#root .ft-presence-trigger {
 pointer-events:auto!important;cursor:pointer!important;padding:0!important;min-width:0!important;min-height:0!important;
 margin:0!important;appearance:none!important;outline-offset:3px;text-shadow:none!important;backdrop-filter:none!important;
}
html #root#root#root#root#root#root#root#root#root .ft-presence-trigger:after {content:"";position:absolute;inset:-8px;border-radius:50%;}
html #root#root#root#root#root#root#root#root#root .ft-presence-trigger:focus-visible{outline:2px solid var(--presence-edge)!important;}
html #root#root#root#root#root#root#root#root#root .ft-presence-menu {
 --presence-menu-bg:#fffdfa;--presence-menu-ink:#334155;--presence-menu-edge:#e2d8c3;--presence-menu-active:#f3eee3;
 position:absolute!important;top:calc(100% + 8px)!important;left:50%!important;transform:translateX(-50%)!important;
 z-index:70!important;display:flex!important;flex-direction:column!important;gap:3px!important;width:178px!important;
 box-sizing:border-box!important;padding:7px!important;border:1px solid var(--presence-menu-edge)!important;border-radius:11px!important;
 background:var(--presence-menu-bg)!important;color:var(--presence-menu-ink)!important;
 box-shadow:0 5px 15px #121c2924!important;line-height:normal!important;text-align:left!important;
}
html[data-theme="dark"] #root#root#root#root#root#root#root#root#root .ft-presence-menu {--presence-menu-bg:#1c2029;--presence-menu-ink:#edf0f5;--presence-menu-edge:#515969;--presence-menu-active:#2a303d;}
html[data-theme="porcelain"] #root#root#root#root#root#root#root#root#root .ft-presence-menu {--presence-menu-bg:#fff;--presence-menu-ink:#172d4c;--presence-menu-edge:#c5d3e4;--presence-menu-active:#edf3fa;}
html #root#root#root#root#root#root#root#root#root .ft-presence-caption {font:700 9px/14px "JetBrains Mono",ui-monospace,monospace!important;letter-spacing:.5px!important;text-transform:uppercase!important;padding:1px 5px 5px!important;}
html #root#root#root#root#root#root#root#root#root .ft-presence-option {
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;
 padding:7px 5px!important;margin:0!important;min-height:29px!important;height:auto!important;box-sizing:border-box!important;
 font:500 10px/14px Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
 color:var(--presence-menu-ink)!important;border:1px solid transparent!important;border-radius:6px!important;
 background:transparent!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer!important;
}
html #root#root#root#root#root#root#root#root#root .ft-presence-option:is([aria-checked="true"],:hover,:focus-visible){background:var(--presence-menu-active)!important;border-color:var(--presence-menu-edge)!important;outline:none!important;}
html #root#root#root#root#root#root#root#root#root .ft-presence-option>svg {margin-left:auto!important;flex:0 0 auto!important;}
html #root#root#root#root#root#root#root#root#root .ft-presence-swatch {display:block!important;position:static!important;flex:0 0 13px!important;width:13px!important;height:13px!important;border:1px solid;border-radius:50%!important;box-sizing:border-box!important;}
/* Exactly four lines reserved in both catalog modes. */
html #root#root#root#root#root#root [data-action-card] .ft-catalog-description>p {
 -webkit-line-clamp:4!important;line-clamp:4;min-height:54px!important;max-height:54px!important;
}
/* The small chooser may extend beyond the identity card without being clipped. */
html #root#root#root#root#root#root#root#root#root [data-profile-surface="identity"]:has(.ft-presence-menu){overflow:visible!important;z-index:80!important;}
