/* Header "Today" ring (trip SD5). Pseudo-elements only: no change to the avatar box, header
   height or tap targets. State arrives as data attributes + --today-pct from js/header-today-ring.js. */
.user-avatar[data-today-total]::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(#6ee7a0 calc(var(--today-pct, 0) * 1%), rgba(255, 255, 255, 0.2) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.user-avatar[data-today-ready="1"]::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    pointer-events: none;
    background: #ff4d4f;
    box-shadow: 0 0 0 2px #121212;
}
.today-list { border-bottom: 1px solid rgba(247, 147, 26, 0.08); padding: 6px 0; }
.today-list-title { padding: 4px 20px 2px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.today-row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 44px; padding: 0 20px; box-sizing: border-box;
    color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 0.875rem;
}
.today-row:hover, .today-row:focus-visible { background: rgba(247, 147, 26, 0.08); }
.today-row-detail { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.today-row[data-state="ready"] .today-row-detail { color: #6ee7a0; font-weight: 600; }
