/* Стили раздела «Команда». Общие компоненты — в assets/base.css, цвета — только токены. */

.tm-pane{flex:1;min-height:0;overflow-y:auto;padding:14px 24px 28px;display:flex;flex-direction:column;gap:14px}
.tm-pane>*{flex-shrink:0}
.tm-pane.t-structure{overflow:hidden;padding-bottom:0}
.tm-pane .wk-top{padding:0}
.tm-h2{margin:2px 0 0;font-size:21px;font-weight:800;letter-spacing:-.3px;line-height:1.2}
.tm-h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px;font-size:16px;font-weight:800}
.tm-h5 .grow{flex:1}
.tm-sec>h5 .btn{text-transform:none;letter-spacing:0;text-decoration:none}
.tm-tblwrap{overflow-x:auto}
.tm-cell{display:flex;align-items:center;gap:10px;min-width:0}
.tm-cell b{display:block;font-weight:800;white-space:nowrap}
.tm-cell small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.tm-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.tm-dot.off,.tm-pp.off .tm-dot{background:rgba(var(--ov),.25)}
.tm-multi{margin-top:3px;font-size:10.5px;padding:1px 7px}
.tm-vac{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:10px;background:rgba(var(--ov),.04);font-size:12px;font-weight:700;color:var(--muted)}
.tm-vac svg{width:15px;height:15px;flex:none}

/* ---------- структура: панель инструментов ---------- */
.tm-stop{gap:10px}
.tm-zoom{display:flex;align-items:center;gap:4px}
.tm-zoom .icon-btn{width:34px;height:34px;border-radius:10px}
.tm-zoom .btn{min-width:58px}
.tm-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;font-weight:700;color:var(--muted)}
.tm-legend>span{display:inline-flex;align-items:center;gap:6px}
.tm-legend .ln{width:22px;height:0;border-top:2px solid var(--line2)}
.tm-legend .ln.cur{border-top:2px dashed var(--violet)}
.tm-cityhint{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;border-radius:12px;background:var(--accent-soft);color:var(--accent-fg);font-size:13px;font-weight:700}
.tm-cityhint svg{width:16px;height:16px}

/* ---------- структура: схема ---------- */
.tm-orgwrap{flex:1 1 0;min-height:0;overflow:auto;margin:0 -24px;padding:6px 24px 32px}
.tm-orgsizer{position:relative;margin:0 auto}
.tm-org{position:absolute;top:0;left:0;width:max-content;transform-origin:0 0}
.oc,.oc ul{display:flex;justify-content:center;align-items:flex-start;margin:0;padding:0;list-style:none}
.oc ul{position:relative;padding-top:30px}
.oc li{position:relative;display:flex;flex-direction:column;align-items:center;padding:30px 7px 0}
.oc>li{padding-top:0}
.oc li::before,.oc li::after{content:"";position:absolute;top:0;right:50%;width:50%;height:30px;border-top:1.5px solid var(--line2)}
.oc li::after{right:auto;left:50%;border-left:1.5px solid var(--line2)}
.oc li:first-child::before,.oc li:last-child::after{border:0 none}
.oc li:last-child::before{border-right:1.5px solid var(--line2);border-radius:0 10px 0 0}
.oc li:first-child::after{border-radius:10px 0 0 0}
.oc li:only-child::before{display:none}
.oc li:only-child::after{border-top:0;border-radius:0}
.oc>li::before,.oc>li::after{display:none}
.oc ul::before{content:"";position:absolute;top:0;left:50%;height:30px;border-left:1.5px solid var(--line2)}
.oc ul.vert{flex-direction:column;align-items:stretch;padding:16px 0 0 22px}
.oc ul.vert::before{left:8px;width:calc(50% - 8px);height:7px;border-left:0;border-right:1.5px solid var(--line2);border-bottom:1.5px solid var(--line2);border-bottom-right-radius:7px}
.oc ul.vert>li{padding:0;margin-top:9px;align-items:stretch}
.oc ul.vert>li::before{display:block;left:-14px;right:auto;top:-10px;bottom:0;width:0;height:auto;border:0;border-left:1.5px solid var(--line2);border-radius:0}
.oc ul.vert>li:last-child::before{bottom:auto;height:36px;border-right:0}
.oc ul.vert>li::after{display:block;left:-14px;top:26px;width:14px;height:0;border:0;border-top:1.5px solid var(--line2);border-radius:0}
.oc ul.vert>li:first-child::before{top:-11px}
.tm-curs{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}
.tm-curs path{fill:none;stroke:var(--violet);stroke-width:1.6;stroke-dasharray:5 4}
.tm-curs marker path{fill:var(--violet);stroke:none}
.tm-curs text{fill:var(--violet-fg);font:800 11px var(--font)}

