/* attashah.dev v6: the career timeline ("the walk"). Ported from public/next.html; colours and fonts come from tokens.css.
   Lanes: industry is the line colour, the own practice the one accent, teaching the trace blue, degrees and certificates hatched in the dim grey. */
.tl{--rail-top:138px;--wk-h:min(34svh,330px);--ground:calc(var(--rail-top) + 124px + var(--wk-h));--wx:30vw;--shade:rgb(0 0 0 / .55);
  position:relative;background:var(--sheet)} /* the section is a tall box (timeline.js sets its height); the stage (.track) is pinned in it */
.tl .walkhead{position:absolute;inset:14px calc(var(--gutter) + 500px) auto var(--gutter);display:flex;align-items:flex-end;gap:10px 26px;flex-wrap:wrap;z-index:5}
.tl .year{font:900 clamp(4rem,9vw,6.2rem)/.8 var(--display);font-variant-numeric:tabular-nums;color:var(--tan);min-width:2.3em}
.tl .legend{display:flex;gap:6px 18px;flex-wrap:wrap;color:var(--dim);font-size:.9rem;padding-bottom:4px}
@media (min-width:821px) and (max-width:1439px){.tl .legend{display:grid;grid-template-columns:auto auto;gap:2px 18px} .tl .walkhead{flex-wrap:nowrap} .tl .year{font-size:4.4rem}} /* two short rows beside the year, clear of the nav pill and above the rails */
.tl .legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:7px;vertical-align:-1px;background:var(--c)}
.tl .legend i.edu{background:repeating-linear-gradient(135deg,var(--c) 0 2px,transparent 2px 4px)}
.tl .hint{position:absolute;left:var(--gutter);bottom:12px;margin:0;font-size:.85rem;color:var(--dim);z-index:5}
.tl .world{position:absolute;left:0;top:0;height:100%;will-change:transform;transition:opacity .25s}
.tl .row{position:absolute;left:0;right:0;height:46px}
.tl .row.r-work{top:var(--rail-top)} .tl .row.r-own{top:calc(var(--rail-top) + 56px)}
.tl .row.r-t1{top:calc(var(--ground) + 40px)} .tl .row.r-t1b{top:calc(var(--ground) + 90px);height:14px} .tl .row.r-t2{top:calc(var(--ground) + 110px)} .tl .row.r-ed{top:calc(var(--ground) + 162px)}
.tl .bar{--fa:0%;--fb:100%;position:absolute;top:0;bottom:0;border-radius:8px;font-size:.9rem;font-weight:600;white-space:nowrap;
  background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fa),#000 var(--fb),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fa),#000 var(--fb),transparent);
  transition:background .3s,color .3s,opacity .3s}
