/* Tasks: a feature page built on Linear's task devices (board with cards landing, issue drawer with its activity, a
   timeline with a today line, hatching and dependency wires, grouped views). 1024 column, wider for the board and the
   timeline. Synthetic data only. Prefix tk-. */

.tk-col { max-width: 1024px; margin: 0 auto; }
.tk-center { text-align: center; }
.tk-mono { font-family: "Geist Mono", monospace; font-weight: 400 !important; font-size: 12px; }
.tk-mr { background: #3b4a5c !important; color: #eef3f8 !important; }
.tk-so { background: #3f4a3a !important; color: #eef4ea !important; }
.tk-al { background: #4a3d52 !important; color: #f3eef6 !important; }
:root[data-theme="light"] .tk-mr { background: #dfe6ee !important; color: #23303d !important; }
:root[data-theme="light"] .tk-so { background: #e2eadb !important; color: #2a3424 !important; }
.ai-mark { --ai-mark-h: 9px; }

/* status icons (Linear's five), priority bars, label chips */
.tk-st { width: 14px; height: 14px; flex: none; display: inline-grid; place-items: center; color: var(--fg-3); }
.tk-st svg { width: 14px; height: 14px; display: block; }
.tk-st[data-s="progress"] { color: var(--amber); }
.tk-st[data-s="done"] { color: var(--ok); }
.tk-st[data-s="canceled"] { color: var(--fg-4); }
.tk-prio { width: 14px; height: 14px; flex: none; display: inline-flex; align-items: flex-end; justify-content: center; gap: 1.5px; padding-bottom: 2px; }
.tk-prio::before, .tk-prio::after, .tk-prio i { content: ""; width: 2.5px; border-radius: 1px; background: var(--fg-4); }
.tk-prio::before { height: 4px; } .tk-prio i { height: 7px; } .tk-prio::after { height: 10px; }
.tk-prio[data-p="0"] { align-items: center; padding: 0; } .tk-prio[data-p="0"]::before { width: 9px; height: 1.5px; } .tk-prio[data-p="0"]::after, .tk-prio[data-p="0"] i { display: none; }
.tk-prio[data-p="1"]::before, .tk-prio[data-p="2"]::before, .tk-prio[data-p="2"] i, .tk-prio[data-p="3"]::before, .tk-prio[data-p="3"] i, .tk-prio[data-p="3"]::after { background: var(--fg-2); }
.tk-lb { height: 22px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg-2); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line-3); }
.tk-lb::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--lb, var(--fg-4)); }
/* kinds are words, not colours: every label carries the same grey dot */
.tk-lb { --lb: var(--fg-3); }
.tk-tog { width: 26px; height: 15px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); position: relative; flex: none; transition: background var(--dur-hover); }
.tk-tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 999px; background: var(--fg-3); transition: transform var(--dur-hover) var(--ease-enter), background var(--dur-hover); }
.tk-tog.on { background: var(--fg-2); box-shadow: none; }
.tk-tog.on::after { transform: translateX(11px); background: var(--bg); }
.tk-nr { width: 20px; height: 20px; border-radius: 5px; display: inline-grid; place-items: center; font-size: 9px; font-weight: 600; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-2); }

/* ---------- hero ---------- */
.tk-hero { position: relative; padding-top: 168px; overflow: clip; }
.tk-eyebrow { justify-content: center; margin-bottom: 20px; color: var(--fg-2); }
.tk-h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 560; }
.tk-lede { margin: 24px auto 0; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--fg-3); }
.tk-pill { margin-top: 32px; }

