/* Task Master Final - Monday-style desktop layout */
#tm-app { font-family: Inter, Arial, sans-serif; margin: 18px; color: #111827; background: #f8fafc; padding: 8px; }
.tm-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; gap:10px; }
.tm-left-controls { display:flex; align-items:center; gap:8px; }
.tm-label { font-weight:600; margin-right:6px; }
.tm-logo { width:48px; height:48px; object-fit:cover; border-radius:8px; }
.tm-project-title { margin:0; font-size:18px; }
.tm-main { display:flex; gap:18px; align-items:flex-start; }
.tm-left-pane { flex:1; min-width:0; }
.tm-right-pane { width:360px; }
.tm-section { background:#ffffff; border:1px solid #e6eef6; padding:12px; margin-bottom:14px; border-radius:8px; box-shadow: 0 2px 6px rgba(15,23,42,0.03); }
.tm-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.tm-board { background:transparent; }
.tm-row { display:grid; grid-template-columns: 1.6fr 0.9fr 0.9fr 0.8fr 0.6fr; gap:12px; align-items:center; padding:12px; border-bottom:1px solid #f1f5f9; }
.tm-row.header { font-weight:700; color:#374151; background:#f8fafc; border-bottom:1px solid #e6eef6; }
.col-task { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.col-area { color:#475569; }
.col-status { display:flex; gap:8px; align-items:center; }
.col-due { color:#475569; }
.col-prio { text-align:right; }

.tm-status-badge { padding:8px 10px; border-radius:16px; font-weight:700; font-size:13px; color:#fff; min-width:120px; text-align:center; }
.status-done { background:#16a34a; } /* green */
.status-working { background:#f97316; } /* orange */
.status-not { background:#64748b; } /* gray */
.status-waiting { background:#7c3aed; } /* purple */

.tm-prio-high { background:#ef4444; color:#fff; padding:8px 12px; border-radius:8px; font-weight:700; display:inline-block; }
.tm-prio-medium { background:#7c3aed; color:#fff; padding:8px 12px; border-radius:8px; font-weight:700; display:inline-block; }
.tm-prio-low { background:#3b82f6; color:#fff; padding:8px 12px; border-radius:8px; font-weight:700; display:inline-block; }

.tm-add-inline { color:#0ea5a3; cursor:pointer; font-weight:700; }
.tm-add-area input, .tm-add-area textarea, .tm-add-area select { width:100%; padding:8px; margin-bottom:8px; border:1px solid #e6eef6; border-radius:6px; }
.tm-btn { background:#0ea5a3; color:#fff; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; font-weight:700; }

.tm-empty { color:#64748b; padding:12px; }
