#ctapp-notifications{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:12px;z-index:99990;font:16px/1.5 sans-serif;color:#222}
.admin-bar #ctapp-notifications{top:58px}
#ctapp-notifications button{cursor:pointer;background:#fff;color:#222;border:1px solid #666;border-radius:8px;padding:10px;min-width:44px;min-height:44px;font:inherit}
#ctapp-notifications button:focus-visible,#ctapp-notifications a:focus-visible{outline:3px solid #165ca5;outline-offset:3px}
#ctapp-bell{box-shadow:0 2px 8px #0003;display:flex;align-items:center;gap:4px}
#ctapp-bell svg{width:24px;height:24px}
#ctapp-notification-count{border-radius:12px;background:#a71919;color:#fff;font-size:12px;padding:0 5px}
#ctapp-notification-panel{position:absolute;right:0;top:56px;width:350px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 140px);overflow:auto;overflow-wrap:anywhere;background:#fff;border:1px solid #777;border-radius:10px;box-shadow:0 4px 20px #0003;padding:16px;box-sizing:border-box}
#ctapp-notifications [hidden]{display:none!important}
#ctapp-notification-title{font-size:20px;margin:0 0 8px}
#ctapp-notification-list{list-style:none;padding:0;margin:12px 0 0}
#ctapp-notification-list li{padding:12px 0;border-top:1px solid #ddd}
#ctapp-notification-list a{display:block;color:#164c80;text-decoration:underline}
#ctapp-notification-list p{margin:4px 0;white-space:pre-wrap}
#ctapp-notification-list time{display:block;font-size:13px}
#ctapp-notification-list .ctapp-unread a{font-weight:bold}
#ctapp-notifications.ctapp-inline{position:relative;top:auto;right:auto;z-index:auto;display:flex;align-items:center;margin-right:6px}
#ctapp-notifications.ctapp-inline #ctapp-bell{box-shadow:none;border:0;background:transparent;padding:8px}
#ctapp-notifications.ctapp-inline #ctapp-notification-panel{position:fixed;right:12px;z-index:99990}
