.stage-tab-with-reference>.project-stage-tab{min-height:156px;gap:4px}.rail-latest-event{display:flex;flex-direction:column;gap:1px;order:1;margin-top:auto;padding:5px 0 3px;line-height:1.45}.rail-latest-event-label{font-size:9px;font-weight:400;color:#6c7d92}.rail-latest-event-date{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:#294d75}.rail-latest-event-missing{font-size:10px;color:#6c7d92;font-weight:400}.project-stage-tab:has(.rail-latest-event) .rail-current-badge,.project-stage-tab:has(.rail-latest-event) .rail-completed-badge{margin-top:0}.project-stage-tab[aria-selected=true] .rail-latest-event-label,.project-stage-tab[aria-selected=true] .rail-latest-event-missing{color:#cfdbed}.project-stage-tab[aria-selected=true] .rail-latest-event-date{color:#fff}

/* Date above name in public timeline cards. */
.stage-tab-with-reference .rail-date-heading{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:6px;
    order:0;
    margin:0;
    padding:0;
    min-height:20px;
}
.rail-date-heading .rail-latest-event-label{
    display:none;
}
.rail-date-heading .public-stage-indicator{
    margin:0;
    transform:none;
}
.rail-date-heading .rail-latest-event-date{
    font-size:13px;
    font-weight:700;
    line-height:1.4;
}
.rail-date-heading:has(.is-passed) .rail-latest-event-date{
    color:#17683f;
}
.project-stage-tab[aria-selected=true] .rail-date-heading .rail-latest-event-date{
    color:#d9f5e5;
}
.stage-tab-with-reference .rail-stage-name{
    order:1;
    margin-top:auto;
    margin-bottom:auto;
}
.stage-tab-with-reference .rail-current-badge,
.stage-tab-with-reference .rail-completed-badge,
.stage-tab-with-reference .rail-future-badge{
    order:2;
    margin-top:0;
}
