/* Notification bell (shared; copied into each app). Uses the app's own colour tokens. */
.nb { position: relative; display: inline-flex; }
.nb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; border-radius: 8px;
  border: 1px solid var(--stone-line); background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: none; }
.nb-btn:hover { border-color: var(--brass); }
.nb-count { position: absolute; top: -6px; right: -7px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #a3512f; color: #fffdf8;
  font: 700 11px/18px var(--font-body, sans-serif); text-align: center; }
.nb-panel { position: absolute; z-index: 13500; top: calc(100% + 8px); right: 0; width: min(380px, 92vw); max-height: 70vh; overflow-y: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--stone-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18);
  font: 14px/1.4 var(--font-body, sans-serif); text-align: left; }
.nb-panel.nb-up { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.nb-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--stone-line); }
.nb-head span { display: inline-flex; gap: 10px; }
.nb-link { background: none; border: 0; padding: 0; color: var(--brass-deep, #8a6a2e); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; box-shadow: none; }
.nb-link:disabled { opacity: .45; cursor: default; }
.nb-list { list-style: none; margin: 0; padding: 0; }
.nb-list li + li { border-top: 1px solid var(--stone-line); }
.nb-list button { display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 12px 10px 22px; background: none; border: 0; color: inherit;
  cursor: pointer; font: inherit; position: relative; box-shadow: none; border-radius: 0; }
.nb-list button:hover { background: var(--forest-mist, #eef3ee); }
.nb-list .nb-unread button::before { content: ""; position: absolute; left: 9px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--forest, #1e5231); }
.nb-list span { color: var(--ink-soft, #4a4436); font-size: 13px; }
.nb-list small { color: var(--stone, #726b5a); font-size: 12px; }
.nb-note { padding: 10px 12px; margin: 0; color: var(--stone, #726b5a); font-size: 13px; }
.nb-settings { display: grid; gap: 8px; padding: 0 12px 12px; }
.nb-settings label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; font: 13px var(--font-body, sans-serif);
  color: var(--ink); letter-spacing: 0; text-transform: none; }
.nb-settings select { padding: 5px 6px; border: 1px solid var(--stone-line); border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 13px; }
.nb-fixed { font-size: 12.5px; color: var(--stone, #726b5a); font-style: normal; text-align: right; }
