/* Cbran Call Center — lists, tables, filters, badges */

.ccc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.ccc-toolbar .el-input,
.ccc-toolbar .el-select {
	max-width: 240px;
}

.ccc-toolbar-spacer {
	flex: 1;
}

.ccc-faq-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.cbran-cc-shell .el-table {
	--el-table-border-color: var(--ccc-border);
	--el-table-header-bg-color: #fafafa;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--ccc-shadow);
}

.cbran-cc-shell .el-table th.el-table__cell {
	font-weight: 650;
	color: var(--ccc-muted);
	font-size: 12px;
}

.cbran-cc-shell .el-table td.el-table__cell {
	font-size: 13px;
	color: var(--ccc-text);
}

.cbran-cc-shell .el-pagination {
	margin-top: 14px;
	justify-content: flex-end;
}

.ccc_call_logs_filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
	margin-bottom: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ccc-border);
	border-radius: 8px;
	box-shadow: var(--ccc-shadow);
}

.ccc_call_logs_filters .el-input,
.ccc_call_logs_filters .el-select,
.ccc_call_logs_filters .el-date-editor {
	width: 180px;
	max-width: 100%;
}

.ccc-logs__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.ccc-logs__preset {
	border: 1px solid var(--ccc-border, #e3e6ea);
	background: #fff;
	color: var(--ccc-text, #222530);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
	line-height: 1.4;
}

.ccc-logs__preset:hover,
.ccc-logs__preset.is-active {
	border-color: var(--ccc-primary, #1a7efb);
	color: var(--ccc-primary, #1a7efb);
	background: var(--ccc-primary-soft, #e8f2ff);
}

.ccc-logs__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 0 12px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
}

.ccc-logs__stat strong {
	display: block;
	font-size: 16px;
	color: var(--ccc-text, #222530);
	line-height: 1.2;
}

.ccc-logs__stat span {
	font-size: 11px;
	font-weight: 650;
	color: var(--ccc-muted, #525866);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ccc-logs__flags {
	display: inline-flex;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	color: var(--ccc-muted, #525866);
}

.ccc-logs__flags span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: #f2f5f8;
}

.ccc-loc-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	color: #1f6b4a;
	background: #e8f6ee;
	flex: 0 0 auto;
}

.ccc-logs__flags .ccc-loc-pin {
	width: 18px;
	height: 18px;
	background: #e8f6ee;
	color: #1f6b4a;
}

.ccc-loc-saved {
	margin: 12px 0;
	padding: 12px 14px;
	border: 1px solid #e6e8ee;
	border-radius: 12px;
	background: #fff;
}

.ccc-loc-saved p {
	margin: 0;
}

.ccc-loc-saved__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.ccc-loc-saved__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.ccc-loc-saved__maps {
	font-size: 13px;
	font-weight: 650;
	color: var(--ccc-primary, #1a7efb);
	text-decoration: none;
}

.ccc-loc-stops {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.ccc-loc-stop {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ccc-loc-stop .el-input {
	flex: 1 1 180px;
	min-width: 0;
}

.ccc-loc-stop__req {
	font-size: 13px;
	color: #5c6570;
}

.ccc-loc-saved .ccc-loc-stop {
	display: block;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #e6e8ee;
}

.ccc-loc-stores {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 12px 0;
}

.ccc-loc-store {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #e6e8ee;
}

.ccc-loc-store .el-button {
	justify-self: start;
	grid-column: 1 / -1;
}

.ccc-job-share {
	margin-top: 12px;
}

.ccc-job-share__panel {
	margin-top: 10px;
	padding: 12px;
	border: 1px solid #e6e8ee;
	border-radius: 12px;
	background: #fff;
}

.ccc-job-share__checks,
.ccc-job-share__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin-top: 10px;
}

.ccc-job-share__row .el-input {
	flex: 1 1 180px;
	min-width: 0;
}

.ccc-job-share__send {
	position: relative;
	display: inline-flex;
}

.ccc-job-share__send .ccc-share-menu {
	left: 0;
	right: auto;
}

.ccc-job-share__ask {
	margin-top: 12px;
	padding: 10px;
	border-radius: 10px;
	background: #fff7e8;
}

.ccc-job-share__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ccc-job-share__list li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid #e6e8ee;
	font-size: 13px;
}

.ccc-job-share__text {
	border: 0;
	background: transparent;
	color: var(--ccc-primary, #1a7efb);
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.ccc-logs__table .el-table__row {
	cursor: pointer;
}

.ccc-log-step__toggle {
	display: inline-block;
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ccc-primary, #1a7efb);
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
}

.ccc-log-view-btn {
	margin-left: 6px;
	border: 0;
	background: none;
	color: var(--ccc-primary, #1a7efb);
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
	padding: 0;
}

.ccc-log-view-btn:hover {
	text-decoration: underline;
}

.ccc-sheet-root {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	justify-content: flex-end;
	background: rgba(15, 23, 42, 0.28);
}

.ccc-sheet {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: 100vh;
	background: #fff;
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
	overflow: hidden;
	border-left: 1px solid var(--ccc-border, #e3e6ea);
}

.ccc-sheet.is-wide {
	width: min(70vw, 1100px);
}

.ccc-sheet.is-slim {
	width: min(420px, 100vw);
}

.ccc-sheet__header {
	flex: 0 0 auto;
	padding: 10px 20px 12px;
	border-bottom: 1px solid var(--ccc-border, #e3e6ea);
}

.ccc-sheet__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ccc-sheet__title {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--ccc-text, #222530);
}

.ccc-sheet__title-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ccc-sheet__cost {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--ccc-text, #222530);
}

.ccc-sheet__nav {
	display: flex;
	align-items: center;
	gap: 2px;
	padding-right: 8px;
	border-right: 1px solid var(--ccc-border, #e3e6ea);
}

.ccc-sheet__close {
	margin-left: 2px;
}

.ccc-sheet__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	color: var(--ccc-text, #222530);
}

.ccc-sheet__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.ccc-sheet__grow {
	flex: 1;
}

.ccc-phone-actions {
	position: relative;
	display: inline-flex;
}

.ccc-phone-menu {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
}

.ccc-phone-actions__menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 3;
	min-width: 148px;
	background: #fff;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	padding: 4px;
	display: flex;
	flex-direction: column;
}

.ccc-phone-actions__menu button {
	text-align: left;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	padding: 6px 8px;
	border-radius: 6px;
	cursor: pointer;
}

.ccc-phone-actions__menu button:hover,
.ccc-phone-actions__menu button:focus-visible {
	background: #f4f6f8;
}

.ccc-sheet__tabs {
	display: flex;
	flex: 0 0 auto;
	gap: 0;
	padding: 0 12px;
	border-bottom: 1px solid var(--ccc-border, #e3e6ea);
	overflow-x: auto;
}

.ccc-sheet__tabs button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	border: 0;
	background: none;
	color: var(--ccc-muted, #525866);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: inset 0 -2px 0 0 transparent;
}

.ccc-sheet__tabs button:hover,
.ccc-sheet__tabs button.is-active {
	color: var(--ccc-text, #222530);
}

.ccc-sheet__tabs button.is-active {
	box-shadow: inset 0 -2px 0 0 var(--ccc-primary, #1a7efb);
}

.ccc-sheet__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 16px 20px 28px;
}

.ccc-log-audio-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	background: #f2f5f8;
	color: var(--ccc-muted, #525866);
	text-decoration: none;
	font-size: 12px;
	font-weight: 650;
}

.ccc-log-audio-btn:hover {
	background: #e8ecf0;
	color: var(--ccc-text, #222530);
}

.ccc-log-rec {
	flex: 0 0 auto;
	padding: 12px 20px 14px;
	border-bottom: 1px solid var(--ccc-border, #e3e6ea);
}

.ccc-log-rec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.ccc-log-rec__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ccc-text, #222530);
}

.ccc-log-rec__head .ccc-mono {
	font-size: 18px;
	color: #94a3b8;
}

.ccc-log-rec__wave {
	display: flex;
	align-items: center;
	gap: 2px;
	height: 64px;
	cursor: pointer;
}

.ccc-log-rec__wave.is-disabled {
	cursor: default;
	opacity: 0.55;
}

.ccc-log-rec__peak {
	flex: 1 1 0;
	min-width: 2px;
	max-width: 6px;
	background: #cbd5e1;
	border-radius: 1px;
	align-self: center;
}

.ccc-log-rec__peak.is-played {
	background: var(--ccc-primary, #1a7efb);
}

.ccc-log-rec__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}

.ccc-log-rec__left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ccc-log-rec__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 6px;
	background: var(--ccc-primary, #1a7efb);
	color: #fff;
	cursor: pointer;
}

.ccc-log-rec__play:hover:not(:disabled) {
	filter: saturate(1.2);
}

.ccc-log-rec__play:disabled {
	opacity: 0.45;
	cursor: default;
}

.ccc-log-rec__speed {
	position: relative;
}

.ccc-log-rec__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 56px;
	height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: #f2f5f8;
	color: var(--ccc-muted, #525866);
	font-size: 12px;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}

.ccc-log-rec__chip:hover:not(:disabled):not(.is-disabled) {
	background: #e8ecf0;
	color: var(--ccc-text, #222530);
}

.ccc-log-rec__chip:disabled,
.ccc-log-rec__chip.is-disabled {
	opacity: 0.5;
	cursor: default;
}

.ccc-log-rec__speed-menu {
	position: absolute;
	left: 0;
	bottom: calc(100% + 4px);
	z-index: 3;
	min-width: 72px;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.ccc-log-rec__speed-menu button {
	display: block;
	width: 100%;
	padding: 6px 8px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--ccc-text, #222530);
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
	text-align: left;
}

.ccc-log-rec__speed-menu button:hover,
.ccc-log-rec__speed-menu button.is-active {
	background: var(--ccc-primary-soft, #e8f2ff);
	color: var(--ccc-primary, #1a7efb);
}

.ccc-log-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--ccc-muted, #525866);
	cursor: pointer;
}

.ccc-log-icon-btn:hover:not(:disabled) {
	background: #f2f5f8;
	color: var(--ccc-text, #222530);
}

.ccc-log-icon-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.ccc-mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
}

.ccc-log-tabs {
	flex: 1;
	min-height: 280px;
}

.ccc-log-chat {
	padding: 8px 0 24px;
}

.ccc-log-turn {
	margin-bottom: 12px;
	display: flex;
	flex-direction: column;
}

.ccc-log-turn.is-assistant {
	align-items: flex-start;
}

.ccc-log-turn.is-user {
	align-items: flex-end;
}

.ccc-log-bubble {
	max-width: 80%;
	border-radius: 10px;
	padding: 10px 14px;
	background: #f4f6f8;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ccc-log-turn.is-user .ccc-log-bubble {
	background: #eceef2;
}

.ccc-log-bubble__who {
	font-size: 11px;
	font-weight: 650;
	margin-bottom: 4px;
	color: var(--ccc-primary, #1a7efb);
}

.ccc-log-turn.is-user .ccc-log-bubble__who {
	color: #c27803;
}

.ccc-log-turn.is-tool {
	align-items: flex-start;
}

.ccc-log-turn.is-tool .ccc-log-bubble {
	background: #eef6ff;
}

.ccc-log-turn.is-tool .ccc-log-bubble__who {
	color: #0f6b4c;
}

.ccc-log-turn__time {
	font-size: 10px;
	color: var(--ccc-muted, #525866);
	margin-top: 4px;
	padding: 0 8px;
}

.ccc-log-ended {
	margin: 16px auto 0;
	max-width: 75%;
	text-align: center;
	font-size: 12px;
	font-weight: 650;
	padding: 8px 12px;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
	background: #fafafa;
	color: #525866;
}

.ccc-log-cost {
	width: 100%;
	max-width: 480px;
	border-collapse: collapse;
	font-size: 13px;
}

.ccc-log-cost th {
	text-align: left;
	font-weight: 600;
	padding: 6px 0;
	border-bottom: 1px solid var(--ccc-border, #e3e6ea);
}

.ccc-log-cost td {
	padding: 6px 0;
	border-bottom: 1px solid var(--ccc-border, #e3e6ea);
	vertical-align: top;
}

.ccc-log-cost th:not(:first-child),
.ccc-log-cost td:last-child,
.ccc-log-cost td:nth-child(2),
.ccc-log-cost td:nth-child(3) {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.ccc-log-cost-hero {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.ccc-log-cost-hero span {
	display: block;
	font-size: 12px;
	margin-bottom: 4px;
}

.ccc-log-cost-hero strong {
	font-size: 16px;
}

.ccc-log-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.ccc-log-sid {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	word-break: break-all;
	color: var(--ccc-muted, #525866);
}

.ccc-log-timeline {
	margin: 16px 0;
	padding-left: 12px;
	border-left: 2px solid var(--ccc-border, #e3e6ea);
}

.ccc-log-timeline h4,
.ccc-log-block h4 {
	margin: 0 0 8px;
	font-size: 13px;
}

.ccc-log-step {
	margin: 0 0 12px;
}

.ccc-log-step__time {
	display: block;
	font-size: 11px;
	color: var(--ccc-muted, #525866);
}

.ccc-log-step__label {
	font-size: 13px;
	font-weight: 600;
}

.ccc-log-step__payload {
	margin: 6px 0 0;
	padding: 8px;
	background: #f7f8fa;
	border-radius: 6px;
	font-size: 11px;
	max-height: 180px;
	overflow: auto;
}

.ccc-log-block {
	margin: 16px 0;
}

.ccc-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.5;
	background: #f2f5f8;
	color: #222530;
}

.ccc-badge.is-active,
.ccc-badge.is-open,
.ccc-badge.is-success {
	background: #e0faec;
	color: #0b4627;
}

.ccc-badge.is-paused,
.ccc-badge.is-warning {
	background: #fff3eb;
	color: #71330a;
}

.ccc-badge.is-archived,
.ccc-badge.is-closed,
.ccc-badge.is-muted {
	background: #f2f5f8;
	color: #525866;
}

.ccc-badge.is-error {
	background: #ffebec;
	color: #8b1a24;
}

.ccc-empty {
	text-align: center;
	padding: 40px 16px;
	color: var(--ccc-muted);
	border: 1px dashed var(--ccc-border-strong);
	border-radius: 8px;
}

.ccc-empty h3 {
	margin: 8px 0 4px;
	color: var(--ccc-text);
	font-size: 15px;
}

.ccc-empty p {
	margin: 0;
	font-size: 13px;
}

.ccc-biz-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ccc-biz-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--ccc-border, #e5e7eb);
	border-radius: 12px;
	box-shadow: var(--ccc-shadow, 0 1px 2px rgba(16, 24, 40, 0.06));
	color: inherit;
	text-decoration: none;
}

.ccc-biz-card:hover {
	border-color: var(--ccc-primary, #1a7efb);
}

.ccc-biz-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ccc-biz-card__top strong {
	min-width: 0;
	font-size: 15px;
	overflow-wrap: anywhere;
}

.ccc-biz-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-size: 13px;
}

.ccc-biz-empty .el-button {
	margin-top: 14px;
}

.ccc-biz-page.has-compose-fab {
	padding-bottom: 88px;
}

.ccc-members .ccc-biz-card__top strong {
	overflow-wrap: anywhere;
}

.ccc-members .ccc-badge {
	text-transform: capitalize;
	flex: 0 0 auto;
}

.ccc-members .ccc-row-actions .el-button {
	width: 100%;
}

.ccc-members-invite {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.ccc-members-invite .el-input,
.ccc-members-invite .el-select {
	width: 100%;
	max-width: none;
}

.ccc-members-invite .el-button {
	width: 100%;
}

.ccc-members-check {
	margin-top: 16px;
}

.ccc-members-check__result {
	margin: 0;
	padding-left: 18px;
	font-size: 13px;
}

@media (min-width: 720px) {
	.ccc-members-invite {
		flex-direction: row;
		align-items: center;
	}

	.ccc-members-invite .el-input,
	.ccc-members-invite .el-select {
		flex: 1 1 180px;
		max-width: 280px;
	}

	.ccc-members-invite .el-button,
	.ccc-members .ccc-row-actions .el-button {
		width: auto;
		flex: 0 0 auto;
	}
}

.ccc-log-card {
	cursor: pointer;
	text-align: left;
}

.ccc-log-card__route {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.ccc-num-card .el-select,
.ccc-closed-row .el-input {
	width: 100%;
	max-width: none;
}

.ccc-closed-row {
	margin-bottom: 8px;
}

.ccc-num-card .ccc-row-actions .el-button {
	flex: 1 1 140px;
}

.ccc-biz-list .ccc-badge {
	text-transform: capitalize;
	flex: 0 0 auto;
}

@media (max-width: 719px) {
	.ccc_call_logs_filters .el-input,
	.ccc_call_logs_filters .el-select,
	.ccc_call_logs_filters .el-date-editor,
	.ccc_call_logs_filters .el-button {
		width: 100%;
		flex: 1 1 100%;
	}
}

.ccc-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ccc-link {
	color: var(--ccc-primary);
	text-decoration: none;
	font-weight: 600;
}

.ccc-link:hover {
	text-decoration: underline;
}

.ccc-transcript {
	background: #fafafa;
	border: 1px solid var(--ccc-border);
	border-radius: 8px;
	padding: 12px;
	max-height: 360px;
	overflow: auto;
	font-size: 13px;
	line-height: 1.55;
	white-space: pre-wrap;
}

.ccc-queue-item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--ccc-border);
	border-radius: 8px;
	box-shadow: var(--ccc-shadow);
	margin-bottom: 8px;
}

.ccc-queue-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.ccc-send-text {
	width: 100%;
	margin-top: 4px;
}

.ccc-send-text h4 {
	margin: 14px 0 6px;
	font-size: 14px;
}

.ccc-send-text__toggle {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ccc-call-thread-who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.ccc-name-line {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	min-width: 0;
	max-width: 100%;
}

.ccc-name-line strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-name-line .ccc-muted {
	font-size: 12px;
	flex: 0 1 auto;
}

.ccc-name-line .ccc-log-icon-btn {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: var(--ccc-muted, #8b919a);
}

.ccc-call-thread-who strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-call-thread-who .ccc-muted {
	font-size: 12px;
	line-height: 1.3;
}

.ccc-send-text__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
}

.ccc-send-text__log {
	margin-top: 10px;
	max-height: 280px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ccc-send-text__msg {
	margin: 0;
	padding: 8px 10px;
	border-radius: 12px;
	background: #f6f7f8;
	font-size: 13px;
	line-height: 1.45;
	white-space: pre-wrap;
	max-width: 86%;
}

.ccc-send-text__msg.is-out {
	align-self: flex-end;
	background: #ecf5ff;
}

.ccc-send-text__msg.is-in {
	align-self: flex-start;
	background: #f3f4f6;
}

.ccc-send-text__msg.is-failed {
	background: #fef2f2;
}

.ccc-messages-page {
	--ccc-messages-chrome: 220px;
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1 1 auto;
	padding-bottom: 16px;
}

body.cbran-cc-layout-fullscreen .cbran-cc-main:has(.ccc-messages-page),
body.cbran-cc-admin .cbran-cc-main:has(.ccc-messages-page) {
	overflow: hidden;
}

body.cbran-cc-layout-fullscreen .ccc-messages-page,
body.cbran-cc-admin .ccc-messages-page {
	height: 100%;
	overflow: hidden;
	min-height: 0;
}

body.cbran-cc-layout-fullscreen .ccc-texts-inbox__layout,
body.cbran-cc-admin .ccc-texts-inbox__layout {
	height: auto;
	max-height: none;
	flex: 1 1 auto;
	min-height: 0;
}

body.admin-bar .ccc-messages-page {
	--ccc-messages-chrome: 252px;
}

body.cbran-cc-layout-theme .ccc-messages-page {
	--ccc-messages-chrome: 340px;
}

body.admin-bar.cbran-cc-layout-theme .ccc-messages-page {
	--ccc-messages-chrome: 372px;
}

.ccc-messages-page .ccc-page-head,
.ccc-messages-page .ccc-messages-toolbar,
.ccc-messages-page .ccc-text-registration {
	flex: 0 0 auto;
}

.ccc-texts-inbox__layout {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 360px;
	height: calc(100dvh - var(--ccc-messages-chrome));
	max-height: calc(100dvh - var(--ccc-messages-chrome));
}

.ccc-texts-inbox__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 0;
	height: 100%;
	max-height: none;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-right: 2px;
}

.ccc-texts-inbox__item {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	align-items: stretch;
	justify-content: flex-start;
	gap: 4px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 72px;
	height: auto;
	text-align: left;
	white-space: normal;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	overflow: visible;
}

.ccc-texts-inbox__item.is-active {
	border-color: var(--ccc-primary, #409eff);
	background: #f5faff;
}

.ccc-call-card-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.ccc-texts-inbox__item-top {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	width: 100%;
}

.ccc-texts-inbox__item-top strong {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-texts-inbox__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
	gap: 2px;
}

.ccc-texts-inbox__who strong,
.ccc-texts-inbox__who .ccc-muted {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-name-edit {
	min-width: 140px;
	max-width: 220px;
	padding: 6px 8px;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
	font: inherit;
}

.ccc-name-edit-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1 1 220px;
}

.ccc-name-edit-wrap > span:first-child {
	font-size: 12px;
	font-weight: 600;
}

.ccc-name-edit-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.ccc-name-edit-hint {
	font-size: 12px;
	line-height: 1.35;
}

.ccc-texts-inbox__item.has-unread {
	box-shadow: inset 3px 0 0 #ef4444;
}

.ccc-texts-inbox__badge {
	flex: 0 0 auto;
	min-width: 18px;
	height: 18px;
	padding: 0 6px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ccc-texts-inbox__tags {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	min-width: 0;
	width: 100%;
}

.ccc-texts-inbox__preview,
.ccc-texts-inbox__time {
	flex: 0 0 auto;
	min-width: 0;
	min-height: 1.3em;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-texts-inbox__thread {
	min-width: 0;
	min-height: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ccc-texts-inbox__thread > .ccc-empty {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ccc-messages-thread {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

.ccc-channel-tag {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: 100%;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef2f7;
	color: #334155;
	margin: 0;
	white-space: nowrap;
}

.ccc-channel-tag[data-channel="web_chat"] {
	background: #e8f5f1;
	color: #0f6e56;
}

.ccc-channel-tag[data-channel="sms"] {
	background: #eef4ff;
	color: #1d4ed8;
}

.ccc-channel-tag[data-channel="inbound"] {
	background: #eef4ff;
	color: #1d4ed8;
}

.ccc-channel-tag[data-channel="outbound"] {
	background: #f3e8ff;
	color: #6d28d9;
}

.ccc-channel-tag[data-channel="live"] {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff4e5;
	color: #b45309;
}

.ccc-channel-tag[data-channel="new"] {
	background: #ecfdf3;
	color: #047857;
}

.ccc-texts-inbox__item.is-live {
	border-color: #f5c57a;
	background: #fffaf3;
}

.ccc-texts-inbox__item.is-live .ccc-live-card__timer {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #15803d;
}

.ccc-calls-page .ccc-messages-thread-head {
	gap: 8px;
}

.ccc-messages-toolbar {
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.ccc-messages-share {
	margin-bottom: 16px;
}

.ccc-messages-thread-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	flex: 0 0 auto;
	flex-wrap: wrap;
}

.ccc-messages-thread-agent {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.ccc-chat-staff-reply {
	margin-top: 0;
}

.ccc-messages-thread-compose {
	flex: 0 0 auto;
	padding-top: 8px;
}

.ccc-send-text.is-composer {
	margin-top: 0;
	padding-top: 8px;
	border-top: 1px solid #e5e7eb;
}

.ccc-messages-back {
	display: none;
}

.ccc-messages-thread-log-wrap {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

.ccc-messages-thread-log {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fafbfc;
}

.ccc-messages-new-chip {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	border: 0;
	border-radius: 999px;
	padding: 6px 12px;
	background: #ef4444;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(239, 68, 68, 0.28);
}

.ccc-messages-bubble {
	max-width: 90%;
	padding: 8px 10px;
	border-radius: 10px;
	background: #f3f4f6;
}

.ccc-messages-bubble.is-in {
	align-self: flex-start;
}

.ccc-messages-bubble.is-out {
	align-self: flex-end;
	background: #e8f5f1;
}

@media (max-width: 960px) {
	.has-bottom-nav .ccc-messages-page {
		--ccc-messages-chrome: 280px;
		padding-bottom: 12px;
	}

	body.admin-bar.has-bottom-nav .ccc-messages-page {
		--ccc-messages-chrome: 312px;
	}

	.has-bottom-nav .ccc-texts-inbox__list,
	.has-bottom-nav .ccc-messages-thread-log {
		padding-bottom: 12px;
		scroll-padding-bottom: 12px;
	}
}

@media (max-width: 800px) {
	.ccc-texts-inbox__layout {
		grid-template-columns: 1fr;
		height: calc(100dvh - var(--ccc-messages-chrome));
	}

	.ccc-texts-inbox__layout.is-thread-open .ccc-texts-inbox__list {
		display: none !important;
	}

	.ccc-texts-inbox__layout:not(.is-thread-open) .ccc-texts-inbox__thread {
		display: none !important;
	}

	.ccc-messages-back {
		display: inline-flex;
	}

	.ccc-texts-inbox__item {
		flex: 0 0 auto;
		min-height: 72px;
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.ccc-texts-inbox__item {
		padding: 10px;
		gap: 3px;
		border-radius: 12px;
	}

	.ccc-texts-inbox__item-top strong {
		font-size: 13px;
	}

	.ccc-texts-inbox__preview,
	.ccc-texts-inbox__time {
		font-size: 12px;
	}
}

.ccc-messages-fab {
	position: fixed;
	right: 16px;
	bottom: calc(12px + var(--ccc-bottom-nav-h, 0px));
	z-index: 4000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ccc-primary, #1a7efb);
	color: #fff;
	box-shadow: 0 8px 24px rgba(26, 126, 251, 0.35);
	cursor: pointer;
}

.ccc-page:has(.ccc-messages-fab) {
	padding-bottom: 84px;
}

@media (max-width: 960px) {
	.ccc-messages-page.ccc-page:has(.ccc-messages-fab) {
		padding-bottom: 0;
	}

	.ccc-messages-page .ccc-texts-inbox__layout {
		height: auto;
		max-height: none;
		min-height: 0;
		flex: 1 1 auto;
	}
}

.ccc-messages-fab:hover,
.ccc-messages-fab:focus {
	background: var(--el-color-primary-dark-2, #1566cc);
	color: #fff;
}

.ccc-smart-fab {
	width: auto;
	max-width: calc(100vw - 32px);
	height: 56px;
	padding: 0 18px 0 16px;
	border-radius: 999px;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.ccc-smart-fab span {
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 220px;
}

.ccc-page--unsaved {
	padding-bottom: 108px;
}

.ccc-save-bar {
	position: fixed;
	right: 16px;
	bottom: calc(12px + var(--ccc-bottom-nav-h, 0px));
	z-index: 4000;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	max-width: calc(100vw - 32px);
	margin: 0;
	padding: 10px 10px 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--ccc-text, #1f2937);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.ccc-save-bar p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.ccc-save-bar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.ccc-save-bar__discard {
	border: 0;
	background: transparent;
	color: var(--ccc-muted, #64748b);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 10px;
}

.ccc-save-bar .ccc-messages-fab {
	position: static;
	right: auto;
	bottom: auto;
	flex: 0 0 auto;
}

.ccc-save-bar.is-busy {
	overflow: hidden;
}

.ccc-save-bar.is-busy::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40%;
	height: 3px;
	border-radius: 999px;
	background: var(--ccc-primary, #1a7efb);
	animation: ccc-save-sweep 1.1s ease-in-out infinite;
}

.ccc-save-bar.is-busy .ccc-smart-fab .ccc-icon {
	animation: ccc-save-spin 0.85s linear infinite;
}

.ccc-save-bar__discard:disabled {
	opacity: 0.45;
	cursor: default;
}

@keyframes ccc-save-sweep {
	0% { transform: translateX(-120%); }
	100% { transform: translateX(280%); }
}

@keyframes ccc-save-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ccc-save-bar.is-busy::after,
	.ccc-save-bar.is-busy .ccc-smart-fab .ccc-icon {
		animation: none;
	}
}

@media (max-width: 640px) {
	.ccc-save-bar {
		left: 12px;
		right: 12px;
		max-width: none;
		border-radius: 18px;
		flex-wrap: wrap;
	}

	.ccc-save-bar p {
		flex: 1 1 140px;
	}
}

button.ccc-smart-fab {
	border: 0;
	font: inherit;
	cursor: pointer;
}

.ccc-messages-page.has-compose-fab .ccc-texts-inbox__list {
	padding-bottom: 72px;
}

@media (max-width: 800px) {
	.ccc-messages-page.is-thread-open .ccc-messages-fab {
		display: none;
	}
}

.ccc-compose-drawer .el-drawer__body {
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.ccc-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	background: #f6f7f8;
	border: 1px solid var(--ccc-border);
	border-radius: 6px;
	padding: 8px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ccc-setup-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.ccc-setup-card {
	cursor: pointer;
	border: 1px solid var(--ccc-border);
	border-radius: 8px;
	padding: 14px;
	background: #fff;
}

.ccc-setup-card.is-selected,
.ccc-setup-card:hover {
	border-color: var(--ccc-primary);
	box-shadow: 0 0 0 3px var(--ccc-primary-soft);
}

.ccc-muted {
	color: var(--ccc-muted);
	font-size: 12px;
}

.ccc-presence {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ccc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #99a0ae;
}

.ccc-dot.is-online {
	background: #1fc16b;
}

.ccc-dot.is-busy {
	background: #f6b51e;
}

.ccc-banner {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f4f6f8;
	border: 1px solid #e5e7eb;
}

.ccc-banner p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.ccc-banner__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ccc-banner.is-warning {
	background: #fff8e6;
	border-color: #f3d19e;
}

.ccc-banner.is-danger {
	background: #fef2f2;
	border-color: #fecaca;
}

.ccc-banner.is-success {
	background: #f0f9eb;
	border-color: #c2e7b0;
}

.ccc-banner.is-info {
	background: #ecf5ff;
	border-color: #b3d8ff;
}

.ccc-banner.is-action {
	position: relative;
	padding: 0;
}

.ccc-banner__hit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 40px 12px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.ccc-banner__hit:hover,
.ccc-banner__hit:focus-visible {
	background: rgba(26, 126, 251, 0.06);
}

.ccc-banner__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	color: var(--ccc-primary, #1a7efb);
	font-size: 13px;
	font-weight: 650;
}

.ccc-banner__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ccc-muted, #6b7280);
	cursor: pointer;
}

.ccc-banner__close:hover,
.ccc-banner__close:focus-visible {
	background: rgba(15, 23, 42, 0.08);
	color: var(--ccc-text, #1e1f21);
}

#ccc-text-reg,
#ccc-buy-number {
	scroll-margin-top: 72px;
}

.ccc-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0 16px;
}

.ccc-setup-panel {
	margin: 0 0 16px;
}

.ccc-setup-panel h3 {
	margin: 0 0 4px;
}

.ccc-setup-step {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f2;
}

.ccc-setup-step:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ccc-setup-step.is-done {
	opacity: 0.72;
}

.ccc-setup-step__mark {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	border: 1.5px solid #c9cdd3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: #fff;
}

.ccc-setup-step.is-done .ccc-setup-step__mark {
	border-color: #1fc16b;
	background: #1fc16b;
}

.ccc-setup-step__body {
	min-width: 0;
	flex: 1;
}

.ccc-setup-step__body strong {
	display: block;
	font-size: 14px;
}

.ccc-setup-step__body p {
	margin: 2px 0 0;
	font-size: 13px;
}

.ccc-setup-accounts {
	margin-top: 16px;
}

.ccc-import-modes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.ccc-import-modes .ccc-amount-pick {
	gap: 6px;
}

.ccc-import-preview.is-manual {
	margin-top: 4px;
	padding-top: 8px;
	border-top: 0;
}

.ccc-import-search {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ccc-import-search .el-select.ccc-import-type {
	width: 168px;
	flex: 0 0 168px;
}

.ccc-import-search .el-autocomplete {
	flex: 1;
	min-width: 0;
}

.ccc-import-search .el-input {
	max-width: none;
}

@media (max-width: 640px) {
	.ccc-import-search {
		flex-wrap: wrap;
	}

	.ccc-import-search .el-select.ccc-import-type {
		flex: 1 1 100%;
		width: 100%;
	}
}

.ccc-place-suggest {
	line-height: 1.25;
	padding: 2px 0;
}

.ccc-place-suggest strong {
	display: block;
	font-weight: 650;
}

.ccc-place-suggest span {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #6b7280;
}

.ccc-import-preview {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eef0f2;
}

.ccc-import-preview h3,
.ccc-import-preview h4 {
	margin: 0 0 8px;
}

.ccc-business-import .ccc-banner__row {
	margin-bottom: 12px;
	gap: 8px;
}

.ccc-tool-switch {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f2;
}

.ccc-tool-switch:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ccc-tool-switch .ccc-muted,
.ccc-tool-lib-row .ccc-muted {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.45;
}

.ccc-tool-stack {
	margin-top: 12px;
}

.ccc-tool-editor {
	margin: 0 0 14px;
	padding: 12px;
	border: 1px solid #eef0f2;
	border-radius: 10px;
	background: #fafbfc;
}

.ccc-tool-library {
	margin-top: 10px;
}

.ccc-tool-lib-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f2;
}

.ccc-tool-lib-row:last-child {
	border-bottom: 0;
}

.ccc-tool-menu {
	min-width: 280px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 6px 0 8px;
	border-radius: 12px;
}

.ccc-tool-picker .el-dialog__header {
	margin-right: 0;
	padding-bottom: 8px;
}

.ccc-tool-picker__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ccc-tool-picker__head strong {
	font-size: 16px;
	line-height: 1.3;
	color: #101828;
}

.ccc-tool-picker__search {
	margin-bottom: 12px;
}

.ccc-tool-picker__body {
	max-height: min(62vh, 520px);
	overflow-y: auto;
	padding-right: 2px;
}

.ccc-tool-picker__group + .ccc-tool-picker__group {
	margin-top: 4px;
}

.ccc-tool-picker__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 0 2px 8px;
}

.ccc-tool-picker__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #eef0f2;
	border-radius: 12px;
	background: #fff;
	color: #101828;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ccc-tool-picker__item:hover,
.ccc-tool-picker__item:focus-visible {
	border-color: var(--ccc-primary, #2f6b3a);
	background: var(--ccc-primary-soft, #eef6ea);
	box-shadow: 0 0 0 1px rgba(47, 107, 58, 0.12);
	outline: none;
}

.ccc-tool-picker__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.ccc-tool-picker__text strong {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.ccc-tool-picker__text .ccc-muted {
	font-size: 12px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.ccc-tool-picker__grid {
		grid-template-columns: 1fr;
	}
}

.ccc-tool-menu__group {
	padding: 8px 12px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #98a2b3;
}

.ccc-tool-menu__rule {
	margin: 6px 8px;
	border-top: 1px solid #eef0f2;
}

.ccc-tool-menu .el-dropdown-menu__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	line-height: 1.3;
}

.ccc-tool-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	color: #fff;
	flex-shrink: 0;
}

.ccc-tool-menu__icon.is-green { background: #22c55e; }
.ccc-tool-menu__icon.is-red { background: #ef4444; }
.ccc-tool-menu__icon.is-purple { background: #a855f7; }
.ccc-tool-menu__icon.is-yellow { background: #eab308; }
.ccc-tool-menu__icon.is-teal { background: #14b8a6; }
.ccc-tool-menu__icon.is-blue { background: #3b82f6; }
.ccc-tool-menu__icon.is-rose { background: #f43f5e; }
.ccc-tool-menu__icon.is-amber { background: #b45309; }
.ccc-tool-menu__icon.is-gold { background: #ca8a04; }
.ccc-tool-menu__icon.is-slack { background: #4a154b; }

.ccc-tool-card {
	margin-top: 10px;
	border: 1px solid #eef0f2;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
}

.ccc-tool-card.is-off {
	opacity: 0.62;
}

.ccc-tool-card.is-open {
	border-color: #d0d5dd;
}

.ccc-tool-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	cursor: pointer;
}

.ccc-tool-card__title {
	flex: 1;
	min-width: 0;
}

.ccc-tool-card__title strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-tool-card__title .ccc-muted {
	display: block;
	margin-top: 2px;
	font-size: 12px;
}

@media (max-width: 720px) {
	.ccc-tool-card__head {
		gap: 8px;
	}

	.ccc-tool-card__chevron {
		display: none;
	}

	.ccc-tool-card__head .el-button {
		padding: 4px;
		min-width: 32px;
	}
}

.ccc-tool-card__body {
	padding: 0 12px 12px 46px;
	border-top: 1px solid #f4f5f7;
	padding-top: 12px;
}

.ccc-tool-dialog .el-dialog__header {
	margin-right: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #eef0f2;
}

.ccc-tool-dialog__head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding-right: 28px;
}

.ccc-tool-dialog__icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.ccc-tool-dialog__titles {
	min-width: 0;
}

.ccc-tool-dialog__titles strong {
	display: block;
	font-size: 16px;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-tool-dialog__titles .ccc-muted {
	display: block;
	margin-top: 2px;
	font-size: 12px;
}

.ccc-tool-dialog__body {
	margin: 0 -4px;
	max-height: min(70vh, 640px);
	overflow-y: auto;
}

.ccc-voice-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.ccc-voice-preset {
	height: 28px;
	padding: 0 10px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	color: #344054;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.ccc-voice-preset:hover {
	background: #f2f4f7;
}

.ccc-voice-preset.is-on {
	border-color: #1a7efb;
	background: #eff6ff;
	color: #175cd3;
}

.ccc-stack-block {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eef0f2;
}

.ccc-stack-block h4 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #1e1f21;
}

.ccc-stack-field {
	margin-top: 14px;
}

.ccc-stack-field > label {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 500;
	color: #344054;
}

.ccc-stack-slider {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ccc-stack-slider__track {
	flex: 1;
	min-width: 0;
	padding-top: 8px;
}

.ccc-stack-slider__track input[type="range"] {
	width: 100%;
	margin: 0;
	accent-color: #1a7efb;
	cursor: pointer;
}

.ccc-stack-slider__labels {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 12px;
	color: #667085;
}

.ccc-stack-slider__num {
	width: 64px;
	height: 28px;
	margin-top: 2px;
	padding: 0 6px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	color: #1e1f21;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	text-align: center;
}

.ccc-stack-seg {
	display: flex;
	overflow: hidden;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #f8fafc;
}

.ccc-stack-seg button {
	flex: 1;
	height: 32px;
	border: 0;
	background: transparent;
	color: #667085;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.ccc-stack-seg button:hover {
	color: #344054;
}

.ccc-stack-seg button.is-on {
	background: #eff6ff;
	color: #175cd3;
	font-weight: 600;
}

.ccc-stack-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.ccc-stack-chip {
	display: inline-flex;
	align-items: center;
	padding: 1px 8px;
	border-radius: 999px;
	background: #eef2f6;
	color: #344054;
	font-size: 11px;
}

.ccc-stack-advanced {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 32px;
	margin-top: 14px;
	padding: 0 12px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	color: #344054;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.ccc-stack-advanced:hover {
	background: #f2f4f7;
}

.ccc-stack-advanced .ccc-icon,
.ccc-stack-advanced svg {
	transition: transform 0.15s ease;
}

.ccc-stack-advanced.is-open .ccc-icon,
.ccc-stack-advanced.is-open svg {
	transform: rotate(180deg);
}

.ccc-stack-advanced__body {
	margin-top: 12px;
}

.ccc-stack-toggle {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ccc-stack-toggle label {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 500;
	color: #344054;
}

.ccc-stack-block .ccc-voice-selected {
	margin-bottom: 8px;
}

.ccc-tenant-tool-group {
	margin-top: 16px;
	padding-top: 8px;
	border-top: 1px solid #eef0f2;
}

.ccc-tenant-tool-group:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.ccc-tenant-tool-group h4 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #667085;
}

.ccc-tenant-tool {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f2;
}

.ccc-tenant-tool:last-child {
	border-bottom: 0;
}

.ccc-tenant-tool__meta {
	min-width: 0;
}

.ccc-tenant-tool__meta strong {
	display: block;
	font-size: 14px;
}

.ccc-tenant-tool .ccc-muted {
	margin: 4px 0 0;
}

.ccc-know-lib > .ccc-muted {
	margin-bottom: 14px;
}

.ccc-know-lib .ccc-tool-acc {
	margin-top: 4px;
}

.ccc-tool-acc.el-collapse {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ccc-tool-acc > .el-collapse-item {
	border: 0;
	border-radius: 10px;
	background: #f6f7f9;
	overflow: hidden;
}

.ccc-tool-acc > .el-collapse-item > .el-collapse-item__header {
	align-items: flex-start;
	height: auto;
	min-height: 56px;
	padding: 14px 14px 14px 16px;
	line-height: 1.3;
	border: 0;
	background: transparent;
	font-weight: 600;
}

.ccc-tool-acc .el-collapse-item__wrap {
	border: 0;
	background: transparent;
}

.ccc-tool-acc > .el-collapse-item > .el-collapse-item__wrap > .el-collapse-item__content {
	padding: 0 16px 16px;
}

.ccc-tool-acc__title {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: left;
}

.ccc-tool-acc__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ccc-tool-acc__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

.ccc-tool-acc__title strong {
	font-size: 15px;
	font-weight: 600;
}

.ccc-tool-acc__title > span {
	font-size: 12px;
	font-weight: 400;
	color: #667085;
}

.ccc-tool-acc__count {
	margin-left: auto;
	font-size: 12px;
	font-weight: 400;
	color: #98a2b3;
}

.ccc-tool-acc .el-form-item__label {
	display: flex;
	align-items: center;
	width: 100%;
}

.ccc-store-settings .el-form-item__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ccc-store-settings .ccc-store-deny-say {
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.ccc-tool-acc .ccc-muted {
	margin: 0 0 6px;
	font-size: 12px;
}

.ccc-loc-mods {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 8px;
}

.ccc-loc-mod {
	border: 1px solid #e6e8ee;
	border-radius: 12px;
	padding: 14px;
	background: #fff;
}

.ccc-loc-mod__head,
.ccc-loc-mod__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ccc-loc-mod__head > div,
.ccc-loc-mod__row > div {
	min-width: 0;
	flex: 1 1 auto;
}

.ccc-loc-mod__head .el-switch,
.ccc-loc-mod__row .el-switch {
	flex: 0 0 auto;
	margin-top: 2px;
}

.ccc-loc-mod .el-switch.is-disabled {
	opacity: 0.45;
}

.ccc-loc-mod strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}

.ccc-loc-mod .ccc-muted {
	margin: 4px 0 0;
}

.ccc-loc-mod .ccc-cal-id-status {
	margin: 10px 0 0;
}

.ccc-loc-mod__extra {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eef0f4;
}

.ccc-loc-pad {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.ccc-loc-pad > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 140px;
}

.ccc-loc-pad span,
.ccc-loc-note > span {
	font-size: 12px;
	font-weight: 600;
}

.ccc-loc-note {
	margin-top: 12px;
}

.ccc-loc-note .el-input {
	margin-top: 6px;
	width: 100%;
}

.ccc-loc-mod .ccc-toolbar {
	margin-top: 10px;
}

.ccc-loc-mod > .el-input {
	margin-top: 10px;
}

.ccc-cal-pick {
	align-items: stretch;
	flex-wrap: wrap;
}

.ccc-cal-pick .el-select {
	flex: 1 1 220px;
	min-width: 180px;
}

.ccc-cal-id-steps {
	margin: 0 0 12px;
	padding-left: 18px;
	font-size: 12px;
	line-height: 1.5;
	color: #667085;
}

.ccc-cal-id-steps li + li {
	margin-top: 4px;
}

.ccc-tool-dtmf__intro {
	margin-bottom: 14px;
}

.ccc-tool-dtmf__intro p {
	margin: 0 0 6px;
}

.ccc-tool-dtmf__tips {
	margin: 0;
	padding-left: 18px;
	font-size: 12px;
	line-height: 1.55;
	color: #667085;
}

.ccc-tool-dtmf__tips li + li {
	margin-top: 4px;
}

.ccc-tool-dtmf__tips code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
	padding: 1px 5px;
	border-radius: 4px;
	background: #f2f4f7;
	color: #344054;
}

.ccc-tool-dtmf__example {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #eaecf0;
}

.ccc-tool-dtmf__example .ccc-muted {
	margin: 4px 0 0;
}

.ccc-cal-id-status {
	margin: 8px 0 0;
	min-height: 1.2em;
	font-size: 12px;
	line-height: 1.4;
	color: #667085;
}

.ccc-cal-id-status.is-ok {
	color: #067647;
}

.ccc-cal-id-status.is-warn {
	color: #b54708;
}

.el-message-box.ccc-confirm-box .el-message-box__message {
	white-space: pre-line;
}

.el-message-box.ccc-confirm-box.is-danger .el-message-box__btns .el-button--primary {
	background-color: #d92d20;
	border-color: #d92d20;
	color: #fff;
}

.ccc-cal-id-status.is-error {
	color: #d92d20;
}

.ccc-cal-id-status.is-checking {
	color: #667085;
}

.ccc-cal-avail {
	margin-top: 10px;
}

.ccc-cal-avail__list {
	margin: 6px 0 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.5;
	color: #344054;
}

.ccc-cal-test {
	margin-top: 10px;
}

.ccc-cal-test__list {
	margin: 6px 0 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.5;
}

.ccc-cal-test__list li + li {
	margin-top: 4px;
}

.ccc-cal-test__list .is-ok {
	color: #067647;
}

.ccc-cal-test__list .is-warn {
	color: #b54708;
}

.ccc-cal-test__list .is-fail {
	color: #d92d20;
}

.ccc-cal-test__list .is-skip {
	color: #667085;
}

.ccc-tool-msg-add {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 12px;
}

.ccc-tool-msg-empty {
	margin: 0;
	font-size: 12px;
	font-style: italic;
	color: #98a2b3;
}

.ccc-tool-msg-card {
	margin-top: 12px;
	padding: 16px;
	border-radius: 10px;
	background: #fff;
}

.ccc-tool-msg-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 14px;
}

.ccc-tool-msg-card__head strong {
	font-size: 14px;
	font-weight: 600;
}

.ccc-tool-msg-option {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 500;
	color: #667085;
}

.ccc-tool-msg-radios {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.ccc-tool-msg-radios .el-radio {
	margin-right: 0;
	height: auto;
	white-space: normal;
	align-items: flex-start;
}

.ccc-tool-msg-radios .el-radio__label {
	font-size: 13px;
	font-weight: 500;
	color: #667085;
	line-height: 1.4;
}

.ccc-tool-msg-custom {
	margin-top: 12px;
}

.ccc-tool-msg-block {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eef0f2;
}

.ccc-tool-msg-block .el-checkbox__label {
	font-size: 12px;
	font-weight: 500;
	color: #667085;
	white-space: normal;
}

.ccc-tool-msg-conds {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eef0f2;
}

.ccc-tool-msg-conds__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.ccc-tool-msg-conds__head span {
	font-size: 12px;
	font-weight: 500;
	color: #667085;
}

.ccc-tool-dest-add {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 12px;
}

.ccc-tool-dest-presets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 4px 0 12px;
}

.ccc-tool-dest-presets .ccc-tool-dest-label {
	margin: 0;
}

.ccc-tool-dest-preset {
	padding: 6px 12px;
	border: 1px solid var(--ccc-border, #e5e9f0);
	border-radius: 999px;
	background: #fff;
	color: var(--ccc-text, #1e1f21);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.ccc-tool-dest-preset:hover {
	border-color: var(--ccc-primary, #2f6b3a);
	background: var(--ccc-primary-soft, #eef6ea);
}

.ccc-tool-dest-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	padding: 28px 16px;
	border: 1px dashed var(--ccc-border, #d0d5dd);
	border-radius: 10px;
	background: #f8f9fb;
	text-align: center;
}

.ccc-tool-dest-empty__title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ccc-text, #101828);
}

.ccc-tool-dest-empty .ccc-muted {
	margin: 0;
}

.ccc-tool-dest-card {
	margin-top: 12px;
	border-radius: 10px;
	background: #eceef2;
	overflow: hidden;
}

.ccc-tool-dest-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
}

.ccc-tool-dest-card__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
	padding: 0;
	border: 0;
	background: transparent;
	color: #101828;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.ccc-tool-dest-card__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.ccc-tool-dest-card__meta {
	font-size: 12px;
	font-weight: 500;
	color: #667085;
}

.ccc-tool-dest-card__toggle svg {
	flex-shrink: 0;
	color: #98a2b3;
	transition: transform 0.2s ease;
	transform: rotate(-90deg);
}

.ccc-tool-dest-card__toggle.is-open svg {
	transform: rotate(0deg);
}

.ccc-tool-dest-card__body {
	padding: 0 16px 16px;
}

.ccc-tool-dest-label {
	display: block;
	margin: 12px 0 6px;
	font-size: 12px;
	font-weight: 500;
	color: #667085;
}

.ccc-tool-dest-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 4px;
}

.ccc-tool-dest-label-row .ccc-tool-dest-label {
	margin: 0;
}

.ccc-tool-dest-label-row .el-checkbox__label {
	font-size: 12px;
	font-weight: 500;
	color: #667085;
}

.ccc-tool-dest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 4px;
}

.ccc-tool-dest-plan.el-collapse {
	margin-top: 16px;
	border: 0;
}

.ccc-tool-dest-plan .el-collapse-item {
	border: 0;
	border-radius: 10px;
	background: #e4e7ec;
	overflow: hidden;
}

.ccc-tool-dest-plan .el-collapse-item__header {
	align-items: flex-start;
	height: auto;
	min-height: 52px;
	padding: 12px;
	line-height: 1.3;
	border: 0;
	background: transparent;
	font-weight: 600;
}

.ccc-tool-dest-plan .el-collapse-item__wrap {
	border: 0;
	background: transparent;
}

.ccc-tool-dest-plan .el-collapse-item__content {
	padding: 0 12px 14px;
}

.ccc-tool-dest-fallback {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.55);
}

.ccc-tool-dest-fallback h5 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
}

.ccc-tool-dest-note {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(245, 158, 11, 0.22);
	background: rgba(245, 158, 11, 0.1);
	font-size: 12px;
	line-height: 1.45;
	color: #667085;
}

@media (max-width: 700px) {
	.ccc-tool-dest-grid {
		grid-template-columns: 1fr;
	}
}

.ccc-tool-vm-heading {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #101828;
}

.ccc-vm-choices {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.ccc-vm-choices .el-radio {
	display: flex;
	align-items: flex-start;
	height: auto;
	margin: 0;
	padding: 12px;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	white-space: normal;
}

.ccc-vm-choices .el-radio.is-checked {
	border-color: #93c5fd;
}

.ccc-vm-choices .el-radio__input {
	margin-top: 2px;
}

.ccc-vm-choices .el-radio__label {
	padding-left: 10px;
	line-height: 1.35;
}

.ccc-vm-choice__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #101828;
}

.ccc-vm-choice__hint {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 400;
	color: #667085;
}

.ccc-tool-vm-script {
	margin-top: 14px;
}

.ccc-tool-sms__field + .ccc-tool-sms__field {
	margin-top: 4px;
}

.ccc-tool-sms__field .ccc-tool-dest-label:first-child {
	margin-top: 0;
}

.ccc-tool-sms .el-select {
	width: 100%;
}

.ccc-tool-sms__native {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #eaecf0;
}

.ccc-tool-sms__native .el-switch {
	margin-bottom: 8px;
}

.ccc-tool-kb-add {
	display: flex;
	margin-bottom: 12px;
}

.ccc-tool-kb-add .el-button {
	width: 100%;
}

.ccc-tool-kb-card {
	margin-top: 12px;
	padding: 16px;
	border-radius: 10px;
	background: #fff;
}

.ccc-tool-kb-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.ccc-tool-kb-card__head strong {
	font-size: 14px;
	font-weight: 600;
}

.ccc-tool-kb-card .el-select {
	width: 100%;
}

.ccc-tool-kb-error {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #d92d20;
}

.ccc-vm-other {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ccc-vm-other__text {
	min-width: 0;
	flex: 1;
}

.ccc-vm-other__text strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
}

.ccc-vm-other__text span {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	color: #667085;
}

/* Lookup contact — one panel per directory */
.ccc-contact-sources {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ccc-contact-sources__intro {
	margin: 0 0 2px;
	padding: 0 0 14px;
	border-bottom: 1px solid #eef0f2;
}

.ccc-contact-sources__lead {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #1e1f21;
	line-height: 1.4;
}

.ccc-contact-sources__intro .ccc-muted {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
}

.ccc-contact-source {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	background: #fafbfc;
}

.ccc-contact-source__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ccc-contact-source__titles {
	min-width: 0;
	flex: 1 1 auto;
}

.ccc-contact-source__titles h4 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 650;
	color: #1e1f21;
	line-height: 1.3;
}

.ccc-contact-source__titles .ccc-muted {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
}

.ccc-contact-source__toggle {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex: 0 0 auto;
	padding-top: 2px;
}

.ccc-contact-source__toggle-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #98a2b3;
}

.ccc-contact-source__body {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eef0f2;
}

.ccc-contact-source__body > .ccc-cal-id-status {
	margin: 0;
}

.ccc-contact-source__connect {
	margin-top: 12px;
	padding: 12px;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	background: #fff;
}

.ccc-contact-source__connect-label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 650;
	color: #344054;
}

.ccc-contact-source__fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ccc-contact-source__actions {
	margin-top: 10px;
	flex-wrap: wrap;
}

.ccc-contact-source__connect .ccc-cal-test {
	margin-top: 10px;
}

@media (max-width: 640px) {
	.ccc-contact-source__head {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.ccc-contact-source__toggle {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-top: 8px;
		border-top: 1px solid #eef0f2;
	}
}
.ccc-contact-source__list {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ccc-contact-source__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	background: #fafbfc;
}

.ccc-contact-source__row-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ccc-contact-source__row-main strong {
	font-size: 13px;
	font-weight: 600;
	color: #1e1f21;
}

.ccc-contact-source__row-main .ccc-muted {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc-contact-source__share {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ccc-contact-source__share .ccc-muted {
	margin: 0;
	font-size: 12.5px;
}

@media (max-width: 640px) {
	.ccc-contact-source__share {
		flex-direction: column;
		align-items: stretch;
	}
}

body.ccc-dialer-open {
	overflow: hidden;
}

.ccc-dialer {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0b1220;
	color: #fff;
}

.ccc-dialer__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: min(420px, calc(100% - 32px));
	padding: 28px 20px 40px;
}

.ccc-dialer__kicker {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.ccc-dialer__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 28px 0 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ccc-dialer__avatar.is-live {
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28);
	animation: ccc-dialer-pulse 1.6s ease-out infinite;
}

.ccc-dialer__name {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 650;
	color: #fff;
}

.ccc-dialer__phone,
.ccc-dialer__status,
.ccc-dialer__timer {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
}

.ccc-dialer__phone {
	font-size: 18px;
}

.ccc-dialer__status {
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ccc-dialer__timer {
	font-size: 22px;
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.ccc-dialer__hangup,
.ccc-dialer__done {
	margin-top: 36px;
	border: 0;
	cursor: pointer;
	color: #fff;
}

.ccc-dialer__hangup {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	padding: 0;
	border-radius: 50%;
	background: #e11d48;
	box-shadow: none;
}

.ccc-dialer__hangup:disabled {
	opacity: 0.7;
	cursor: wait;
}

.ccc-dialer__hangup-label {
	margin-top: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.ccc-dialer__done {
	min-width: 140px;
	padding: 12px 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 15px;
}

@keyframes ccc-dialer-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28); }
	100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}

.ccc-staff-task__when {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid var(--ccc-border, #e3e6ea);
	border-radius: 8px;
	font: inherit;
}

.ccc-staff-task__pending {
	margin-top: 8px;
}

.ccc-staff-task__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	font-size: 13px;
}

.ccc-staff-task__row span {
	min-width: 0;
}

.ccc-reason-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.ccc-reason-chip {
	border: 1px solid var(--ccc-border, #e3e6ea);
	background: #fff;
	color: inherit;
	border-radius: 999px;
	padding: 4px 10px;
	font: inherit;
	font-size: 12px;
	line-height: 1.3;
	cursor: pointer;
}

.ccc-staff-task__why {
	margin: 6px 0 8px;
}

.ccc-audit-list {
	margin: 8px 0 0;
	padding-left: 18px;
}

.ccc-audit-list li {
	margin: 6px 0;
}
