/* Persistent inbox, using the established black/carmine/gold controls and modest type scale. */
.notification-trigger { position: relative; flex: 0 0 auto; min-width: 42px; min-height: 42px; }
.notification-trigger [data-notice-count] { position: absolute; inset: -5px -6px auto auto; min-width: 19px; padding: 2px 4px; border-radius: 10px; background: var(--color-accent, #8d1231); color: #fff; font-size: 10px; line-height: 1.3; }
.notifications-dialog { position: fixed; inset: 88px 24px auto auto; z-index: 4500; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 112px); margin: 0; padding: 22px; overflow: auto; border: 1px solid #ffffff24; border-radius: 18px; background: #151516; color: #eee; box-shadow: 0 20px 70px #000a; }
.notifications-dialog[open] { animation: application-menu-enter 160ms ease-out both; }
.notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.notification-heading h2 { font-size: 18px; font-weight: 500; line-height: 1.45; margin: 0; }
.notification-tools, .notification-item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notifications-dialog .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 11px; font-size: 12px; }
.notifications-dialog .ui-icon { width: 16px; height: 16px; }
.notification-list { list-style: none; padding: 0; margin: 0 0 16px; }
.notification-item { padding: 16px 12px; margin: 10px 0; border-radius: 12px; border: 1px solid #ffffff14; background: #ffffff03; overflow-wrap: anywhere; }
.notification-item[data-read='false'] { border-inline-start: 3px solid var(--color-accent-light, #c54961); }
.notification-item-body p { font-size: 13px; line-height: 1.6; margin: 0 0 7px; }
.notification-item-body .notification-detail { color: #bbb; }
.notification-item time, .notification-item small { display: inline-block; color: #aaa; font-size: 11px; margin: 0 10px 12px 0; }
.notifications-dialog .notification-state { font-size: 12px; line-height: 1.6; color: #bbb; margin: 18px 0; }
.notifications-dialog fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.notification-section-title { font-size: 14px; font-weight: 500; margin: 18px 0 10px; }
.notification-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.notification-channel-grid section { min-width: 0; padding: 14px; border: 1px solid #ffffff1c; border-radius: 12px; }
.notification-channel-grid h3 { margin: 0 0 13px; font-size: 13px; font-weight: 500; color: var(--color-gold); }
.notification-check { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 12px; cursor: pointer; line-height: 1.45; }
.notification-check input { flex: 0 0 auto; }
.notification-field { display: grid; gap: 8px; font-size: 12px; margin-top: 20px; }
.notification-field select { width: 100%; min-width: 0; border-radius: 10px; border: 1px solid #ffffff25; font: inherit; }
.notifications-dialog .field-help { font-size: 12px; line-height: 1.65; color: #aaa; }
.notification-channel-grid small { display: block; margin: 14px 0 8px; font-size: 11px; color: #aaa; }
.notification-preview { background: #0e0e0f; border-radius: 10px; padding: 12px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.notification-preview strong { font-weight: 500; }
.notification-preview p { margin: 7px 0 0; }
.notifications-dialog [role='status'] { font-size: 12px; line-height: 1.6; }
.notifications-dialog :focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
@media (max-width: 600px) { .notifications-dialog { inset: 72px 12px auto; width: auto; max-height: calc(100dvh - 96px); padding: 16px; } .notification-channel-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .notifications-dialog[open] { animation: none; } }