.tk-boardwrap { position: relative; max-width: 1200px; height: 600px; margin: 80px auto 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.tk-boardwrap::before { content: ""; position: absolute; left: 50%; top: -90px; width: 120%; height: 120%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 30%, color-mix(in srgb, var(--fg-2) 9%, transparent), transparent 70%); }
.tk-boardwin { left: 0; right: 0; top: 0; height: 600px; }
.tk-tabs { height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.tk-tab { height: 26px; padding: 0 10px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow var(--dur-hover), background var(--dur-hover); }
.tk-tab.on { color: var(--fg-1); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.tk-tab b { font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.tk-sugtab.hot { box-shadow: inset 0 0 0 1px var(--cu-line); background: var(--cu-tint); }
.tk-tools { margin-left: auto; display: flex; gap: 6px; }

.tk-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; align-items: start; }
.tk-colm { border-radius: 10px; background: color-mix(in srgb, var(--bg-2) 55%, transparent); padding: 0 6px 6px; min-height: 120px; }
.tk-colm-h { height: 38px; padding: 0 6px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-1); }
.tk-colm-h span { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.tk-colm-h .plus { margin-left: auto; color: var(--fg-4); font-size: 15px; }
.tk-cards { display: flex; flex-direction: column; gap: 6px; }
.tk-card { position: relative; padding: 10px 12px 11px; border-radius: 9px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px #0000002e; font-size: 12.5px; display: flex; flex-direction: column; gap: 8px; will-change: transform; }
:root[data-theme="light"] .tk-card { background: #fff; }
.tk-card-h { display: flex; align-items: center; gap: 8px; color: var(--fg-3); font-family: "Geist Mono", monospace; font-size: 11px; }
.tk-card-h .ap-av { margin-left: auto; width: 18px; height: 18px; font-size: 8px; }
.tk-card-t { color: var(--fg-1); font-weight: 500; line-height: 1.4; }
.tk-card-m { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; color: var(--fg-3); font-size: 11.5px; }
.tk-card-m .tk-lb { height: 20px; padding: 0 7px; font-size: 11px; }
.tk-card-m .tk-prio { margin-right: 1px; }
.tk-subc { height: 20px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; box-shadow: inset 0 0 0 1px var(--line-3); font-size: 11px; color: var(--fg-2); }
.tk-subc svg { width: 11px; height: 11px; }
.tk-card .late { color: var(--amber); }
.tk-card.lift { z-index: 20; box-shadow: inset 0 0 0 1px var(--line-3), 0 18px 40px #00000073; }
.tk-card.ghost { opacity: .35; }
.tk-card.sug { box-shadow: inset 0 0 0 1px var(--cu-line); background: color-mix(in srgb, var(--cu-tint-2) 80%, var(--bg-1)); }
.tk-card.sug .tk-card-sug { display: flex; }
.tk-card-sug { display: none; align-items: center; gap: 6px; color: var(--cu); font-size: 11.5px; }
.tk-card-sug .ap-btn { margin-left: auto; height: 22px; font-size: 11.5px; padding: 0 8px; }
.tk-card.drop { animation: tk-drop var(--dur-swap) var(--ease-spring) both; }
@keyframes tk-drop { from { opacity: 0; transform: translateY(-18px) scale(.97); filter: blur(3px); } }
.tk-card.ph-c .ph { height: 7px; }

.tk-toast { position: absolute; left: 50%; bottom: 120px; z-index: 9; transform: translate(-50%, 12px); display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 12px; background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px #0000008c; font-size: 12.5px; color: var(--fg-2); opacity: 0; filter: blur(2px); transition: opacity var(--dur-enter) var(--ease-enter), transform var(--dur-enter) var(--ease-enter), filter var(--dur-enter); }
.tk-toast.on { opacity: 1; transform: translate(-50%, 0); filter: none; }

/* ---------- sections ---------- */
.tk-sec { padding-top: 176px; }
.tk-hero + .tk-sec { padding-top: 112px; }
.tk-sec-sm { padding-top: 128px; }
.tk-tt { max-width: 780px; font-size: 24px; line-height: 1.33; letter-spacing: -0.018em; color: var(--fg-3); font-weight: 450; }
.tk-tt span { color: var(--fg-1); }
.tk-under { margin-top: 24px; color: var(--fg-3); font-size: 15px; max-width: 64ch; }
.tk-stage { margin-top: 56px; }
.tk-stage .stage2-in { height: 780px; transition: height var(--dur-swap) var(--ease-enter); }
.tk-stage .stage2-in:has(.tk-raisecard.done) { height: 620px; }
.tk-stage .stage2-in::after { background: linear-gradient(to top, var(--bg) 0 4%, transparent 34%); }

/* ---------- 1: raised from a test ---------- */
.tk-sugwin { right: 4%; top: 48px; width: 52%; height: 440px; }
.tk-sugrow { height: 50px; padding: 0 16px; display: grid; grid-template-columns: 14px 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line-2); font-size: 12.5px; transition: opacity var(--dur-enter), background var(--dur-enter); }
.tk-sugrow .nm { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-sugrow.tk-dup { height: 34px; margin-top: -8px; border-bottom: 1px solid var(--line-2); }
.tk-sugrow.tk-dup .nm { color: var(--fg-3); font-size: 12px; }
.tk-sugrow.gone { opacity: .25; }
.tk-sugrow.ph-r .ph { width: 60%; }
.tk-testwin { left: 4%; top: 96px; width: 60%; height: auto; max-height: 600px; }
.tk-back { display: inline-flex; align-items: center; gap: 4px; }
.tk-back svg { width: 12px; height: 12px; }
.tk-test { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tk-test > *, .tk-res > * { min-width: 0; }
.tk-res { padding: 14px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-3); }
.tk-res-h { display: flex; align-items: center; gap: 10px; }
.tk-res-h b { font-weight: 500; font-size: 13.5px; }
.tk-res-h .ap-badge { margin-left: auto; }
.tk-src { margin-top: 10px; }
.tk-res p { margin-top: 8px; color: var(--fg-3); font-size: 12.5px; line-height: 1.55; }
.tk-raisecard { border-radius: 10px; background: var(--cu-tint-2); box-shadow: inset 0 0 0 1px var(--cu-line); overflow: hidden; transition: background var(--dur-enter), box-shadow var(--dur-enter); }
.tk-raise-h { height: 40px; padding: 0 8px 0 14px; display: flex; align-items: center; gap: 8px; color: var(--cu); font-size: 12.5px; border-bottom: 1px solid var(--cu-line); }
.tk-raise-h .ai-mark { --ai-mark-h: 10px; }
.tk-acts { margin-left: auto; display: flex; gap: 2px; transition: opacity var(--dur-hover); }
.tk-ib { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: var(--fg-2); transition: background var(--dur-hover), transform var(--dur-hover); }
.tk-ib svg { width: 14px; height: 14px; }
.tk-ib.press { background: var(--bg-3); transform: scale(.92); color: var(--fg-1); }
.tk-raise-b { padding: 14px 16px 16px; display: grid; gap: 12px; font-size: 13px; max-height: 300px; overflow: hidden; transition: max-height var(--dur-swap) var(--ease-enter), opacity var(--dur-enter), padding var(--dur-swap) var(--ease-enter); }
.tk-raise-t { display: flex; gap: 10px; align-items: baseline; }
.tk-raise-t span { color: var(--fg-3); font-size: 12px; }
.tk-raise-t b { font-weight: 500; }
.tk-raise-body { padding-left: 12px; border-left: 2px solid var(--cu-line); display: grid; gap: 8px; color: var(--fg-1); line-height: 1.55; }
.tk-raise-m { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--fg-3); font-size: 12px; }
.tk-raise-done { height: 0; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); opacity: 0; overflow: hidden; transition: height var(--dur-enter) var(--ease-enter), opacity var(--dur-enter) var(--dur-hover); }
.tk-raise-done b { font-weight: 500; color: var(--fg-1); }
.tk-open { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--fg-1); text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 3px; }
.tk-open svg { width: 11px; height: 11px; }
.tk-raisecard.done .tk-raise-b { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.tk-raisecard.done .tk-raise-done { height: 46px; opacity: 1; }
.tk-raisecard.done .tk-acts { opacity: 0; }

/* ---------- 2: the drawer, one wide window, fully sharp ---------- */
.tk-drpanel { position: relative; margin-top: 56px; }
.tk-drpanel::before { content: ""; position: absolute; left: 50%; top: -120px; width: 130%; height: 80%; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 50% 40%, color-mix(in srgb, var(--fg-2) 10%, transparent), transparent 70%); }
.tk-drawwin { position: relative; left: auto; top: auto; border-radius: 14px; }
.tk-cap { margin-top: 24px; max-width: 560px; }
.tk-cap h3 { font-size: 15px; font-weight: 500; }
.tk-cap p { margin-top: 4px; color: var(--fg-3); font-size: 15px; }
.tk-crumb { width: 11px; height: 11px; color: var(--fg-4); }
.tk-dr { display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
.tk-dr-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--fg-1); min-width: 0; }
.tk-dr-main h4 { margin: 0 0 4px; font-size: 21px; font-weight: 560; letter-spacing: -0.02em; line-height: 1.25; }
.tk-dr-main ul { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
.tk-dr-main .ap-ev { vertical-align: 1px; }
.tk-links { margin-top: 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-3); overflow: hidden; }
.tk-links-h { height: 40px; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
.tk-links-h svg { width: 14px; height: 14px; color: var(--fg-3); }
.tk-link { height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; transition: height var(--dur-enter) var(--ease-enter), opacity var(--dur-enter), background var(--dur-swap); overflow: hidden; }
.tk-link .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-link .r { margin-left: auto; color: var(--fg-3); font-size: 12px; white-space: nowrap; }
.tk-link.off { height: 0; opacity: 0; }
.tk-link.flash { background: var(--ok-tint); transition: background var(--dur-hover) var(--ease-swap); }
.tk-act { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tk-act-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.tk-act-h b { font-weight: 500; }
.tk-act-h .r { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--fg-3); font-size: 12.5px; }
.tk-ev { height: 32px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--fg-3); opacity: 0; transform: translateY(6px); transition: opacity var(--dur-enter) var(--ease-enter), transform var(--dur-enter) var(--ease-enter); }
.tk-ev.in { opacity: 1; transform: none; }
.tk-ev b { color: var(--fg-1); font-weight: 500; }
.tk-ev .who { width: 18px; display: inline-grid; place-items: center; flex: none; }
.tk-ev .who .ap-av { width: 18px; height: 18px; font-size: 7.5px; }
.tk-ev .who .ai-mark { --ai-mark-h: 8px; }
.tk-ev time { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-ev.ai b { color: var(--cu); }
.tk-com { margin: 6px 0; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-3); font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: opacity var(--dur-enter) var(--ease-enter), transform var(--dur-enter) var(--ease-enter); }
.tk-com.in { opacity: 1; transform: none; }
.tk-com-h { display: flex; align-items: center; gap: 8px; color: var(--fg-3); }
.tk-com-h b { color: var(--fg-1); font-weight: 500; }
.tk-com-h .ap-av { width: 18px; height: 18px; font-size: 7.5px; }
.tk-com p { margin-top: 6px; color: var(--fg-1); }
.tk-dr-side { border-left: 1px solid var(--line-2); padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; background: color-mix(in srgb, var(--bg-2) 30%, transparent); }
.tk-lbl { color: var(--fg-3); font-size: 12px; margin-bottom: 4px; }
.tk-lbl.tk-gap { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tk-prop { height: 30px; display: flex; align-items: center; gap: 10px; color: var(--fg-1); transition: color var(--dur-hover); }
.tk-prop svg { width: 14px; height: 14px; color: var(--fg-3); flex: none; }
.tk-prop .ap-av { width: 18px; height: 18px; font-size: 7.5px; }
.tk-prop em { font-style: normal; color: var(--fg-4); font-size: 12px; }
.tk-prop span { transition: color var(--dur-hover) var(--ease-swap); }
.tk-prop.flash span { color: var(--ok); }
.tk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-side-n { color: var(--fg-3); font-size: 12px; line-height: 1.5; }

/* ---------- 2b: every task on one field ---------- */
.tk-fd { position: relative; max-width: 1200px; margin: 64px auto 0; padding: 32px 40px 0; border-radius: 20px;
  background: radial-gradient(70% 90% at 50% 0%, #1d1e21 0%, #121315 40%, var(--bg) 85%); box-shadow: inset 0 1px 0 #ffffff12, inset 0 0 0 1px #ffffff0a; overflow: hidden; }
:root[data-theme="light"] .tk-fd { background: radial-gradient(70% 90% at 50% 0%, #f1f1f3 0%, #f7f7f8 50%, var(--bg) 100%); box-shadow: inset 0 0 0 1px #0000000d; }
.tk-fd-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 13px; color: var(--fg-3); flex-wrap: wrap; }
.tk-fd-day { height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-fd-n { margin-left: auto; display: inline-flex; gap: 18px; flex-wrap: wrap; }
.tk-fd-n span { white-space: nowrap; }
.tk-fd-n b { color: var(--fg-1); font-weight: 560; font-size: 14px; font-variant-numeric: tabular-nums; margin-right: 5px; }
.tk-fd-n .late b { color: var(--amber); }
.tk-fd-row { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.tk-fd-scroll { min-width: 0; }
.tk-fd-field { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.tk-fd-names { padding-top: 40px; }
.tk-fd-ln { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 8px; font-size: 12px; color: var(--fg-3); border-top: 1px solid var(--line-2); }
.tk-fd-ln b { display: flex; align-items: center; gap: 7px; color: var(--fg-1); font-weight: 500; font-size: 12.5px; }
.tk-fd-ln b span { color: var(--fg-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.tk-fd-ln.sug { border-top: 0; }
.tk-fd-ln.sug b { color: var(--fg-2); }
.tk-fd-ln.first { border-top: 1px dashed var(--line-3); }
.tk-fd-plot { position: relative; }
.tk-fd-grid { position: absolute; inset: 0; pointer-events: none; }
.tk-fd-band { position: absolute; top: 0; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 7px; background: color-mix(in srgb, var(--bg-3) 80%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11.5px; color: var(--fg-2); white-space: nowrap; overflow: hidden; }
.tk-fd-band em { font-style: normal; color: var(--fg-4); }
.tk-fd-target { position: absolute; top: 34px; bottom: 22px; width: 0; border-left: 1px dashed var(--line-3); }
.tk-fd-lane { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.tk-fd-lane.first { border-top: 1px dashed var(--line-3); }
.tk-fd-wk { position: absolute; bottom: 0; height: 20px; font-size: 10.5px; color: var(--fg-4); transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-fd-now { position: absolute; top: 34px; bottom: 22px; width: 0; z-index: 1; pointer-events: none; transition: left var(--dur-hover) linear; }
.tk-fd-now::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px; background: var(--fg-3); }
.tk-fd-now::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2000px; background: linear-gradient(to left, color-mix(in srgb, var(--fg-1) 3%, transparent), transparent 220px); }
.tk-fd-dots { position: absolute; inset: 0; z-index: 2; }
.tk-fd-d { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 99px; background: var(--fg-3); cursor: default;
  transition: left var(--dur-enter) var(--ease-enter), top var(--dur-enter) var(--ease-enter), opacity var(--dur-enter), background var(--dur-hover), box-shadow var(--dur-hover), transform var(--dur-hover); }
.tk-fd-d.off { opacity: 0; transform: scale(.3); }
.tk-fd-d.sug { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-2); }
.tk-fd-d.done { opacity: .45; }
.tk-fd-d.cx { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-4); }
.tk-fd-d.cx::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--fg-4); transform: rotate(-45deg); }
.tk-fd-d.late { box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 3.5px var(--amber); }
.tk-fd-d.new { transform: scale(1.6); }
.tk-fd-d:hover, .tk-fd-d.hov { transform: scale(1.5); z-index: 3; opacity: 1; }
.tk-fd-tip { position: absolute; z-index: 5; width: 260px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px #00000073; font-size: 12px; color: var(--fg-3); line-height: 1.45; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity var(--dur-hover), transform var(--dur-hover); }
:root[data-theme="light"] .tk-fd-tip { background: #fff; box-shadow: inset 0 0 0 1px #00000014, 0 12px 30px #0000001f; }
.tk-fd-tip.on { opacity: 1; transform: none; }
.tk-fd-tip b { display: block; color: var(--fg-1); font-weight: 500; font-size: 12.5px; margin: 4px 0 6px; }
.tk-fd-tip .h { display: flex; align-items: center; gap: 8px; }
.tk-fd-tip .h .ap-key { font-size: 10.5px; height: 18px; }
.tk-fd-tip .h span:last-child { margin-left: auto; }
.tk-fd-tip p + p { margin-top: 2px; }
.tk-fd-log { padding: 16px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 40px #0000004d; min-height: 100%; font-size: 12.5px; }
:root[data-theme="light"] .tk-fd-log { background: #fff; box-shadow: inset 0 0 0 1px #00000014, 0 12px 32px #00000012; }
.tk-fd-log-h { color: var(--fg-1); font-weight: 500; font-size: 13px; margin-bottom: 8px; }
.tk-fd-ev { padding: 9px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 9px; align-items: start; color: var(--fg-2); line-height: 1.45; animation: tk-fd-in var(--dur-enter) var(--ease-spring); }
.tk-fd-ev .who { padding-top: 1px; display: grid; place-items: center; }
.tk-fd-ev .ap-av { width: 18px; height: 18px; font-size: 7.5px; }
.tk-fd-ev .rule { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.tk-fd-ev .rule svg { width: 11px; height: 11px; }
.tk-fd-ev time { grid-column: 2; color: var(--fg-4); font-size: 11.5px; }
.tk-fd-ev b { color: var(--fg-1); font-weight: 500; }
@keyframes tk-fd-in { from { opacity: 0; transform: translateY(-4px); } }
.tk-fd-ctl { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.tk-fd-play { appearance: none; border: 0; width: 34px; height: 34px; flex: none; border-radius: 99px; display: grid; place-items: center; background: var(--bg-3); color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); cursor: pointer; }
.tk-fd-play svg { width: 14px; height: 14px; }
.tk-fd-play .pl { display: none; }
.tk-fd-play.paused .pl { display: block; } .tk-fd-play.paused .pz { display: none; }
.tk-fd-range { flex: 1; min-width: 0; accent-color: var(--fg-3); height: 20px; cursor: pointer; }
.tk-fd-tabs { margin: 24px -40px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tk-fd-tabs button { appearance: none; border: 0; background: none; font: inherit; text-align: left; color: var(--fg-1); padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; opacity: .4; transition: opacity var(--dur-hover); position: relative; }
.tk-fd-tabs button + button { border-left: 1px solid var(--line); }
.tk-fd-tabs b { font-weight: 500; font-size: 15px; }
.tk-fd-tabs span { color: var(--fg-3); font-size: 13.5px; line-height: 1.45; }
.tk-fd-tabs button:hover { opacity: .75; }
.tk-fd-tabs button[aria-pressed="true"] { opacity: 1; }
.tk-fd-tabs button[aria-pressed="true"]::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: var(--fg-1); }
.tk-fd-tabs button:focus-visible { outline: 2px solid var(--fg-2); outline-offset: -4px; border-radius: 8px; }
.tk-fd-legend { margin-top: 24px; }
.tk-fd-k { width: 9px; height: 9px; border-radius: 99px; background: var(--fg-3); }
.tk-fd-k.done { opacity: .45; }
.tk-fd-hint { color: var(--fg-4); }
.tk-fd-k.sug { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-2); }
.tk-fd-k.late { background: var(--fg-3); box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--amber); }

/* ---------- 3: the timeline ---------- */
.tk-legend { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--fg-3); font-size: 13px; }
.tk-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 4: views ---------- */
.tk-views { position: relative; margin-top: 56px; height: 560px;
  -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.tk-viewwin { left: 0; right: 0; top: 0; height: 560px; }
.tk-kbd { display: flex; gap: 4px; }
.tk-kbd kbd { font-family: "Geist Mono", monospace; font-size: 10.5px; height: 18px; min-width: 18px; padding: 0 5px; border-radius: 4px; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-3); }
.tk-vlist { transition: opacity var(--dur-hover); }
.tk-vlist.swap { opacity: 0; }
.tk-vg { height: 36px; padding: 0 16px; display: flex; align-items: center; gap: 9px; background: color-mix(in srgb, var(--bg-2) 60%, transparent); border-bottom: 1px solid var(--line-2); color: var(--fg-1); font-size: 12.5px; }
.tk-vg span { color: var(--fg-3); }
.tk-vg svg { width: 13px; height: 13px; color: var(--fg-3); }
.tk-vr { height: 42px; padding: 0 16px 0 24px; display: grid; grid-template-columns: 16px 46px 16px minmax(0, 1fr) auto 60px 20px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.tk-vr .id { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3); }
.tk-vr .nm { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-vr .lbs { display: flex; gap: 5px; }
.tk-vr .lbs .tk-lb { height: 20px; font-size: 11px; padding: 0 7px; }
.tk-vr .dt { color: var(--fg-3); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-vr .ap-av { width: 18px; height: 18px; font-size: 7.5px; }
.tk-vtabs { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.tk-vtabs button { all: unset; cursor: pointer; padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; opacity: .45; transition: opacity var(--dur-hover); position: relative; }
.tk-vtabs button::before { content: ""; position: absolute; left: 0; right: 16px; top: -1px; height: 1px; background: var(--fg-1); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-hover) var(--ease-enter); }
.tk-vtabs button[aria-selected="true"] { opacity: 1; }
.tk-vtabs button[aria-selected="true"]::before { transform: none; }
.tk-vtabs button:focus-visible { outline: 2px solid var(--fg-3); outline-offset: 4px; border-radius: 4px; }
@media (any-hover: hover) { .tk-vtabs button:hover { opacity: .8; } }
.tk-vtabs b { font-size: 15px; font-weight: 500; color: var(--fg-1); }
.tk-vtabs span { font-size: 14px; color: var(--fg-3); }

/* ---------- also, related, pre-footer ---------- */
.tk-pre { margin-top: 128px; padding: 96px 0; border-top: 1px solid var(--line); }
.tk-pre-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tk-pre h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.026em; }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .tk-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-board .tk-colm:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .tk-sugwin { display: none; }
  .tk-testwin { left: 16px; right: 16px; width: auto; top: 56px; }
  .tk-dr { grid-template-columns: 1fr; }
  .tk-dr-side { display: none; }
  .tk-fd-row { grid-template-columns: 1fr; }
  .tk-fd-log { min-height: 0; }
  .tk-fd-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-fd-tabs button:nth-child(3) { border-left: 0; }
  .tk-fd-tabs button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tk-vtabs { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .tk-vr { grid-template-columns: 16px 40px 16px minmax(0, 1fr) 52px 20px; }
  .tk-vr .lbs { display: none; }
}
@media (max-width: 700px) {
  .tk-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-board .tk-colm:nth-child(4) { display: none; }
  .tk-boardwrap, .tk-boardwin { height: 560px; }
  .tk-boardwin .win-bar > span:not(.r) { display: none; }
  .tk-tools { display: none; }
  .tk-tab:not(.on):not(.tk-sugtab) { display: none; }
}
@media (max-width: 640px) {
  .tk-hero { padding-top: 132px; }
  .tk-sec { padding-top: 120px; }
  .tk-tt { font-size: 20px; }
  .tk-h1 { font-size: 34px; }
  .tk-stage .stage2-in { height: 760px; }
  .tk-stage .stage2-in:has(.tk-raisecard.done) { height: 620px; }
  .tk-testwin { top: 32px; height: auto; max-height: 720px; }
  .tk-res-h { flex-wrap: wrap; }
  .tk-res-h .ap-badge { margin-left: 0; }
  .tk-link .r { display: none; }
  .tk-ev time { display: none; }
  .tk-fd { padding: 24px 16px 0; border-radius: 16px; }
  .tk-fd-n { margin-left: 0; gap: 12px; }
  .tk-fd-field { grid-template-columns: 82px minmax(0, 1fr); }
  .tk-fd-ln { font-size: 10.5px; }
  .tk-fd-ln b { font-size: 11.5px; gap: 5px; flex-wrap: wrap; line-height: 1.25; }
  .tk-fd-ln b .tk-st, .tk-fd-ln b .ai-mark { display: none; }
  .tk-fd-band { padding: 0 5px; font-size: 10.5px; }
  .tk-fd-band em, .tk-fd-wk.odd { display: none; }
  .tk-fd-tabs { margin: 24px -16px 0; }
  .tk-fd-tabs button { padding: 16px 16px 18px; }
  .tk-fd-tabs span { font-size: 12.5px; }
  .tk-vtabs span { display: none; }
  .tk-vr { grid-template-columns: 16px 16px minmax(0, 1fr) 46px; padding-left: 16px; }
  .tk-vr .id, .tk-vr .ap-av { display: none; }
  .tk-views, .tk-viewwin { height: 520px; }
  .tk-toast { bottom: 90px; white-space: nowrap; }
  /* phone QA: captions below their scene, readable scene text, touch-size controls, a timeline you swipe */
  .tk-sec-sm { padding-top: 88px; }
  .tk-pre { margin-top: 88px; padding: 72px 0; }
  .stage2-cap { position: static; max-width: none; padding: 18px 12px 12px; }
  .tk-card-h .ap-av, .tk-ev .who .ap-av, .tk-com-h .ap-av, .tk-prop .ap-av, .tk-fd-ev .ap-av { width: 20px; height: 20px; font-size: 9.5px; }
  .tk-ev .who { width: 20px; }
  .tk-fd-ln, .tk-fd-band, .tk-fd-wk, .tk-kbd kbd { font-size: 11px; }
  .tk-fd-play { width: 40px; height: 40px; }
  .tk-fd-range { height: 40px; }
  .tk-fd-d::before { content: ""; position: absolute; inset: -8px; }
  .tk-fd-tip { width: min(260px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .tk-fd-d, .tk-fd-now, .tk-fd-ev { transition: none !important; animation: none !important; }
  .tk-ev, .tk-com { transition: none !important; animation: none !important; }
}

/* ---------- round 2 (bold, calm): milestone strip, quieter results, the views side panel ---------- */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.tk-boardwrap::before, .tk-drpanel::before { display: none; }
.tk-boardwrap, .tk-boardwin { height: 660px; }
.tk-ms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.tk-m { padding: 12px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 12.5px; cursor: default; }
.tk-m + .tk-m { box-shadow: inset 1px 0 0 var(--line-2); }
.tk-m b { font-weight: 500; color: var(--fg-2); }
.tk-m span { grid-column: 2; color: var(--fg-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.tk-m.now b { color: var(--fg-1); }
.tk-m.now .tk-ring { --c: var(--fg-1); }
.tk-m.late span { color: var(--amber); }
.tk-ring { --c: var(--fg-2); width: 13px; height: 13px; flex: none; display: inline-block; border-radius: 99px; background: conic-gradient(var(--c) calc(var(--p, 0) * 360deg), var(--line-3) 0); -webkit-mask: radial-gradient(circle, transparent 3.4px, #000 3.9px); mask: radial-gradient(circle, transparent 3.4px, #000 3.9px); transition: --p var(--dur-swap) var(--ease-swap); }
.tk-ring[data-done] { --c: var(--ok); }
.tk-hide-s { }
.tk-res-f { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--fg-3); font-size: 12.5px; }
.tk-res-r { height: 22px; padding: 0 8px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); white-space: nowrap; }
.tk-res-r::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: var(--red); }
.tk-raise-m { display: flex; align-items: center; gap: 10px; }
.tk-raise-m .ap-av, .tk-raise-done .ap-av { width: 18px; height: 18px; font-size: 8.5px; }
.tk-raise-done { gap: 8px; }
/* views: the side panel slides in over the list */
.tk-vr { cursor: pointer; transition: background var(--dur-hover); }
.tk-vr.sel { background: color-mix(in srgb, var(--bg-3) 80%, transparent); }
@media (any-hover: hover) { .tk-vr:hover { background: color-mix(in srgb, var(--bg-2) 80%, transparent); } }
.tk-vpanel { position: absolute; top: 44px; right: 0; bottom: 0; width: 280px; z-index: 5; padding: 16px 18px; background: var(--bg-1); box-shadow: inset 1px 0 0 var(--line-3), -24px 0 48px #0000004d; transform: translateX(100%); transition: transform var(--dur-swap) var(--ease-swap); }
:root[data-theme="light"] .tk-vpanel { background: #fff; box-shadow: inset 1px 0 0 var(--line-3), -24px 0 48px #0000000f; }
.tk-vpanel.on { transform: none; }
.tk-vp-h { display: flex; justify-content: space-between; align-items: center; color: var(--fg-3); font-size: 12px; }
.tk-vp-h .id { font-family: "Geist Mono", monospace; font-size: 11px; }
.tk-vp-x { height: 18px; padding: 0 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-3); font-size: 10.5px; line-height: 18px; }
.tk-vpanel h5 { margin: 10px 0 14px; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.tk-vpanel .tk-prop { height: 32px; }
.tk-vpanel .tk-prop .ap-av { width: 18px; height: 18px; font-size: 8.5px; }
.tk-vp-l { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) {
  .tk-hide-s { display: none !important; }
  .tk-m { padding: 10px 8px; grid-template-columns: 1fr; row-gap: 3px; }
  .tk-m span { grid-column: 1; font-size: 11px; }
  .tk-m b { font-size: 11.5px; }
  .tk-vpanel { width: 78%; }
}
@media (prefers-reduced-motion: reduce) { .tk-vpanel, .tk-ring { transition: none; } }

/* ================= NEW (invention round): triage Suggested with the keyboard ================= */
.tk-kb { max-width: 1120px; margin: 56px auto 0; padding: 0 var(--outer); }
.tk-kb-win { position: relative; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 30px 80px #00000059; overflow: hidden; font-size: 13px; outline: none; transition: box-shadow var(--dur-hover); }
:root[data-theme="light"] .tk-kb-win { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 24px 60px #0000001a; }
.tk-kb-win:focus-visible, .tk-kb-win.live { box-shadow: inset 0 0 0 1px var(--fg-4), 0 30px 80px #00000059; }
.tk-kb-bar { height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); font-size: 12.5px; }
.tk-kb-bar > b { color: var(--fg-1); font-weight: 500; font-size: 13.5px; }
.tk-kb-cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--bg-3); color: var(--fg-2); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tk-kb-crumb { margin-left: 6px; }
.tk-kb-tally { margin-left: auto; display: flex; gap: 16px; }
.tk-kb-tally > span { display: inline-flex; align-items: center; gap: 6px; }
.tk-kb-tally b { color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1ch; }
.tk-kb-tally b.bump { animation: tk-bump var(--dur-swap) var(--ease-spring); }
@keyframes tk-bump { 0% { transform: translateY(-6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.tk-kb-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: 420px; }
.tk-kb-list { position: relative; border-right: 1px solid var(--line-2); overflow: hidden; }
.tk-kb-row { position: relative; height: 56px; padding: 0 20px; display: grid; grid-template-columns: 14px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line-2); overflow: hidden; cursor: default;
  transition: height var(--dur-enter) var(--ease-spring), opacity var(--dur-enter), background var(--dur-hover), transform var(--dur-enter) var(--ease-spring); }
.tk-kb-row .ai-mark { --ai-mark-h: 9px; }
.tk-kb-row .k { font-family: "Geist Mono", monospace; font-size: 11.5px; color: var(--fg-3); }
.tk-kb-row .nm { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-kb-row .tk-lb { height: 20px; font-size: 11px; padding: 0 7px; }
.tk-kb-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--fg-1); opacity: 0; transition: opacity var(--dur-hover); }
.tk-kb-row.cur { background: color-mix(in srgb, var(--fg-1) 5%, transparent); }
.tk-kb-row.cur::before { opacity: 1; }
.tk-kb-row.out { height: 0; opacity: 0; border-bottom-width: 0; }
.tk-kb-row.out.acc { transform: translateX(24px); }
.tk-kb-row.out.can { transform: translateX(-24px); }
.tk-kb-row .dup { display: block; font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }
.tk-kb-row .tt { min-width: 0; }

.tk-kb-pane { position: relative; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tk-kb-from { display: flex; align-items: center; gap: 8px; color: var(--cu); font-size: 12.5px; }
.tk-kb-from .ai-mark { --ai-mark-h: 10px; }
.tk-kb-from .ap-key { margin-left: 2px; }
.tk-kb-pane h4 { font-size: 17px; line-height: 1.4; font-weight: 550; letter-spacing: -0.01em; color: var(--fg-1); }
.tk-kb-pane .bd { color: var(--fg-2); line-height: 1.6; font-size: 13px; }
.tk-kb-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--fg-3); font-size: 12px; }
.tk-kb-meta .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
.tk-kb-foot { margin-top: auto; display: flex; gap: 8px; justify-content: flex-end; }
.tk-kb-foot .ap-btn kbd, .tk-kb-reason kbd, .tk-kb-keys kbd, .tk-kb-empty kbd { font-family: "Geist Mono", monospace; font-size: 10.5px; height: 17px; min-width: 17px; padding: 0 4px; border-radius: 4px; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-3); background: var(--bg-2); }
.tk-kb-foot .ap-btn.inv kbd { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-fg) 25%, transparent); }
.tk-kb-pane > * { animation: tk-kb-in var(--dur-enter) var(--ease-spring) both; }
.tk-kb-pane > *:nth-child(2) { animation-delay: 30ms; } .tk-kb-pane > *:nth-child(3) { animation-delay: 60ms; } .tk-kb-pane > *:nth-child(4) { animation-delay: 90ms; }
@keyframes tk-kb-in { from { opacity: 0; transform: translateY(6px); } }
.tk-kb-reason { display: grid; gap: 6px; }
.tk-kb-reason button { height: 40px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; text-align: left; color: var(--fg-1); font-size: 13px; box-shadow: inset 0 0 0 1px var(--line-3); background: transparent; cursor: pointer; transition: background var(--dur-hover); }
.tk-kb-reason button.lit, .tk-kb-reason button:focus-visible { background: var(--bg-3); }
@media (any-hover: hover) { .tk-kb-reason button:hover { background: var(--bg-2); } }
.tk-kb-reason .r { margin-left: auto; color: var(--fg-3); font-size: 12px; }
.tk-kb-stamp { position: absolute; left: 50%; bottom: 20px; z-index: 3; transform: translate(-50%, 10px); height: 36px; padding: 0 14px 0 8px; border-radius: 10px; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; color: var(--fg-2); background: color-mix(in srgb, var(--bg-2) 94%, transparent); box-shadow: inset 0 0 0 1px var(--line-3), 0 12px 30px #0000004d; opacity: 0; transition: opacity var(--dur-enter), transform var(--dur-enter) var(--ease-spring); pointer-events: none; }
.tk-kb-stamp b { color: var(--fg-1); font-weight: 500; }
.tk-kb-stamp.on { opacity: 1; transform: translate(-50%, 0); }
.tk-kb-empty { margin: auto; text-align: center; display: grid; gap: 10px; justify-items: center; color: var(--fg-3); font-size: 13px; }
.tk-kb-empty b { color: var(--fg-1); font-weight: 500; font-size: 15px; }
.tk-kb-empty .tk-st { width: 22px; height: 22px; color: var(--ok); } .tk-kb-empty .tk-st svg { width: 22px; height: 22px; }

.tk-kb-keys { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.tk-kb-keys button { height: 34px; padding: 0 12px 0 8px; border-radius: 9px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-3); background: transparent; cursor: pointer; transition: background var(--dur-hover), transform var(--dur-hover) var(--ease-spring), color var(--dur-hover); }
.tk-kb-keys button.lit { background: var(--bg-3); color: var(--fg-1); transform: translateY(1px); }
.tk-kb-keys button.lit kbd { color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--fg-4); }
@media (any-hover: hover) { .tk-kb-keys button:hover { background: var(--bg-2); } }
.tk-kb-hint { margin-left: 8px; color: var(--fg-4); font-size: 12.5px; }

/* ================= NEW (invention round): two people, one list ================= */
.tk-two { max-width: 1240px; margin: 56px auto 0; padding: 0 var(--outer); --pmr: #7d9cc6; --pso: #9fb27f; }
:root[data-theme="light"] .tk-two { --pmr: #3f6aa3; --pso: #5d7a37; }
.tk-two-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tk-two-who { height: 36px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); }
.tk-two-who b { color: var(--fg-1); font-weight: 500; }
.tk-two-win { position: relative; margin-top: 8px; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 24px 60px #00000052; overflow: hidden; font-size: 12.5px; }
:root[data-theme="light"] .tk-two-win { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 50px #00000014; }
.tk-two-bar { height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); }
.tk-two-bar b { color: var(--fg-1); font-weight: 500; }
.tk-two-here { margin-left: auto; display: flex; }
.tk-two-here .ap-av { width: 20px; height: 20px; font-size: 8.5px; box-shadow: 0 0 0 2px var(--bg-1); position: relative; }
.tk-two-here .ap-av + .ap-av { margin-left: -5px; }
.tk-two-here .ap-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 6px; height: 6px; border-radius: 9px; background: var(--ok); box-shadow: 0 0 0 1.5px var(--bg-1); }
:root[data-theme="light"] .tk-two-here .ap-av { box-shadow: 0 0 0 2px #fff; }
.tk-two-list { position: relative; height: 436px; }
.tk-two-band, .tk-two-row { position: absolute; left: 0; right: 0; top: 0; transition: transform var(--dur-swap) var(--ease-swap), opacity var(--dur-enter); }
.tk-two-band { height: 32px; padding: 0 16px; display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--fg-1) 3%, transparent); color: var(--fg-1); font-size: 12px; font-weight: 500; }
.tk-two-band span { color: var(--fg-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.tk-two-row { height: 40px; padding: 0 12px 0 10px; display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto 20px; gap: 6px; align-items: center; border-bottom: 1px solid var(--line-2); background: var(--bg-1); }
:root[data-theme="light"] .tk-two-row { background: #fff; }
.tk-two-row .k { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3); }
.tk-two-row .nm { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-two-row > .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
.tk-two-st { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: transparent; cursor: pointer; transition: background var(--dur-hover), transform var(--dur-hover) var(--ease-spring); }
.tk-two-st.press { background: var(--bg-3); transform: scale(.88); }
@media (any-hover: hover) { .tk-two-st:hover { background: var(--bg-3); } }
.tk-two-st:focus-visible { outline: 1.5px solid var(--fg-3); outline-offset: -2px; }
.tk-two-pr { display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateX(4px); transition: opacity var(--dur-enter), transform var(--dur-enter) var(--ease-spring); font-size: 11px; color: var(--pc); white-space: nowrap; }
.tk-two-pr .ap-av { width: 18px; height: 18px; font-size: 8px; box-shadow: 0 0 0 1.5px var(--pc); }
.tk-two-row.here .tk-two-pr { opacity: 1; transform: none; }
.tk-two-row::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--pc, transparent); border-radius: 2px; opacity: 0; transition: opacity var(--dur-enter); }
.tk-two-row.here::after { opacity: .55; }
.tk-two-row.self { background: color-mix(in srgb, var(--fg-1) 5%, var(--bg-1)); }
:root[data-theme="light"] .tk-two-row.self { background: color-mix(in srgb, var(--fg-1) 4%, #fff); }
.tk-two-row.flash { animation: tk-two-flash 1.4s var(--ease-swap); }
@keyframes tk-two-flash { 0%, 30% { background: color-mix(in srgb, var(--pc) 16%, var(--bg-1)); } }
.tk-two-row.new { animation: tk-two-new var(--dur-swap) var(--ease-spring) both; }
@keyframes tk-two-new { from { opacity: 0; filter: blur(3px); } }
.tk-two-dot { width: 6px; height: 6px; border-radius: 9px; background: var(--fg-1); display: inline-block; margin-left: 6px; vertical-align: 2px; }

.tk-two-hist { max-width: 720px; margin: 28px auto 0; }
.tk-two-hist-h { height: 32px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--fg-3); border-bottom: 1px solid var(--line-2); }
.tk-two-hist-h b { color: var(--fg-1); font-weight: 500; }
.tk-two-reset { margin-left: auto; font-size: 12.5px; color: var(--fg-3); background: none; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity var(--dur-hover), color var(--dur-hover); }
.tk-two-reset.on { opacity: 1; pointer-events: auto; }
@media (any-hover: hover) { .tk-two-reset:hover { color: var(--fg-1); } }
#tk-two-log { list-style: none; margin: 0; padding: 0; height: 180px; overflow: hidden; }
#tk-two-log li { height: 36px; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-3); border-bottom: 1px solid var(--line-2); animation: tk-two-li var(--dur-enter) var(--ease-spring) both; }
#tk-two-log li b { color: var(--fg-1); font-weight: 500; }
#tk-two-log li .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
#tk-two-log li .t { font-size: 12px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
#tk-two-log li span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tk-two-log li.old { opacity: .55; }
@keyframes tk-two-li { from { opacity: 0; transform: translateY(-8px); } }
.tk-two-hint { margin-top: 16px; text-align: center; color: var(--fg-4); font-size: 12.5px; }

@media (max-width: 900px) {
  .tk-kb-body { grid-template-columns: 1fr; height: auto; }
  .tk-kb-list { border-right: 0; border-bottom: 1px solid var(--line-2); height: 236px; }
  .tk-kb-pane { min-height: 300px; }
  .tk-two-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .tk-kb-row { padding: 0 14px; grid-template-columns: 14px 40px minmax(0, 1fr); }
  .tk-kb-row .tk-lb { display: none; }
  .tk-kb-pane { padding: 18px 16px; }
  .tk-kb-hint { flex-basis: 100%; text-align: center; margin: 4px 0 0; }
  .tk-kb-bar { padding: 0 14px; }
  .tk-two-row { grid-template-columns: 26px 36px minmax(0, 1fr) auto 20px; padding-right: 10px; }
  .tk-two-pr .nmx { display: none; }
  .tk-two-list { height: 436px; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-kb-row, .tk-kb-pane > *, .tk-two-band, .tk-two-row, #tk-two-log li, .tk-kb-stamp { transition: none !important; animation: none !important; }
}
.tk-two-st, .tk-kb-keys button, .tk-kb-reason button, .tk-two-reset { border: 0; font: inherit; }
.tk-kb-keys button, .tk-kb-reason button { font-size: 12.5px; }
.tk-kb-reason button { font-size: 13px; }
.tk-kb-row .tt .nm { display: block; }
.tk-kb-stamp { bottom: 76px; }
@media (max-width: 640px) { .tk-kb-stamp { max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; } .tk-kb-stamp span { overflow: hidden; text-overflow: ellipsis; } }

/* ---------- will it land by 20 Nov: Linear's forecast with a hatched deadline (C2). Static; drawn from the tasks' history ---------- */
.tk-fc { position: relative; margin: 56px 0 0; padding: 28px 32px 24px; border-radius: 16px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2); }
.tk-fc-k { display: flex; gap: 48px; margin-bottom: 32px; font-size: 13px; }
.tk-fc-k div { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
.tk-fc-k span { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3); }
.tk-fc-k i { width: 8px; height: 8px; border-radius: 2px; }
.tk-fc-k i.sc { background: var(--fg-3); } .tk-fc-k i.st { background: var(--amber); } .tk-fc-k i.dn { background: var(--ok); }
.tk-fc-k b { margin-top: 4px; font-size: 22px; font-weight: 560; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tk-fc-k em { font-style: normal; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.tk-fc-plot { position: relative; height: 300px; }
.tk-fc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk-fc-svg path, .tk-fc-svg rect { vector-effect: non-scaling-stroke; }
.tk-fc-svg .gr { stroke: var(--line-2); stroke-width: 1; fill: none; }
.tk-fc-svg .ax { stroke: var(--line-3); stroke-width: 1; fill: none; }
.tk-fc-svg .ln { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.tk-fc-svg .ln.sc { stroke: var(--fg-4); }
.tk-fc-svg .ln.st { stroke: var(--amber); }
.tk-fc-svg .ln.dn { stroke: var(--ok); }
.tk-fc-svg .area { fill: color-mix(in srgb, var(--ok) 10%, transparent); stroke: none; }
.tk-fc-svg .bar { fill: color-mix(in srgb, var(--ok) 55%, transparent); }
.tk-fc-dots i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 99px; }
.tk-fc-dots i.st { background: var(--amber); } .tk-fc-dots i.dn { background: var(--ok); }
/* the target: a 1px line, then hatching for 'past the date'; it fades out to the right */
.tk-fc-tgt, .tk-fc-now { position: absolute; top: -12px; bottom: 0; width: 1px; background: var(--fg-2); }
.tk-fc-now { background: var(--line-3); }
.tk-fc-tgt span, .tk-fc-now span { position: absolute; top: -12px; left: 8px; font-size: 11.5px; color: var(--fg-2); white-space: nowrap; }
.tk-fc-now span { color: var(--fg-4); }
.tk-fc-hatch { position: absolute; top: 0; bottom: 0; right: 0; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--fg-1) 9%, transparent) 0 1px, transparent 1px 6px);
  -webkit-mask-image: linear-gradient(to right, #000 0, transparent 100%); mask-image: linear-gradient(to right, #000 0, transparent 100%); }
.tk-fc-axis, .tk-fc-ms { position: relative; height: 22px; }
.tk-fc-axis span { position: absolute; top: 8px; transform: translateX(-50%); font-size: 11px; color: var(--fg-4); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-fc-ms { height: 44px; margin-top: 6px; }
.tk-fc-ms span { position: absolute; top: 4px; display: grid; justify-items: center; transform: translateX(-50%); font-size: 11.5px; white-space: nowrap; }
.tk-fc-ms span.r { justify-items: start; transform: translateX(-5px); }
.tk-fc-ms span.r i { justify-self: start; }
.tk-fc-ms i { width: 9px; height: 9px; transform: rotate(45deg); border-radius: 1.5px; background: var(--fg-3); }
.tk-fc-ms b { margin-top: 6px; font-weight: 500; color: var(--fg-2); }
.tk-fc-ms em { font-style: normal; color: var(--fg-4); font-size: 11px; }
.tk-fc-ms span.fut i { background: transparent; box-shadow: inset 0 0 0 1.25px var(--fg-4); }
.tk-fc-ms span.fut b { color: var(--fg-3); }
@media (max-width: 640px) {
  .tk-fc { margin-top: 40px; padding: 20px 16px 16px; }
  .tk-fc-k { gap: 22px; margin-bottom: 24px; }
  .tk-fc-k b { font-size: 18px; }
  .tk-fc-plot { height: 200px; }
  .tk-fc-axis span:nth-child(even) { display: none; }
  .tk-fc-ms em { display: none; }
  .tk-fc-ms b { font-size: 11px; }
  .tk-fc-ms span:nth-child(3) { display: none; }
  .tk-fc-tgt span { left: auto; right: 6px; }
}

/* ---------- bento card fragments (the card itself is the shared .bento) ---------- */
.bfx { width: 100%; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); font-size: 12px; overflow: hidden; text-align: left; }
.bfx-h { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); white-space: nowrap; }
.bfx-h b { color: var(--fg-1); font-weight: 500; }
.bfx-r { height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bfx-r .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--fg-2); }
.bfx-r .d { color: var(--fg-4); }
.bfx-r .d.mono { font-family: "Geist Mono", monospace; font-size: 11px; }
.bfx-r .ap-badge { height: 20px; font-size: 11px; }

/* ---------- Stages carry the dates: the timeline (from New calm, restored for depth) ---------- */
.tk-tl { position: relative; max-width: 1200px; margin: 64px auto 0; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 40px 90px #00000059; overflow: hidden; font-size: 12.5px; }
:root[data-theme="light"] .tk-tl { background: #fff; box-shadow: inset 0 0 0 1px #00000014, 0 30px 70px #0000001a; }
.tk-tl-h { height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); }
.tk-tl-h b { color: var(--fg-1); font-weight: 500; }
.tk-tl-h .r { margin-left: auto; color: var(--fg-2); }
.tk-tl-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.tk-tl-names { border-right: 1px solid var(--line-2); padding-top: 40px; }
.tk-tl-n { height: 44px; padding: 0 16px 0 20px; display: flex; align-items: center; gap: 9px; color: var(--fg-1); white-space: nowrap; overflow: hidden; }
.tk-tl-n .nm { overflow: hidden; text-overflow: ellipsis; }
.tk-tl-n .ap-key { font-size: 10.5px; height: 18px; flex: none; }
.tk-tl-n.grp { height: 36px; color: var(--fg-3); font-size: 12px; background: color-mix(in srgb, var(--bg-2) 50%, transparent); }
.tk-tl-n .ai-mark, .tk-tl-n .tk-rule { margin-left: auto; }
.tk-rule { font-size: 11px; color: var(--fg-3); padding: 0 6px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-3); display: inline-flex; align-items: center; flex: none; }
.tk-tl-plot { position: relative; overflow: hidden; }
.tk-tl-grid { position: absolute; inset: 0; }
.tk-tl-month { position: absolute; top: 0; height: 40px; display: flex; align-items: flex-start; padding: 5px 0 0 8px; color: var(--fg-2); font-size: 12px; border-left: 1px solid var(--line-2); }
.tk-tl-week { position: absolute; top: 40px; bottom: 0; width: 1px; background: var(--line-2); opacity: .55; }
.tk-tl-wk { position: absolute; top: 23px; font-size: 10.5px; color: var(--fg-4); transform: translateX(4px); font-variant-numeric: tabular-nums; }
.tk-tl-grid::after { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: var(--line-2); }
.tk-tl-rows { position: relative; padding-top: 40px; }
.tk-tl-r { position: relative; height: 44px; }
.tk-tl-r.grp { height: 36px; background: color-mix(in srgb, var(--bg-2) 50%, transparent); }
.tk-bar { position: absolute; top: 12px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--fg-2) 14%, transparent); box-shadow: inset 0 0 0 1px var(--line-3); display: flex; align-items: center; padding: 0 8px; gap: 6px; color: var(--fg-2); font-size: 11px; white-space: nowrap; transform-origin: left center; transform: scaleX(0); transition: transform 1s var(--ease-enter); }
.tk-tl.go .tk-bar { transform: none; }
.tk-bar.done { background: color-mix(in srgb, var(--ok) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 30%, transparent); }
.tk-bar.prog { background: color-mix(in srgb, var(--amber) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amber) 32%, transparent); }
.tk-bar.back { background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); border: 0; background-image: repeating-linear-gradient(90deg, var(--line-3) 0 4px, transparent 4px 8px); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 50%; }
.tk-bar.sug { background: transparent; box-shadow: inset 0 0 0 1px var(--fg-4); color: var(--fg-2); }
.tk-bar.stg { top: 9px; height: 18px; border-radius: 5px; background: color-mix(in srgb, var(--fg-1) 10%, transparent); color: var(--fg-1); font-weight: 500; }
.tk-bar.stg.past { background: color-mix(in srgb, var(--fg-1) 6%, transparent); }
.tk-late { position: absolute; top: 12px; height: 20px; border-radius: 0 6px 6px 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 45%, transparent); background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--red) 45%, transparent) 0 1.5px, transparent 1.5px 6px); opacity: 0; transition: opacity var(--dur-swap) var(--dur-swap); }
.tk-tl.go .tk-late { opacity: 1; }
.tk-late-t { position: absolute; top: 14px; font-size: 11px; color: var(--red); white-space: nowrap; display: flex; gap: 5px; align-items: center; opacity: 0; transition: opacity var(--dur-swap) 1.1s; }
.tk-late-t svg { width: 12px; height: 12px; }
.tk-tl.go .tk-late-t { opacity: 1; }
.tk-dia { position: absolute; top: 15px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); border-radius: 2px; background: var(--bg-1); box-shadow: inset 0 0 0 1.5px var(--fg-2); }
.tk-dia.done { background: var(--ok); box-shadow: none; }
.tk-dia.gate { box-shadow: inset 0 0 0 1.5px var(--fg-1); background: var(--fg-1); }
.tk-dia-t { position: absolute; top: 12px; font-size: 11.5px; color: var(--fg-2); white-space: nowrap; transform: translateX(12px); }
.tk-span { position: absolute; top: 10px; height: 24px; border-radius: 6px; border: 1px dashed var(--fg-4); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--fg-2); white-space: nowrap; }
.tk-today { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fg-3); z-index: 4; }
.tk-today span { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); height: 20px; padding: 0 7px; border-radius: 6px; display: inline-flex; align-items: center; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-1); font-size: 11px; font-weight: 600; white-space: nowrap; }
.tk-tl-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.tk-tl-wires path { fill: none; stroke: var(--fg-3); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0; transition: opacity var(--dur-enter) 1s; }
.tk-tl-wires circle { fill: var(--fg-3); opacity: 0; transition: opacity var(--dur-enter) 1s; }
.tk-tl.go .tk-tl-wires path { opacity: .9; }
.tk-tl.go .tk-tl-wires circle { opacity: 1; }
.tk-lg-dia { width: 9px; height: 9px; transform: rotate(45deg); box-shadow: inset 0 0 0 1.5px var(--fg-2); border-radius: 1px; }
.tk-lg-bar { width: 22px; height: 9px; border-radius: 3px; background: color-mix(in srgb, var(--fg-1) 14%, transparent); }
.tk-lg-wire { width: 22px; height: 1px; background-image: repeating-linear-gradient(90deg, var(--fg-3) 0 3px, transparent 3px 7px); }
.tk-lg-hatch { width: 22px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--red) 55%, transparent) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 45%, transparent); }
@media (max-width: 1100px) { .tk-tl-body { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 700px) {
  .tk-tl-body { grid-template-columns: 132px minmax(0, 1fr); }
  .tk-tl-n .ap-key, .tk-tl-n .ai-mark, .tk-tl-n .tk-rule { display: none; }
  .tk-tl-h span:not(.r) { display: none; }
}
@media (max-width: 640px) {
  .tk-tl-wk { font-size: 11px; }
  .tk-tl-body { grid-template-columns: 132px 600px; overflow-x: auto; overscroll-behavior-x: contain; }
  .tk-tl-names { position: sticky; left: 0; z-index: 6; background: var(--bg-1); }
  :root[data-theme="light"] .tk-tl-names { background: #fff; }
  .tk-tl-plot { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-bar, .tk-late, .tk-late-t, .tk-tl-wires path, .tk-tl-wires circle { transition: none !important; animation: none !important; }
}
