/* Feature landing page task-management only (its mock UI from src/features/task-management.ts).
   Split from the former site.css; rules keep their original order. Page types and files: Base.astro. */
.tk-filters { display: flex; gap: 6px; }
.tk-board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px 22px 26px; background: var(--surface-0); }
.tk-col { display: flex; flex-direction: column; gap: 10px; }
.tk-col__h { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 14px; font-weight: 500; }
.tk-col__h em { font-style: normal; font-size: 12px; font-weight: 400; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--ink-450); }
.tk-col--1 .tk-col__h::before, .tk-col--0 .tk-col__h::before, .tk-col--2 .tk-col__h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); }
.tk-col--1 .tk-col__h::before { background: var(--blue-500); }
.tk-col--2 .tk-col__h::before { background: #2bb673; }
.tk-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); font-size: 14.5px; text-align: left; opacity: 0; translate: 0 10px; transition: opacity .6s var(--ease-out) var(--d), translate .7s var(--ease-out) var(--d); }
.tk-board.is-in .tk-card, .reduce-motion .tk-card { opacity: 1; translate: 0 0; }
.tk-card b { font-weight: 500; }
.tk-col--2 .tk-card b { color: var(--ink-450); text-decoration: line-through; text-decoration-color: var(--ink-200); }
.tk-card__foot { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.tk-card__foot .mk-av { width: 26px; height: 26px; font-size: 10px; }
.tk-card__foot small, .mk .tk-card__foot small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-450); white-space: nowrap; }
.tk-new { max-width: 480px; }
.tk-new .mk-field { margin-top: 8px; }
.tk-new .mk-field > span { display: flex; align-items: center; gap: 6px; }
.tk-new__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.tk-who .mk-av { width: 22px; height: 22px; font-size: 9px; }
.tk-new__btn { margin-top: 16px; }
.tk-list { max-width: 440px; }
.tk-list__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface-0); font-size: 14px; }
.tk-list__row:first-child { margin-top: 0; }
.tk-list__row b { flex: 1; font-weight: 500; }
.tk-check { width: 22px; height: 22px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-200); background: #fff; color: transparent; }
.tk-check.is-done { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.tk-deleg { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 320px; }
.tk-deleg__task, .tk-deleg__leader, .tk-deleg__team { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; opacity: 0; translate: 0 10px; transition: opacity .6s var(--ease-out), translate .7s var(--ease-out); }
.tk-deleg__task { flex-direction: column; align-items: flex-start; gap: 2px; }
.tk-deleg__task small, .tk-deleg__leader small, .tk-deleg__team small { font-size: 12px; color: var(--ink-300); }
.tk-deleg__task b, .tk-deleg__leader b { font-size: 15px; font-weight: 500; }
.tk-deleg__leader > span:last-child { display: flex; flex-direction: column; }
.tk-deleg__leader { transition-delay: .3s; }
.tk-deleg__team { transition-delay: .6s; }
.tk-deleg__team .mk-av { width: 30px; height: 30px; margin-right: -6px; border: 2px solid #1d1f3a; }
.tk-deleg__team small { margin-left: 12px; }
.tk-deleg__line { width: 2px; height: 26px; background: repeating-linear-gradient(180deg, var(--blue-380) 0 5px, transparent 5px 9px); opacity: 0; transition: opacity .6s var(--ease-out) .2s; }
.tk-deleg.is-in > *, .reduce-motion .tk-deleg > * { opacity: 1; translate: 0 0; }
.tk-move { position: relative; max-width: 480px; }
.tk-move__lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-move__lane { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 12px; border-radius: 16px; background: var(--surface-0); }
.tk-move__lane .ev-pill { width: max-content; }
.tk-move__lane i { height: 40px; border-radius: 12px; background: #fff; }
.tk-move__card b { font-weight: 500; }
.tk-move.is-in .tk-move__card, .reduce-motion .tk-move__card { left: calc(50% + 18px); }
.tk-move__log { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); font-size: 13.5px; }
.tk-ev { max-width: 480px; }
.tk-ev__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tk-ev__head > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: 16px; }
.tk-ev__head b { font-weight: 500; }
.tk-ev__head small { font-size: 12.5px; color: var(--ink-450); }
.tk-ev__mgr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tk-ev__mgr small { font-size: 11px; color: var(--ink-450); }
.tk-ev__line { position: relative; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.tk-ev__line::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; background: var(--line-200); }
.tk-ev__step { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 14.5px; }
.tk-ev__step > span:last-child { display: flex; flex-direction: column; }
.tk-ev__step b { font-weight: 500; }
.tk-ev__step small { font-size: 12.5px; color: var(--ink-450); }
.tk-ev__step.is-done b { color: var(--ink-450); }
@media (max-width: 720px) {
  .tk-filters { display: none; }
  .tk-board__cols { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .tk-col--2 { display: none; }
  .tk-new__grid { grid-template-columns: minmax(0, 1fr); }
  .tk-list__row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  .tk-list__row .mk-tag { grid-column: 2; justify-self: start; }
}
