.tc-routing{border:1px solid #C7D8E6;border-radius:10px;background:#FFFFFF;margin:18px 0;color:#2B2B2B;overflow-wrap:anywhere}
.tc-routing h3{margin:0;padding:12px 14px;background:#D5E2EC;color:#2C3E5C;font-size:16px}.tc-routing>p{padding:0 14px;font-size:13px;color:#52637C}
.tc-row{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:14px;padding:14px;border-top:1px solid #D5E2EC;align-items:center}
.tc-row small{display:block;margin-top:5px;color:#52637C;font-size:11px}.tc-prefs,.tc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tc-routing button{min-height:44px;max-width:100%;padding:6px 12px;font:inherit;font-size:13px;border:1px solid #2C3E5C;border-radius:7px;background:white;color:#2C3E5C;cursor:pointer}
.tc-routing .tc-pref{border-radius:16px}.tc-routing .primary{background:#2C3E5C;color:#FFFFFF}.tc-routing .off{color:#596675;border-color:#AEBECC}
.tc-routing button:disabled{cursor:default;opacity:.6}.tc-routing button:focus-visible{outline:3px solid #2C3E5C;outline-offset:3px}
.team-config-table{max-width:100%;overflow-x:auto}.team-floor{max-width:100%;overflow-x:auto}
@media(max-width:850px){.tc-row{grid-template-columns:110px minmax(0,1fr)}.tc-actions{grid-column:2}.tc-routing button{min-height:44px}}
@media(max-width:520px){.tc-row{grid-template-columns:1fr}.tc-actions{grid-column:1}}

.tc-approvals { margin:18px 0;padding:16px;border:1px solid #C7D8E6;border-radius:10px;background:#FFFFFF;color:#2B2B2B; }
.tc-approvals h3 { margin:0 0 8px;color:#2C3E5C; }
.tc-approval-row { display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #D5E2EC; }
.tc-approval-row small { display:block;margin-top:4px;color:#5A6E8C; }
.tc-approval-names { display:flex;flex-wrap:wrap;gap:8px;min-width:0; }
.tc-approval-name { display:inline-flex;align-items:center;gap:6px;padding-left:10px;border:1px solid #C7D8E6;border-radius:8px;overflow-wrap:anywhere; }
.tc-approvals button { min-height:44px;padding:8px 12px;border:1px solid #C7D8E6;border-radius:7px;background:#F5F5F0;color:#2C3E5C;font:inherit;cursor:pointer; }
.tc-approval-name button { border:0;background:transparent; }
@media(max-width:760px) { .tc-approval-row { grid-template-columns:minmax(0,1fr) auto; } .tc-approval-names { grid-column:1 / -1;grid-row:2; } }

.tc-approval-add { display:flex;flex-wrap:wrap;gap:6px;max-width:260px; }
.tc-approval-add input { width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:8px;border:1px solid #C7D8E6;border-radius:7px;font:inherit; }
