.spaf-bell-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:36px;min-height:36px;padding:6px;border:1px solid #bdcdd1;border-radius:50%;background:#fff;color:#173f48;cursor:pointer;flex:0 0 auto;line-height:1}
.spaf-admin-bell .ab-item{display:flex!important;align-items:center;justify-content:center}
.spaf-bell-count{position:absolute;top:-5px;right:-5px;min-width:16px;border:2px solid #fff;border-radius:12px;background:#136858;color:#fff;text-align:center;font:600 10px/16px system-ui}
#wpadminbar .spaf-bell-count{font:600 10px/14px system-ui;top:0;right:0}
#spaf-bell-fallback:not([hidden]){position:fixed;top:46px;right:12px;z-index:99970}
.spaf-bell-count[hidden],.spaf-notices[hidden],#spaf-bell-toast[hidden],.spaf-widget [hidden],.spaf-person-dialog [hidden],.spaf-discussion [data-spaf-dictate][hidden],.spaf-discussion [data-spaf-mention][hidden],.spaf-dictation[hidden],.spaf-mention-search[hidden]{display:none!important}
.spaf-notices,.spaf-person-dialog,#spaf-bell-toast,.spaf-widget{box-sizing:border-box;color:#1e343c;background:#fff;border:1px solid #d5dfe1;border-radius:12px;font:normal 15px/1.5 system-ui,sans-serif}
.spaf-notices,.spaf-person-dialog{padding:16px;width:min(380px,calc(100vw - 16px));box-shadow:0 8px 30px #18373e20;max-height:min(70vh,550px);overflow:auto}
.spaf-notices{position:fixed;z-index:100005}
body > dialog.spaf-person-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(28rem, calc(100% - 24px));
  height: fit-content;
  max-height: calc(100% - 24px);
  max-height: min(36rem, calc(100dvh - 24px));
  padding: clamp(16px, 3vw, 24px);
  overscroll-behavior: contain;
}
.spaf-person-dialog .spaf-widget-tabs {gap: 6px; margin: 14px 0;}
.spaf-person-dialog .spaf-widget-tabs button {border-radius: 20px; padding-inline: 11px;}
.spaf-person-dialog [role="status"]:empty {display: none;}
.spaf-person-dialog::backdrop{background:#182c3880}
.spaf-notices header,.spaf-person-dialog header,.spaf-notices footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spaf-notices header strong,.spaf-person-dialog h3,.spaf-widget h3{font-size:18px;line-height:1.35;margin:0;font-weight:650}
.spaf-notices :is(ol,li),.spaf-person-dialog ul,.spaf-widget ul{margin:0;padding:0;list-style:none}
.spaf-notices li,.spaf-person-dialog li,.spaf-widget li{padding:9px 2px;border-top:1px solid #e3e9eb;overflow-wrap:anywhere}
.spaf-notices small,.spaf-person-dialog small,.spaf-widget small{display:block;color:#50636b;font-size:12px}
.spaf-notices .is-unread{border-inline-start:3px solid #167666;padding-inline-start:10px}
.spaf-notices button,.spaf-person-dialog button,.spaf-widget-tabs button,.spaf-dictation button,.spaf-mention-search button{font:inherit;min-height:32px;background:#f4f7f7;color:#18594f;border:1px solid #c7d7d4;border-radius:6px;padding:4px 9px;cursor:pointer}
.spaf-notices a,.spaf-person-dialog a,.spaf-widget a,#spaf-bell-toast a{color:#175963;text-decoration:none}.spaf-notices a:hover,.spaf-person-dialog a:hover,.spaf-widget a:hover{text-decoration:underline}
#spaf-bell-toast{position:fixed;z-index:100006;right:16px;bottom:20px;padding:12px 16px;max-width:min(360px,90vw);box-shadow:0 5px 20px #18373e20}
.spaf-widget{padding:16px}.spaf-widget h3{margin:0 0 12px}.spaf-widget-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 12px}
.spaf-widget-tabs button[aria-selected=true],.spaf-widget-tabs button[aria-pressed=true]{background:#186454;border-color:#186454;color:white}
.spaf-dictation,.spaf-mention-search{padding:.7rem;border:1px solid #cbdad8;border-radius:8px;background:#f6f9f8;font-size:.9rem}
.spaf-dictation p{margin:0 0 .4rem}.spaf-dictation [role=status]{display:block}.spaf-mention-search input{max-width:100%;box-sizing:border-box}.spaf-mention-search [data-results]{display:flex;flex-wrap:wrap;gap:4px}
.spaf-discussion button.spaf-profile-name{display:inline;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:start}.spaf-profile-name:hover{text-decoration:underline}.spaf-comment-number{font-variant-numeric:tabular-nums}
@media(max-width:782px){#wpadminbar li#wp-admin-bar-spaf-notices{display:block}.spaf-bell-button{min-width:32px;min-height:32px}}

:is(.spaf-notices,.spaf-person-dialog) header button.spaf-icon-close{width:32px;height:32px;min-width:32px;padding:0;border-radius:50%}

.spaf-input-row{position:relative}
.spaf-discussion .spaf-mention-search{position:absolute;z-index:30;box-sizing:border-box;width:min(19rem,100%);max-height:20rem;overflow:auto;overscroll-behavior:contain;padding:4px;border:1px solid var(--spaf-line,#d7dfe5);border-radius:12px;background:#fff;box-shadow:0 6px 20px #14283b1c}
.spaf-mention-search [role=status]:not(:empty){display:block;padding:8px 10px;color:#465669}
.spaf-mention-search [data-results]{display:grid;gap:2px}
.spaf-discussion .spaf-mention-search [role=option]{display:flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#192536;font:inherit;line-height:1.3;text-align:start;box-shadow:none}
.spaf-discussion .spaf-mention-search [role=option]:is(:hover,[aria-selected=true]){background:#edf2f7}
.spaf-mention-avatar{display:grid;place-items:center;flex:0 0 32px;height:32px;overflow:hidden;border-radius:50%;background:#e4edf7;color:#244f76;font-weight:600}
.spaf-mention-avatar img{width:100%;height:100%;object-fit:cover}
.spaf-mention-label{display:grid;min-width:0}
.spaf-mention-label :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spaf-mention-label small{font-size:.85em;color:#536474}
