/* Small pieces shared by the newer pages (built by assets/js/core/ui.js). Uses the same design tokens as app.css. */
.tm-ico { --ico: rgb(var(--c-primary)); width: 44px; height: 44px; border-radius: 15px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 18px; color: var(--ico); background: color-mix(in srgb, var(--ico) 16%, transparent); }
.tm-ico img { width: 100%; height: 100%; object-fit: cover; }
.tm-ico.is-big { width: 64px; height: 64px; border-radius: 22px; font-size: 26px; }
.tm-ico.is-off { filter: grayscale(1); opacity: .5; }
.tm-ui-list { margin: 6px 0 0; padding-left: 18px; list-style: disc; font-size: 12.5px; line-height: 1.6; color: rgb(var(--c-text)); }
.tm-timeline { position: relative; padding-left: 18px; }
.tm-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgb(var(--c-line) / .15); }
.tm-timeline > .tm-tl-item { position: relative; margin-bottom: 12px; }
.tm-timeline > .tm-tl-item::before { content: ""; position: absolute; left: -17px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--c-primary)); box-shadow: 0 0 0 4px rgb(var(--c-bg)); }
.tm-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-tagchip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: rgb(var(--c-text));
  background: rgb(var(--c-card)); border: 1px solid rgb(var(--c-line) / .12); }
.tm-tagchip small { font-weight: 700; color: rgb(var(--c-muted)); }
.tm-tagchip.is-on { color: #fff; background: rgb(var(--c-primary)); border-color: transparent; }
.tm-tagchip.is-on small { color: rgb(255 255 255 / .8); }
@media (prefers-reduced-motion: reduce) { .tm-ico, .tm-tagchip { transition: none; } }
