/* Trang Trao đổi công việc ở homica.vn (static/js/traodoi.js) */
.vxFlag { color: var(--warn); font-weight: 600; }
.vxThread { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.vxMsg { padding: 10px 12px; border-radius: 12px; background: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.vxMsg.claude { background: #eef4ff; border-left: 4px solid #3b6fd8; }
.vxMsg.owner { background: #fff6e5; border-left: 4px solid #d08a12; }
.vxMsg.ask { outline: 2px solid var(--warn); }
.vxMsg.log { background: none; padding: 2px 12px; color: var(--muted); font-size: .9rem; }
.vxWho { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.vxWho .muted { font-weight: 400; }
.vxRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0; }
.vxRow label { margin: 0; }
.vxRow input[type="number"] { width: 6em; }
.vxRow select { width: auto; min-width: 10em; }
.vxPrio { display: inline-block; min-width: 2em; padding: 1px 8px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-align: center; }
.vxDetail { white-space: pre-wrap; overflow-wrap: anywhere; }
.tabrow > button.vxNeed { box-shadow: inset 0 0 0 2px var(--warn); }
.vxMsg.memo { background: #eefaf0; border-left: 4px solid #2e8b57; }

/* Danh sách việc chưa xong, mỗi hàng một việc (bạn hiền dặn 28/11/2026); việc chờ bạn hiền quyết nền hồng */
.vxList { display: flex; flex-direction: column; gap: 6px; }
main.wrap { max-width: 1080px; }
.vxLine { display: grid; grid-template-columns: 2rem minmax(12rem, 1fr) 8rem 10.5rem 6.5rem 8.5rem; gap: 10px; align-items: center; width: 100%; margin: 0;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-weight: 400; text-align: left; cursor: pointer; }
.vxLine:hover { border-color: var(--accent); }
.vxLine.head { cursor: default; background: none; border: 0; padding: 0 12px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.vxLine.need, .vxTask.need { background: #fde4ee; border-color: #e88aad; }
.vxNo { font-weight: 700; color: var(--accent); }
.vxTitle { font-weight: 600; overflow-wrap: anywhere; }
.vxTitle small { display: block; font-weight: 600; color: #b3265e; }
.vxLate { color: var(--warn); font-weight: 600; }
.vxSoon { color: #b86e00; font-weight: 600; }
.vxRead { color: var(--ok); }
.vxUnread { color: var(--warn); font-weight: 600; }
.vxBar { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.vxBarIn { position: relative; display: inline-block; width: 4.5em; height: .6em; border-radius: 999px; background: var(--soft); overflow: hidden; }
.vxBarIn::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 999px; }
.vxBarIn.w10::after { width: 10%; } .vxBarIn.w20::after { width: 20%; } .vxBarIn.w30::after { width: 30%; } .vxBarIn.w40::after { width: 40%; }
.vxBarIn.w50::after { width: 50%; } .vxBarIn.w60::after { width: 60%; } .vxBarIn.w70::after { width: 70%; } .vxBarIn.w80::after { width: 80%; }
.vxBarIn.w90::after { width: 90%; } .vxBarIn.w100::after { width: 100%; background: var(--ok); }
.vxBar b { font-size: .9rem; }
.vxRow input[type="date"] { width: auto; }
@media (max-width: 820px) {
  .vxLine { grid-template-columns: 2rem minmax(0, 1fr); row-gap: 4px; }
  .vxLine.head { display: none; }
  .vxLine > span[data-k] { grid-column: 2; font-size: .9rem; }
  .vxLine > span[data-k]::before { content: attr(data-k) ": "; color: var(--muted); }
}
@media (prefers-color-scheme: dark) {
  .vxLine.need, .vxTask.need { background: #4a2433; border-color: #a5527a; }
  .vxTitle small { color: #ff9cc2; }
}
.micaLog { max-height: 55vh; overflow-y: auto; }