.tl .bar span{position:absolute;left:0;top:50%;transform:translateY(-50%);will-change:transform;display:flex;align-items:center;gap:8px}
/* degrees and certificates: hatched, like a section cut on a drawing */
.tl .bar.edu{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--c) 34%,transparent) 0 2px,color-mix(in srgb,var(--c) 12%,transparent) 2px 7px)}
/* bands that run on from one another meet square, with a hairline between them */
.tl .bar.jl{border-top-left-radius:0;border-bottom-left-radius:0} .tl .bar.jr{border-top-right-radius:0;border-bottom-right-radius:0}
/* logos sit unaltered on a light tile, so every mark reads on the dark page */
.tl .lg{flex:none;width:54px;height:28px;padding:3px 5px;border-radius:6px;background:var(--line);object-fit:contain}
.tl .lg.dk{background:var(--sheet-2)}
.tl .lg.bd,.tl .card .ch .lg.bd{width:auto;aspect-ratio:1;padding:0;background:none;border-radius:6px} /* issued certification badges: shown bare */
.tl .card .ch .lg.bd{height:58px}
.tl .r-t1b .bar{border-radius:4px}
.tl .bar.on{background:var(--c);color:var(--sheet)}
.tl .work{--c:var(--line)} .tl .own{--c:var(--tan)} .tl .teach{--c:var(--trace)} .tl .edu{--c:var(--dim)}
.tl .milestone{position:absolute;top:0;bottom:0;display:flex;align-items:center;gap:8px;transform:translateX(-100%);font-size:.88rem;font-weight:600;color:var(--c);white-space:nowrap;transition:opacity .3s}
.tl .milestone::after{content:"";width:13px;height:13px;transform:translateX(50%) rotate(45deg);border:2px solid var(--c);background:var(--sheet)}
.tl .milestone.on::after{background:var(--c)}
/* highlight(ids): the roles asked about stand out */
.tl .world.dimmed :is(.bar,.milestone):not(.hl){opacity:.22}
.tl .world.dimmed .hl{outline:2px solid var(--tan);outline-offset:2px}
.tl .ground{position:absolute;left:-100vw;right:0;top:var(--ground);height:1px;background:color-mix(in srgb,var(--dim) 50%,transparent)}
.tl .tick{position:absolute;top:0;width:1px;height:9px;margin-left:100vw;background:color-mix(in srgb,var(--dim) 60%,transparent)}
.tl .tick b{position:absolute;top:11px;left:5px;font:500 .8rem var(--body);color:var(--dim);font-variant-numeric:tabular-nums}
/* where a place begins: a quiet label under the ground line, below the year ticks, so the figure never stands on it */
.tl .plabel{position:absolute;top:28px;margin-left:calc(100vw + 6px);font:400 .74rem/1.2 var(--body);color:var(--dim);white-space:nowrap}
.tl .beam{position:absolute;left:var(--wx);top:calc(var(--rail-top) - 8px);height:calc(var(--ground) - var(--rail-top) + 222px);width:1px;background:linear-gradient(to bottom,transparent,var(--tan) 8%,var(--tan) 92%,transparent);opacity:.5;z-index:1;pointer-events:none}
.tl .walker{position:absolute;left:var(--wx);top:calc(var(--ground) - var(--wk-h) + 5px);height:var(--wk-h);aspect-ratio:600/1040;background:0 0/2100% 100% no-repeat;z-index:3;user-select:none;margin-left:calc(var(--wk-h) * var(--fw,.577) * -.5);filter:drop-shadow(0 12px 14px var(--shade));transform-origin:50% 100%;pointer-events:none}
.tl .walker.ghost{z-index:4;visibility:hidden}
.tl .floor{position:absolute;left:0;right:0;top:var(--ground);height:1px;background:color-mix(in srgb,var(--dim) 50%,transparent);opacity:0}
.tl .board{--bt:max(76px,calc(var(--rail-top) - 78px));position:absolute;left:calc(var(--wx) + var(--wk-h) * .27);right:calc(max(var(--gutter),3vw) + var(--wk-h) * .62 - 16vw);top:var(--bt);height:calc(var(--ground) + var(--dy,0px) - 14px - var(--bt));z-index:2;transform:translateX(120vw);will-change:transform;visibility:hidden}
.tl .mopop{position:absolute;left:0;top:0;z-index:6;pointer-events:none;opacity:0;background:var(--line);color:var(--sheet);padding:6px;border-radius:10px;box-shadow:0 18px 50px var(--shade);font-size:.8rem;will-change:transform;transform-origin:0 0}
.tl .mopop img{display:block;height:min(42svh,380px);width:auto;max-width:78vw;object-fit:contain;border-radius:5px;margin-bottom:4px}
.tl .mopop.on{pointer-events:auto;cursor:zoom-in}
.tl .cam{position:absolute;inset:0}
.tl .shadow{position:absolute;left:var(--wx);top:calc(var(--ground) - 6px);width:110px;height:14px;margin-left:-55px;background:radial-gradient(closest-side,var(--shade),transparent);z-index:2}
.tl .veil{position:absolute;right:0;top:calc(var(--rail-top) - 10px);bottom:0;width:calc(min(410px,34vw) + var(--gutter) + 110px);background:linear-gradient(to right,transparent,color-mix(in srgb,var(--sheet) 94%,transparent) 105px);z-index:3;pointer-events:none}
.tl .cards{position:absolute;right:var(--gutter);top:var(--rail-top);bottom:84px;width:min(410px,34vw);overflow-y:auto;display:flex;flex-direction:column;gap:12px;z-index:4;scrollbar-width:thin;padding-right:2px}
.tl .cards.scrolls{scrollbar-width:thin;scrollbar-color:var(--dim) transparent}
.tl .cards.scrolls::-webkit-scrollbar{width:6px} .tl .cards.scrolls::-webkit-scrollbar-thumb{background:var(--dim);border-radius:3px}
.tl .cards.below{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),transparent);mask-image:linear-gradient(#000 calc(100% - 44px),transparent)}
.tl .card .more{display:none}
.tl .card{background:var(--sheet-2);border-left:3px solid var(--c);border-radius:4px 12px 12px 4px;padding:15px 18px}
.tl .card .ch{display:flex;align-items:center;gap:12px}
.tl .card .ch .lg{width:76px;height:44px;padding:5px 7px;border-radius:8px}
.tl .card h3{font:600 1.05rem/1.25 var(--body)}
.tl .card .meta{color:var(--c);font-size:.86rem;font-weight:600;margin-top:3px}
.tl .card.edu .meta{color:var(--line)}
.tl .card ul.pts{margin:11px 0 0;padding-left:18px;color:color-mix(in srgb,var(--line) 86%,transparent);font-size:.92rem;line-height:1.4}
.tl .card ul.pts li{margin-bottom:3px}
.tl .card:not(.open){padding-block:9px;cursor:pointer;opacity:.82}
.tl .card:not(.open):hover{opacity:1}
.tl .card:not(.open) .pts,.tl .card:not(.open) .go{display:none}
.tl .card:not(.open) .ch .lg{width:52px;height:30px;padding:3px 5px}
.tl .card:not(.open) h3{font-size:.92rem}
.tl .card:not(.open) .meta{font-size:.8rem;margin-top:1px}
.tl .evs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tl .evs button{height:58px;padding:0;border:1px solid var(--rule);border-radius:6px;overflow:hidden;background:var(--line);cursor:zoom-in}
.tl .evs img{display:block;height:100%}
.tl .card:not(.open) .projs{display:none}
.tl .card:not(.open) .evs{margin-top:6px} .tl .card:not(.open) .evs button{height:40px}
.tl [data-ev]{cursor:zoom-in}
.tl .bar[data-ev] span::after,.tl .milestone[data-ev]::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--tan);margin-left:8px;display:inline-block;vertical-align:middle}
.tl .evpop{position:fixed;z-index:30;pointer-events:none;background:var(--line);color:var(--sheet);padding:6px;border-radius:10px;box-shadow:0 18px 50px var(--shade);font-size:.8rem;max-width:292px}
.tl .evpop img{display:block;max-width:280px;max-height:280px;margin-bottom:4px;border-radius:5px}
.tl #evbox{border:0;border-radius:14px;padding:18px;background:var(--line);color:var(--sheet);max-width:min(560px,92vw);max-height:90svh}
.tl #evbox::backdrop{background:color-mix(in srgb,var(--sheet) 85%,transparent)}
.tl #evbox figure{margin:0 0 14px}
.tl #evbox img{display:block;max-width:100%;max-height:62svh;margin:0 auto 6px;border-radius:6px}
.tl #evbox figcaption,.tl #evbox p{font-size:.9rem;margin:0}
.tl #evbox a{color:var(--sheet)}
.tl #evbox button{margin-top:12px;padding:8px 18px;border-radius:999px;border:0;background:var(--sheet);color:var(--line);font:600 .9rem var(--body);cursor:pointer}
.tl .projs{margin-top:12px;border-top:1px solid var(--rule);padding-top:10px}
.tl .projs>b{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin-bottom:8px}
.tl .proj{display:flex;gap:12px;align-items:flex-start;color:inherit;text-decoration:none}
.tl .proj .lg{flex:none;width:64px;height:36px}
.tl .proj strong{display:block;font-size:.98rem}
.tl .proj span{display:block;color:var(--dim);font-size:.84rem}
.tl .proj ul{margin:5px 0 0;padding-left:16px;color:color-mix(in srgb,var(--line) 86%,transparent);font-size:.88rem;line-height:1.35}
.tl .card .go{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tl .card .go a,.tl .card .go button{font:600 .85rem var(--body);color:var(--c);border:1px solid currentColor;border-radius:999px;padding:4px 14px;text-decoration:none;background:none;cursor:pointer;min-height:40px;display:inline-flex;align-items:center}
.tl .card .go button{color:var(--dim)}
.tl .card .go button:hover{color:var(--line)}
/* the whole stop, opened from a compact card on narrow screens */
.tl .cardsheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;max-height:86svh;border-radius:16px 16px 0 0;background:var(--sheet-3);color:var(--line);display:none;flex-direction:column}
.tl .cardsheet[open]{display:flex}
.tl .cardsheet::backdrop{background:color-mix(in srgb,var(--sheet) 80%,transparent)}
.tl .cs-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--rule);margin:0}
.tl .cs-y{font:900 1.6rem/1 var(--display);color:var(--tan)}
.tl .cs-top button{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:none;color:var(--line);font:600 .95rem var(--body);cursor:pointer}
.tl .cs-in{overflow-y:auto;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:12px}
.tl .cs-in .card{padding:14px 16px}
/* an answer that walks him somewhere travels with him as a speech bubble */
.tl .say{position:absolute;left:calc(var(--wx) + var(--wk-h) * .28);top:calc(var(--rail-top) + 4px);width:min(380px,calc(62vw - var(--wx) - var(--wk-h) * .28));max-height:calc(var(--wk-h) + 96px);overflow-y:auto;z-index:6;background:var(--line);color:var(--sheet);border-radius:16px 16px 16px 4px;padding:14px 38px 14px 16px;font-size:.95rem;line-height:1.45;box-shadow:0 18px 40px var(--shade);white-space:pre-wrap}
.tl .say[hidden]{display:none}
.tl .say button{position:absolute;right:6px;top:4px;width:30px;height:30px;border:0;background:none;font-size:1.3rem;line-height:1;color:var(--sheet);cursor:pointer}

