.tboard { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; padding-bottom: 6px; }
.tcol { background: var(--hover); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 180px; transition: border-color .12s, background .12s; }
.tcol.over { border-color: var(--gold); background: var(--amber-bg); }
.tcol-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; font: 600 13.5px var(--display); color: var(--navy); }
.tcount { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; font: 600 12px var(--body); color: var(--soft); }
.tcol-b { display: grid; gap: 10px; }
.tempty { border: 1.5px dashed var(--line); border-radius: 10px; padding: 18px 10px; text-align: center; font-size: 12.5px; color: var(--soft); }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: grab; display: grid; gap: 8px; box-shadow: 0 1px 2px rgba(12, 20, 40, .05); }
.tcard:hover { border-color: var(--gold); }
.tcard.dragging { opacity: .45; }
.tcard.late { border-left: 3px solid var(--red); }
.tcard-t { font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.tcard-m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.tdue { color: var(--soft); font-weight: 500; }
.tdue.neg { color: var(--red); font-weight: 600; }
.tcard-p, .tdr-p { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tpct { font: 600 14px var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.tpct.big { font-size: 26px; }
.tbar { height: 7px; background: var(--hover); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tbar i { display: block; height: 100%; background: var(--gold); transition: width .2s; }
.tbar i.full { background: var(--green); }
.tdr-p { margin: 10px 0 6px; }
.tsel { width: auto !important; text-align: left !important; padding: 7px 9px !important; }
.form textarea { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 8px 10px; width: 100%; }
.form input:disabled, .form select:disabled, .form textarea:disabled { opacity: .75; }
.tchk { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tchk li { display: flex; align-items: center; gap: 8px; }
.tchk li > span:first-child { flex: 1; }
.tchk-l { display: inline-flex; cursor: pointer; }
.tchk-l input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tchk-box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; line-height: 1; background: var(--card); }
.tchk-l input:focus-visible + .tchk-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.tchk li.done .tchk-box { background: var(--green); border-color: var(--green); color: #fff; }
.tchk-t { flex: 1; min-width: 0; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 4px 6px; }
.tchk-t:hover:not(:disabled), .tchk-t:focus { border-color: var(--line); background: var(--card); }
.tchk li.done .tchk-t { text-decoration: line-through; color: var(--soft); }
.tact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.tmeta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 6px 0 10px; font-size: 13px; }
.tmeta dt { color: var(--soft); }
.tmeta dd { margin: 0; }
.tlog { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; max-height: 260px; overflow-y: auto; font-size: 13px; }
.tlog li { display: grid; gap: 1px; border-left: 2px solid var(--line); padding-left: 10px; overflow-wrap: anywhere; }
tr.trow { cursor: pointer; }
@media (max-width: 900px) { .tboard { grid-template-columns: repeat(4, minmax(240px, 82vw)); } }
