/* AI Workforce page */
.wf-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.wf-bar .btn { margin-left: auto; }
.wf-problems ul { margin: 4px 0 0; padding-left: 18px; }
.wf-tabs { margin: 8px 0 14px; overflow-x: auto; }
.wf-kpis .kpi b { font-size: 22px; }
.wf-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; margin-top: 14px; }
.wf-emp { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wf-emp.off { opacity: .65; }
.wf-emp-head { display: flex; gap: 12px; align-items: center; }
.wf-emp-head h3 { margin: 0 0 4px; font-size: 16px; }
.wf-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--navy, #0d1b2a); color: #fff; }
.wf-stats { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted, #6b7280); }
.wf-stats b { color: var(--ink, #1f2933); }
.wf-stats .red b { color: var(--red, #b42318); }
.wf-recent { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.wf-recent li { margin: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-recent .btn.link { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.wf-emp .row-actions { margin-top: auto; }
.wf-log { padding-left: 18px; max-height: 320px; overflow: auto; }
.wf-log li { margin: 4px 0; }
.wf-approval { margin-bottom: 12px; }
.wf-approval h3 { margin: 2px 0 6px; font-size: 15px; }
.wf-approval textarea { width: 100%; }
.wf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.wf-cards .card h3 { margin: 2px 0 6px; font-size: 15px; }
.wf-cat input, .wf-cat select { width: 100%; min-width: 70px; padding: 6px; border: 1px solid var(--line, #e5e7eb); border-radius: 6px; }
.wf-cat input[type=checkbox] { width: auto; min-width: 0; }
.wf-render { margin: 8px 0; }
.wf-player { width: 100%; max-height: 360px; background: #000; border-radius: 8px; }
.wf-player.vertical { max-width: 220px; display: block; }
.wf-player.square { max-width: 300px; display: block; }
.wf-platform { margin-bottom: 14px; }
@media (max-width: 760px) { .wf-bar .btn { margin-left: 0; } .wf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf-progress { margin: 6px 0; font-size: 13px; }
.wf-platform summary { cursor: pointer; }
