/* timeline.css — v2 designed timeline: weighted track, accent progress, milestone markers and date-chip cards.
   © Dudoxx UG / Acceleate Consulting - Walid Boudabbous <walid@acceleate.com> */
.fk-tl-stem { fill: none; stroke-linecap: round; }
.fk-tl-rail .fk-track { stroke: color-mix(in oklch, var(--ink) 16%, transparent); stroke-width: 0.55cqw; }
.fk-tl-rail .fk-fill { stroke-width: 0.55cqw; }
.fk-tl-stem { stroke: color-mix(in oklch, var(--ink) 22%, transparent); stroke-width: 0.25cqw; opacity: 0; }
.fk-tl-mark { opacity: 0; }
.fk-tl-ring { fill: var(--card); stroke: color-mix(in oklch, var(--ink) 28%, transparent); stroke-width: 0.28; }
.fk-tl-dot { fill: transparent; r: 0.5; }
.fk-tl-check { fill: none; stroke: transparent; stroke-width: 0.24; stroke-linecap: round; stroke-linejoin: round; }
.fk-tl-mark.is-done .fk-tl-ring { fill: var(--accent); stroke: var(--accent); }
.fk-tl-mark.is-done .fk-tl-check { stroke: var(--brand-color-primary-foreground); }
.fk-tl-mark.is-current .fk-tl-ring { stroke: var(--accent); stroke-width: 0.3; }
.fk-tl-mark.is-current:not(.is-done) .fk-tl-dot { fill: var(--accent); }
.fk-tl-head { fill: var(--card); stroke: var(--accent); stroke-width: 0.35cqw; opacity: 0; }
/* milestone cards: the date chip on top, the text under it, an optional icon tile on the left */
.fk-tl .fk-ms { grid-template-rows: auto auto; align-content: center; row-gap: 0.6cqw; padding: 1.1cqw 1.3cqw; }
.fk-tl .fk-ms .fk-chip { grid-row: 1; grid-column: -2 / -1; font-size: var(--fs-label); }
.fk-tl .fk-ms .fk-txt { grid-row: 2; grid-column: -2 / -1; }
.fk-tl .fk-ms .fk-tile { grid-row: 1 / span 2; }
.fk-tl .fk-ms:not(:has(.fk-tile)) { grid-template-columns: minmax(0, 1fr); }
.fk-tl .fk-ms .fk-title { font-weight: 600; }
.fk-tl .fk-ms.is-future { background: var(--recess); box-shadow: none; }
.fk-tl .fk-ms.is-future .fk-title { color: var(--muted); }
@media (max-width: 600px) and (orientation: portrait) {
  .stage .fk-tl-rail .fk-track, .stage .fk-tl-rail .fk-fill { stroke-width: max(0.55cqw, 3px); }
  .stage .fk-tl-head { stroke-width: max(0.35cqw, 2px); }
  .stage .fk-tl .fk-ms { padding: 1.4cqw 2cqw; }
}
/* landscape: the milestone cards fill the half above / below the track, so the text steps up one size */
.fk-tl .fk-ms .fk-title { font-size: var(--fs-title); }
.fk-tl .fk-ms.is-primary .fk-title { font-size: calc(var(--fs-title) * 1.15); }
.fk-tl .fk-ms .fk-tile { width: 4.4cqw; height: 4.4cqw; }
.fk-tl .fk-ms .fk-tile .ik { --ik-size: 2.8cqw; }
@media (max-width: 600px) and (orientation: portrait) {
  .stage .fk-tl .fk-ms .fk-title, .stage .fk-tl .fk-ms.is-primary .fk-title { font-size: var(--fs-lead); }
  .stage .fk-tl .fk-ms .fk-tile { width: max(3.6cqw, 26px); height: max(3.6cqw, 26px); }
}
