.telContactsWorkspace{display:flex;flex-direction:column;gap:14px;min-width:0;color:var(--lp-text,#172335)}
.telContactsWorkspaceHeader,.telContactsWorkspaceTools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.telContactsWorkspaceHeader>div{flex:1;min-width:200px}.telContactsWorkspaceHeader h2{display:flex;align-items:center;gap:9px;margin:0;font-size:20px}
.telContactsWorkspaceHeader p{font-size:13px;line-height:1.5;color:var(--lp-muted,#66758a);max-width:680px;margin:8px 0 0}
.telContactsWorkspace button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;white-space:nowrap}
.telContactsWorkspaceSearch{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;border:1px solid var(--lp-line,#dce3ed);border-radius:9px;padding:0 10px;background:var(--lp-surface,#fff)}
.telContactsWorkspaceSearch input{border:0!important;background:transparent!important;box-shadow:none!important;min-width:0;width:100%;padding:10px 0;color:inherit}
.telContactsWorkspaceSearch:focus-within{outline:2px solid #6c9dee;outline-offset:2px}
.telContactsWorkspaceStatus{font-size:12px;color:var(--lp-muted,#66758a)}
.telContactsWorkspaceList{min-width:0;border:1px solid var(--lp-line,#dce3ed);border-radius:10px;overflow:hidden;background:var(--lp-surface,#fff)}
.telContactsListHead,.telContactsWorkspaceRow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,1.1fr) 90px;gap:16px;align-items:center;padding:12px 16px}
.telContactsListHead{font-size:11px;color:var(--lp-muted,#66758a);background:var(--lp-surface-soft,#f5f7fb)}
.telContactsWorkspaceRow{border-top:1px solid var(--lp-line,#dce3ed);min-width:0;font-size:13px;line-height:1.5}
.telContactsWorkspaceRow>div{min-width:0;overflow-wrap:anywhere}.telContactIdentity h3{margin:0;font-size:14px;line-height:1.5}.telContactIdentity small{display:block;color:var(--lp-muted,#66758a);font-size:11px}
.telContactsWorkspacePhones,.telContactsWorkspaceOrganizations{display:flex;flex-direction:column;gap:3px}.telContactMuted{color:var(--lp-muted,#66758a)}
.telContactActions{text-align:right}.telContactsWorkspaceEmpty{padding:24px 12px;text-align:center;color:var(--lp-muted,#66758a)}
@media(max-width:1000px){.telContactsListHead,.telContactsWorkspaceRow{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 90px;gap:12px}.telContactsListHead>span:nth-child(4){display:none}.telContactEmail{grid-column:2/4}.telContactActions{grid-column:4;grid-row:1/3}.telContactIdentity{grid-row:1/3}.telContactEmail:before{content:'Почта: ';color:var(--lp-muted)}}
@media(max-width:650px){.telContactsListHead{display:none}.telContactsWorkspaceRow{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px}.telContactsWorkspaceRow:first-of-type{border-top:0}.telContactIdentity{grid-column:1;grid-row:auto}.telContactActions{grid-column:2;grid-row:1}.telContactsWorkspacePhones,.telContactsWorkspaceOrganizations,.telContactEmail{grid-column:1/-1}.telContactsWorkspaceRow [data-label]{display:block}.telContactsWorkspaceRow [data-label]:before{content:attr(data-label) ': ';color:var(--lp-muted);font-size:11px}.telContactsWorkspaceRow [data-label]>span+span:before{content:' · '}.telContactsWorkspaceHeader>button{width:100%}.telContactsWorkspaceTools>button{flex:1}}
.telModule {
  color: var(--lp-text);
  min-width: 0;
  padding: 20px;
  overflow: auto;
  font-size: 14px;
}
.telModule * {
  box-sizing: border-box;
}
.telModule h1,
.telModule h2,
.telModule h3,
.telModule p {
  margin: 0 0 12px;
}
.telModule h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}
.telModule h2 {
  font-size: 19px;
}
.telModule h3 {
  font-size: 15px;
  margin-top: 18px;
}
.telModule button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--lp-surface);
  color: var(--lp-text);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font: inherit;
}
.telModule button:hover {
  background: var(--lp-surface-hover);
}
.telModule button:disabled {
  opacity: 0.5;
  cursor: default;
}
.telModule button.telPrimary {
  background: var(--lp-primary);
  border-color: var(--lp-primary);
  color: white;
}
.telModule input:not([type="checkbox"]),
.telModule textarea {
  width: 100%;
  min-width: 0;
  background: var(--lp-input);
  color: var(--lp-text);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.telModule textarea {
  min-height: 80px;
  resize: vertical;
}
.telHeader p,
.telHint,
.telModule small {
  color: var(--lp-muted);
  font-size: 12px;
  line-height: 1.5;
}
.telTabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.telTabs button[aria-pressed="true"] {
  background: var(--lp-primary-soft);
  color: var(--lp-primary-text);
  border-color: var(--lp-primary);
}
.telMetrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.telMetrics > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--lp-line);
  padding: 16px;
  border-radius: 12px;
  background: var(--lp-surface);
}
.telMetrics strong {
  font-size: 26px;
}
.telMetrics span {
  color: var(--lp-muted);
  font-size: 12px;
}
.telFilters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.telFilters > .telField {
  flex: 1 1 150px;
}
.telField {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  color: var(--lp-text-soft);
}
.telField > .uiSelect {
  width: 100%;
}
.telField .uiSelect > button {
  width: 100%;
  justify-content: space-between;
  min-height: 38px;
}
.telCheck {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin: 12px 0;
}
.telCheck input {
  accent-color: var(--lp-primary);
}
.telTableWrap {
  overflow: auto;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: var(--lp-surface);
}
.telModule table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.telModule th,
.telModule td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid var(--lp-line);
  white-space: nowrap;
}
.telModule th {
  font-weight: 500;
  color: var(--lp-muted);
  background: var(--lp-surface-raised);
}
.telModule .telTextButton {
  border: 0;
  padding: 0;
  color: var(--lp-primary-text);
  background: none;
}
.telBadge {
  display: inline-flex;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  background: var(--lp-surface-soft);
  color: var(--lp-text-soft);
  white-space: nowrap;
}
.telStatus-registered,
.telStatus-reachable,
.telStatus-ready,
.telStatus-idle {
  background: var(--lp-success-soft);
  color: var(--lp-success);
}
.telStatus-unregistered,
.telStatus-unavailable,
.telStatus-failed {
  background: var(--lp-danger-soft);
  color: var(--lp-danger);
}
.telStatus-ringing,
.telStatus-busy,
.telStatus-pending {
  background: var(--lp-warning-soft);
  color: var(--lp-warning);
}
.telStatus-answered,
.telStatus-active {
  background: var(--lp-primary-soft);
  color: var(--lp-primary-text);
}
.telEmpty {
  padding: 40px 16px;
  text-align: center;
  color: var(--lp-muted);
}
.telError {
  padding: 12px;
  border-radius: 8px;
  background: var(--lp-danger-soft);
  color: var(--lp-danger);
  overflow-wrap: anywhere;
}
.telNotice {
  padding: 12px;
  border-radius: 8px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary-text);
}
.telConnection {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--lp-surface-raised);
  padding: 14px;
  border-radius: 10px;
}
.telConnection span {
  color: var(--lp-muted);
  font-size: 12px;
}
.telToolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  gap: 12px;
}
.telToolbar p {
  margin: 0;
}
.telCards {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.telCards article {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  padding: 16px;
  border-radius: 10px;
}
.telCards article > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}
.telActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.telOverlay {
  position: fixed;
  inset: 0;
  background: var(--lp-overlay);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.telDialog {
  width: min(640px, 100%);
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  box-shadow: var(--lp-shadow);
  padding: 0;
  outline: none;
}
.telDialog > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--lp-line);
  gap: 12px;
  flex-shrink: 0;
}
.telDialog > header h2 {
  margin: 0;
}
.telDialogBody {
  overflow: auto;
  min-height: 0;
  padding: 18px;
}
.telDialog > footer {
  padding: 12px 18px;
  border-top: 1px solid var(--lp-line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.telForm {
  display: grid;
  gap: 16px;
}
.telForm fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  padding: 14px;
}
.telFacts {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  font-size: 12px;
}
.telFacts dt {
  color: var(--lp-muted);
}
.telFacts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.telContactSummary {
  padding: 12px;
  background: var(--lp-surface-raised);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.telContactSummary > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.telTaskList {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.telTaskList button {
  flex-direction: column;
  align-items: start;
  text-align: left;
}
.telLinkTask {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
}
.telLinkTask > .telField {
  flex: 1;
}
.telRecordings audio {
  width: 100%;
  margin: 10px 0;
  max-height: 42px;
}
.telLeg {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--lp-line);
}
.telCallDock {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 380px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.telLiveCall {
  pointer-events: auto;
  border: 1px solid var(--lp-primary);
  border-radius: 12px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  overflow: auto;
}
.telLiveCall > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--lp-line);
}
.telLiveCall > header > strong {
  flex: 1;
}
.telLiveBody {
  padding: 14px;
}
.telTaskCalls {
  padding: 0;
}
.telTaskCalls article {
  padding: 12px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  margin: 8px 0;
}
.telTaskCalls article > small {
  display: block;
}
.telContacts {
  padding: 0;
}
.telContactCard {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.telContactCard a {
  color: var(--lp-primary-text);
}
@media (max-width: 768px) {
  .telModule {
    padding: 12px;
  }
  .telMetrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .telCards article {
    gap: 10px;
  }
  .telCards .telActions {
    width: 100%;
  }
  .telDialog {
    padding: 0;
  }
  .telDialogBody {
    padding: 14px;
  }
  .telDialog > footer {
    padding: 12px;
  }
  .telCallDock {
    padding: 0;
    right: 12px;
    bottom: 12px;
  }
  .telContacts,
  .telTaskCalls {
    padding: 0;
  }
  .telLinkTask {
    align-items: stretch;
    flex-direction: column;
  }
  .telTabs button {
    font-size: 12px;
    padding: 8px;
  }
  .telMetrics strong {
    font-size: 22px;
  }
}
.telTaskRow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.telTaskRow > button:first-child {
  flex: 1;
  min-width: 160px;
}
.telDialog audio {
  max-width: 100%;
}
.telAdvanced {
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 12px;
}
.telAdvanced summary {
  cursor: pointer;
  font-weight: 600;
}
.telAdvanced[open] > summary {
  margin-bottom: 16px;
}
.telSoundGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}
.telSoundGrid > section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
}
.telSoundGrid .telField {
  margin: 12px 0;
}
.telSoundGrid audio {
  max-width: 100%;
}
.telAdminLayout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:24px;align-items:start;margin-top:20px}.telAdminNav{border:1px solid var(--lp-line);background:var(--lp-surface);border-radius:12px;padding:10px;display:grid;gap:14px}.telAdminNavGroup{display:grid;gap:3px}.telAdminNavGroup>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--lp-muted);padding:5px 9px}.telAdminNavGroup>button{border:0;justify-content:space-between;text-align:left;font-size:12px;padding:9px;line-height:1.4}.telAdminNavGroup>button[aria-current=page]{background:color-mix(in srgb,var(--lp-primary) 12%,var(--lp-surface));color:var(--lp-primary);font-weight:600}.telAdminContent{min-width:0}.telAdminHeading{border-bottom:1px solid var(--lp-line);padding-bottom:8px;margin-bottom:18px}.telAdminHeading p,.telSetupIntro,.telScenarioTools p{color:var(--lp-muted);line-height:1.6;font-size:13px;max-width:850px}.telSetup{display:grid;gap:12px}.telModule .telSetupStep{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;gap:14px;text-align:left;justify-content:stretch;padding:18px;border-radius:12px}.telSetupStep>span:nth-child(2){display:grid;gap:6px}.telSetupStep strong{font-size:15px}.telSetupStep span span{font-size:12px;color:var(--lp-muted);line-height:1.5}.telSetupNumber{display:grid;place-items:center;background:color-mix(in srgb,var(--lp-primary) 12%,var(--lp-surface));color:var(--lp-primary);width:36px;height:36px;border-radius:10px;font-weight:600}.telSetupLinks,.telScenarioTools>div{display:flex;flex-wrap:wrap;gap:8px}.telScenarioTools{margin-top:20px;border-top:1px solid var(--lp-line);padding:18px 0}.telScenarioTools strong{display:block;margin-bottom:8px}.telAdminContent>.telCheck{margin-top:20px}.telAdminContent .telRouteSelected{border-color:var(--lp-primary);background:color-mix(in srgb,var(--lp-primary) 4%,var(--lp-surface))}.telAdminContent>.telCallFlow{margin-top:20px;border:1px solid var(--lp-line);border-radius:12px;padding:18px}.telAdminMobileNav{display:none}.telAdminContent .telActions{flex-wrap:wrap}.telAdminContent .telToolbar{flex-wrap:wrap}.telAdminContent .telCards article{min-width:0;overflow-wrap:anywhere}
@media(max-width:1000px){.telAdminLayout{grid-template-columns:190px minmax(0,1fr);gap:16px}.telAdminNavGroup>button{font-size:11px}}
@media(max-width:760px){.telAdminLayout{display:block;margin-top:12px}.telAdminNav{display:none}.telAdminMobileNav{display:block;margin-bottom:16px}.telModule .telSetupStep{padding:12px;gap:10px;grid-template-columns:28px minmax(0,1fr) 12px}.telSetupNumber{width:28px;height:28px}.telSetupStep strong{font-size:13px}.telAdminContent>.telCallFlow{padding:10px}.telAdminContent .telCards article{flex-wrap:wrap}.telAdminContent .telCards article>div{min-width:0}.telAdminHeading h2{font-size:17px}}

.telTrunkConnection{min-width:0;border:1px solid var(--lp-line);border-radius:10px;padding:12px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.telTrunkConnection p{margin:7px 0}.telTrunkConnection small{color:var(--lp-muted)}.telCards .telTrunkConnection{flex:1 1 260px}.telTrunkConnection summary{cursor:pointer}


.telCallContext{display:flex;flex-direction:column;gap:12px;min-width:0}.telCallContext>h3,.telCallContext>.telContactSummary p{margin:0}.telCallContext>button{align-self:flex-start}.telCallContext .telLinkTask{display:flex;flex-direction:column;align-items:stretch;gap:10px}.telCallContext .telLinkTask>button{align-self:flex-start}


.telAudioPicker,.telAudioRename,.telAudioUpload{display:grid;gap:10px;min-width:0}.telAudioPicker{padding:12px;border:1px solid var(--lp-line);border-radius:10px}.telAudioPicker button{justify-self:start}.telAudioPicker audio{max-width:100%;width:100%}.telAudioPicker p{margin:0}


.telTaskSearchResults{display:grid;gap:6px;max-height:220px;overflow:auto}.telTaskSearchResults>button{display:grid;gap:4px;text-align:left;min-width:0;white-space:normal;overflow-wrap:anywhere}.telTaskSearchResults>button[aria-pressed=true]{border-color:var(--lp-accent);background:color-mix(in srgb,var(--lp-accent) 12%,var(--lp-surface))}.telTaskSearchResults small{color:var(--lp-muted)}


.telCallContext .telTaskList{max-height:412px;grid-auto-rows:76px;gap:8px;overflow:auto;min-height:0;overscroll-behavior:contain}.telCallContext .telTaskRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-height:0;height:76px}.telCallContext .telTaskRow>button{min-width:0;overflow:hidden;margin:0}.telCallContext .telTaskRow>button:last-child{max-width:105px;font-size:11px}.telCallContext .telTaskRow strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.telCallContext .telTaskRow small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


.telApplySettings{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid var(--lp-line);padding:12px;border-radius:10px;margin:12px 0}.telApplySettings>div{flex:1 1 240px;min-width:0}.telApplySettings p{margin:0 0 5px}.telApplySettings>button{flex:0 0 auto}

.tjWorkspace{height:100%;background:var(--lp-canvas);padding:24px;overflow:auto;overscroll-behavior:contain}
.tjHeader,.tjDirectory>header,.tjAnalytics>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.tjHeader h1{font-size:24px;letter-spacing:-.5px;margin-bottom:6px}.tjHeader p,.tjDirectory>header p,.tjAnalytics>header p{margin:0;color:var(--lp-muted);font-size:13px;line-height:1.5}
.tjHeader>button,.tjDirectory>header>button{flex-shrink:0}
.tjTabs{display:flex;gap:6px;border-bottom:1px solid var(--lp-line);padding:0 0 12px;margin-bottom:20px;flex-wrap:wrap}
.tjWorkspace .tjTabs>button{border-color:transparent;background:transparent;color:var(--lp-muted);font-weight:600}
.tjWorkspace .tjTabs>button[aria-current=page]{background:var(--lp-primary-soft);border-color:var(--lp-primary-soft);color:var(--lp-primary-text)}
.tjPeriods{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.tjWorkspace .tjPeriods>button{font-size:13px;padding:7px 12px;background:var(--lp-surface);color:var(--lp-text)}
.tjWorkspace .tjPeriods>button[aria-pressed=true]{background:var(--lp-primary-soft);color:var(--lp-primary-text);border-color:var(--lp-primary-text)}
.tjWorkspace button.tjConversation{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;width:100%;min-width:0;white-space:normal;margin-top:12px;padding:12px;background:var(--lp-primary-soft);border:1px solid var(--lp-line);font-size:13px;line-height:1.45}
.tjConversation>strong,.tjConversation>span{overflow-wrap:anywhere;max-width:100%}
.tjConversationState{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--lp-muted)}
.tjConversationState>span{margin-left:3px}
.tjConversation small{color:var(--lp-muted);font-size:11px}
.tjMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.tjWorkspace .tjMetric{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:16px;gap:12px;min-width:0;border-radius:12px;box-shadow:0 2px 4px #00000003}
.tjMetric>span{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--lp-muted);line-height:1.4}.tjMetric>span>svg{flex-shrink:0}
.tjMetric>strong{font-size:29px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.tjMetric>small{display:flex;gap:5px;align-items:center;font-size:11px}
.tjWorkspace .tjMetric[aria-pressed=true]{border-color:var(--lp-primary);box-shadow:0 0 0 1px color-mix(in srgb,var(--lp-primary) 15%,transparent)}
.tjMetric-inboundMissed>strong,.tjMetric-failed>strong{color:var(--lp-danger)}
.tjFilterPanel{padding:16px;border:1px solid var(--lp-line);background:var(--lp-surface);border-radius:12px;margin-bottom:18px}
.tjFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.tjFilters .telField{margin:0}.tjFilterFooter{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--lp-line)}
.tjSearch{position:relative;display:block;min-width:0}.tjSearch>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--lp-muted);pointer-events:none}.tjWorkspace .tjSearch>input{padding-left:36px;min-height:40px}
.tjWorkspace .telTextButton{padding:0;background:transparent;border:0;color:var(--lp-primary-text);text-align:left;white-space:normal;justify-content:flex-start;font-weight:500;line-height:1.5}
.tjTableWrap{min-width:0;overflow:auto;border:1px solid var(--lp-line);border-radius:12px;background:var(--lp-surface)}
.tjTable{border-collapse:collapse;width:100%;text-align:left;font-size:12px;table-layout:fixed}.tjTable th{background:var(--lp-surface-soft);color:var(--lp-muted);font-size:11px;font-weight:600;padding:13px 14px;line-height:1.4}.tjTable td{padding:15px 14px;border-top:1px solid var(--lp-line);vertical-align:top;overflow-wrap:anywhere;line-height:1.5}.tjTable tbody tr:hover{background:var(--lp-surface-hover)}
.tjJournalTable th:nth-child(1){width:19%}.tjJournalTable th:nth-child(2){width:29%}.tjJournalTable th:nth-child(3){width:22%}.tjJournalTable th:nth-child(4){width:17%}.tjJournalTable th:nth-child(5){width:13%}
.tjDirection{display:flex;align-items:center;gap:5px;color:var(--lp-muted);font-size:11px;margin-top:6px}.tjDirection svg{flex-shrink:0}.tjDate{font-variant-numeric:tabular-nums}
.tjRoute{display:grid;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);align-items:center;gap:12px}.tjRoute>svg{display:block;align-self:center;margin:0;color:var(--lp-muted)}.tjEndpoint{display:grid;gap:3px;min-width:0}.tjEndpoint strong{font-weight:600}.tjEndpoint small{font-size:11px}
.tjAnswerer{display:grid;gap:3px;min-width:0}.tjAnswerer strong{font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal}.tjAnswerer small{font-size:11px;color:var(--lp-muted)}.tjWorkspace .tjOtherAnswers{font-size:11px}.tjJournalTable td{min-width:0;white-space:normal}.tjJournalTable th{white-space:normal;overflow-wrap:anywhere}.tjJournalTable .tjEndpoint>*{min-width:0;white-space:normal;overflow-wrap:anywhere}.tjJournalTable .tjEndpoint strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tjJournalTable .tjEndpoint small{color:var(--lp-muted)}
.tjResult{display:inline-flex;border-radius:6px;padding:3px 7px;max-width:100%;font-size:11px;font-weight:500;color:var(--lp-muted);background:var(--lp-surface-soft)}
.tjResult-answered,.tjResult-completed{color:var(--lp-success);background:var(--lp-success-soft)}.tjResult-missed,.tjResult-failed,.tjResult-no_answer{color:var(--lp-danger);background:var(--lp-danger-soft)}.tjResult-active{color:var(--lp-primary-text);background:var(--lp-primary-soft)}
.tjTalk,.tjLinks{display:grid;gap:3px;margin-top:5px;font-variant-numeric:tabular-nums}.tjLinks{margin-top:0}.tjTalk small,.tjLinks small{font-size:10px}.tjMuted{color:var(--lp-muted)}
.tjPagination{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;flex-wrap:wrap;font-size:12px;color:var(--lp-muted)}.tjPagination>div{display:flex;align-items:center;gap:12px}.tjWorkspace .tjPagination button{padding:7px;min-width:34px;min-height:34px}
.tjWorkspace .tjFootnote{font-size:11px;color:var(--lp-muted);line-height:1.6;margin:14px 0 0;max-width:960px}
.tjEmpty{display:grid;justify-items:center;gap:10px;padding:42px 20px;text-align:center;color:var(--lp-muted)}.tjEmpty strong{color:var(--lp-text-soft);font-weight:500}.tjEmpty p{margin:0;font-size:12px}
.tjDirectory>header h2,.tjAnalytics>header h2{margin:0 0 7px}.tjDirectory>.telField{max-width:420px;margin-bottom:20px}
.tjDirectoryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.tjDirectoryGrid article{display:flex;gap:12px;padding:18px;border:1px solid var(--lp-line);background:var(--lp-surface);border-radius:12px;min-width:0}.tjDirectoryGrid article>div{min-width:0;flex:1}.tjDirectoryGrid h3{margin:0 0 7px;font-size:14px;overflow-wrap:anywhere;line-height:1.5}
.tjAvatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;border-radius:11px;background:var(--lp-primary-soft);color:var(--lp-primary-text);font-size:12px;font-weight:600}.tjExtension{display:block;font-size:21px;letter-spacing:.4px;font-variant-numeric:tabular-nums;margin-bottom:12px}.tjStatus{display:flex;gap:6px;flex-wrap:wrap}.tjStatus .telBadge{font-size:10px}
.tjAnalytics>header{padding:16px 0 2px}.tjAverage{display:grid;gap:5px;color:var(--lp-muted);font-size:11px;white-space:nowrap}.tjAverage strong{font-size:24px;color:var(--lp-text);font-variant-numeric:tabular-nums}.tjAnalyticsTable th:first-child{width:27%}.tjAnalyticsTable td>small{display:block;font-size:11px;margin-top:4px}
.tjAnalyticsSort{max-width:300px;margin-bottom:14px}
@media(min-width:1600px){.tjFilters{grid-template-columns:repeat(6,minmax(0,1fr))}.tjMetric>strong{font-size:32px}}
@media(max-width:1000px){.tjWorkspace{padding:18px}.tjTable td,.tjTable th{padding:12px 10px}.tjRoute{grid-template-columns:minmax(0,1fr);gap:4px}.tjRoute>svg{transform:rotate(90deg);width:12px;height:12px;margin:0}.tjMetrics{gap:8px}.tjWorkspace .tjMetric{padding:13px;gap:10px}}
@media(max-width:650px){.tjWorkspace{padding:14px}.tjHeader{align-items:flex-start}.tjHeader h1{font-size:21px}.tjHeader>button>span{display:none}.tjTabs{gap:3px}.tjWorkspace .tjTabs>button{font-size:12px;padding:9px 8px;gap:5px}.tjMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tjMetric>span{font-size:11px}.tjMetric>strong{font-size:26px}.tjMetric>small{font-size:10px}.tjFilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tjFilterPanel{padding:12px}.tjFilters .telField{font-size:11px}.tjFilterFooter{align-items:flex-start;font-size:11px}.tjWorkspace .tjFilterFooter>button{font-size:11px}.tjTable,.tjTable tbody{display:block}.tjTable thead{display:none}.tjTable tr{display:grid;grid-template-columns:1fr 1fr;padding:14px;gap:14px;border-top:1px solid var(--lp-line)}.tjTable tr:first-child{border-top:0}.tjTable td{display:block;border:0;padding:0;font-size:12px;min-width:0}.tjTable td:before{content:attr(data-label);display:block;color:var(--lp-muted);font-size:10px;margin-bottom:5px}.tjJournalTable td:nth-child(2){grid-row:2;grid-column:1/-1}.tjJournalTable td:nth-child(3){grid-column:1/-1}.tjJournalTable td:last-child{grid-row:1;grid-column:2}.tjRoute{grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);gap:8px}.tjRoute>svg{transform:none;width:15px;height:15px;margin:0}.tjParticipants{display:flex;gap:8px 16px;flex-wrap:wrap}.tjPagination{justify-content:center;gap:10px}.tjPagination>span{flex:1 0 100%;text-align:center}.tjDirectory>header{align-items:flex-start}.tjDirectory>header>button>span{display:none}.tjDirectoryGrid{grid-template-columns:minmax(0,1fr)}.tjAnalytics>header{align-items:flex-start}.tjAnalyticsTable td:first-child{grid-column:1/-1}.tjTableWrap{overflow:hidden}}
@media(max-width:350px){.tjFilters{grid-template-columns:minmax(0,1fr)}.tjWorkspace .tjTabs>button{font-size:11px;padding:8px 5px}.tjMetric>span>svg{display:none}.tjWorkspace .tjMetric{padding:11px}.tjAverage strong{font-size:21px}}


/* Keep employee identity readable beside availability on compact screens. */
.telCards .telEmployeeCard>div:first-child{flex:1 1 180px;min-width:0}
.telEmployeeCard>div:first-child>strong{line-height:1.5}
@media(max-width:600px){.telAdminContent .telCards .telEmployeeCard>div:first-child{flex-basis:100%}.telEmployeeCard>div:nth-child(2){display:flex;gap:6px;flex-wrap:wrap}}
/* Compact employee directory: aligned rows, shared with no card-grid layout. */
.tjDirectoryList{border:1px solid var(--lp-line);border-radius:10px;overflow:hidden;background:var(--lp-surface);min-width:0}
.tjDirectoryListHead,.tjDirectoryList article{display:grid;grid-template-columns:32px minmax(0,1.2fr) 80px minmax(0,1fr) minmax(0,1.5fr);gap:14px;align-items:center;padding:12px 16px}
.tjDirectoryListHead{font-size:11px;color:var(--lp-muted);background:var(--lp-surface-soft)}
.tjDirectoryList article{border-top:1px solid var(--lp-line);min-width:0}.tjDirectoryList article>div{display:contents}
.tjDirectoryList .tjAvatar{width:32px;height:32px;border-radius:8px;font-size:10px}.tjDirectoryList h3{font-size:14px;line-height:1.45;margin:0;min-width:0;overflow-wrap:anywhere}
.tjDirectoryList .tjExtension{font-size:16px;margin:0;overflow-wrap:anywhere;min-width:0}.tjDirectoryList .tjStatus{min-width:0}.tjDirectoryList .tjEmployeeCalls{display:flex;flex-direction:column;gap:6px;min-width:0}
.tjWorkspace .tjDirectoryList button.tjConversation{margin:0;padding:5px 0;gap:2px;background:transparent;border:0;border-radius:0;font-size:12px;min-height:0}.tjDirectoryList .tjConversationState{font-size:10px}.tjDirectoryList .tjConversation small{font-size:10px}
@media(max-width:900px){.tjDirectoryListHead,.tjDirectoryList article{grid-template-columns:28px minmax(0,1fr) 65px minmax(0,1.2fr);gap:10px}.tjDirectoryListHead>span:nth-child(4){display:none}.tjDirectoryList .tjStatus{grid-column:2/4;grid-row:2}.tjDirectoryList .tjEmployeeCalls{grid-column:4;grid-row:1/3}.tjDirectoryList .tjAvatar{width:28px;height:28px}}
@media(max-width:650px){.tjDirectoryListHead{display:none}.tjDirectoryList article{grid-template-columns:28px minmax(0,1fr) 55px;padding:12px}.tjDirectoryList article:first-of-type{border-top:0}.tjDirectoryList .tjEmployeeCalls{grid-column:2/4;grid-row:3}.tjDirectoryList .tjExtension{font-size:15px;text-align:right}.tjDirectoryList h3{font-size:13px}.tjDirectoryList .tjStatus{grid-column:2/4}.tjDirectoryList .tjEmployeeCalls>.tjMuted{display:none}}
.commentCallRecording{min-width:0;max-width:100%;overflow-wrap:anywhere}
.commentRecordingLabel{display:flex;align-items:center;gap:7px;margin-bottom:4px}
.commentRecordingLabel svg{flex:none;width:15px;height:15px}
.commentCallRecording audio{display:block;width:100%;max-width:100%;min-width:0;height:40px;margin:10px 0;color-scheme:light}
html[data-theme="dark"] .commentCallRecording audio{color-scheme:dark}
.commentCallRecording .commentMeta{display:block;line-height:1.5}
.commentCallRecording .commentMeta time{white-space:normal}
