/* v1.8 · TICKET-DISPATCH-04 – tiến độ Công việc trong Ticket */
.tt18{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.tt18 .sub-title b{font-weight:700;color:#1d4ed8;margin-left:6px}
.tt18-state{font-size:13px;color:#94a3b8;padding:4px 0}
.tt18-bar{height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden}.tt18-bar i{display:block;height:100%;background:#16a34a;border-radius:999px}
.tt18-chips{display:flex;flex-wrap:wrap;gap:4px}
.tt18-chip{font-style:normal;font-size:11.5px;font-weight:600;border-radius:999px;padding:2px 8px;background:#f1f5f9;color:#475569;white-space:nowrap}
.tt18-chip.completed{background:#dcfce7;color:#15803d}.tt18-chip.review{background:#ede9fe;color:#6d28d9}.tt18-chip.in_progress,.tt18-chip.acknowledged{background:#dbeafe;color:#1d4ed8}
.tt18-chip.blocked{background:#fee2e2;color:#b91c1c}.tt18-chip.waiting{background:#fef3c7;color:#b45309}.tt18-chip.cancelled{background:#f1f5f9;color:#94a3b8;text-decoration:line-through}
.tt18-note{font-size:12px;color:#b45309}.tt18-note.ok{color:#15803d}
.tt18-list{display:flex;flex-direction:column;gap:4px}
.tt18-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 8px;align-items:center;text-align:left;width:100%;border:1px solid #eef1f5;border-radius:10px;background:#fff;padding:7px 9px;font:inherit;color:inherit;cursor:pointer}
.tt18-row:hover,.tt18-row:focus-visible{background:#f8fafc;border-color:#cbd5e1;outline:0}
.tt18-row b{font-size:12px;color:#64748b;font-variant-numeric:tabular-nums}
.tt18-row span{font-size:13.5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt18-row em{grid-column:1/3;font-style:normal;font-size:12px;color:#64748b}
.tt18-row>i{grid-row:1/3;grid-column:3;align-self:center}
.tt18-row.cancelled span{color:#94a3b8;text-decoration:line-through}
/* Task review flow (Công việc) */
.task-review-box{display:flex;flex-direction:column;gap:4px;margin:10px 0;padding:10px 12px;border-radius:12px;background:#f5f3ff;border:1px solid #ddd6fe;font-size:13.5px}
.task-review-box b{color:#6d28d9}.task-review-box span{color:#475569}.task-review-box .button-row{margin-top:6px}
.task-review-box.changes{background:#fff7ed;border-color:#fed7aa}.task-review-box.changes b{color:#c2410c}
.task-review-wait{font-size:12px;font-weight:600;color:#6d28d9;background:#ede9fe;border-radius:999px;padding:3px 10px}
