.zreev-notification-preview { position:relative; flex-shrink:0; }
.zreev-notification-preview > button { cursor:pointer; background:#fff; font:inherit; color:inherit; }
.zreev-notification-preview-panel { box-sizing:border-box; position:absolute; z-index:1000; top:100%; right:0; width:min(380px,calc(100vw - 32px)); max-height:min(560px,calc(100dvh - 100px)); overflow:auto; margin:0; padding:16px; border:1px solid #E5EAF2; border-radius:12px; background:#fff; box-shadow:0 12px 32px #17243d26; color:#17243d; font-family:inherit; text-align:left; }
.zreev-notification-preview-panel[hidden] { display:none; }
.zreev-notification-preview-panel > header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 12px; }
.zreev-notification-preview-panel > header > strong { font-size:16px; }
.zreev-notification-preview-panel [data-preview-close] { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:8px; background:transparent; font-size:24px; color:#475569; cursor:pointer; }
.zreev-notification-preview-item { position:relative; padding:12px 12px 12px 36px; margin:0 0 8px; border:1px solid #E5EAF2; border-radius:12px; }
.zreev-notification-preview-item.is-unread { background:#F4F7FF; border-color:#D6E2FF; }
.zreev-notification-preview-item strong { display:block; font-size:13px; line-height:1.5; }
.zreev-notification-preview-item p,.zreev-notification-preview-empty { margin:4px 0 0; font-size:12px; line-height:1.6; color:#64748b; overflow-wrap:anywhere; }
.zreev-notification-preview-all { display:block; padding:12px 0 0; font-size:13px; font-weight:600; color:#2F6BFF; text-decoration:none; }
.zreev-notification-preview :focus-visible { outline:2px solid #2F6BFF; outline-offset:3px; }
@media(max-width:600px){.zreev-notification-preview-panel { box-sizing:border-box; position:fixed; top:76px; right:16px; max-height:calc(100dvh - 100px); }}

.zreev-notification-preview-item [data-preview-read]{position:absolute;left:2px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.zreev-notification-preview-dot{display:block;width:8px;height:8px;border-radius:50%;background:#2F6BFF}.zreev-notification-preview-item [data-preview-read]:disabled{cursor:wait}.zreev-notification-preview-count{position:absolute;top:-4px;right:-4px;min-width:16px;padding:0 3px;border-radius:999px;background:#2F6BFF;color:#fff;font-size:10px;line-height:16px;text-align:center}
