/* CV Mojo app (v2 preview): Notifications (/notifications). Classes are
   prefixed nt-; shared pieces (ap-*, cvm-*, db-mark) come from app.css. */

.nt [hidden] { display: none !important; }

.nt-card { padding: 8px 10px 12px; }
.nt-loading { padding: 22px; }

/* Day groups */
.nt-day + .nt-day { margin-top: 4px; }
.nt-day-h { margin: 0; padding: 16px 14px 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nt-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }

/* Rows */
.nt-row { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px; color: var(--text); text-decoration: none; border-radius: 16px; transition: background-color .15s ease; }
a.nt-row { cursor: pointer; }
a.nt-row:hover { color: var(--text); text-decoration: none; background: var(--mist); }
a.nt-row:focus-visible { outline: 3px solid var(--indigo); outline-offset: -3px; }
.nt-row.is-unread { background: #f4f5ff; }
a.nt-row.is-unread:hover { background: var(--channel-soft); }
.nt-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy); background: var(--mist); border-radius: 13px; transform: rotate(-4deg); }
.nt-ic--cyan { background: var(--cyan-soft); }
.nt-ic--yellow { background: var(--yellow); }
.nt-ic--channel { background: var(--channel-soft); color: var(--indigo); }
.nt-ic--indigo { color: #fff; background: var(--indigo); }
.nt-ic--neutral { color: var(--muted); background: var(--mist); }
.nt-main { display: grid; flex: 1; gap: 3px; min-width: 0; }
.nt-title { font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--navy); overflow-wrap: anywhere; }
.nt-row.is-unread .nt-title { font-weight: 800; }
.nt-body { font-size: 14px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.nt-meta { font-size: 13px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.nt-time { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nt-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; }
.nt-row.is-unread .nt-dot { background: var(--indigo); box-shadow: 0 0 0 4px rgba(39, 52, 159, .12); }
.nt-go { flex: none; align-self: center; color: var(--muted); opacity: .6; transition: transform .15s ease, opacity .15s ease; }
a.nt-row:hover .nt-go { opacity: 1; transform: translateX(2px); }

/* First load settles in once. */
@keyframes nt-in { from { opacity: 0; transform: translateY(8px); } }
.nt .is-entering .nt-day { animation: nt-in .4s ease backwards; }
.nt .is-entering .nt-day:nth-child(2) { animation-delay: .06s; }
.nt .is-entering .nt-day:nth-child(n+3) { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .nt .is-entering .nt-day { animation: none; }
  .nt-row, .nt-go { transition: none; }
  .nt .skeleton { animation: none; }
}

@media (max-width: 760px) {
  .nt-card { padding: 6px 4px 8px; }
  .nt-row { gap: 12px; padding: 12px 10px; }
  .nt-ic { width: 38px; height: 38px; border-radius: 12px; }
  .nt-go { display: none; }
  .nt .ap-head .btn { width: 100%; }
}
