.tl { --lab: 9.5rem; --tot: 2rem; --edge-l: .5rem; --edge-r: .4rem; container-type: inline-size; }
.tl:not(.even) { --tot: 7.8rem; }
.tl-head { display: grid; grid-template-columns: 1fr; gap: .6rem; align-items: end; margin-bottom: 0;
  padding: 0 calc(1px + var(--edge-r)) 0 calc(3px + var(--edge-l)); }
.tl-head > div:first-child, .tl-head > div:last-child { display: none; }
.tl-periods { position: relative; height: 1.1rem; }
.tl-periods span {
  position: absolute; top: 0; font-size: var(--fs-footnote); font-weight: 500;
  color: var(--muted); transform: translateX(.3rem);
}
.tl-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab num" "ex ex" "trk trk";
  gap: .6rem; row-gap: .22rem; align-items: center;
  padding: .3rem var(--edge-r) .4rem var(--edge-l); border-radius: var(--r-xs);
  border: solid transparent; border-width: 0 1px 0 3px;
  transition: opacity var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tl-lab { grid-area: lab; display: flex; align-items: center; gap: .4rem; min-width: 0; }
.tl-lab .dot { width: .58rem; height: .58rem; border-radius: 50%; background: var(--c); flex: none; }
.tl-lab .nm { font-size: var(--fs-secondary); font-weight: 500; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; flex: 1; white-space: normal; overflow-wrap: break-word; }
.tl-name {
  display: flex; align-items: center; gap: .4rem; width: 100%;
  background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit;
  text-align: left; cursor: pointer; min-height: 48px;
}
.tl-track {
  grid-area: trk; position: relative; height: 1.5rem; border-radius: var(--r-xs);
  background: var(--track); overflow: hidden;
}
@container (min-width: 20em) {
  .tl-head, .tl-row { --lab: 6.5rem; }
  .tl-head { grid-template-columns: var(--lab) 1fr var(--tot); }
  .tl-head > div:first-child, .tl-head > div:last-child { display: block; }
  .tl-row {
    grid-template-columns: var(--lab) 1fr var(--tot); grid-template-areas: "lab trk tot";
    row-gap: 0; padding: 0 var(--edge-r) 0 var(--edge-l); --row-pitch: 2.25rem; min-height: var(--row-pitch);
  }
  .tl-lab { align-self: stretch; align-items: stretch; }
  .tl-lab .nm { white-space: nowrap; overflow-wrap: normal; }
  .tl-row .tl-tot { grid-area: tot; display: block; white-space: nowrap; }
  .tl-row .tl-tot .ex, .tl-row .tl-tot .ex:empty { display: inline-block; width: 5.7em; margin-left: .3rem; }
  .tl.even .tl-row .tl-tot .ex { width: 0; margin-left: 0; }
  .tl-row .tl-tot .num { line-height: inherit; }
  .tl-name { min-height: var(--row-pitch); }
  .tl-track { height: 1rem; }
}
@container (min-width: 34em) {
  .tl-head, .tl-row { --lab: 9.5rem; }
}
.tl-blk {
  position: absolute; top: 0; bottom: 0; border-radius: var(--r-2xs);
  background: var(--c);
  transform-origin: 0 50%;
}
.tl-div { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--track); z-index: 1; }
.tl-now {
  position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; z-index: 2;
  background: var(--accent); box-shadow: 0 0 0 1px var(--surface);
}
.tl-row:first-child .tl-now::before {
  content: ''; position: absolute; left: 50%; top: 0;
  width: .42rem; height: .42rem; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -35%);
}
.tl-tot { display: contents; text-align: right; font-size: var(--fs-footnote); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tl-tot.hi { color: var(--accent); } .tl-tot.lo { color: var(--info); }
.tl-tot .num { grid-area: num; align-self: start; line-height: 48px; }
.tl-tot .ex { grid-area: ex; text-align: left;
  font-size: var(--fs-footnote); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tl-tot .ex:empty { display: none; }
.tl-body { position: relative; }
.tl-skel { animation: skel-pulse 1.5s var(--ease) infinite; pointer-events: none; }
.tl-skel .dot, .tl-skel .nm, .tl-skel .tl-tot { background: var(--line); border-radius: var(--r-2xs); }
.tl-skel .nm { height: 1.29rem; width: 4.2rem; }
.tl-skel .tl-tot { height: 1.29rem; width: 1.5rem; margin-left: auto; }
.tl-skel .tl-track { background-image: linear-gradient(90deg,
    var(--line) 0 26%, transparent 26% 40%, var(--line) 40% 68%, transparent 68% 84%, var(--line) 84% 100%); }
.tl-skel .tl-row:nth-child(3n+2) .tl-track { background-image: linear-gradient(90deg,
    transparent 0 14%, var(--line) 14% 46%, transparent 46% 62%, var(--line) 62% 90%, transparent 90% 100%); }
.tl-skel .tl-row:nth-child(3n+3) .tl-track { background-image: linear-gradient(90deg,
    var(--line) 0 18%, transparent 18% 34%, var(--line) 34% 56%, transparent 56% 76%, var(--line) 76% 96%, transparent 96% 100%); }
@keyframes skel-pulse { 0%, 100% { opacity: .6 } 50% { opacity: .95 } }
@media (hover: hover) { .tl:hover .tl-row:not(:hover) { opacity: .45; } }
@media (hover: hover) { .tl-row:hover { background: var(--surface-2); } }

.tl-row.pin {
  background: var(--surface-2); border-left-color: var(--c); border-right-color: var(--line-2);
  border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: inset 0 1px 0 var(--line-2);
}
.tl.pinned .tl-row:not(.pin) { opacity: .38 !important; }
@media (hover: hover) { .tl.pinned:hover .tl-row:not(:hover):not(.pin) { opacity: .38 !important; } }

.tld {
  margin: 0 0 .55rem; padding: .85rem .95rem; display: flow-root;
  border: solid var(--line-2); border-width: 0 1px 1px 3px; border-left-color: var(--c, var(--accent));
  border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--surface-2);
}
.tl.pinned .tld { opacity: 1; }
.tld-x { float: right; width: 48px; height: 48px; margin: -.55rem -.65rem 0 .3rem; border-radius: var(--r-full);
  color: var(--muted); font-size: var(--fs-body); display: grid; place-items: center; }
@media (hover: hover) { .tld-x:hover { background: var(--surface-3); color: var(--ink); } }
.tld-facts { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.tld-f .k { font-size: var(--fs-footnote); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.tld-f .v { font-size: var(--fs-body); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: .1rem; }
.tld-lab { font-size: var(--fs-footnote); text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  font-weight: 600; margin: .95rem 0 .4rem; }
.tld-when { display: flex; flex-wrap: wrap; gap: .3rem; }
.tld-slot { font-size: var(--fs-footnote); font-variant-numeric: tabular-nums; padding: .2rem .55rem;
  border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

@media (max-width: 19em) {
  .tl-row { grid-template-areas: "lab lab" "ex num" "trk trk"; }
  .tl-tot .num { align-self: center; line-height: inherit; }
}

@media (forced-colors: active) {
  .tl-blk {
    border: 1px solid CanvasText;
  }
}
