/* rec-notify.css  Notification bell and panel (rec-notify.js). Design tokens only, so every theme follows. */
.xn-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--xag-radius-s); }
.xn-bell[hidden] { display: none; }
.xn-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--xag-radius-s); background: var(--red, var(--xag-c-solid-bad)); color: var(--xag-c-on-solid); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; box-sizing: border-box; }
.xn-badge[hidden] { display: none; }
.xn-panel { position: fixed; top: 64px; right: 12px; z-index: 9000; width: min(380px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow: auto; padding: .7rem .9rem; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius); background: var(--white, var(--xag-c-surface)); color: var(--navy, var(--xag-c-text)); box-shadow: var(--xag-c-shadow); }
.xn-panel[hidden] { display: none; }
.xn-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.xn-x { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: inherit; min-width: 44px; min-height: 44px; }
.xn-list { list-style: none; margin: 0; padding: 0; }
.xn-list li { display: grid; gap: .15rem; padding: .55rem .3rem; border-top: 1px solid var(--border, var(--xag-c-line-soft)); }
.xn-list li.xn-new { font-weight: 700; border-left: 4px solid var(--turquoise, var(--xag-c-solid-cyan)); padding-left: .5rem; }
.xn-list small { opacity: .7; font-weight: 400; }
.xn-empty, .xn-note { margin: .4rem 0; opacity: .85; font-size: .9rem; }
.xn-foot { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .5rem; }
.xn-link { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; color: inherit; min-height: 44px; padding: 0; }
.xn-set { display: grid; gap: .5rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--border, var(--xag-c-line-soft)); }
.xn-set h3 { margin: 0; font-size: 1rem; }
.xn-set label { display: grid; gap: .2rem; font-weight: 600; font-size: .9rem; }
.xn-set select { min-height: 44px; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius-s); padding: 0 .5rem; background: var(--white, var(--xag-c-surface)); color: inherit; }
.xn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 700px) { .xn-panel { top: 56px; right: 8px; } }
