/* OBSCURA OS: CONTACTS, Upcoming birthdays.
 *
 * Every birthday and significant date in the next twelve months, under
 * Today and a heading for each month. Read after the page's own rules.
 */
/* ---- upcoming birthdays ----
   A month to a heading, as the list's sections are headed, and today's
   on the accent's own wash, so it is the first thing seen. */
.ct-bday-group h3 { margin: 0; padding: 20px 8px 8px; font-size: var(--text-2xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ct-bdays { list-style: none; margin: 0; padding: 0; }
.ct-bday { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 56px; padding: 6px 8px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.ct-bday:hover { background: var(--paper-inset); }
.ct-bday:focus { outline: none; }
.ct-bday:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.ct-bday.is-today { background: var(--accent-soft); }
.ct-bday-who { min-width: 0; }
.ct-bday-who b, .ct-bday-who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-bday-who b { font-weight: 500; }
.ct-bday-who span, .ct-bday-when span { font-size: var(--text-xs); color: var(--ink-soft); }
.ct-bday-when { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-bday-when span { display: block; }
.ct-bday.is-today .ct-bday-when span { color: var(--accent-strong); font-weight: 600; }

/* ---- a contact's page: Copy beside each value, and the note on the form
   when somebody already has the email or number typed ---- */
.ct-detail li:has(.ct-copy) { display: flex; align-items: flex-start; gap: 4px; }
.ct-detail .ct-val { flex: 1 1 auto; min-width: 0; }
.ct-detail .ct-copy { width: 32px; height: 32px; margin: -6px 0; color: var(--ink-faint); }
.ct-detail .ct-copy svg { width: 18px; height: 18px; }
@media (pointer: coarse) { .ct-detail .ct-copy { width: 44px; height: 44px; margin: -12px 0; } }
.ct-dup { margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--paper-inset); font-size: var(--text-sm); }
.ct-dup a { color: var(--accent-strong); margin-left: 4px; }
