/* The client page's Timeline tab (public/timeline.js). Colours come from styles.css's tokens, so light and dark both work. */
.tl-chips { margin-bottom: 14px; }
.tl-day { margin-bottom: 18px; }
.tl-day h3 { margin: 0 0 8px; font-size: 13px; text-transform: none; letter-spacing: normal; color: var(--ink-2); }
.tl-day h3 small { font-weight: 500; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 4px; }
.tl-ev { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 8px 0 8px 14px; position: relative; }
.tl-ev::before { content: ""; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line); }
.tl-time { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 2px; }
.tl-main { display: grid; gap: 2px; min-width: 0; }
.tl-type { justify-self: start; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--line-2); color: var(--ink-2); }
.tl-title { font-size: 13.5px; text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
.tl-title a { text-decoration: none; }
.tl-title a:hover { text-decoration: underline; }
.tl-count { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.tl-detail { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tl-job .tl-type, .tl-note .tl-type { background: color-mix(in srgb, var(--pma-blue, #1478b8) 14%, transparent); color: var(--pma-blue-ink, var(--ink)); }
.tl-post .tl-type, .tl-meeting .tl-type, .tl-taxfix .tl-type, .tl-invoice .tl-type, .tl-proposal .tl-type, .tl-workiro .tl-type, .tl-email .tl-type, .tl-slack .tl-type { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.tl-renewal .tl-type, .tl-winback .tl-type, .tl-change .tl-type { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
@media (max-width: 640px) { .tl-ev { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding-left: 12px; } }