.tm-node{--c:var(--p8);position:relative;width:204px;padding:8px;border-radius:16px;background:var(--card);box-shadow:var(--shadow-card);border-top:3px solid var(--c);transition:opacity .2s}
.tm-node.k-owners{width:auto;min-width:300px}
.tm-node.k-branch{width:216px}
.tm-node.k-field{width:204px;background:color-mix(in srgb,var(--card) 70%,transparent);border-top-style:dashed}
.tm-node.dim{opacity:.38}
.tm-node.hl{box-shadow:0 0 0 2px var(--c),var(--shadow-card)}
.tm-nh{display:flex;align-items:center;gap:9px;width:100%;padding:4px;border-radius:10px;text-align:left}
.tm-nh:hover{background:rgba(var(--ov),.04)}
.tm-nh>i{width:32px;height:32px;border-radius:10px;flex:none;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 16%,transparent);color:color-mix(in srgb,var(--c),#000 var(--deepen))}
.tm-nh>i svg{width:16px;height:16px}
.tm-nh>span{flex:1;min-width:0;line-height:1.2}
.tm-nh small{display:block;font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-nh b{display:block;font-size:14px;font-weight:800}
.tm-nh em{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-size:12px;font-weight:800;color:var(--muted)}
.tm-nh em svg{width:13px;height:13px}
.tm-cur-tag{display:inline-flex;align-items:center;gap:4px;margin:2px 4px 0;padding:1px 7px;border-radius:999px;background:var(--violet-soft);color:var(--violet-fg);font-size:10.5px;font-weight:800}
.tm-cur-tag svg{width:11px;height:11px}
.tm-heads,.tm-mem{margin-top:6px;padding-top:4px;border-top:1px solid var(--line-row);display:flex;flex-direction:column;gap:1px}
.tm-heads.own{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.tm-pp{display:flex;align-items:center;gap:8px;width:100%;padding:5px 6px;border-radius:10px;text-align:left}
.tm-pp:hover{background:rgba(var(--ov),.05)}
.tm-pp .tm-ava{box-shadow:none}
.tm-pp .t{flex:1;min-width:0;line-height:1.2}
.tm-pp b{display:block;font-size:12.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-pp small{display:block;font-size:11px;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-pp.head b{font-size:13px}
.tm-pp.off b{color:var(--muted)}
.tm-nload{display:flex;gap:12px;margin-top:6px;padding:6px 6px 2px;border-top:1px solid var(--line-row);font-size:12px;font-weight:800;color:var(--muted)}
.tm-nload span{display:inline-flex;align-items:center;gap:4px}
.tm-nload svg{width:13px;height:13px}
.tm-fold{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:6px;padding:5px;border-radius:9px;background:rgba(var(--ov),.04);font-size:11.5px;font-weight:800;color:var(--muted)}
.tm-fold:hover{color:var(--text);background:rgba(var(--ov),.08)}
.tm-fold svg{width:13px;height:13px}

/* ---------- структура: список-дерево ---------- */
.tm-tree{flex:1 1 0;min-height:0;overflow-y:auto;margin:0 -24px;padding:0 24px 28px;display:flex;flex-direction:column;gap:2px}
.tm-trow{--c:var(--p8);display:flex;align-items:center;gap:6px;padding:4px 8px 4px calc(var(--d) * 22px + 4px);border-radius:12px;background:var(--card);box-shadow:var(--shadow-card);margin-top:6px;border-left:3px solid var(--c)}
.tm-trow.dim{opacity:.45}
.tm-trow.hl{box-shadow:0 0 0 2px var(--c)}
.tm-tg{width:28px;height:28px;flex:none;border-radius:8px;display:grid;place-items:center;color:var(--muted)}
button.tm-tg:hover{background:rgba(var(--ov),.06);color:var(--text)}
.tm-tg svg{width:15px;height:15px}
.tm-tn{flex:1;min-width:0;display:flex;align-items:center;gap:9px;padding:4px;border-radius:9px;text-align:left}
.tm-tn>i{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 16%,transparent);color:color-mix(in srgb,var(--c),#000 var(--deepen))}
.tm-tn>i svg{width:15px;height:15px}
.tm-tn span{min-width:0}
.tm-tn b{display:block;font-weight:800}
.tm-tn small{display:block;font-size:11.5px;font-weight:600;color:var(--muted)}
.tm-tp{display:flex;align-items:center;gap:9px;width:100%;padding:6px 10px 6px calc(var(--d) * 22px + 36px);border-radius:10px;text-align:left}
.tm-tp:hover{background:rgba(var(--ov),.04)}
.tm-tp .tm-ava{box-shadow:none}
.tm-tp>span:not(.tm-ava):not(.pill){flex:1;min-width:0;line-height:1.25}
.tm-tp b{display:block;font-size:13px;font-weight:700}
.tm-tp small{display:block;font-size:11.5px;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-tp .tm-multi{display:inline-flex}

/* ---------- панели: подразделение и сотрудник ---------- */
.tm-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.tm-kpis .dl-kpi{min-width:0;flex:none}
.tm-urow{display:flex;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:14px;background:var(--field);text-align:left;margin-bottom:6px}
.tm-urow:hover{background:var(--field-h)}
.tm-urow>span:not(.tm-ava){flex:1;min-width:0;line-height:1.3}
.tm-urow b{display:block;font-weight:800}
.tm-urow small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.tm-urow>svg{width:16px;height:16px;color:var(--dim)}
.tm-urow.sm{padding:6px 8px;background:none;margin:0}
.tm-urow.sm:hover{background:rgba(var(--ov),.04)}
.tm-urow .tm-ava{box-shadow:none}
.tm-store{padding:10px;border-radius:14px;background:var(--field);margin-bottom:8px}
.tm-store-h{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.tm-store-h>svg{width:16px;height:16px;color:var(--muted)}
.tm-store-h a{text-decoration:none}
.tm-queue{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.tm-queue li{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:10px}
.tm-queue li.next{background:var(--accent-soft)}
.tm-queue li.off{opacity:.55}
.tm-queue .n{width:18px;text-align:center;font-size:12px;font-weight:800;color:var(--dim)}
.tm-queue .t{flex:1;min-width:0;text-align:left;line-height:1.2}
.tm-queue .t b{display:block;font-size:13px}
.tm-queue .t small{display:block;font-size:11px;color:var(--muted);font-weight:600}
.tm-queue .tm-ava{box-shadow:none}
.tm-mini td,.tm-mini th{padding:8px 10px}
.tm-mini .num,.tm-people .num{text-align:right;font-variant-numeric:tabular-nums}
.tm-mini td:first-child{max-width:260px}
.tm-mini .tm-cell small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
.tm-uhead{align-items:flex-start}
.tm-uh{display:flex;align-items:center;gap:14px}
.tm-uh .tm-dkicker{margin-bottom:4px}
.tm-posts{display:flex;flex-direction:column;gap:6px}
.tm-post{--c:var(--p8);display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:14px;background:var(--field);text-align:left;border-left:3px solid var(--c)}
.tm-post:hover{background:var(--field-h)}
.tm-post>i{width:32px;height:32px;border-radius:10px;flex:none;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 16%,transparent);color:color-mix(in srgb,var(--c),#000 var(--deepen))}
.tm-post>i svg{width:16px;height:16px}
.tm-post>span:not(.pill){flex:1;min-width:0}
.tm-post b{display:block;font-weight:800}
.tm-post small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.tm-post>svg{width:16px;height:16px;color:var(--dim)}
.wk-prow>b a{color:inherit;text-decoration:none}
.wk-prow>b a:hover{color:var(--accent-fg)}
.wk-prow>b .wk-meta{margin-left:6px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;text-decoration:none;color:var(--text)}
.tm-li:hover{background:rgba(var(--ov),.04)}
.tm-li>svg{width:16px;height:16px;color:var(--dim);flex:none}
.tm-li>svg:first-child{color:var(--accent-fg)}
.tm-li>span:not(.wk-due):not(.tm-sum){flex:1;min-width:0;line-height:1.25}
.tm-li b{display:block;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-li small{display:block;font-size:11.5px;color:var(--muted);font-weight:600}
.tm-sum{font-size:12.5px;font-weight:800;white-space:nowrap}
.tm-cnt2{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.tm-cnt2>div{flex:1 1 90px;padding:10px 12px;border-radius:14px;background:var(--field)}
.tm-cnt2 b{display:block;font-size:20px;font-weight:800;letter-spacing:-.4px}
.tm-cnt2 span{font-size:12px;font-weight:700;color:var(--muted)}
.tm-dfoot a.btn{text-decoration:none}

/* ---------- сотрудники ---------- */
.tm-ptop{gap:8px}
.tm-ptop .wk-sel{max-width:210px}
.tm-people td{vertical-align:top}
.tm-people td .tm-cell{align-items:flex-start}
.tm-people .tm-sub{display:none}
.tm-pl{font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}
.tm-people a{color:inherit;text-decoration:none;white-space:nowrap}
.tm-people a:hover{color:var(--accent-fg)}
.tm-people tbody tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

/* ---------- роли и доступ ---------- */
.tm-lock{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:14px;background:var(--amber-soft);color:var(--amber-fg)}
.tm-lock>svg{width:22px;height:22px;flex:none}
.tm-lock>span{flex:1;min-width:200px}
.tm-lock b{display:block;font-weight:800}
.tm-lock small{display:block;font-size:12.5px;font-weight:600}
.tm-atop{gap:10px}
.tm-roles{flex-wrap:wrap;max-width:100%}
.tm-cmp{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted)}
.tm-cmp>svg{width:16px;height:16px}
.tm-agrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.tm-matrix{padding:14px}
.tm-mh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 2px 10px}
.tm-mh b{font-size:16px;font-weight:800}
.tm-acc th,.tm-acc td{text-align:center;padding:8px 6px}
.tm-acc thead th{background:var(--card)}
.tm-acc tbody th{text-align:left;font-size:13.5px;font-weight:800;color:var(--text);white-space:nowrap;padding-left:4px}
.tm-acc tbody tr{cursor:default}
.tm-acc tbody tr:hover td{background:none}
.tm-lv{cursor:pointer;min-width:62px;justify-content:center;max-width:132px;white-space:normal;line-height:1.15;text-align:center}
button.tm-lv:hover:not(:disabled){filter:brightness(.95);box-shadow:0 0 0 1.5px currentColor}
button.tm-lv:disabled{cursor:default}
.tm-lv2{display:flex;margin:4px auto 0;width:max-content;max-width:132px;opacity:.8;white-space:normal;line-height:1.15}
.tm-acc td.diff{background:var(--amber-soft)!important;border-radius:10px}
.tm-lvleg{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:12px}
.tm-aside{display:flex;flex-direction:column;gap:14px}
.tm-rules,.tm-holders{padding:14px}
.tm-rules ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}
.tm-holders h5 em{margin-left:auto}

/* ---------- распределение заявок ---------- */
.tm-rsec{margin:0;min-width:0}
.tm-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tm-mode{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:18px;background:var(--card);box-shadow:var(--shadow-card);text-align:left;border:2px solid transparent}
.tm-mode:hover:not(:disabled){background:var(--card-h)}
.tm-mode.on{border-color:var(--accent);background:var(--accent-soft)}
.tm-mode:disabled{cursor:default}
.tm-mh2{display:flex;align-items:center;gap:8px}
.tm-mh2 i{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;background:var(--ink);color:var(--ink-fg)}
.tm-mh2 b{flex:1;font-size:14.5px;font-weight:800}
.tm-mh2 .ck{width:18px;height:18px;color:var(--accent)}
.tm-mode .pro,.tm-mode .con{display:flex;gap:6px;font-size:12.5px;font-weight:600;line-height:1.4}
.tm-mode .pro{color:var(--accent-fg)}
.tm-mode .con{color:var(--amber-fg)}
.tm-mode .pro svg,.tm-mode .con svg{width:14px;height:14px;flex:none;margin-top:2px}
.tm-queues{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.tm-qcard{padding:12px;border-top:3px solid var(--c);display:flex;flex-direction:column;gap:8px}
.tm-qcard.dim{opacity:.45}
.tm-qh{display:flex;align-items:center;gap:10px}
.tm-qh>i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 16%,transparent);color:color-mix(in srgb,var(--c),#000 var(--deepen))}
.tm-qh>i svg{width:17px;height:17px}
.tm-qh b{display:block;font-weight:800}
.tm-qh small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.tm-q{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.tm-q li{display:flex;align-items:center;gap:7px;padding:5px 6px;border-radius:11px;background:var(--field)}
.tm-q li.next{background:var(--accent-soft);box-shadow:inset 0 0 0 1.5px rgba(var(--acc),.4)}
.tm-q li.off .t b{color:var(--muted)}
.tm-q .n{width:16px;text-align:center;font-size:12px;font-weight:800;color:var(--dim)}
.tm-q .tm-ava{box-shadow:none}
.tm-q .t{flex:1;min-width:0;text-align:left;line-height:1.15}
.tm-q .t b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-q .t small.nx{display:block;font-size:10.5px;font-weight:800;color:var(--accent-fg)}
.tm-sh{padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.tm-sh.on{background:var(--accent-soft);color:var(--accent-fg)}
.tm-sh.off{background:var(--gray-soft);color:var(--gray-fg)}
.tm-q li.next .tm-sh.on{background:var(--card)}
.tm-arrows{display:flex}
.tm-arrows button{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}
.tm-arrows button:hover:not(:disabled){background:rgba(var(--ov),.08);color:var(--text)}
.tm-arrows button:disabled{opacity:.3;cursor:default}
.tm-arrows svg{width:15px;height:15px}
.tm-qf{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tm-q2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:14px;align-items:start}
.tm-meas{padding:8px}
.tm-mrow{display:flex;align-items:center;gap:10px;padding:8px}
.tm-mrow>i{width:9px;height:9px;border-radius:3px;background:var(--c);flex:none}
.tm-mrow>b{width:92px;font-weight:800}
.tm-mrow .tm-ava{box-shadow:none}
.tm-mrow .wk-sel{flex:1;min-width:0}
.tm-rulesrc{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:2px}
.tm-rulesrc li{display:flex;gap:10px;align-items:flex-start;padding:8px}
.tm-rulesrc li>i{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;background:var(--field);color:var(--accent-fg)}
.tm-rulesrc li>i svg{width:15px;height:15px}
.tm-rulesrc b{display:block;font-weight:800;font-size:13.5px}
.tm-rulesrc small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;line-height:1.4}
.tm-question{display:flex;gap:14px;padding:16px;border-radius:18px;background:var(--blue-soft);color:var(--blue-fg);border:1.5px dashed var(--blue)}
.tm-question>i{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--blue);color:var(--card);font-style:normal;font-weight:800;font-size:17px}
.tm-question b{display:block;font-size:15px;font-weight:800;color:var(--text)}
.tm-question p{margin:6px 0;font-size:13px;font-weight:600}
.tm-question ul{margin:0;padding-left:18px;font-size:13px;font-weight:600;color:var(--text)}

@media (max-width:1100px){
  .tm-agrid,.tm-q2{grid-template-columns:minmax(0,1fr)}
  .tm-modes{grid-template-columns:minmax(0,1fr)}
  .tm-people .c-sch,.tm-people .c-unit{display:none}
}
/* ---------- телефон ---------- */
@media (max-width:900px){
  .tm-pane{padding:12px 16px 20px}
  .tm-orgwrap,.tm-tree{margin:0 -16px;padding-left:16px;padding-right:16px}
  .tm-legend{display:none}
  .tm-ptop .wk-search{flex:1 1 100%}
  .tm-ptop .wk-sel{flex:1 1 calc(50% - 8px);max-width:none;min-width:0}
  .tm-ptop .grow{display:none}
  .tm-people .c-posts,.tm-people .c-store,.tm-people .c-ph,.tm-people .c-role,.tm-people thead{display:none}
  .tm-people .tm-sub{display:block;white-space:normal}
  .tm-people td{padding:10px}
  .tm-people .tm-cell b{white-space:normal}
  .tm-atop{flex-direction:column;align-items:stretch}
  .tm-roles{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .tm-acc th,.tm-acc td{padding:6px 3px}
  .tm-lv,.tm-lv2{min-width:0;font-size:10.5px;padding:3px 6px}
  .tm-uh{flex-direction:column;align-items:flex-start;gap:8px}
  .tm-trow{padding-left:calc(var(--d) * 14px + 4px)}
  .tm-tp{padding-left:calc(var(--d) * 14px + 30px)}
  .tm-mrow{flex-wrap:wrap}
  .tm-mrow .wk-sel{flex:1 1 100%}
  .tm-question{flex-direction:column}
  .tm-queues{grid-template-columns:minmax(0,1fr)}
}
.tm-mrow>span:not(.pill):not(.tm-ava){flex:1;min-width:0;font-size:13px;font-weight:600;color:var(--muted)}
