/* notify.css - модуль «Уведомления» (задача 12), префикс nt-. Только токены дизайна v4 (style.css), шрифт наследуется (Manrope).
   Иконки событий - класс дизайна .wk-service-icon (worker.css). Адаптив как в handoff 06: ≤1050 планшет, ≤740 телефон. */

.nt-root{display:block;min-width:0}
.nt-loading{display:flex;gap:10px;align-items:center;justify-content:center;padding:48px 20px;color:var(--muted);font-size:14px;background:var(--white);border:1px dashed var(--line);border-radius:22px}
.nt-grid{margin-top:4px}
.nt-main,.nt-aside{min-width:0}
.nt-main .pf-tabs{margin-bottom:16px}

/* Лента */
.nt-feed{padding:8px 26px 18px}
.nt-day{padding-top:14px}
.nt-day+.nt-day{border-top:1px solid var(--line);margin-top:6px}
.nt-day-label{margin:6px 0 2px}
.nt-item{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);position:relative}
.nt-day .nt-item:last-child{border-bottom:0}
.nt-item.unread::before{content:"";position:absolute;inset:6px -14px;border-radius:16px;background:var(--blue-soft);opacity:.55;z-index:0;pointer-events:none}
.nt-item>*{position:relative;z-index:1}
.nt-item .nt-icon{margin:0;width:42px;height:42px;border-radius:13px}
.nt-item-body{flex:1;min-width:0}
.nt-item-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.nt-item-meta span{font-size:10px;font-weight:750;letter-spacing:.8px;text-transform:uppercase;color:var(--muted)}
.nt-item-meta time{font-size:11px;color:var(--muted);white-space:nowrap}
.nt-item h3{font-size:15px;line-height:1.45;letter-spacing:-.2px;margin:0 0 6px;display:flex;align-items:center;gap:9px}
.nt-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);flex:none}
.nt-item p{font-size:13px;line-height:1.6;color:var(--ink);opacity:.82;margin:0 0 12px;max-width:640px;overflow-wrap:anywhere}
.nt-item-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nt-mark{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:6px;transition:border-color .15s,color .15s}
.nt-mark:hover{border-color:var(--blue);color:var(--blue)}
.nt-read-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);font-weight:600}
.nt-feed .pf-pagination{margin-top:14px}

/* Настройки */
.nt-settings{position:sticky;top:18px}
.nt-prefs{display:flex;flex-direction:column;gap:12px}
.nt-prefs h3{font-size:15px;letter-spacing:-.01em;margin:8px 0 0}
.nt-prefs .pf-check span{display:flex;flex-direction:column;gap:2px}
.nt-prefs .pf-check small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.nt-prefs .button{align-self:flex-start;margin-top:4px}
.nt-hint{color:var(--muted);font-size:12px;line-height:1.5;margin:4px 0 0}

@media (max-width:1050px){
  .nt-settings{position:static}
}
@media (max-width:740px){
  .nt-feed{padding:4px 16px 14px}
  .nt-item{gap:12px;padding:16px 0}
  .nt-item .nt-icon{width:36px;height:36px;border-radius:11px}
  .nt-item h3{font-size:14px}
  .nt-item p{font-size:12.5px}
  .nt-item.unread::before{inset:4px -8px}
  .nt-main .pf-tabs{width:100%}
}