/* the places he lived: one fixed, soft rendered scene each (timeline.js sizes and places the image), far behind everything. The image has a transparent sky, so only
   the landmark masses show; the box ends just under the floor line and fades out a little above it. */
.tl .places,.tl .flight{position:absolute;left:0;right:0;top:0;height:0;pointer-events:none;color:var(--places-color,var(--dim));opacity:calc(var(--places-opacity,.36) * var(--vis,1))}
.tl .places{overflow:hidden;--places-opacity:.85;-webkit-mask-image:linear-gradient(#000 calc(100% - 34px),transparent);mask-image:linear-gradient(#000 calc(100% - 34px),transparent)}
.tl .place{position:absolute;inset:0;will-change:opacity}
.tl .place img{position:absolute;display:block;max-width:none;user-select:none}
.tl .flight{visibility:hidden}
.tl .flight svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tl .flight .plane{--w:clamp(34px,5.4vw,78px);position:absolute;left:0;top:0;width:var(--w);aspect-ratio:220/80;margin:calc(var(--w) * -.18) 0 0 calc(var(--w) * -.5);background:currentColor;will-change:transform}

/* the teaching section is the same stage mounted again (mode 'teach'): only the board, him and the floor. The years and rails stay laid out (the
   board's height is measured from the ground line) but are never shown nor hit. */
.tl.tl-teach .world{visibility:hidden}

/* depth (timeline.js drawDepth; off with ?depth=0): a quiet floor in perspective whose lines run the way he walks. .dp is pinned at his feet
   (his x, the ground line) and tilted back by --dp-tilt; its two layers turn in the floor's plane by --dp-turn, toward the camera on the side
   he walks to, and swing over while he turns. dp-run: lines along his path (still). dp-cross: lines across it, moved with the ground. */
.tl .depth{--dp-run:color-mix(in srgb,var(--dim) 22%,transparent);--dp-cross:color-mix(in srgb,var(--dim) 13%,transparent);position:absolute;left:0;right:0;top:calc(var(--ground) - 24px);height:calc(100% - var(--ground) + 24px);overflow:hidden;pointer-events:none;opacity:0;
  -webkit-mask-image:linear-gradient(transparent,#000 24px,rgb(0 0 0 / .6) calc(24px + 35%),transparent);mask-image:linear-gradient(transparent,#000 24px,rgb(0 0 0 / .6) calc(24px + 35%),transparent)}
.tl .dp{position:absolute;left:var(--wx);top:24px;width:0;height:0;transform-origin:0 0;transform:perspective(2600px) rotateX(var(--dp-tilt,75deg))}
.tl .dp i{position:absolute;left:-4000px;top:-2000px;width:8000px;height:4000px;transform:rotate(var(--dp-turn,16deg));transition:transform .55s cubic-bezier(.4,0,.2,1)}
.tl .dp-run{background:repeating-linear-gradient(to bottom,var(--dp-run) 0 2px,transparent 2px 120px) 0 2000px}
.tl .dp-cross{background:repeating-linear-gradient(to right,var(--dp-cross) 0 2px,transparent 2px 240px)}

@media (max-width:820px){
  .tl{--rail-top:134px;--wk-h:19svh;--wx:42vw;--ground:calc(var(--rail-top) + 96px + var(--wk-h))}
  .tl .year{font-size:3.2rem}
  .tl .hint{display:none}
  .tl .row{height:30px}
  .tl .row.r-own{top:calc(var(--rail-top) + 42px)} .tl .row.r-work{height:34px} .tl .row.r-own{height:34px}
  .tl .row.r-t1{top:calc(var(--ground) + 34px)} .tl .row.r-t1b{top:calc(var(--ground) + 67px);height:10px} .tl .row.r-t2{top:calc(var(--ground) + 80px)} .tl .row.r-ed{top:calc(var(--ground) + 113px)}
  .tl .bar,.tl .milestone{font-size:.8rem}
  .tl .lg{width:40px;height:22px;padding:2px 4px}
  .tl .milestone.cert:has(.lg){font-size:0} /* phone: the logo alone marks a certificate, the card names it */
  /* phones: one compact card that always fits (title, organisation and years, the two highlights) and "More" for the whole stop */
  .tl .cards{left:var(--gutter);width:auto;top:calc(var(--ground) + 150px);bottom:84px;overflow:hidden;overscroll-behavior:auto;gap:0}
  .tl .veil{display:none}
  .tl .card:not(.open){display:none}
  .tl .cards .card.open{display:flex;flex-direction:column;min-height:0;max-height:100%;padding:9px 12px 8px}
  .tl .cards .card.open .full{display:none}
  .tl .cards .card .ch .lg{width:46px;height:26px;padding:2px 4px}
  .tl .cards .card h3{font-size:.95rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .tl .cards .card .meta{font-size:.8rem;margin-top:1px}
  .tl .cards .card ul.pts{margin-top:5px;font-size:.84rem;line-height:1.3;min-height:0;overflow:hidden;flex:0 1 auto;-webkit-mask-image:linear-gradient(#000 calc(100% - 10px),transparent);mask-image:linear-gradient(#000 calc(100% - 10px),transparent)}
  .tl .cards .card ul.pts li{margin-bottom:2px}
  .tl .card .more{display:inline-flex;align-items:center;align-self:flex-start;flex:none;margin-top:6px;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--tan);background:none;color:var(--tan);font:600 .82rem var(--body);cursor:pointer}
  .tl .say{left:var(--gutter);right:var(--gutter);width:auto}
  .tl .board{left:var(--gutter);right:var(--gutter);top:calc(var(--ground) + var(--dy,0px) + 22px);height:auto;bottom:96px}
  .tl .walkhead{inset:12px var(--gutter) auto}
  .tl .legend{display:grid;grid-template-columns:auto auto;gap:2px 16px;font-size:.8rem;max-width:calc(100vw - 2 * var(--gutter));margin-top:10px} /* clear of the nav pill (its bottom is at 68 px) */
  .tl .plabel{top:25px;font-size:.75rem}
}
/* small phones: a shorter figure leaves the card its room */
@media (max-width:820px) and (max-height:760px){.tl{--wk-h:16svh}}
@media (max-height:700px) and (min-width:821px){ /* short laptop screens: keep the education lane on screen */
  .tl{--rail-top:100px;--wk-h:25svh}
  .tl .year{font-size:4rem}
  .tl .hint{display:none}
}
/* a phone on its side (short and wide): everything fits in the screen height, rows packed tighter */
@media (max-height:520px) and (min-width:821px){
  #walk.tl,#teaching.tl,.tl{min-height:0} /* page.css gives #walk (and #teaching) min-height:max(100svh,560px) */
  .tl{--rail-top:70px;--wk-h:19svh;--ground:calc(var(--rail-top) + 72px + var(--wk-h))}
  .tl .legend{display:none} /* no room for it beside the nav and above the rails; every card names its kind of role */
  .tl .row{height:30px} .tl .row.r-own{top:calc(var(--rail-top) + 36px)}
  .tl .row.r-t1{top:calc(var(--ground) + 38px);height:22px} .tl .row.r-t1b{top:calc(var(--ground) + 62px);height:8px} .tl .row.r-t2{top:calc(var(--ground) + 72px);height:22px} .tl .row.r-ed{top:calc(var(--ground) + 98px);height:22px}
  .tl .bar,.tl .milestone{font-size:.78rem} .tl .lg{width:40px;height:20px;padding:2px 4px}
  .tl .plabel{top:24px;font-size:.75rem}
  .tl .cards{bottom:64px}
  .tl .board{--bt:64px}
}
@media (max-height:520px) and (min-width:821px){.tl .walkhead{inset:10px calc(var(--gutter) + 250px) auto var(--gutter)} .tl .year{font-size:3rem}}

/* ---- the stops: the section is a tall box and the stage (the track) is pinned in it while the page scrolls through, so a vertical scroll walks him.
   The stage is 100svh, the small viewport, so it never changes height when a phone's address bar comes or goes. It takes vertical pans natively
   (and pinch zoom); a sideways swipe on it is read by timeline.js as one stop. .stop marks each stop's scroll offset down the section. */
.tl .track{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;touch-action:pan-y pinch-zoom}
.tl .tr-in,.tl .pane{position:relative;height:100%;overflow:hidden}
.tl .rail{position:absolute;left:0;top:0;width:1px;pointer-events:none}
.tl .stop{position:absolute;left:0;width:1px;height:1px}
html:has(.tl){overscroll-behavior-x:none} /* a sideways trackpad swipe on the stage moves a stop; it must not also go back a page in the browser */
.tl :is(.cards,.say,.mopop,.walkhead,.board){cursor:auto}
.tl .sbtn{position:absolute;top:50%;margin-top:-22px;width:46px;height:46px;border-radius:50%;border:1px solid var(--rule);background:color-mix(in srgb,var(--sheet-2) 82%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--line);display:grid;place-items:center;padding:0;cursor:pointer;z-index:8}
.tl .sbtn:hover{border-color:var(--tan);color:var(--tan)}
.tl .sbtn svg{width:20px;height:20px}
.tl .sbtn.l{left:6px} .tl .sbtn.r{right:6px}
.tl .sbtn[hidden]{display:none}
.tl .prog{position:absolute;left:calc(var(--gutter) + 150px);right:270px;bottom:8px;z-index:8;display:flex;flex-direction:column;gap:2px;transition:opacity .4s}
/* entry: the progress row and the buttons come in once half the stage is on screen (.live), and go again as it leaves */
.tl .sbtn{transition:opacity .4s}
.tl:not(.live) :is(.prog,.sbtn){opacity:0;pointer-events:none}
.tl .prog .tks{display:flex;gap:3px;cursor:pointer}
.tl .prog .tks button{flex:1;min-width:0;height:32px;padding:0;border:0;background:none;cursor:pointer;display:grid;align-items:center}
.tl .prog .tks button::before{content:"";height:4px;border-radius:2px;background:color-mix(in srgb,var(--dim) 35%,transparent);transition:background .2s}
.tl .prog .tks button.past::before{background:color-mix(in srgb,var(--tan) 55%,transparent)}
.tl .prog .tks button.on::before{background:var(--tan);height:8px}
.tl .prog .tks button.bd::before{border-radius:0}
.tl .prog .labrow{display:flex;align-items:baseline;gap:8px 16px;min-width:0}
.tl .prog .lab{font-size:.82rem;color:var(--dim);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.tl .swipehint{flex:none;display:inline-flex;align-items:center;gap:4px;padding:1px 6px 1px 10px;border-radius:999px;border:1px solid var(--tan);color:var(--tan);font-size:.8rem;font-weight:500;white-space:nowrap;pointer-events:none;transition:opacity .4s}
.tl .swipehint svg{width:14px;height:14px;animation:tl-nudge 1.6s ease-in-out infinite}
.tl .swipehint.end{border-color:transparent;color:var(--dim);padding-left:0}
.tl .swipehint.end svg{animation:none}
.tl .swipehint.gone{opacity:0;position:absolute;right:0} /* out of the row, so the counter gets the room */
.tl.off *,.tl .swipehint.gone svg{animation-play-state:paused} /* no animation runs while its section is off screen */
@keyframes tl-nudge{50%{translate:0 3px}}
@media (max-width:820px){.tl .prog{left:var(--gutter);right:84px}.tl .sbtn{top:calc(var(--ground) - 70px);margin-top:0}}
/* the whole bar is one control: on touch its hit area is at least 44 px tall */
@media (pointer:coarse){.tl .prog .tks button{height:44px;align-items:end;padding-bottom:6px}} /* the line sits at the bottom of the taller hit area, clear of the rows above */
@media (prefers-reduced-motion:reduce){.tl *{transition:none!important}.tl .swipehint svg{animation:none}}
/* touch screens: small print at least 14 px where it fits, and the "More" button a full 44 px target */
@media (pointer:coarse){
  .tl .plabel,.tl .card .meta,.tl .cards .card .meta,.tl .prog .lab,.tl .swipehint{font-size:14px}
  .tl .card .more{min-height:44px}
}
@media (pointer:coarse) and (min-width:440px){.tl .legend{font-size:14px}} /* under 440 px two columns of 14 px names do not fit beside each other */
