/* Set timeline: work and rest to scale along one rail, per set structure. */
.vk-tl{width:100%;max-width:480px;margin:0 auto}
.vk-tl-card{background:var(--vk-card);border-radius:28px;border:1px solid var(--vk-line);box-shadow:var(--vk-shadow);padding:20px 24px 20px;display:grid}
.vk-tl p,.vk-tl dl,.vk-tl dd,.vk-tl dt{margin:0;padding:0}

/* The picker: chips on a track; they wrap to two rows when the words are long. */
.vk-tl-tabs{position:relative;display:flex;flex-wrap:wrap;padding:4px;border-radius:24px;background:var(--vk-muted);isolation:isolate;margin-bottom:20px}
.vk-tl-tabs button{position:relative;z-index:1;flex:1 1 auto;min-height:40px;padding:4px 12px;border:0;border-radius:20px;background:none;font:500 14px/16px Inter,system-ui,sans-serif;letter-spacing:-.005em;color:var(--vk-ink2);white-space:nowrap;transition:color .2s var(--vk-ease);-webkit-tap-highlight-color:transparent}
.vk-tl-tabs button::after{content:"";position:absolute;inset:-2px 0}
.vk-tl-tabs button[aria-checked="true"]{color:var(--vk-ink)}
.vk-tl-tabs:not(.js) button[aria-checked="true"]{background:var(--vk-card)}
.vk-tl-tabs button:focus-visible{outline:2px solid var(--vk-acc);outline-offset:2px}
.vk-tl-pill{position:absolute;z-index:0;top:0;left:0;width:0;height:0;border-radius:20px;background:var(--vk-card);box-shadow:0 2px 8px rgba(0,0,0,.08),0 0 0 1px var(--vk-line);opacity:0}
.js>.vk-tl-pill{opacity:1}
.vk-tl-tabs.wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.vk-tl-tabs.wrap button{grid-column:span 3;white-space:normal;text-wrap:balance}
.vk-tl-tabs.wrap.n5 button:nth-of-type(-n+3),.vk-tl-tabs.wrap.n3 button{grid-column:span 2}

.js.live>.vk-tl-pill{transition:transform .42s var(--vk-ease),width .42s var(--vk-ease),height .42s var(--vk-ease)}

/* Panels share one cell so the card never changes height. */
.vk-tl-panels{display:grid}
.vk-tl-panel{grid-area:1/1;min-width:0;display:grid;grid-template-rows:1fr auto;visibility:hidden;opacity:0;transition:opacity .12s linear,visibility 0s .12s}
.vk-tl-panel.on{visibility:visible;opacity:1;transition:opacity .2s linear}
.vk-tl-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:20px}
.vk-tl-names{min-width:0;display:flex;flex-wrap:wrap;gap:2px 12px;font:500 15px/20px Inter,system-ui,sans-serif;letter-spacing:-.01em}
.vk-tl-names b{font-weight:500;color:var(--vk-ink3);margin-right:6px}
.vk-tl-key{flex:none;display:flex;gap:12px;font:400 12px/20px Inter,system-ui,sans-serif;color:var(--vk-ink3)}
.vk-tl-key span{display:inline-flex;align-items:center;gap:6px}
.vk-tl-key i{width:10px;height:10px;border-radius:3px}
.vk-tl-key .w{background:var(--vk-ink)}
.vk-tl-key .r,.vk-tl-rest{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--vk-ink) 16%,transparent) 0 1px,transparent 1px 6px),color-mix(in srgb,var(--vk-ink) 3%,transparent)}

/* The plot: columns as wide as their seconds. A work column holds its label and bar in its lane. */
.vk-tl-plot{position:relative;display:flex;gap:8px;height:148px;margin-top:8px}
.vk-tl-tags{flex:none;display:grid;grid-template-rows:1fr 1fr;width:18px;font:500 11px/14px Inter,system-ui,sans-serif;color:var(--vk-ink3)}
.vk-tl-tags b{font-weight:500;align-self:end;padding-bottom:2px}
.vk-tl-track{flex:1;min-width:0;display:flex;gap:3px}
.vk-tl-col{flex:1 1 0;min-width:0;display:grid;grid-template-rows:1fr}
.lanes2 .vk-tl-col{grid-template-rows:1fr 1fr}
.vk-tl-cell{grid-row:var(--row,1);min-height:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;--bar:104px}
.lanes2 .vk-tl-cell{--bar:30px}
.vk-tl-top{display:grid;justify-items:center;padding-bottom:4px;font:500 12px/14px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.vk-tl-top b{font-weight:500}.vk-tl-top b small{font:inherit;font-weight:400;color:var(--vk-ink3);margin-left:2px}
.vk-tl-top i{font-style:normal;font-weight:400;color:var(--vk-ink3)}
.lanes2 .vk-tl-top{font-size:11px;line-height:13px;padding-bottom:4px}
.vk-tl-bar{width:100%;height:calc(var(--bar) * var(--h,1));border-radius:7px;background:var(--vk-ink);transform-origin:50% 100%}
.drop1 .vk-tl-bar{opacity:.62}.drop2 .vk-tl-bar{opacity:.38}
.vk-tl-rest{grid-row:1/-1;align-self:end;height:104px;border-radius:7px;display:grid;place-items:center;overflow:hidden}
.lanes2 .vk-tl-rest{height:calc(100% - 22px)}
.vk-tl-rest b{font:500 12px/16px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--vk-ink2);padding:1px 6px;border-radius:8px;background:var(--vk-card)}

/* A rep goal's target: a line the goes climb to. */
.vk-tl-goal{position:absolute;left:0;right:0;bottom:104px;border-top:1px dashed color-mix(in srgb,var(--vk-ink) 34%,transparent);pointer-events:none}
.vk-tl-goal b{position:absolute;left:0;bottom:4px;font:500 12px/14px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--vk-ink2)}

/* The rail under the plot fills as the block plays: the one accent. */
.vk-tl-rail{height:3px;margin-top:12px;border-radius:2px;background:var(--vk-muted);overflow:hidden}
.vk-tl.tagged .vk-tl-rail{margin-left:26px}
.vk-tl-rail i{display:block;height:100%;border-radius:2px;background:var(--vk-grad);transform-origin:0 50%;transform:scaleX(var(--p,1))}
[dir="rtl"] .vk-tl-rail i{transform-origin:100% 50%}

/* Totals. */
.vk-tl .vk-tl-sum{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}
.vk-tl-sum>div{display:grid;gap:2px;padding:0 0 0 20px;border-left:1px solid var(--vk-line)}
.vk-tl-sum>div:first-child{padding-left:0;border-left:0}
.vk-tl-sum dd{font:500 30px/34px Geist,Inter,system-ui,sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.vk-tl-sum dt{font:400 13px/18px Inter,system-ui,sans-serif;color:var(--vk-ink3)}

/* Playing: a column appears as time reaches it. */
.vk-tl-col{transition:opacity .2s linear}
.vk-tl-col .vk-tl-bar{transition:transform .32s var(--vk-ease)}
.vk-tl-col.wait{opacity:0}
.vk-tl-col.wait .vk-tl-bar{transform:scaleY(.6)}

@media (max-width:420px){
  .vk-tl-card{padding:16px 16px 16px;border-radius:28px}
  .vk-tl-tabs{margin-bottom:16px}
  .vk-tl-tabs button{padding:4px 8px}
  .vk-tl-track{gap:2px}
  .vk-tl-sum dd{font-size:28px;line-height:32px}
}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}