/* Scoped content-only presentation; uses existing Bulatkin Leads tokens. */
#app .company-table-view .enterprise-summary{display:flex;gap:24px;padding:12px 18px;margin-bottom:16px;box-shadow:none}
#app .company-table-view .enterprise-summary-item{padding:0;gap:10px;flex:1}
#app .company-table-view .enterprise-summary-icon{width:32px;height:32px}
#app .company-table-view .enterprise-summary-item b{font-size:20px}
#app .company-table-view .company-directory{display:block;min-width:0}
#app .company-table-view .company-carousel-shell{display:block;overflow-x:auto;border:1px solid var(--line);border-radius:20px;background:var(--panel)}
#app .company-table-view .company-scroll-arrow,#app .company-table-view .company-scroll-rail{display:none}
#app .company-table-view #company-card-track{display:block;padding:0;margin:0;overflow:visible;min-width:1000px}
#app .company-table-view .company-table-heading,#app .company-table-view .company-card{display:grid;grid-template-columns:minmax(180px,1.5fr) 138px minmax(145px,1fr) 90px minmax(155px,1.2fr) 120px 125px;gap:12px;align-items:center;padding:12px 18px;width:auto;min-width:1000px;max-width:none;box-sizing:border-box}
#app .company-table-view .company-table-heading{color:var(--muted);background:var(--brand-soft);font-size:12px;font-weight:600}
#app .company-table-view .company-card{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;min-height:66px;background:var(--panel);cursor:pointer;transform:none}
#app .company-table-view .company-card:last-child{border-bottom:0}
#app .company-table-view .company-card:hover,#app .company-table-view .company-card.is-selected{background:var(--brand-soft)}
#app .company-table-view .company-card.is-selected{box-shadow:inset 3px 0 var(--brand)}
#app .company-table-view .company-table-cell{min-width:0;font-size:14px;font-variant-numeric:tabular-nums}
#app .company-table-view .company-card-title{gap:10px;min-width:0}
#app .company-table-view .company-card-icon{width:32px;height:32px;flex:0 0 32px;border-radius:10px}
#app .company-table-view .company-card-icon svg{width:19px;height:19px}
#app .company-table-view .company-card-name{font-size:15px;white-space:normal;overflow-wrap:anywhere}
#app .company-table-view .company-status-pill{margin:0;width:max-content;padding:5px 10px;font-size:12px}
#app .company-table-view .company-card-admin{margin:0;padding:0;border:0;gap:8px}
#app .company-table-view .company-card-admin img,#app .company-table-view .company-card-admin .avatar,#app .company-table-view .company-card-admin-placeholder{height:30px;width:30px;min-width:30px;border-radius:50%;font-size:14px}
#app .company-table-view .company-card-admin small{display:none}
#app .company-table-view .company-card-admin b{font-size:13px;white-space:normal}
#app .company-table-view .company-metric-icon{display:none}
#app .company-table-view .company-table-actions{display:flex;gap:6px;align-items:center}
#app .company-table-view .company-card-open{margin:0;padding:6px 9px;width:auto;min-height:32px;font-size:12px;border-radius:10px}
#app .company-table-view .company-card-menu{position:static;flex:0 0 28px;width:28px;height:30px}
#app .company-team-compact{padding:22px!important;margin-top:20px;background:var(--panel);border:1px solid var(--line);border-radius:24px;min-width:0}
#app .company-team-compact .page-head{margin-bottom:14px}
#app .company-team-compact .page-head h1{font-size:26px}
#app .company-team-compact .ws-team-metrics{display:flex;gap:24px;margin:0 0 18px;padding:0;flex-wrap:wrap}
#app .company-team-compact .ws-team-metrics article{display:flex;gap:8px;align-items:baseline;padding:0;border:0;background:none;box-shadow:none}
#app .company-team-compact .ws-team-metrics strong{font-size:21px;color:var(--brand)}
#app .company-team-compact .ws-team-toolbar{display:flex;gap:12px;padding:0 0 16px;flex-wrap:wrap}
#app .company-team-compact .enterprise-team-search{flex:1;max-width:650px;min-width:220px}
#app .company-team-compact .team-status-filter{width:190px;min-height:42px}
#app .company-team-compact .enterprise-team-scroll{overflow:auto;border:1px solid var(--line);border-radius:16px}
#app .company-team-compact .enterprise-team-table{min-width:980px;width:100%;table-layout:auto}
#app .company-team-compact .enterprise-team-table th{background:var(--brand-soft);color:var(--muted);padding:12px;font-size:12px}
#app .company-team-compact .enterprise-team-table td{padding:12px;border-bottom:1px solid var(--line)}
#app .company-team-compact .enterprise-team-person-main{gap:10px}
#app .company-team-compact .enterprise-team-open{font-size:14px;white-space:normal}
#app .company-team-compact .enterprise-team-person-meta{font-size:12px}
#app .company-team-compact .enterprise-team-device-activity{font-size:12px}
#app .company-team-compact .monitor-status-cell{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#app .company-team-compact .roster-monitor-actions{display:flex;gap:6px}
#app .company-team-compact .monitor-icon-button{display:inline-flex;align-items:center;gap:5px;width:auto;min-width:32px;height:32px;padding:5px 8px;border-color:var(--brand-border);color:var(--brand);font-size:12px;border-radius:10px}
#app .company-team-compact .team-monitor-note,#app .company-team-compact .team-search-empty{font-size:12px;color:var(--muted);margin:12px 0 0}
#app .company-team-compact [hidden]{display:none!important}
@media(max-width:760px){
#app .company-team-compact{padding:12px!important;border-radius:16px}
#app .company-team-compact .page-head{align-items:flex-start;flex-direction:column;gap:10px}
#app .company-team-compact .page-head-actions{flex-wrap:wrap}
#app .company-team-compact .enterprise-team-search{min-width:0;flex-basis:100%}
#app .company-table-view .enterprise-summary{gap:12px;flex-wrap:wrap}
#app .company-table-view .enterprise-summary-icon{display:none}
#app .company-table-view .enterprise-summary-item{flex-basis:120px}
}
#app .company-team-compact .enterprise-team-person .enterprise-team-status-cell.monitor-status-cell{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:190px}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions{display:flex;flex-wrap:nowrap;width:auto;min-width:0}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button{width:auto;flex:0 0 auto;min-width:0;padding:5px 8px}
#app .company-team-compact .enterprise-team-table td:first-child{min-width:280px}
#app .company-team-compact .enterprise-team-table td{height:auto;padding:10px 12px}
#app .company-team-compact .team-directory-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#app .company-team-compact .team-directory-tools label{display:flex;gap:8px;align-items:center}
#app .company-team-compact .team-directory-feedback{margin:0;font-size:12px;color:var(--muted)}
#app .company-table-view .company-card-admin .avatar{aspect-ratio:1;flex:0 0 30px;overflow:hidden}
#app .company-table-view .company-card{min-height:66px!important;padding:10px 18px!important}
#app .company-table-view .company-card-admin{min-height:0}
#app .company-table-view .company-card-admin>span{display:block}
#app .company-table-view .company-table-cell{justify-self:stretch}
#app .company-team-compact .enterprise-team-person-meta{display:flex;flex-wrap:wrap;gap:4px 10px}
#app .company-team-compact .enterprise-team-person-copy{line-height:1.35}
@media(min-width:981px){
#app .company-table-view{margin-left:64px!important;width:calc(100% - 64px)!important;box-sizing:border-box}
}
/* r2: reset card-only positioning inside the directory rows. */
#app .company-table-view .company-card-title{justify-content:flex-start;justify-self:start;text-align:left;width:100%}
#app .company-table-view .company-card-name{max-width:none;color:var(--design-ink)!important;font-size:14px;font-weight:600}
#app .company-table-view .company-card-menu{position:static!important;inset:auto!important;transform:none!important;display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px}
#app .company-table-view .company-table-actions{justify-content:flex-end;gap:8px}
#app .company-table-view .company-card-admin .company-card-admin-placeholder{display:grid;place-items:center;flex:0 0 28px;width:28px;min-width:28px;height:28px;line-height:1;font-size:14px}
#app .company-table-view .company-card{min-height:54px!important;padding:8px 16px!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;color:var(--design-ink)!important}
#app .company-table-view .company-card.is-selected{background:var(--brand-soft)!important;box-shadow:inset 3px 0 var(--brand)!important}
#app .company-table-view .company-card.is-selected .company-table-cell b{color:var(--design-ink)!important}
#app .company-table-view .company-table-heading,#app .company-table-view .company-card{grid-template-columns:minmax(190px,1.5fr) 138px minmax(140px,1fr) 90px minmax(160px,1.2fr) 120px 120px;gap:12px}
#app .company-table-view .company-table-heading{padding:10px 16px}
#app .company-table-view .company-table-heading>span:last-child{text-align:right}
#app .company-table-view .company-status-pill{min-height:26px;padding:4px 9px;box-sizing:border-box}
#app .company-table-view .company-card-icon{height:28px;width:28px;flex-basis:28px;border-radius:8px}
#app .company-table-view .company-card-icon svg{width:19px!important;height:19px!important}
#app .company-table-view .company-card-admin{justify-content:flex-start}
#app .company-table-view .company-card-open{min-height:30px;height:30px;padding:4px 10px;font-size:12px}
#app .company-table-view .enterprise-summary{min-height:0;padding:10px 16px;gap:20px;margin:0 0 16px}
#app .company-table-view .enterprise-summary-item{justify-content:flex-start;min-height:0}
#app .company-table-view .enterprise-summary-item>div{display:flex;align-items:baseline;gap:10px}
#app .company-table-view .enterprise-summary-icon{width:28px;height:28px;flex:0 0 28px}
#app .company-table-view .enterprise-summary-label{font-size:12px}
#app .company-table-view .enterprise-summary-item b{font-size:18px}
#app .company-team-compact .enterprise-team-person .enterprise-team-open{min-height:26px}
#app .company-team-compact .enterprise-team-person .team-message-button{min-height:30px;height:30px;width:30px}
#app .company-team-compact .page-head-actions{gap:8px}
#app .company-table-view .company-card-title .company-director-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;max-width:28px;border-radius:50%;object-fit:cover;overflow:hidden;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:600;line-height:1}
#app .company-team-compact .team-department{flex-basis:100%;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
/* r5: intrinsic image flex-basis and legacy button min-height must agree. */
#app .company-table-view .company-card-admin>.avatar-photo,
#app .company-table-view .company-card-admin>.avatar,
#app .company-table-view .company-card-admin>.company-card-admin-placeholder{display:grid;place-items:center;flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:50%;overflow:hidden}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button{height:32px;min-height:32px;max-height:32px;line-height:18px;padding:6px 9px;font-size:12px;box-sizing:border-box;white-space:nowrap;box-shadow:none}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button svg{width:16px;height:16px;flex:0 0 16px}
#app .company-team-compact .enterprise-team-person .enterprise-team-status-cell.monitor-status-cell{gap:5px}
#app .company-team-compact .enterprise-team-device-activity{white-space:normal;max-width:250px}
#app .company-team-compact .enterprise-team-table td{padding:9px 12px;vertical-align:middle}
#app .company-team-compact .enterprise-team-status-cell .presence-elapsed{font-size:11px}
@media(min-width:981px){
#app .company-table-view{width:calc(100% - 128px)!important}
#app .company-team-compact:not(.company-table-view .company-team-compact){margin-left:64px;width:calc(100% - 128px);box-sizing:border-box}
}
@media(pointer:coarse){
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button{min-height:44px;height:44px;max-height:44px;padding:10px}
}
/* r6 — dense content tables. Header and telephony remain untouched. */
#app .company-table-view .company-card{min-height:40px!important;padding:4px 12px!important}
#app .company-table-view .company-card-name,#app .company-table-view .company-card-admin b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .company-table-view .company-table-heading{padding:7px 12px}
#app .company-table-view .company-table-cell{font-size:13px}
#app .company-table-view .company-status-pill{padding:2px 7px;min-height:22px}
#app .company-table-view .company-carousel-shell{border-radius:12px}
#app .company-table-view .enterprise-summary{padding:6px 12px;margin-bottom:10px}
#app .company-team-compact{padding:14px!important;margin-top:14px;border-radius:14px}
#app .company-team-compact .page-head{margin-bottom:8px}
#app .company-team-compact .page-head h1{font-size:20px;margin:0}
#app .company-team-compact .ws-team-metrics{gap:20px;margin:0 0 8px}
#app .company-team-compact .ws-team-metrics strong{font-size:15px}
#app .company-team-compact .ws-team-metrics article{font-size:12px}
#app .company-team-compact .ws-team-toolbar{padding:0 0 8px;gap:8px}
#app .company-team-compact .enterprise-team-scroll{border-radius:10px}
#app .company-team-compact .enterprise-team-table{display:block;min-width:1120px}
#app .company-team-compact .enterprise-team-table thead,
#app .company-team-compact .enterprise-team-table tbody{display:block;width:100%}
#app .company-team-compact .enterprise-team-table tr{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(95px,.7fr) 130px minmax(150px,1fr) 60px 190px 72px;gap:8px;align-items:center;padding:0 10px;min-height:42px;border-bottom:1px solid var(--line);position:relative}
#app .company-team-compact .enterprise-team-table thead tr{min-height:32px;background:var(--brand-soft)}
#app .company-team-compact .enterprise-team-table th,
#app .company-team-compact .enterprise-team-table td{padding:4px 0;border:0!important;min-width:0!important;height:auto;font-size:12px;text-align:left;background:transparent}
#app .company-team-compact .dense-heading-5{grid-column:6/8}
#app .company-team-compact .dense-name{grid-column:1;grid-row:1}
#app .company-team-compact .dense-department{grid-column:2;grid-row:1}
#app .company-team-compact .dense-device{grid-column:3;grid-row:1}
#app .company-team-compact .dense-calls{grid-column:5;grid-row:1}
#app .company-team-compact .dense-actions{grid-column:7;grid-row:1}
#app .company-team-compact .dense-status,
#app .company-team-compact .enterprise-team-person .enterprise-team-status-cell{display:contents!important}
#app .company-team-compact .enterprise-team-status{grid-column:4;grid-row:1;font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:5px}
#app .company-team-compact .roster-monitor-actions{grid-column:6;grid-row:1;gap:4px!important;white-space:nowrap}
#app .company-team-compact .enterprise-team-person-main{gap:7px;min-width:0}
#app .company-team-compact .enterprise-team-person-copy{min-width:0;flex:1}
#app .company-team-compact .enterprise-team-open{display:flex;align-items:center;gap:4px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:13px;max-width:100%;padding:0;min-height:28px}
#app .company-team-compact .enterprise-team-open svg{width:13px;height:13px;flex-shrink:0}
#app .company-team-compact .enterprise-team-avatar{width:26px;height:26px;min-width:26px;max-width:26px;flex:0 0 26px;aspect-ratio:1;border-radius:50%;overflow:hidden;font-size:11px}
#app .company-team-compact .enterprise-team-avatar img{width:26px;height:26px;object-fit:cover;border-radius:50%}
#app .company-team-compact .enterprise-team-actions{display:flex;gap:3px;margin:0}
#app .company-team-compact .enterprise-team-person .team-message-button{width:28px;height:28px;min-height:28px;padding:5px;border-radius:7px}
#app .company-team-compact .enterprise-team-person .team-message-button svg{width:16px;height:16px}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button{height:28px;min-height:28px;max-height:28px;padding:4px 6px;border-radius:7px;font-size:11px;gap:4px}
#app .company-team-compact .enterprise-team-device-activity{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;line-height:1.2}
#app .company-team-compact .enterprise-team-device-activity>span{display:inline!important;font-size:11px;color:var(--muted)}
#app .company-team-compact .team-department{font-size:12px;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
#app .company-team-compact .dense-details{position:relative;flex:0 0 20px}
#app .company-team-compact .dense-details summary{cursor:pointer;list-style:none;color:var(--muted);font-size:18px;line-height:26px;text-align:center}
#app .company-team-compact .dense-details summary::-webkit-details-marker{display:none}
#app .company-team-compact .dense-details[open] .enterprise-team-person-meta{position:absolute;left:0;top:28px;z-index:10;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #25203b20;width:260px;padding:12px;display:flex;gap:8px;white-space:normal}
#app .company-team-compact .dense-details:not([open]) .enterprise-team-person-meta{display:none}
#app .company-team-compact .team-monitor-note{margin:8px 0 0;font-size:11px}
#app .company-table-view>.page-head{margin-bottom:12px;min-height:0}
#app .company-table-view>.page-head h1{font-size:22px;margin:0}
#app .company-table-view .enterprise-list-controls{margin:0 0 10px;gap:8px}
#app .company-table-view .enterprise-search{min-height:36px;height:36px}
#app .company-team-compact .dense-heading-2{white-space:normal;line-height:1.2}
#app .company-team-compact .enterprise-team-table th{font-size:11px}
#app .company-team-compact .page-head .page-title{font-size:20px}
#app .company-team-compact .enterprise-team-person:hover{background:var(--brand-soft)}
#app .company-team-compact .enterprise-team-person:hover>td{background:transparent!important}
#app .company-team-compact .enterprise-team-table .dense-heading-2{white-space:nowrap;font-size:10px}
/* r7: fit the available content width, never crop action columns. */
#app .company-table-view{max-width:1440px;box-sizing:border-box}
@media(min-width:981px){
 #app .company-table-view{width:calc(100% - 96px)!important;margin-inline:auto!important}
 #app .company-team-compact:not(.company-table-view .company-team-compact){width:calc(100% - 96px);max-width:1440px;margin-inline:auto}
}
#app .company-team-compact .enterprise-team-scroll{container-type:inline-size;overflow:visible;min-width:0}
#app .company-team-compact .enterprise-team-table{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#app .company-team-compact .enterprise-team-table tr{grid-template-columns:minmax(0,1.5fr) minmax(50px,.65fr) 108px minmax(115px,1fr) 44px 164px 60px;gap:6px;padding-inline:10px;box-sizing:border-box}
#app .company-team-compact .enterprise-team-table th{text-align:center;overflow:hidden;text-overflow:ellipsis}
#app .company-team-compact .enterprise-team-table th:first-child{text-align:left}
#app .company-team-compact .dense-department,#app .company-team-compact .dense-calls{text-align:center!important}
#app .company-team-compact .enterprise-team-device-activity,#app .company-team-compact .enterprise-team-status{justify-content:center;min-width:0}
#app .company-team-compact .enterprise-team-status{white-space:normal;line-height:1.25}
#app .company-team-compact .enterprise-team-device-activity{flex-wrap:wrap;gap:2px 5px}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions{justify-content:center;max-width:100%;gap:3px!important}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button{padding-inline:5px;gap:3px}
#app .company-team-compact .enterprise-team-status-cell .roster-monitor-actions .monitor-icon-button svg{width:14px;height:14px;flex-basis:14px}
#app .company-team-compact .enterprise-team-actions{justify-content:center}
#app .company-team-compact .enterprise-team-open{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .company-team-compact .dense-details[open] .enterprise-team-person-meta{left:auto;right:0;max-width:min(260px,70vw)}
#app .company-team-compact .enterprise-team-search{max-width:none;flex:1 1 280px;min-width:0}
#app .company-team-compact .team-directory-tools{gap:8px}
#app .company-team-compact .team-directory-tools label{min-width:0}
#app .company-team-compact .ws-team-toolbar{align-items:center}
#app .company-table-view .company-carousel-shell{container-type:inline-size;overflow:visible}
#app .company-table-view #company-card-track{min-width:0;width:100%}
#app .company-table-view .company-table-heading,#app .company-table-view .company-card{min-width:0;grid-template-columns:minmax(0,1.4fr) 130px 120px 74px minmax(0,1fr) 76px 112px;gap:8px}
#app .company-table-view .company-table-cell:nth-child(4),#app .company-table-view .company-table-cell:nth-child(6){text-align:center}
#app .company-table-view .company-table-heading>span{min-width:0;font-size:11px;white-space:normal}
#app .company-table-view .company-card-admin>span{min-width:0;overflow:hidden}
#app .company-table-view .company-card-admin b{display:block;overflow:hidden;text-overflow:ellipsis}
@container(max-width:850px){
 #app .company-team-compact .enterprise-team-table tr{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.2fr) 60px;row-gap:2px;padding-block:5px}
 #app .company-team-compact .enterprise-team-table thead tr{min-height:30px;padding-block:4px}
 #app .company-team-compact .dense-heading-0{grid-column:1}
 #app .company-team-compact .dense-heading-1{grid-column:2}
 #app .company-team-compact .dense-heading-3{grid-column:3}
 #app .company-team-compact .dense-heading-4{grid-column:4}
 #app .company-team-compact .dense-heading-2,#app .company-team-compact .dense-heading-5{display:none}
 #app .company-team-compact .dense-device{grid-column:1;grid-row:2}
 #app .company-team-compact .enterprise-team-device-activity{justify-content:flex-start;padding-left:33px}
 #app .company-team-compact .enterprise-team-status{grid-column:3;grid-row:1}
 #app .company-team-compact .dense-calls{grid-column:4;grid-row:1}
 #app .company-team-compact .roster-monitor-actions{grid-column:2/4;grid-row:2}
 #app .company-team-compact .dense-actions{grid-column:4;grid-row:2}
 #app .company-table-view .company-table-heading{display:none}
 #app .company-table-view .company-card{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 112px;gap:5px 10px}
 #app .company-table-view .company-table-cell:nth-child(1){grid-column:1;grid-row:1}
 #app .company-table-view .company-table-cell:nth-child(2){grid-column:2;grid-row:1}
 #app .company-table-view .company-table-cell:nth-child(7){grid-column:3;grid-row:1}
 #app .company-table-view .company-table-cell:nth-child(3){grid-column:1;grid-row:2}
 #app .company-table-view .company-table-cell:nth-child(5){grid-column:2;grid-row:2}
 #app .company-table-view .company-table-cell:nth-child(4){grid-column:3;grid-row:2}
 #app .company-table-view .company-table-cell:nth-child(6){grid-column:1/4;grid-row:3;text-align:left}
 #app .company-table-view .company-table-cell:nth-child(4)::before{content:'Операторы: ';font-size:10px;color:var(--muted)}
 #app .company-table-view .company-table-cell:nth-child(6)::before{content:'Контакты сегодня: ';font-size:10px;color:var(--muted)}
}
@container(max-width:480px){
 #app .company-team-compact .enterprise-team-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:7px 8px}
 #app .company-team-compact .enterprise-team-table thead{display:none}
 #app .company-team-compact .dense-name{grid-column:1/3;grid-row:1}
 #app .company-team-compact .dense-department{grid-column:1;grid-row:2;text-align:left!important}
 #app .company-team-compact .dense-device{grid-column:2;grid-row:2}
 #app .company-team-compact .enterprise-team-device-activity{padding:0;justify-content:flex-end}
 #app .company-team-compact .enterprise-team-status{grid-column:1;grid-row:3;justify-content:flex-start}
 #app .company-team-compact .dense-calls{grid-column:2;grid-row:3;text-align:right!important}
 #app .company-team-compact .dense-calls::before{content:'Звонки: ';font-weight:400;color:var(--muted)}
 #app .company-team-compact .roster-monitor-actions{grid-column:1/3;grid-row:4;justify-self:start}
 #app .company-team-compact .dense-actions{grid-column:2;grid-row:5;justify-self:end}
 #app .company-team-compact .dense-department .team-department::before{content:'Отдел: '}
 #app .company-table-view .company-card{grid-template-columns:minmax(0,1fr) 112px}
 #app .company-table-view .company-table-cell:nth-child(1){grid-column:1;grid-row:1}
 #app .company-table-view .company-table-cell:nth-child(7){grid-column:2;grid-row:1}
 #app .company-table-view .company-table-cell:nth-child(2){grid-column:2;grid-row:2}
 #app .company-table-view .company-table-cell:nth-child(3){grid-column:1;grid-row:2}
 #app .company-table-view .company-table-cell:nth-child(5){grid-column:1;grid-row:3}
 #app .company-table-view .company-table-cell:nth-child(4){grid-column:2;grid-row:3}
 #app .company-table-view .company-table-cell:nth-child(6){grid-column:1/3;grid-row:4}
}
#app .company-team-compact .enterprise-team-table th,#app .company-team-compact .enterprise-team-table td{width:auto!important;max-width:none!important;box-sizing:border-box}
/* Message belongs to the identity; task and settings stay in the action column. */
#app .company-team-compact .enterprise-team-person .dense-name-message{flex:0 0 26px;width:26px;height:26px;min-height:26px;padding:4px}
#app .company-team-compact .enterprise-team-person .dense-settings{flex:0 0 28px;font-size:17px;line-height:16px}
#app .company-team-compact .enterprise-team-person .dense-settings svg{width:16px;height:16px}
