.system-notifications-trigger { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; color: #f4f0e8; background: #15181d; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.system-notifications-trigger:hover, .system-notifications-trigger[aria-expanded="true"] { background: #24202f; border-color: #78559d; }
.system-notifications-trigger svg { width: 19px; height: 19px; }
.system-notifications-trigger:focus-visible, .system-notifications button:focus-visible { outline: 2px solid #c391ff; outline-offset: 3px; }
.system-notifications-unread { width: 8px; height: 8px; margin-left: auto; background: #ae71ff; border-radius: 50%; flex-shrink: 0; }
.system-notifications-unread[hidden], .system-notifications[hidden], .system-notifications [hidden] { display: none !important; }
.system-notifications { position: fixed; inset: auto auto 82px 20px; width: min(440px, calc(100vw - 32px)); max-height: min(680px, calc(100dvh - 112px)); margin: 0; padding: 22px; box-sizing: border-box; overflow: auto; z-index: 12000; background: #121319; color: #f4f0e8; text-shadow: none; border: 1px solid #665075; border-radius: 14px; font-family: inherit; font-size: 14px; line-height: 1.6; }
.system-notifications-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.system-notifications h2 { margin: 0; color: #f4f0e8; font-size: 20px; font-weight: 700; }
.system-notifications button { min-height: 36px; padding: 5px 10px; border: 1px solid #655776; border-radius: 8px; color: #f4f0e8; background: #282033; font: inherit; cursor: pointer; }
.system-notifications button:hover { background: #3a2b4e; }
.system-notifications button:disabled { opacity: .55; cursor: default; }
.notification-client-version { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.notification-client-version strong { font-weight: 600; overflow-wrap: anywhere; }
.notification-client-update { margin-top: 18px; padding-block: 16px; border-block: 1px solid #38323f; }
.notification-update-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.notification-update-heading h3 { margin: 0; color: #f4f0e8; font-size: 15px; font-weight: 600; }
.notification-update-heading a { display: inline-flex; align-items: center; min-height: 36px; box-sizing: border-box; padding: 5px 10px; border: 1px solid #655776; border-radius: 8px; background: #282033; color: #f4f0e8; text-decoration: none; }
.notification-update-heading a:hover { background: #3a2b4e; }
.notification-update-heading a:focus-visible { outline: 2px solid #c391ff; outline-offset: 3px; }
.notification-update-status { margin: 10px 0 4px; font-size: 14px; color: #f4f0e8; overflow-wrap: anywhere; }
.notification-update-detail { margin: 0; font-size: 13px; color: #bdb6aa; overflow-wrap: anywhere; }
.notification-client-update.has-update-error .notification-update-status { color: #efbd65; }
.notification-client-update progress { display: block; appearance: none; border: 0; border-radius: 4px; width: 100%; height: 6px; margin: 12px 0; overflow: hidden; background: #38323f; accent-color: #c391ff; }
.notification-client-update progress::-webkit-progress-bar { background: #38323f; }
.notification-client-update progress::-webkit-progress-value { background: #c391ff; }
.notification-client-update progress::-moz-progress-bar { background: #c391ff; }
.notification-client-update [data-update-cancel] { margin-top: 10px; font-size: 13px; background: transparent; }
@media (max-width: 600px) { .notification-client-update button, .notification-client-update a { min-height: 44px; } .notification-update-detail { font-size: 14px; } }
.notification-health { margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid #38323f; }
.notification-health h3 { margin: 0 0 6px; color: #bdb6aa; font-size: 13px; font-weight: 500; }
.notification-health .status-indicator { color: #f4f0e8; background: transparent; padding: 0; min-height: 0; }
.system-notifications .status-dot { flex-shrink: 0; background: #65d8ad !important; box-shadow: none !important; }
.system-notifications .status-dot.offline { background: #efbd65 !important; }
.notification-health p, .notification-empty, .notification-sync { color: #bdb6aa; margin: 8px 0 0; font-size: 12px; }
.notification-section-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.notification-section-header h3 { margin: 0; font-size: 15px; }
.notification-section-header button { font-size: 12px; }
.notification-entry { padding: 17px 0; border-bottom: 1px solid #302b37; }
.notification-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.notification-entry h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #f4f0e8; font-size: 15px; }
.notification-entry time { color: #bdb6aa; font-size: 12px; }
.notification-entry p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #f4f0e8; }
.notification-unread-label { font-size: 11px; font-weight: 500; color: #d2aaff; }
.notification-sync { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; }
.creation-agent-pipeline-label { margin: 10px 0 0; color: #ccbddc; font-size: 12px; line-height: 1.5; }
.creation-agent-generation-progress > span { transition: width .9s ease-out; }
@media (max-width: 600px) { .system-notifications { left: 12px; bottom: 74px; width: calc(100vw - 24px); max-height: calc(100dvh - 98px); padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .creation-agent-generation-progress > span { transition: none; } }
