/* Колокольчик уведомлений: в админке (app.css) и в расписании сотрудника (m.css). Цвета — из токенов страницы. */
.bell { position: relative; }
.bell-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.bell-btn:hover, .bell.open .bell-btn { background: var(--primary-soft); color: var(--primary); }
.bell-btn .ms { font-size: 22px; }
.bell-n { position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--primary);
  color: #fff; font: 700 11px/18px Inter, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.bell-n[hidden] { display: none; }
.bell-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 380px; max-width: calc(100vw - 24px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .16); overflow: hidden; }
.bell-pop[hidden] { display: none; }
.bell-hd { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.bell-hd b { font: 700 15px Manrope, Inter, sans-serif; }
.bell-hd .bell-new { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-soft); border-radius: 99px; padding: 1px 8px; }
.bell-hd .bell-new:empty { display: none; }
.bell-hd button { margin-left: auto; border: 0; background: none; color: var(--primary); font: 600 12px Inter, sans-serif; cursor: pointer; padding: 4px; }
.bell-list { max-height: min(460px, 60vh); overflow-y: auto; }
.bell-empty { padding: 28px 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.nt { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); align-items: start; color: var(--text); }
.nt:last-child { border-bottom: 0; }
.nt:hover { background: var(--surface-2); }
.nt.un { background: color-mix(in srgb, var(--primary-soft) 55%, var(--surface)); }
.nt-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--text-2); }
.nt-ic .ms { font-size: 18px; }
.nt-ic.k-task_new, .nt-ic.k-task_rework { background: var(--primary-soft); color: var(--primary); }
.nt-ic.k-task_decision, .nt-ic.k-task_done { background: var(--ok-soft); color: var(--ok); }
.nt-ic.k-task_reply { background: #E3EEF5; color: #2F6F7E; }
.nt-ic.k-event_moved { background: var(--warn-soft); color: var(--warn); }
.nt-ic.k-event_cancelled { background: var(--danger-soft); color: #B42318; }
.nt-t { font-size: 13px; line-height: 1.35; }
.nt.un .nt-t { font-weight: 600; }
.nt-b { font-size: 12px; color: var(--text-3); margin-top: 2px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-a { font-size: 11px; color: var(--text-3); white-space: nowrap; margin-top: 4px; }
.nt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 6px; }
.bell-ft { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; font-weight: 600; font-size: 13px; color: var(--primary);
  border-top: 1px solid var(--line); background: var(--surface-2); }
.bell-ft .ms { font-size: 16px; }
