/* Team project reviews: status badge on each project + the Review panel */
.tm-rev { margin: 6px 0 2px 44px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.tm-rev[hidden] { display: none; }
.tm-rev-status { font-size: 12px; font-weight: 600; margin-bottom: 10px; color: var(--text2); }
.tm-rev-status.is-ok { color: #16a34a; }
.tm-rev-status.is-warn { color: #d97706; }
.tm-rev-item { padding: 8px 0; border-top: 1px solid var(--border); font-size: 12px; color: var(--text); }
.tm-rev-item:first-of-type { border-top: none; }
.tm-rev-head { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--text3); margin-bottom: 3px; }
.tm-rev-head b { color: var(--text); font-weight: 700; }
.tm-rev-head .tm-rev-del { margin-left: auto; font-size: 11px; background: none; border: none; color: var(--text3); cursor: pointer; padding: 0; }
.tm-rev-head .tm-rev-del:hover { color: #ef4444; }
.tm-rev-body { white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.tm-rev-tag { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.tm-rev-tag.is-approved { background: rgba(34,197,94,.15); color: #16a34a; }
.tm-rev-tag.is-changes_requested { background: rgba(245,158,11,.15); color: #d97706; }
.tm-rev-compose { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.tm-rev-compose textarea { width: 100%; box-sizing: border-box; min-height: 60px; resize: vertical; padding: 8px 10px; font: inherit; font-size: 12px; color: var(--text); background: var(--bg, transparent); border: 1px solid var(--border); border-radius: 8px; }
.tm-rev-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-rev-note { font-size: 11px; color: var(--text3); }
.tm-rev-badge { flex: none; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 5px; }
.tm-rev-badge.is-approved { background: rgba(34,197,94,.15); color: #16a34a; }
.tm-rev-badge.is-changes_requested { background: rgba(245,158,11,.15); color: #d97706; }
.tm-rev-badge.is-stale { background: rgba(148,163,184,.18); color: var(--text2); }
