/* Styles für Erweiterung „team“ – Team & Organisationen */
.tm-me { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-3); }
.tm-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; flex: none; }
.tm-orgs { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-3); }
.tm-org { min-width: 0; }
.tm-org-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tm-org-head h3 { margin: 0 auto 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.tm-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.tm-block { margin-top: var(--sp-3); }
.tm-block-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.tm-block-head .btn { margin-left: auto; }
.tm-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: var(--fs-sm); margin: 2px 0; overflow-wrap: anywhere; }
.tm-unassigned { margin-top: 8px; }
.tm-table-wrap { overflow-x: auto; }
.tm-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tm-table th { text-align: left; font-weight: 600; color: var(--text-2); padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tm-table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tm-table tr:last-child td { border-bottom: 0; }
.tm-table select { min-width: 110px; }
.tm-add { margin-top: var(--sp-3); }
.tm-add .row { gap: 8px; flex-wrap: wrap; }
.tm-add select { flex: 1 1 160px; min-width: 0; width: auto; }
.tm-checks { display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow: auto; }
.tm-mode { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 4px; }
.tm-colors { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-colors legend { margin-bottom: 6px; color: var(--text-2); }
.tm-color input { position: absolute; opacity: 0; }
.tm-color span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
.tm-color input:checked + span { border-color: var(--text); }
.tm-color input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .tm-table th:nth-child(4), .tm-table td:nth-child(4), .tm-table th:nth-child(5), .tm-table td:nth-child(5) { padding: 8px 4px; }
}
