/* Team (web/team.js) + role-aware hiding (organisations, ORGS=1) */
.tm-list { display: grid; }
.tm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); flex-wrap: wrap; }
.tm-row:last-child { border-bottom: 0; }
.tm-acts { display: flex; gap: 8px; align-items: center; }
.tm-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.tm-form label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 220px; }
.tm-form label:nth-child(2) { flex: 0 1 160px; }
.tm-roles { display: grid; gap: 6px; margin-top: 14px; }
/* a viewer sees outputs and reports only: spend / edit / upload controls are hidden (the API refuses them too) */
html.role-viewer .btn.cta, html.role-viewer a[href="#/upload"], html.role-viewer a[href="#/series/new"], html.role-viewer #del, html.role-viewer #save,
html.role-viewer #smenu, html.role-viewer [data-spend], html.role-viewer .btn.up { display: none !important; }
.tm-fix { border-color: var(--brass-line, rgba(127,127,127,.4)); }
.tm-acts { flex-wrap: wrap; justify-content: flex-end; }
