/* Shared text entries and badge geometry. */
.content>.topbar.xw-task-topbar>.topbar-actions>#xwMemoEntry,.content>.topbar.xw-task-topbar>.topbar-actions>#xwNoticeBell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;padding:0 8px!important;margin:0 4px;height:32px;overflow:visible}
.content>.topbar.xw-task-topbar>.topbar-actions>#xwMemoEntry:has(>#xwMemoBadge:not([hidden])),.content>.topbar.xw-task-topbar>.topbar-actions>#xwNoticeBell:has(>b){padding-right:24px!important}
.content>.topbar.xw-task-topbar>.topbar-actions>#xwMemoEntry>#xwMemoBadge,.content>.topbar.xw-task-topbar>.topbar-actions>#xwNoticeBell>b{position:absolute;top:-3px;right:0;min-width:16px;max-width:24px;height:16px;box-sizing:border-box;border:0;border-radius:999px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:white;font:600 10px/1 system-ui,sans-serif;box-shadow:0 0 0 1.5px white;pointer-events:none}
#xwUnifiedReminder[hidden]{display:none!important}
#xwUnifiedReminder{position:fixed;z-index:10200;box-sizing:border-box;padding:12px 14px;border:1px solid #dbeafe;border-radius:10px;background:#f5f9ff;color:#23364d;box-shadow:0 5px 18px #23364d14;font-family:inherit;font-size:13px}
#xwUnifiedReminder header,#xwUnifiedReminder footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
#xwUnifiedReminder strong{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
#xwUnifiedReminder strong i{width:16px;font-size:16px;text-align:center;color:#2563eb}
#xwUnifiedReminder p{margin:8px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#xwUnifiedReminder button{border:0;background:transparent;color:#2563eb;cursor:pointer;font:inherit;font-size:12px;padding:2px}
#xwUnifiedReminder time{font-size:11px;color:#6b7e96}
#xwUnifiedReminder button:focus-visible{outline:2px solid #73aaff;outline-offset:2px}
body.theme-dark #xwUnifiedReminder{background:#182337;border-color:#334256;color:#e2e8f0}
@media(max-width:700px){.content>.topbar.xw-task-topbar>.topbar-actions>#xwMemoEntry,.content>.topbar.xw-task-topbar>.topbar-actions>#xwNoticeBell{padding-left:4px!important;margin:0 1px}}

/* Anchor pointer and footer separator from approved preview. */
#xwUnifiedReminder::before{content:"";position:absolute;top:-6px;left:var(--reminder-arrow-x,50%);width:10px;height:10px;transform:translateX(-50%) rotate(45deg);background:#f5f9ff;border-top:1px solid #dbeafe;border-left:1px solid #dbeafe;pointer-events:none}
#xwUnifiedReminder footer{border-top:1px solid #e5edf8;padding-top:8px;margin-top:10px}
body.theme-dark #xwUnifiedReminder::before{background:#182337;border-color:#334256}
body.theme-dark #xwUnifiedReminder footer{border-color:#334256}
