.voip-page {
  --vp-bg: #fff;
  --vp-soft: #f7f9fb;
  --vp-line: #e5eaf0;
  --vp-ink: #202c3e;
  --vp-muted: #738095;
  --vp-accent: #155cbd;
  color: var(--vp-ink);
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 13px;
  max-width: 1660px;
  margin: auto;
  padding: 28px 32px 48px;
}
.workspace:has(> .voip-page) {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: none;
}
.content:has(.voip-page) {
  padding: 0 !important;
}
.voip-page * {
  box-sizing: border-box;
}
.voip-page button,
.voip-page input,
.voip-page select,
.voip-page textarea {
  font: inherit;
}
.voip-page button {
  cursor: pointer;
}
.voip-page button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.voip-page button:focus-visible,
.voip-page input:focus-visible,
.voip-page select:focus-visible,
.voip-page textarea:focus-visible {
  outline: 3px solid #79aef0;
  outline-offset: 3px;
}
.voip-page svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.7;
}
.voip-page h1,
.voip-page h2,
.voip-page h3,
.voip-page p {
  margin: 0;
}
.voip-page p {
  line-height: 1.7;
}
.vp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 25px;
}
.vp-heading-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--vp-line);
  background: var(--vp-bg);
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--vp-accent);
}
.vp-heading-icon svg {
  width: 24px;
  height: 24px;
}
.vp-breadcrumb {
  font-size: 11px;
  color: var(--vp-muted);
  margin-bottom: 5px;
}
.vp-breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}
.vp-header h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.vp-header p {
  color: var(--vp-muted);
  margin-top: 6px;
  font-size: 12px;
}
.vp-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.vp-btn:hover {
  background: var(--vp-soft);
  border-color: #a7bdd8;
}
.vp-btn:active {
  transform: translateY(1px);
}
.vp-btn.vp-primary {
  background: var(--vp-accent);
  border-color: var(--vp-accent);
  color: #fff;
}
.vp-btn.vp-primary:hover {
  background: #104c9e;
}
.vp-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fffaf0;
  border: 1px solid #eee2c4;
  border-radius: 8px;
  padding: 10px 14px;
  color: #836527;
  font-size: 11px;
  margin-bottom: 26px;
}
.vp-preview button {
  margin-left: auto;
  background: none;
  border: 0;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.vp-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
}
.vp-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 7px;
}
.vp-nav > button {
  border: 0;
  background: none;
  text-align: left;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vp-muted);
  border-radius: 7px;
  font-size: 12px;
}
.vp-nav > button svg:last-child:not(:first-child) {
  margin-left: auto;
  width: 14px;
}
.vp-nav > button:hover {
  background: var(--vp-soft);
  color: var(--vp-ink);
}
.vp-nav > button[aria-current] {
  background: #eaf2fd;
  color: #155cbd;
  font-weight: 700;
}
.vp-nav-foot {
  margin-top: 36px;
  padding: 20px 12px;
  border-top: 1px solid var(--vp-line);
  color: var(--vp-muted);
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  font-size: 11px;
}
.vp-nav-foot strong {
  color: var(--vp-ink);
}
.vp-nav-foot span {
  grid-column: 2;
}
.vp-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.vp-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  margin-bottom: 2px;
}
.vp-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--vp-muted);
}
.vp-page-title h2 {
  font-size: 22px;
  letter-spacing: -0.65px;
  margin-top: 7px;
}
.vp-card {
  background: var(--vp-bg);
  border: 1px solid var(--vp-line);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.vp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.vp-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.vp-card-head p {
  font-size: 11px;
  color: var(--vp-muted);
  margin-top: 6px;
}
.vp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}
.vp-badge > span {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 100%;
}
.vp-green {
  color: #298168;
  background: #eef8f3;
}
.vp-amber {
  color: #966c28;
  background: #fff3da;
}
.vp-blue {
  color: #2764af;
  background: #edf4ff;
}
.vp-neutral {
  color: var(--vp-muted);
  background: var(--vp-soft);
}
.vp-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(285px, 1fr);
  gap: 20px;
}
.vp-check {
  display: flex;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--vp-line);
  background: none;
  padding: 15px 0;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--vp-ink);
}
.vp-check:last-child {
  padding-bottom: 0;
}
.vp-check > svg {
  margin-left: auto;
  color: var(--vp-muted);
  width: 15px;
}
.vp-check strong {
  font-size: 12px;
  font-weight: 600;
}
.vp-check small {
  display: block;
  color: var(--vp-muted);
  font-size: 10px;
  margin-top: 4px;
}
.vp-check:hover strong {
  color: var(--vp-accent);
}
.vp-step {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vp-soft);
  border: 1px solid var(--vp-line);
  font-size: 11px;
  color: var(--vp-muted);
  flex-shrink: 0;
}
.vp-step.done {
  background: #edf7f2;
  border-color: #e0efe7;
  color: #328468;
}
.vp-step svg {
  width: 14px;
}
.vp-wallet-mini {
  background: linear-gradient(150deg, var(--vp-bg), var(--vp-soft));
  display: flex;
  flex-direction: column;
}
.vp-wallet-mini h2 {
  font-size: 43px;
  letter-spacing: -2px;
  margin: 35px 0 25px;
  font-weight: 600;
}
.vp-wallet-mini h2 small {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--vp-muted);
  font-weight: 400;
  margin-top: 6px;
}
.vp-wallet-split {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--vp-line);
  padding-top: 18px;
  margin-bottom: 22px;
}
.vp-wallet-split span {
  font-size: 10px;
  color: var(--vp-muted);
  line-height: 1.7;
}
.vp-wallet-split strong {
  display: block;
  font-size: 17px;
  color: var(--vp-ink);
}
.vp-wallet-mini .vp-btn {
  margin-top: auto;
  width: 100%;
}
.vp-wallet-mini > p {
  font-size: 10px;
  color: var(--vp-muted);
  margin-top: 12px;
}
.vp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.vp-stat {
  padding: 20px;
  border: 1px solid var(--vp-line);
  background: var(--vp-bg);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 18px;
}
.vp-stat > svg {
  grid-column: 2;
  grid-row: 1;
  color: var(--vp-muted);
}
.vp-stat > span {
  font-size: 10px;
  grid-row: 1;
  color: var(--vp-muted);
}
.vp-stat strong {
  font-size: 24px;
  letter-spacing: -1px;
  grid-column: 1/-1;
}
.vp-stat small {
  color: var(--vp-muted);
  font-size: 9px;
  grid-column: 1/-1;
}
.vp-journey {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5px 5px;
}
.vp-journey > div {
  display: grid;
  gap: 9px;
}
.vp-journey > div > svg {
  color: var(--vp-accent);
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
}
.vp-journey strong {
  font-size: 11px;
}
.vp-journey small {
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-journey-arrow {
  color: #b1bfce;
  font-size: 24px;
}
.vp-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  color: var(--vp-muted);
  line-height: 1.7;
  padding: 13px 0;
}
.vp-note svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.vp-ai-credits-heading {
  margin: 30px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--vp-line);
}
.vp-ai-credits-heading h2 {
  margin: 0;
  font-size: 18px;
  color: var(--vp-text);
}
.vp-ai-credits-heading p {
  margin: 5px 0 0;
  color: var(--vp-muted);
  font-size: 12px;
}
.vp-ai-agent-access {
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--vp-line);
}
.vp-ai-agent-access > div:first-child > strong {
  font-size: 13px;
}
.vp-ai-agent-access > div:first-child > p {
  margin: 5px 0 12px;
  color: var(--vp-muted);
  font-size: 12px;
}
.vp-ai-agent-list {
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  overflow: hidden;
}
.vp-ai-agent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
}
.vp-ai-agent + .vp-ai-agent {
  border-top: 1px solid var(--vp-line);
}
.vp-ai-agent .vp-person > span:last-child {
  display: grid;
  gap: 2px;
}
.vp-ai-agent .vp-person small {
  color: var(--vp-muted);
  font-size: 11px;
}

/* Overview analytics */
.vp-overview-analytics {
  display: grid;
  gap: 30px;
  color: var(--vp-ink);
}
.vp-analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--vp-line);
  border-radius: 12px;
  background: var(--vp-bg);
  overflow: hidden;
}
.vp-analytics-kpi {
  min-width: 0;
  min-height: 126px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
}
.vp-analytics-kpi + .vp-analytics-kpi { border-left: 1px solid var(--vp-line); }
.vp-kpi-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--vp-soft);
  color: #334b62;
}
.vp-kpi-icon svg { width: 19px; height: 19px; }
.vp-analytics-kpi > div { min-width: 0; }
.vp-analytics-kpi strong {
  display: block;
  margin: -4px 0 5px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.vp-analytics-kpi strong small { font-size: 15px; color: #65788b; letter-spacing: 0; }
.vp-analytics-kpi div > span {
  color: #53687d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.vp-analytics-kpi progress {
  width: 100%;
  height: 6px;
  display: block;
  margin-top: 15px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e7edf1;
}
.vp-analytics-kpi progress::-webkit-progress-bar { background: #e7edf1; }
.vp-analytics-kpi progress::-webkit-progress-value { background: #55738f; border-radius: 999px; }
.vp-analytics-kpi progress::-moz-progress-bar { background: #55738f; border-radius: 999px; }
.vp-analytics-section { display: grid; gap: 18px; }
.vp-analytics-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.vp-analytics-section-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.vp-analytics-section-head p {
  margin: 6px 0 0;
  color: #5d7185;
  font-size: 13px;
  line-height: 1.45;
}
.vp-period-label {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  background: var(--vp-soft);
  color: #52677b;
  font-size: 12.5px;
  font-weight: 650;
}
.vp-period-label svg { width: 15px; height: 15px; }
.vp-call-analytics-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr); gap: 18px; }
.vp-analytics-panel {
  border: 1px solid var(--vp-line);
  border-radius: 12px;
  background: var(--vp-bg);
  padding: 22px 24px;
}
.vp-analytics-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.vp-analytics-panel > header > div { display: grid; gap: 7px; }
.vp-analytics-panel > header span,
.vp-balance-panel > span {
  color: #52677b;
  font-size: 13px;
  font-weight: 650;
}
.vp-analytics-panel > header strong {
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.vp-trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #486b89 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.vp-trend.is-down { color: #52677b !important; }
.vp-trend svg { width: 14px; height: 14px; }
.vp-chart-wrap { margin-top: 16px; }
.voip-page svg.vp-line-chart {
  display: block;
  width: 100%;
  max-width: none;
  height: 250px;
  min-height: 250px;
  flex-shrink: 1;
  color: #5b7e9f;
  overflow: visible;
}
.vp-chart-grid line { stroke: #dfe6eb; stroke-width: 1; stroke-dasharray: 3 6; }
.vp-chart-area { fill: url(#vpCallsArea); }
.vp-chart-line,
.vp-spark-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.vp-chart-points circle { fill: var(--vp-bg); stroke: currentColor; stroke-width: 2.5; }
.vp-chart-labels text { fill: #65798d; font-size: 11px; font-weight: 550; }
.vp-call-volume footer,
.vp-ai-consumption footer { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 14px; border-top: 1px solid var(--vp-line); }
.vp-call-volume footer span,
.vp-ai-consumption footer span { display: inline-flex; align-items: center; gap: 7px; color: #5a6f83; font-size: 12px; }
.vp-call-volume footer strong,
.vp-ai-consumption footer strong { color: var(--vp-ink); font-size: 12px; }
.vp-call-volume footer i,
.vp-ai-consumption footer i { width: 8px; height: 8px; border-radius: 2px; background: #5b7e9f; }
.vp-call-volume footer i.is-outbound { background: #a6b6c4; }
.vp-duration-panel { display: flex; flex-direction: column; }
.voip-page svg.vp-spark-chart {
  width: 100%;
  max-width: none;
  height: 118px;
  flex-shrink: 1;
  margin: 24px 0 20px;
  color: #5b7e9f;
}
.vp-spark-area { fill: rgba(91, 126, 159, .12); }
.vp-call-breakdown { display: grid; gap: 0; margin: auto 0 0; }
.vp-call-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--vp-line); }
.vp-call-breakdown dt { color: #5a6f83; font-size: 12.5px; }
.vp-call-breakdown dd { margin: 0; color: var(--vp-ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vp-ai-usage-section { padding-top: 4px; }
.vp-analytics-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  font-size: 12.5px;
  font-weight: 650;
}
.vp-analytics-link:hover { background: var(--vp-soft); }
.vp-analytics-link svg { width: 14px; }
.vp-ai-analytics-grid { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: 18px; }
.vp-balance-panel { display: flex; flex-direction: column; }
.vp-balance-panel > strong {
  margin-top: 22px;
  font-size: 48px;
  line-height: .95;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.vp-balance-panel > small { margin-top: 7px; color: #5d7185; font-size: 13px; }
.vp-balance-composition { height: 7px; margin: 28px 0 20px; border-radius: 999px; background: #dfe7ed; overflow: hidden; }
.vp-balance-composition span { display: block; width: var(--vp-share); height: 100%; border-radius: inherit; background: #587a98; }
.vp-balance-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: auto 0 0; }
.vp-balance-panel dl div { display: grid; gap: 4px; }
.vp-balance-panel dt { color: #5d7185; font-size: 12px; }
.vp-balance-panel dd { margin: 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vp-ai-consumption { min-height: 300px; display: flex; flex-direction: column; }
.vp-bar-chart { min-height: 170px; display: flex; align-items: flex-end; justify-content: space-around; gap: 18px; padding: 22px 18px 0; margin-top: 8px; border-bottom: 1px solid var(--vp-line); }
.vp-bar-chart > div { height: 145px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; position: relative; flex: 1; }
.vp-bar-chart > div > span { width: min(18px, 32%); min-height: 5px; border-radius: 4px 4px 0 0; background: #5b7e9f; }
.vp-bar-chart > div > span.is-intelligence { background: #a6b6c4; }
.vp-bar-chart small { position: absolute; bottom: -21px; color: #607488; font-size: 11px; }
.vp-ai-consumption footer { margin-top: 34px; }
.vp-ai-consumption footer i.is-intelligence { background: #a6b6c4; }
html[data-dashboard-theme="dark"] .vp-kpi-icon { color: #c4d2df; }
html[data-dashboard-theme="dark"] .vp-analytics-kpi div > span,
html[data-dashboard-theme="dark"] .vp-analytics-section-head p,
html[data-dashboard-theme="dark"] .vp-analytics-panel > header span,
html[data-dashboard-theme="dark"] .vp-balance-panel > span,
html[data-dashboard-theme="dark"] .vp-balance-panel > small,
html[data-dashboard-theme="dark"] .vp-call-breakdown dt,
html[data-dashboard-theme="dark"] .vp-balance-panel dt,
html[data-dashboard-theme="dark"] .vp-call-volume footer span,
html[data-dashboard-theme="dark"] .vp-ai-consumption footer span { color: #b6c0ca; }
html[data-dashboard-theme="dark"] .vp-period-label,
html[data-dashboard-theme="dark"] .vp-trend { color: #bdcad6 !important; }
html[data-dashboard-theme="dark"] .vp-chart-grid line { stroke: #394047; }
html[data-dashboard-theme="dark"] .vp-chart-labels text,
html[data-dashboard-theme="dark"] .vp-bar-chart small { fill: #aeb8c2; color: #aeb8c2; }
html[data-dashboard-theme="dark"] .vp-analytics-kpi progress,
html[data-dashboard-theme="dark"] .vp-analytics-kpi progress::-webkit-progress-bar,
html[data-dashboard-theme="dark"] .vp-balance-composition { background: #343a40; }
@media (max-width: 1180px) {
  .vp-analytics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-analytics-kpi:nth-child(3) { border-left: 0; border-top: 1px solid var(--vp-line); }
  .vp-analytics-kpi:nth-child(4) { border-top: 1px solid var(--vp-line); }
  .vp-call-analytics-grid,
  .vp-ai-analytics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vp-analytics-kpis { grid-template-columns: 1fr; }
  .vp-analytics-kpi + .vp-analytics-kpi { border-left: 0; border-top: 1px solid var(--vp-line); }
  .vp-analytics-section-head { align-items: flex-start; flex-direction: column; }
  .vp-period-label { align-self: stretch; justify-content: center; }
  .vp-analytics-panel { padding: 18px; }
}
.vp-table-wrap {
  overflow-x: auto;
}
.voip-page table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.voip-page th {
  font-size: 10px;
  color: var(--vp-muted);
  font-weight: 500;
  background: var(--vp-soft);
  padding: 12px 14px;
}
.voip-page td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--vp-line);
  font-size: 11px;
}
.voip-page tr:last-child td {
  border: 0;
}
.voip-page td small {
  display: block;
  margin-top: 5px;
  color: var(--vp-muted);
  font-size: 10px;
}
.vp-card-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--vp-line);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--vp-muted);
  flex-wrap: wrap;
}
.vp-card-foot code {
  background: var(--vp-soft);
  padding: 7px;
  border-radius: 5px;
  color: var(--vp-ink);
}
.vp-card-foot > span {
  margin-left: auto;
  font-size: 10px;
}
.vp-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.vp-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf1f6;
  color: #617491;
  font-size: 10px;
}
.vp-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.vp-switch input {
  position: absolute;
  opacity: 0;
  width: 34px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}
.vp-switch > span {
  width: 34px;
  height: 20px;
  border-radius: 20px;
  background: #d9e0e8;
  pointer-events: none;
  transition: background 0.2s;
}
.vp-switch > span:after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: white;
  margin: 3px;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.2s;
}
.vp-switch input:checked + span {
  background: var(--vp-accent);
}
.vp-switch input:checked + span:after {
  transform: translateX(14px);
}
.vp-switch input:disabled + span {
  opacity: 0.35;
}
.vp-switch input:focus-visible + span {
  outline: 3px solid #79aef0;
  outline-offset: 3px;
}
.vp-setting-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--vp-line);
  margin-bottom: 20px;
}
.vp-setting-row strong {
  font-size: 12px;
}
.vp-setting-row p {
  font-size: 11px;
  color: var(--vp-muted);
  margin-top: 5px;
}
.vp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.vp-form {
  display: grid;
  gap: 18px;
}
.vp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 17px;
}
.vp-field input,
.vp-field select,
.vp-field textarea {
  width: 100%;
  min-width: 0;
  background: var(--vp-bg);
  color: var(--vp-ink);
  padding: 11px 12px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  font-size: 12px;
  resize: vertical;
  font-weight: 400;
}
.vp-muted {
  font-size: 11px;
  color: var(--vp-muted);
  line-height: 1.7;
}
.vp-audio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--vp-line);
  padding: 20px 0;
}
.vp-audio-row strong {
  font-size: 11px;
}
.vp-audio-row small {
  display: block;
  font-size: 10px;
  color: var(--vp-muted);
  margin-top: 5px;
}
.vp-audio-row .vp-badge {
  margin-left: auto;
}
.vp-audio-icon {
  padding: 10px;
  background: var(--vp-soft);
  border-radius: 8px;
  color: var(--vp-accent);
}
.vp-schedule {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-block: 1px solid var(--vp-line);
}
.vp-schedule span {
  display: grid;
  gap: 12px;
  justify-items: center;
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-schedule b {
  width: 20px;
  height: 4px;
  border-radius: 3px;
  background: var(--vp-line);
}
.vp-schedule .open b {
  background: var(--vp-accent);
}
.vp-retention {
  padding: 20px;
  background: var(--vp-soft);
  border-radius: 8px;
  display: grid;
  gap: 12px;
}
.vp-retention > span {
  font-size: 11px;
  color: var(--vp-muted);
}
.vp-retention strong {
  font-size: 25px;
}
.vp-retention small {
  font-size: 13px;
  color: var(--vp-muted);
}
.vp-retention progress {
  width: 100%;
  height: 6px;
  accent-color: var(--vp-accent);
}
.vp-retention p {
  color: var(--vp-muted);
  font-size: 11px;
}
.vp-feature > svg {
  width: 26px;
  height: 26px;
  color: var(--vp-accent);
  margin: 4px 0 20px;
}
.vp-feature-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.vp-feature > p {
  color: var(--vp-muted);
  font-size: 12px;
  margin-bottom: 20px;
}
.vp-manual {
  display: flex;
  gap: 12px;
  background: var(--vp-soft);
  padding: 18px;
  border-radius: 8px;
  margin: 25px 0;
}
.vp-manual strong {
  font-size: 12px;
}
.vp-manual p {
  font-size: 11px;
  color: var(--vp-muted);
  margin-top: 6px;
}
.vp-balance {
  font-size: 48px;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 25px 0;
}
.vp-balance small {
  font-size: 14px;
  color: var(--vp-muted);
  letter-spacing: 0;
  font-weight: 400;
}
.vp-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.vp-amount strong {
  font-size: 32px;
  letter-spacing: -1px;
}
.vp-amount span {
  color: var(--vp-accent);
  font-weight: 600;
}
.vp-topup input[type="range"] {
  width: 100%;
  accent-color: var(--vp-accent);
  cursor: pointer;
}
.vp-range-label {
  display: flex;
  justify-content: space-between;
  color: var(--vp-muted);
  font-size: 9px;
  margin: 8px 0 15px;
}
.vp-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}
.vp-quick button {
  border: 1px solid var(--vp-line);
  border-radius: 5px;
  padding: 5px 7px;
  background: var(--vp-bg);
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-quick button.selected {
  border-color: var(--vp-accent);
  color: var(--vp-accent);
  background: #edf4ff;
}
.vp-topup > .vp-btn {
  width: 100%;
}
.vp-topup > p {
  font-size: 9px;
  margin-top: 10px;
  color: var(--vp-muted);
}
.vp-rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--vp-line);
}
.vp-rate > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.vp-rate strong {
  font-size: 20px;
}
.vp-rate small {
  font-size: 10px;
  font-weight: 400;
  color: var(--vp-muted);
}
.vp-flow-shell {
  border: 1px solid var(--vp-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--vp-bg);
}
.vp-flow-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  gap: 15px;
  border-bottom: 1px solid var(--vp-line);
  align-items: center;
}
.vp-flow-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vp-flow-toolbar strong {
  font-size: 12px;
}
.vp-flow-toolbar small {
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-flow-layout {
  display: grid;
  grid-template-columns: 145px minmax(240px, 1fr) 195px;
  min-height: 580px;
}
.vp-palette {
  padding: 20px 12px;
  border-right: 1px solid var(--vp-line);
}
.vp-palette > button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 6px;
  text-align: left;
  border: 1px solid var(--vp-line);
  border-radius: 6px;
  background: var(--vp-bg);
  font-size: 10px;
  color: var(--vp-ink);
}
.vp-palette > button > svg {
  width: 14px;
}
.vp-palette > button > svg:last-child {
  width: 10px;
  margin-left: auto;
  color: var(--vp-muted);
}
.vp-palette p {
  font-size: 10px;
  color: var(--vp-muted);
  margin-top: 25px;
  line-height: 2;
}
.vp-canvas {
  position: relative;
  overflow: auto;
  background-color: var(--vp-soft);
  background-image: radial-gradient(#bbc8d6 1px, transparent 1px);
  background-size: 18px 18px;
  min-height: 580px;
  max-height: 640px;
}
html[data-dashboard-theme="dark"] .voip-page .vp-canvas {
  background-image: radial-gradient(
    rgba(139, 151, 163, 0.3) 1px,
    transparent 1px
  );
}
.vp-flow-world {
  position: relative;
  transform-origin: 0 0;
}
.vp-edges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.vp-edges path {
  stroke: #8fa8c1;
  stroke-width: 1.5;
  fill: none;
}
.vp-edges text {
  font-size: 10px;
  fill: #738095;
  paint-order: stroke;
  stroke: var(--vp-soft);
  stroke-width: 5px;
}
.vp-node {
  position: absolute;
  width: 220px;
  min-height: 100px;
  text-align: left;
  border: 1px solid #d4dfe9;
  border-radius: 9px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  box-shadow: 0 4px 12px #1e38560a;
  padding: 12px 14px;
  touch-action: none;
  user-select: none;
}
.vp-node.selected {
  border-color: #3986df;
  box-shadow: 0 0 0 3px #3886df18;
}
.vp-node.connecting {
  border-style: dashed;
}
.vp-node-type {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--vp-accent);
  margin-bottom: 10px;
}
.vp-node-type svg {
  width: 14px;
  height: 14px;
}
.vp-node strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}
.vp-node small {
  display: block;
  font-size: 9px;
  color: var(--vp-muted);
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-port {
  position: absolute;
  right: -4px;
  top: 46px;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 2px solid #6895c4;
  border-radius: 50%;
}
.vp-inspector {
  padding: 20px 14px;
  border-left: 1px solid var(--vp-line);
}
.vp-inspector h3 {
  font-size: 13px;
  margin: 14px 0 20px;
}
.vp-inspector .vp-btn {
  font-size: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
}
.vp-inspector > .vp-muted {
  font-size: 10px;
  margin-top: 18px;
}
.vp-inspector-links {
  font-size: 10px;
  line-height: 1.7;
}
.vp-inspector-links > div {
  display: flex;
  gap: 6px;
  padding-top: 12px;
  align-items: center;
}
.vp-inspector-links button {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--vp-muted);
}
.vp-canvas-tools {
  position: sticky;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  background: var(--vp-bg);
  padding: 5px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  font-size: 10px;
}
.vp-canvas-tools button {
  background: none;
  border: 0;
  color: var(--vp-ink);
  width: 24px;
  height: 24px;
}
.vp-canvas-tools svg {
  width: 14px;
}
.vp-flow-status {
  padding: 10px 16px;
  border-top: 1px solid var(--vp-line);
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10020;
  background: #1f314a;
  color: white;
  padding: 14px 22px;
  border-radius: 9px;
  box-shadow: 0 10px 30px #0002;
  font-size: 12px;
  max-width: 90vw;
}
.vp-dialog {
  background: var(--vp-bg);
  color: var(--vp-ink);
  border: 1px solid var(--vp-line);
  border-radius: 15px;
  padding: 26px;
  width: min(490px, 92vw);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 90px #0003;
}
.vp-dialog::backdrop {
  background: #15243f55;
  backdrop-filter: blur(3px);
}
.vp-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.vp-dialog h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.vp-dialog-head button {
  background: none;
  border: 0;
  font-size: 25px;
  color: var(--vp-muted);
}
.vp-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.vp-dialog p {
  margin-bottom: 16px;
}
.vp-test-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--vp-line);
}
.vp-test-list > div > .vp-badge {
  margin-left: auto;
}
.vp-test-list svg {
  color: #2d9771;
}
.vp-checkout {
  text-align: center;
  padding: 20px;
}
.vp-checkout > span {
  font-size: 12px;
  color: var(--vp-muted);
}
.vp-checkout strong {
  display: block;
  font-size: 45px;
  margin: 16px 0;
}
.vp-call-demo > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 25px;
}
.vp-call-demo strong {
  font-size: 22px;
}
.vp-call-demo small {
  color: var(--vp-muted);
}
.vp-captions {
  background: var(--vp-soft);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.vp-captions p {
  margin: 20px 0 5px;
  font-size: 15px;
}
.vp-captions small {
  font-size: 9px;
}
.voip-page audio {
  width: 100%;
}
html[data-dashboard-theme="dark"] .voip-page {
  --vp-bg: #182231;
  --vp-soft: #131c29;
  --vp-line: #2b384b;
  --vp-ink: #e1e8f2;
  --vp-muted: #94a4bb;
  --vp-accent: #448dec;
}
html[data-dashboard-theme="dark"] .vp-preview {
  background: #302a1d;
  border-color: #53442b;
  color: #dfbe7e;
}
html[data-dashboard-theme="dark"] .vp-nav > button[aria-current] {
  background: #203554;
  color: #82b6ff;
}
html[data-dashboard-theme="dark"] .vp-green {
  background: #193d35;
  color: #8bd9b6;
}
html[data-dashboard-theme="dark"] .vp-amber {
  background: #3a301e;
  color: #e5bf74;
}
html[data-dashboard-theme="dark"] .vp-blue {
  background: #203554;
  color: #8fbaff;
}
@media (min-width: 1600px) {
  .vp-flow-layout {
    grid-template-columns: 155px minmax(400px, 1fr) 220px;
  }
}
@media (max-width: 1200px) {
  .voip-page {
    padding: 24px 20px;
  }
  .vp-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 20px;
  }
  .vp-overview-grid {
    grid-template-columns: 1fr;
  }
  .vp-wallet-mini h2 {
    margin: 18px 0;
  }
  .vp-wallet-mini {
    display: block;
  }
  .vp-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-flow-layout {
    grid-template-columns: 120px minmax(200px, 1fr);
  }
  .vp-inspector {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--vp-line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
  .vp-inspector > .vp-eyebrow {
    grid-column: 1/-1;
  }
  .vp-inspector h3 {
    margin: 0;
  }
  .vp-inspector .vp-field {
    grid-row: auto;
  }
  .vp-two-col {
    gap: 15px;
  }
}
@media (max-width: 850px) {
  .vp-layout {
    grid-template-columns: 1fr;
  }
  .vp-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 5px;
  }
  .vp-nav > button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .vp-nav-foot {
    display: none;
  }
  .vp-nav > button > svg:last-child:not(:first-child) {
    display: none;
  }
  .vp-two-col {
    grid-template-columns: 1fr;
  }
  .vp-header-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  .vp-journey {
    flex-wrap: wrap;
    gap: 20px;
  }
  .vp-journey-arrow {
    display: none;
  }
  .vp-journey > div {
    width: 40%;
  }
  .vp-card {
    padding: 20px;
  }
  .vp-header p {
    font-size: 10px;
  }
}
@media (max-width: 520px) {
  .voip-page {
    padding: 18px 12px;
  }
  .vp-heading-icon {
    display: none;
  }
  .vp-header h1 {
    font-size: 25px;
  }
  .vp-preview {
    align-items: flex-start;
  }
  .vp-preview button {
    white-space: normal;
  }
  .vp-header-actions > .vp-btn {
    font-size: 10px;
    padding: 8px;
  }
  .vp-card-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .vp-flow-layout {
    grid-template-columns: 1fr;
  }
  .vp-palette {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    padding: 10px;
  }
  .vp-palette > button {
    white-space: nowrap;
    width: auto;
    margin: 0;
  }
  .vp-palette > p,
  .vp-palette > .vp-eyebrow {
    display: none;
  }
  .vp-canvas {
    min-height: 430px;
    max-height: 430px;
  }
  .vp-flow-toolbar {
    flex-wrap: wrap;
  }
  .vp-inspector {
    display: block;
  }
  .vp-metrics {
    gap: 8px;
  }
  .vp-stat {
    padding: 14px;
  }
  .vp-stat > svg {
    display: none;
  }
  .vp-stat > span {
    grid-column: 1/-1;
  }
  .vp-page-title {
    gap: 12px;
  }
  .vp-page-title h2 {
    font-size: 20px;
  }
  .vp-wallet-split {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voip-page * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Share the Email settings shell and Console control scale. */
.voip-page {
  --vp-ink: #13243a;
  --vp-muted: #68788c;
  --vp-line: rgba(4, 56, 115, 0.11);
  --vp-soft: #f7f9fb;
  --vp-accent: #172333;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  background: #f7f9fb;
}
.voip-page .vp-layout {
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  align-items: start;
  height: auto;
  min-height: calc(100dvh - 67px);
}
.voip-page .vp-layout > .email-provider-sidebar { display: none; }
.voip-page .vp-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.voip-page .email-provider-sidebar {
  align-self: stretch;
  min-height: 680px;
  padding: 14px 10px 18px;
  border-color: #dfe5eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(18, 36, 58, 0.03);
}
.voip-page .email-provider-sidebar > header {
  gap: 11px;
  padding: 2px 8px 15px;
  margin-bottom: 12px;
  border-bottom-color: #e7ebef;
}
.voip-page .email-sidebar-icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f0f2f4;
  color: #111820;
}
.voip-page .email-sidebar-icon svg {
  stroke-width: 2.5;
}
.voip-page .email-provider-sidebar h1 {
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.025em;
}
.voip-page .email-provider-list-heading {
  padding: 0 10px 8px;
  color: #8390a0;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.voip-page .email-provider-list {
  gap: 3px;
  padding: 0 1px;
}
.voip-page .email-provider-nav-item {
  position: relative;
  min-height: 50px;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  color: #415268;
  overflow: hidden;
  transition: background-color 140ms ease, color 140ms ease;
}
.voip-page .email-provider-nav-item:hover {
  background: #f4f6f8;
  color: #1c3046;
}
.voip-page .email-provider-nav-mark {
  width: 34px;
  height: 34px;
  color: #718195;
  background: transparent;
  border: 0;
  border-radius: 9px;
  transition: background-color 140ms ease, color 140ms ease;
}
.voip-page .email-provider-nav-item strong {
  font-size: 13.5px;
  font-weight: 680;
  line-height: 1.3;
  white-space: normal;
}
.voip-page .email-provider-nav-item small {
  font-size: 10.5px;
  white-space: normal;
  line-height: 1.5;
}
.voip-page .email-provider-nav-item.is-active {
  background: #eaf0f3;
  color: #13243a;
}
.voip-page .email-provider-nav-item.is-active .email-provider-nav-mark {
  background: #111820;
  color: #ffffff;
}
.voip-page .email-provider-nav-item > svg {
  width: 14px;
  height: 14px;
  color: #9aa7b5;
  transition: color 140ms ease, transform 140ms ease;
}
.voip-page .email-provider-nav-item:hover > svg,
.voip-page .email-provider-nav-item.is-active > svg {
  color: #5f7184;
  transform: translateX(2px);
}
.voip-page .email-provider-content {
  padding: 24px;
  gap: 20px;
}
.voip-page .email-provider-header {
  padding: 20px 24px;
  gap: 16px;
}
.voip-page .email-provider-title-row h1 {
  font-size: 22px;
}
.voip-page .vp-btn {
  font-size: 12.5px;
  border-radius: 7px;
  min-height: 38px;
}
.voip-page .vp-btn.vp-primary {
  background: #172333;
  border-color: #172333;
  color: #fff;
}
.voip-page .vp-btn.vp-primary:hover {
  background: #0b111a;
  border-color: #0b111a;
}
.voip-page .vp-card {
  padding: 20px;
  border-radius: 9px;
  box-shadow: none;
}
.voip-page .vp-card h3 {
  font-size: 16px;
}
.voip-page .vp-card-head p,
.voip-page .vp-muted,
.voip-page .vp-note,
.voip-page .vp-setting-row p {
  font-size: 12px;
}
.voip-page .vp-check strong,
.voip-page .vp-setting-row strong,
.voip-page td,
.voip-page .vp-field {
  font-size: 13px;
}
.voip-page .vp-check small,
.voip-page .vp-stat small,
.voip-page .vp-audio-row small {
  font-size: 11.5px;
}
.voip-page .vp-wallet-mini {
  background: var(--vp-soft);
}
.voip-page .vp-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.voip-page .vp-stat > span {
  font-size: 11.5px;
}
.voip-page .vp-overview-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr);
}
.voip-page .vp-flow-layout {
  grid-template-columns: minmax(0, 1fr);
}
.voip-page .vp-palette {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-right: 0;
  border-bottom: 1px solid var(--vp-line);
}
.voip-page .vp-palette > button {
  width: auto;
  margin: 0;
  font-size: 11px;
  padding: 8px;
}
.voip-page .vp-palette > p,
.voip-page .vp-palette > .vp-eyebrow {
  display: none;
}
.voip-page .vp-inspector {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  border-left: 0;
  border-top: 1px solid var(--vp-line);
}
.voip-page .vp-inspector > .vp-eyebrow {
  grid-column: 1/-1;
}
.voip-page .vp-inspector h3 {
  margin: 0;
}
.voip-page .vp-canvas {
  min-height: 460px;
  max-height: 520px;
}
html[data-dashboard-theme="dark"] .voip-page {
  --vp-bg: #202225;
  --vp-soft: #191b1e;
  --vp-line: #34373d;
  --vp-ink: #eceeed;
  --vp-muted: #a0a5ad;
  --vp-accent: #a3c9b8;
  background: #17191c;
}
html[data-dashboard-theme="dark"]
  .voip-page
  :is(.email-provider-sidebar, .email-provider-main, .email-provider-header) {
  background: var(--vp-bg);
  border-color: var(--vp-line);
}
html[data-dashboard-theme="dark"]
  .voip-page
  :is(
    .email-provider-title-row h1,
    .email-provider-sidebar h1,
    .email-provider-nav-item strong
  ) {
  color: var(--vp-ink);
}
html[data-dashboard-theme="dark"]
  .voip-page
  :is(
    .email-provider-heading p,
    .email-provider-nav-item small,
    .email-provider-sidebar header p
  ) {
  color: var(--vp-muted);
}
html[data-dashboard-theme="dark"]
  .voip-page
  :is(.email-sidebar-icon, .email-provider-nav-mark) {
  background: #292d31;
  border-color: transparent;
  color: #aab7b0;
}
html[data-dashboard-theme="dark"] .voip-page .email-sidebar-icon {
  background: #2a2d31;
  color: #f1f3f5;
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-nav-item:not(.is-active) .email-provider-nav-mark {
  background: transparent;
}
html[data-dashboard-theme="dark"] .voip-page .email-provider-nav-item:hover,
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-nav-item:focus-visible {
  background: #292d31;
  color: var(--vp-ink);
  border-color: transparent;
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-nav-item:focus-visible {
  outline-color: #6d8e7d;
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-nav-item.is-active {
  background: #2a302e;
  border-color: transparent;
  color: var(--vp-ink);
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-nav-item.is-active .email-provider-nav-mark {
  background: #090b0d;
  color: #ffffff;
}

.voip-page .email-provider-main {
  animation: vp-page-enter 180ms cubic-bezier(0.22, 0.72, 0.32, 1) both;
}

@keyframes vp-page-enter {
  from {
    opacity: 0.72;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-sidebar > header {
  border-bottom-color: #34383d;
}
html[data-dashboard-theme="dark"]
  .voip-page
  .email-provider-list-heading {
  color: #858d98;
}
html[data-dashboard-theme="dark"] .voip-page .vp-btn.vp-primary {
  background: #d6e9dc;
  color: #1d2922;
  border-color: #d6e9dc;
}
@media (max-width: 1300px) {
  .voip-page .vp-overview-grid {
    grid-template-columns: 1fr;
  }
  .voip-page .vp-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .voip-page .vp-two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .voip-page .vp-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .voip-page .email-provider-sidebar {
    min-height: 0;
    padding: 12px;
  }
  .voip-page .email-provider-sidebar > header {
    padding-bottom: 12px;
    margin-bottom: 10px;
  }
  .voip-page .email-provider-list-heading {
    display: none;
  }
  .voip-page .email-provider-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
  }
  .voip-page .email-provider-nav-item {
    flex: 0 0 auto;
    width: auto;
    padding: 9px;
  }
  .voip-page .email-provider-nav-item small,
  .voip-page .email-provider-nav-item > svg {
    display: none;
  }
  .voip-page .email-provider-nav-mark {
    width: 26px;
    height: 26px;
  }
  .voip-page .email-provider-content {
    padding: 16px;
  }
  .voip-page .email-provider-header {
    padding: 16px;
  }
  .voip-page .vp-inspector {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .voip-page .vp-inspector {
    display: block;
  }
  .voip-page .vp-palette {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .voip-page .vp-palette > button {
    white-space: nowrap;
  }
  .voip-page .vp-card {
    padding: 16px;
  }
  .voip-page .email-provider-title-row h1 {
    font-size: 20px;
  }
}

/* Keep every standard Voip page in the same fixed Console shell as Call flows. */
@media (min-width: 901px) {
  body:has(.voip-page:not(.vp-flows-active)) {
    overflow: hidden;
  }
  .content:has(.voip-page:not(.vp-flows-active)),
  .workspace:has(> .voip-page:not(.vp-flows-active)) {
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .voip-page:not(.vp-flows-active) {
    box-sizing: border-box;
    height: calc(100dvh - var(--app-header-height, 67px));
    min-height: 0;
    overflow: hidden;
  }
  .voip-page:not(.vp-flows-active) .vp-layout {
    height: 100%;
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
  }
  .voip-page:not(.vp-flows-active) .email-provider-sidebar {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .voip-page:not(.vp-flows-active) .email-provider-list {
    min-height: 0;
    overflow-y: auto;
  }
  .voip-page:not(.vp-flows-active) .email-provider-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .voip-page:not(.vp-flows-active) .email-provider-header {
    flex: 0 0 auto;
  }
  .voip-page:not(.vp-flows-active) .email-provider-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
/* Call flows occupy the available Console viewport; only local panels scroll. */
body:has(.vp-flows-active) {
  overflow: hidden;
}
.content:has(.vp-flows-active),
.workspace:has(> .vp-flows-active) {
  min-height: 0 !important;
  overflow: hidden !important;
}
.voip-page.vp-flows-active {
  height: calc(100dvh - var(--app-header-height, 67px));
  min-height: 0;
  overflow: hidden;
}
.voip-page.vp-flows-active .vp-layout {
  height: 100%;
  min-height: 0;
  align-items: stretch;
  padding: 16px;
  overflow: hidden;
}
.voip-page.vp-flows-active .email-provider-sidebar {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.vp-flows-active .email-provider-sidebar > header,
.vp-flows-active .email-provider-list-heading {
  flex-shrink: 0;
}
.vp-flows-active .email-provider-list {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.voip-page.vp-flows-active .email-provider-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.voip-page.vp-flows-active .email-provider-header {
  flex-shrink: 0;
  min-height: 70px;
  padding: 14px 18px;
  gap: 12px;
}
.vp-flow-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vp-flow-picker > svg {
  color: var(--vp-muted);
}
.vp-flow-picker select {
  font: 600 16px var(--font-body);
  color: var(--vp-ink);
  background: var(--vp-bg);
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  max-width: 240px;
  min-width: 120px;
  padding: 9px 30px 9px 10px;
  cursor: pointer;
}
.vp-flow-picker > button,
.vp-inspector-heading > button {
  border: 0;
  background: transparent;
  color: var(--vp-muted);
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.vp-flow-picker > button:hover,
.vp-inspector-heading > button:hover {
  background: var(--vp-soft);
}
.vp-flow-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.voip-page.vp-flows-active .email-provider-content {
  padding: 0;
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.voip-page.vp-flows-active .vp-flow-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.voip-page.vp-flows-active .vp-palette {
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 14px;
  scrollbar-width: thin;
}
.vp-flows-active .vp-palette > button {
  flex-shrink: 0;
  white-space: nowrap;
}
.voip-page.vp-flows-active .vp-flow-layout {
  display: block;
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.voip-page.vp-flows-active .vp-canvas {
  position: absolute;
  inset: 0;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 140ms ease;
  background-size: 20px 20px;
}
.voip-page.vp-flows-active .vp-canvas:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(82, 138, 193, 0.55);
}
html[data-dashboard-theme="dark"]
  .voip-page.vp-flows-active
  .vp-canvas:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(163, 201, 184, 0.38);
}
.vp-flows-active .vp-canvas.is-panning {
  cursor: grabbing;
}
.vp-flows-active .vp-flow-world {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: visible;
}
.vp-flows-active .vp-flow-pan {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: visible;
}
.vp-flows-active .vp-edges {
  overflow: visible;
}
.vp-flows-active .vp-node {
  cursor: move;
}
.voip-page.vp-flows-active .vp-inspector {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 0;
  bottom: 0;
  width: 390px;
  max-width: 92%;
  display: block;
  border: 0;
  border-left: 1px solid var(--vp-line);
  background: var(--vp-bg);
  padding: 20px;
  overflow-y: auto;
  transform: translateX(101%);
  visibility: hidden;
  box-shadow: -8px 0 24px #1723330a;
  transition:
    transform 200ms ease-out,
    visibility 0s linear 200ms;
}
.voip-page.vp-flows-active .vp-inspector.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
  animation: vp-inspector-in 0.2s ease-out;
}
.vp-inspector-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.voip-page.vp-flows-active .vp-inspector h3 {
  margin: 0;
  color: var(--vp-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.voip-page.vp-flows-active .vp-inspector .vp-field {
  margin-bottom: 20px;
}
.voip-page.vp-flows-active .vp-canvas-tools {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  margin: 0;
}
.voip-page.vp-flows-active .vp-flow-status {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 18px;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.vp-flow-layout:has(.vp-inspector.is-open) .vp-flow-status {
  display: none;
}
@keyframes vp-inspector-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 900px) {
  .voip-page.vp-flows-active .vp-layout {
    grid-template-rows: auto minmax(0, 1fr);
    padding: 12px;
  }
  .voip-page.vp-flows-active .email-provider-sidebar {
    height: auto;
    max-height: 145px;
  }
  .vp-flows-active .email-provider-list {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .voip-page.vp-flows-active .email-provider-header {
    flex-wrap: wrap;
  }
  .vp-flow-picker select {
    max-width: 200px;
  }
  .vp-flow-header-actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .voip-page.vp-flows-active .email-provider-sidebar {
    padding: 8px;
    max-height: 118px;
  }
  .voip-page.vp-flows-active .email-provider-sidebar > header {
    padding-bottom: 6px;
    margin-bottom: 6px;
  }
  .vp-flows-active .email-provider-sidebar header p {
    display: none;
  }
  .voip-page.vp-flows-active .email-provider-header {
    padding: 10px;
    gap: 8px;
  }
  .vp-flow-picker {
    gap: 5px;
  }
  .vp-flow-picker select {
    font-size: 14px;
    max-width: 170px;
  }
  .vp-flow-picker > .vp-badge {
    display: none;
  }
  .vp-flow-header-actions .vp-btn {
    padding: 7px 10px;
    min-height: 32px;
    font-size: 11px;
  }
  .vp-flow-status {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voip-page .email-provider-main,
  .voip-page.vp-flows-active .vp-inspector.is-open {
    animation: none;
  }
}
/* Direct manipulation of flow connections. */
.voip-page .vp-node .vp-port {
  position: absolute;
  right: -14px;
  top: 36px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: crosshair;
  touch-action: none;
  border-radius: 50%;
  z-index: 2;
}
.voip-page .vp-node .vp-port::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--vp-bg);
  border: 2px solid #6895c4;
  border-radius: 50%;
  transition:
    box-shadow 0.15s,
    background 0.15s;
}
.voip-page .vp-node .vp-port:hover::after,
.voip-page .vp-node .vp-port:focus-visible::after {
  background: #6895c4;
  box-shadow: 0 0 0 5px #6895c426;
}
.voip-page .vp-edges .vp-draft-edge {
  stroke: #528ac1;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.voip-page .vp-node.vp-drop-target {
  border-color: #528ac1;
  box-shadow: 0 0 0 4px #528ac124;
}
.vp-add-menu {
  position: absolute;
  z-index: 6;
  width: 230px;
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  overflow-y: auto;
  background: var(--vp-bg);
  border: 1px solid var(--vp-line);
  border-radius: 10px;
  box-shadow: 0 12px 35px #0002;
  padding: 8px;
  cursor: default;
}
.vp-add-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 7px 10px;
  color: var(--vp-muted);
  font-size: 11px;
}
.vp-add-menu-heading button {
  border: 0;
  background: none;
  padding: 3px;
  color: var(--vp-muted);
  display: grid;
  place-items: center;
}
.vp-add-menu > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  color: var(--vp-ink);
  font-size: 12px;
}
.vp-add-menu > button:hover,
.vp-add-menu > button:focus-visible {
  background: var(--vp-soft);
}
.vp-add-menu > button svg:last-child {
  margin-left: auto;
  width: 13px;
  color: var(--vp-muted);
}
/* Each input/output handle owns at most one edge. */
.voip-page .vp-node .vp-input-port {
  left: -14px;
  right: auto;
  cursor: crosshair;
}
.voip-page .vp-node .vp-port.is-connected::after {
  background: #6895c4;
}
.voip-page .vp-node.vp-drop-target .vp-input-port::after {
  background: #6895c4;
  box-shadow: 0 0 0 5px #6895c426;
}

.vp-flow-status > span {
  display: block;
  text-align: right;
  line-height: 1.8;
}
.vp-ivr-settings {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  min-width: 0;
}
.vp-ivr-settings legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.vp-ivr-settings > p {
  font-size: 12px;
  color: var(--vp-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.vp-ivr-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vp-ivr-keys label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  background: var(--vp-soft);
  cursor: pointer;
}
.vp-ivr-keys label:has(input:checked) {
  border-color: #6895c4;
  background: #6895c417;
}
.vp-ivr-keys input {
  accent-color: #528ac1;
  width: 15px;
  height: 15px;
  margin: 0;
}
.vp-ivr-keys span {
  font-size: 15px;
  font-weight: 600;
}
.vp-ivr-timeout {
  margin-top: 22px;
  padding-bottom: 0;
  border-bottom: 0;
}
.vp-ivr-node .vp-output-label.is-timeout {
  min-width: auto;
  padding: 0;
  border: 0;
  font-size: 11px;
}
.vp-output-label {
  position: absolute;
  right: 18px;
  height: 24px;
  min-width: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vp-line);
  border-radius: 5px;
  color: var(--vp-muted);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.vp-voice-settings {
  margin-bottom: 22px;
}
.vp-voice-upload {
  display: block;
  position: relative;
  border: 1px dashed #8a9bad;
  border-radius: 9px;
  padding: 21px 10px;
  background: var(--vp-soft);
  cursor: pointer;
  text-align: center;
  margin-bottom: 24px;
}
.vp-voice-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.vp-voice-upload > span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.vp-voice-upload svg {
  width: 23px;
  height: 23px;
  color: var(--vp-muted);
}
.vp-voice-upload strong {
  font-size: 13px;
}
.vp-voice-upload small {
  font-size: 10.5px;
  color: var(--vp-muted);
  line-height: 1.5;
}
.vp-voice-upload:focus-within,
.vp-voice-upload.is-dragging {
  outline: 2px solid #6895c4;
  outline-offset: 2px;
  background: #6895c414;
}
.vp-voice-library-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
}
.vp-voice-library-heading > span {
  font-size: 10px;
  color: var(--vp-muted);
}
.vp-voice-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  padding: 9px 10px;
  margin-bottom: 12px;
  color: var(--vp-muted);
}
.vp-voice-search svg {
  width: 15px;
  height: 15px;
}
.vp-voice-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--vp-ink);
  font-size: 12px;
}
.vp-voice-search:focus-within {
  outline: 2px solid #6895c4;
  outline-offset: 2px;
}
.vp-voice-list {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
}
.vp-voice-row {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid var(--vp-line);
}
.vp-voice-row:last-child {
  border-bottom: 0;
}
.vp-voice-row.is-selected {
  background: #6895c414;
}
.vp-voice-play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--vp-line);
  border-radius: 50%;
  background: var(--vp-bg);
  color: var(--vp-ink);
}
.vp-voice-play:hover {
  border-color: #6895c4;
  background: var(--vp-soft);
}
.vp-voice-play svg {
  width: 13px;
  height: 13px;
}
.vp-voice-row > label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.vp-voice-row > label > input {
  order: 2;
  margin-left: auto;
  accent-color: #528ac1;
  flex-shrink: 0;
}
.vp-voice-row > label > span {
  min-width: 0;
}
.vp-voice-row strong {
  font-size: 11.5px;
  line-height: 1.5;
  display: block;
  overflow-wrap: anywhere;
}
.vp-voice-row small {
  font-size: 10px;
  color: var(--vp-muted);
  display: block;
  margin-top: 4px;
}
.vp-voice-empty {
  padding: 20px 12px;
  color: var(--vp-muted);
  font-size: 12px;
  text-align: center;
}
.vp-branch-node > .vp-node-type,
.vp-branch-node > strong {
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-business-hours-node > .vp-node-type,
.vp-business-hours-node > strong {
  max-width: 164px;
}
.vp-node.vp-business-hours-node {
  width: 280px;
}
.vp-business-hours-node .vp-output-label {
  min-width: 66px;
  padding: 0 6px;
  font-size: 10px;
}
.vp-ivr-keys label {
  position: relative;
  justify-content: center;
  padding: 0;
  min-height: 48px;
  background: var(--vp-bg);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.vp-ivr-keys label:hover {
  border-color: #8a9bad;
  background: var(--vp-soft);
}
.vp-ivr-keys input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.vp-ivr-keys span {
  font-size: 18px;
  font-weight: 600;
  pointer-events: none;
}
.vp-ivr-keys label:has(input:checked) {
  border-color: #84a9d0;
  background: #eaf2fc;
  color: #245a92;
  box-shadow: inset 0 0 0 1px rgba(82, 138, 193, 0.12);
}
.vp-ivr-keys label:has(input:focus-visible) {
  outline: 2px solid #6895c4;
  outline-offset: 3px;
}
html[data-dashboard-theme="dark"] .vp-ivr-keys label:has(input:checked) {
  background: #273545;
  border-color: #587da4;
  color: #d6e8ff;
  box-shadow: inset 0 1px 0 rgba(180, 211, 246, 0.08);
}
.vp-flow-select {
  min-width: 0;
}
.vp-flow-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 220px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  font: 600 15px var(--font-body);
  cursor: pointer;
}
.vp-flow-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-flow-trigger svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--vp-muted);
}
.vp-flow-trigger:hover,
.vp-flow-trigger[aria-expanded="true"] {
  border-color: #6895c4;
}
.vp-flow-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--vp-line);
  border-radius: 12px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  overflow: auto;
  font: 13px var(--font-body, Manrope, sans-serif);
}
.vp-flow-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px 12px;
  border-bottom: 1px solid var(--vp-line);
}
.vp-flow-search svg {
  width: 16px;
  height: 16px;
  color: var(--vp-muted);
  flex-shrink: 0;
}
.vp-flow-search input {
  width: 100%;
  min-width: 0;
  padding: 3px 0;
  background: transparent;
  color: var(--vp-ink);
  border: 0;
  outline: none;
  font: inherit;
}
.vp-flow-search:focus-within {
  border-bottom-color: #6895c4;
}
.vp-flow-options {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
}
.vp-flow-options button,
.vp-flow-create {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--vp-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.vp-flow-options button[hidden],
.vp-flow-options p[hidden] {
  display: none;
}
.vp-flow-options button span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-flow-options svg,
.vp-flow-create svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--vp-muted);
}
.vp-flow-options button[aria-current="true"] {
  background: #eaf2fc;
  color: #245a92;
}
html[data-dashboard-theme="dark"] .vp-flow-options button[aria-current="true"] {
  background: #273545;
  color: #d6e8ff;
}
.vp-flow-options button:hover,
.vp-flow-create:hover {
  background: var(--vp-soft);
}
.vp-flow-menu button:focus-visible,
.vp-flow-trigger:focus-visible {
  outline: 2px solid #6895c4;
  outline-offset: -2px;
}
.vp-flow-create {
  border-top: 1px solid var(--vp-line);
  border-radius: 0 0 7px 7px;
  font-weight: 600;
}
.vp-flow-options p {
  padding: 16px 10px;
  text-align: center;
  color: var(--vp-muted);
}
@media (max-width: 700px) {
  .vp-flow-trigger {
    width: 160px;
    gap: 12px;
  }
}
.voip-page .vp-flow-trigger {
  font-size: 15px;
  font-weight: 600;
}
.voip-page .vp-flow-search input:focus-visible {
  outline: none;
  box-shadow: none;
}

/* The search and library form one edge-to-edge surface in the inspector. */
.vp-voice-search {
  margin: 0 -20px;
  padding: 12px 20px;
  border-width: 1px 0;
  border-radius: 0;
  background: var(--vp-soft);
}
.vp-voice-search:focus-within {
  outline: none;
  border-bottom-color: #6895c4;
}
.voip-page .vp-voice-search input:focus-visible {
  outline: none;
  box-shadow: none;
}
.vp-voice-list {
  margin: 0 -20px;
  border-width: 0 0 1px;
  border-radius: 0;
}
.vp-voice-row {
  padding: 0 20px;
  gap: 12px;
  min-height: 70px;
  transition: background 0.15s ease;
}
.vp-voice-row:hover {
  background: var(--vp-soft);
}
.vp-voice-row.is-selected {
  background: #eaf2fc;
  box-shadow: inset 3px 0 #6895c4;
}
html[data-dashboard-theme="dark"] .vp-voice-row.is-selected {
  background: #273545;
}
.vp-voice-row.is-selected strong {
  color: #245a92;
}
html[data-dashboard-theme="dark"] .vp-voice-row.is-selected strong {
  color: #d6e8ff;
}
.vp-voice-row > label {
  position: relative;
  min-height: 70px;
  padding: 14px 0;
}
.vp-voice-row > label > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.vp-voice-row:has(input:focus-visible) {
  outline: 2px solid #6895c4;
  outline-offset: -2px;
}
.vp-voice-row > label > span {
  pointer-events: none;
}
.vp-voice-row strong {
  font-size: 12px;
}
.vp-voice-row small {
  font-size: 10.5px;
}
.vp-voice-play {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
}
.vp-voice-row.is-selected .vp-voice-play {
  border-color: #6895c4;
}
.vp-edges .vp-edge-hit {
  stroke: transparent;
  stroke-width: 14px;
  vector-effect: non-scaling-stroke;
  pointer-events: stroke;
  cursor: pointer;
}
.vp-edges .vp-edge-line {
  transition:
    stroke 0.15s ease,
    stroke-width 0.15s ease;
}
.vp-edges .vp-edge:hover .vp-edge-line {
  stroke: #528ac1;
  stroke-width: 2.5;
}
html[data-dashboard-theme="dark"] .vp-edges .vp-edge:hover .vp-edge-line {
  stroke: #a0c3e8;
}
.vp-flow-menu {
  min-height: min(300px, calc(100dvh - 160px));
  padding: 8px;
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow:
    0 20px 48px rgba(19, 33, 52, 0.24),
    0 4px 12px rgba(19, 33, 52, 0.12);
}
.vp-flow-menu:popover-open {
  display: flex;
  flex-direction: column;
}
.vp-flow-menu .vp-flow-search {
  flex-shrink: 0;
  margin-bottom: 6px;
  padding: 11px 10px;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  background: #f3f6fa;
}
.vp-flow-menu .vp-flow-search:focus-within {
  border-color: #6895c4;
}
.vp-flow-menu .vp-flow-search input::placeholder {
  color: #64748b;
  opacity: 1;
}
.vp-flow-menu .vp-flow-options {
  flex: 1;
  min-height: 0;
}
.vp-flow-menu .vp-flow-create {
  flex-shrink: 0;
  margin-top: 6px;
  padding: 13px 10px;
}
html[data-dashboard-theme="dark"] .vp-flow-menu {
  background: #2b2e33;
  border-color: #505762;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 5px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html[data-dashboard-theme="dark"] .vp-flow-menu .vp-flow-search {
  background: #22252a;
  border-color: #454d58;
}
html[data-dashboard-theme="dark"] .vp-flow-menu .vp-flow-search:focus-within {
  border-color: #7ea6d1;
}
html[data-dashboard-theme="dark"]
  .vp-flow-menu
  .vp-flow-search
  input::placeholder {
  color: #a5afbd;
}
html[data-dashboard-theme="dark"]
  .vp-flow-menu
  .vp-flow-options
  button[aria-current="true"] {
  background: #3a5068;
  color: #edf5ff;
}
html[data-dashboard-theme="dark"] .vp-flow-menu .vp-flow-options button:hover,
html[data-dashboard-theme="dark"] .vp-flow-menu .vp-flow-create:hover {
  background: #383e47;
}
html[data-dashboard-theme="dark"] .vp-flow-menu .vp-flow-create {
  border-top-color: #454d58;
}
.vp-business-settings {
  margin: 24px 0;
}
.vp-hours-time > span,
.vp-business-days > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
.vp-timezone-trigger,
.vp-time-columns button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--vp-line);
  background: var(--vp-soft);
  color: var(--vp-ink);
  padding: 11px 10px;
  border-radius: 8px;
  cursor: pointer;
  min-width: 0;
}
.vp-timezone-trigger {
  width: 100%;
}
.vp-timezone-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-timezone-trigger svg,
.vp-time-columns svg {
  width: 13px;
  height: 13px;
  color: var(--vp-muted);
  flex-shrink: 0;
}
.vp-time-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.voip-page .vp-time-columns button {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.vp-time-columns button:hover,
.vp-timezone-trigger:hover {
  border-color: #6895c4;
}
.vp-hours-group {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--vp-line);
}
.vp-hours-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  margin-bottom: 14px;
}
.vp-hours-group-heading strong {
  font-size: 11px;
  color: var(--vp-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.vp-hours-group-heading button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  padding: 5px;
  color: var(--vp-muted);
  background: transparent;
  cursor: pointer;
}
.vp-hours-group-heading svg {
  width: 14px;
  height: 14px;
}
.vp-hours-group .vp-hours-time {
  margin-bottom: 16px;
}
.vp-business-days > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.vp-business-days button {
  padding: 10px 0;
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  color: var(--vp-muted);
  background: transparent;
  cursor: pointer;
}
.voip-page .vp-business-days button {
  font-size: 11px;
  font-weight: 600;
}
.vp-business-days button[aria-pressed="true"] {
  background: #eaf2fc;
  border-color: #84a9d0;
  color: #245a92;
}
html[data-dashboard-theme="dark"]
  .vp-business-days
  button[aria-pressed="true"] {
  background: #273545;
  border-color: #587da4;
  color: #d6e8ff;
}
.vp-business-days button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.vp-hours-note,
.vp-hours-help {
  font-size: 11px;
  line-height: 1.65;
  color: var(--vp-muted);
  margin: 12px 0 0;
}
.vp-add-hours {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px;
  margin-top: 18px;
  border: 1px dashed #738399;
  color: var(--vp-ink);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.vp-add-hours svg {
  width: 14px;
  height: 14px;
}
.vp-add-hours:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.vp-hours-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--vp-bg);
  color: var(--vp-ink);
  box-shadow: 0 16px 40px #14233640;
  overflow: auto;
  font: 12px var(--font-body, Manrope, sans-serif);
}
html[data-dashboard-theme="dark"] .vp-hours-popover {
  background: #2b2e33;
  border-color: #505762;
  box-shadow: 0 18px 48px #0008;
}
.vp-hours-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.vp-hours-choices button {
  border: 0;
  border-radius: 6px;
  padding: 10px 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.vp-hours-choices button:hover {
  background: var(--vp-soft);
}
.vp-hours-choices button[aria-pressed="true"] {
  background: #eaf2fc;
  color: #245a92;
}
html[data-dashboard-theme="dark"]
  .vp-hours-choices
  button[aria-pressed="true"] {
  background: #3a5068;
  color: #edf5ff;
}
.vp-hours-popover.is-timezone .vp-hours-choices {
  grid-template-columns: 1fr;
}
.vp-hours-popover.is-timezone button {
  text-align: left;
  padding: 11px 10px;
}
.vp-hours-choices button[hidden] {
  display: none;
}
.vp-hours-zone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--vp-soft);
  border: 1px solid var(--vp-line);
  border-radius: 7px;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
}
.vp-hours-zone-search svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--vp-muted);
}
.vp-hours-zone-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--vp-ink);
  font: inherit;
}
.voip-page .vp-hours-zone-search input:focus-visible {
  outline: none;
}
.vp-hours-zone-search:focus-within {
  border-color: #6895c4;
}
.vp-hours-popover p {
  color: var(--vp-muted);
  text-align: center;
  padding: 12px;
}

.vp-timezone-trigger {
  padding: 10px 11px 10px 13px;
  background: var(--vp-bg);
  box-shadow: 0 1px 2px rgba(23, 35, 51, 0.04);
}
.vp-timezone-trigger > [data-timezone-value] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.vp-zone-identity,
.vp-zone-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vp-zone-identity {
  gap: 3px;
}
.vp-zone-identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--vp-ink);
  font-size: 12.5px;
  font-weight: 650;
}
.vp-zone-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--vp-muted);
  font-size: 10px;
}
.vp-zone-meta {
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.vp-zone-meta strong {
  color: var(--vp-ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.vp-zone-meta small {
  color: var(--vp-muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.vp-hours-popover.is-timezone {
  padding: 0;
  overflow: hidden;
  border-color: #bcc8d6;
  box-shadow:
    0 20px 50px rgba(20, 35, 53, 0.24),
    0 3px 10px rgba(20, 35, 53, 0.1);
}
.vp-zone-picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
}
.vp-zone-picker-heading strong {
  color: var(--vp-ink);
  font-size: 12px;
}
.vp-zone-picker-heading small {
  color: var(--vp-muted);
  font-size: 9.5px;
}
.vp-hours-popover.is-timezone .vp-hours-zone-search {
  top: 0;
  z-index: 1;
  margin: 0 10px 8px;
  padding: 10px 11px;
  border-color: #d5dde7;
  border-radius: 8px;
  background: var(--vp-soft);
}
.vp-hours-popover.is-timezone .vp-hours-choices {
  display: block;
  max-height: 260px;
  padding: 4px 7px 7px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.vp-hours-popover.is-timezone .vp-hours-choices button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}
.vp-hours-popover.is-timezone .vp-hours-choices button + button {
  margin-top: 2px;
}
.vp-hours-popover.is-timezone .vp-hours-choices button[hidden] {
  display: none;
}
.vp-hours-popover.is-timezone .vp-hours-choices button:hover {
  border-color: var(--vp-line);
  background: var(--vp-soft);
}
.vp-hours-popover.is-timezone .vp-hours-choices button[aria-pressed="true"] {
  border-color: #94b4d5;
  background: #eaf2fc;
  box-shadow: inset 3px 0 #6895c4;
}
html[data-dashboard-theme="dark"] .vp-timezone-trigger {
  background: #24272c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
html[data-dashboard-theme="dark"] .vp-hours-popover.is-timezone {
  border-color: #515a66;
  background: #292c31;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.58),
    0 5px 16px rgba(0, 0, 0, 0.34);
}
html[data-dashboard-theme="dark"]
  .vp-hours-popover.is-timezone
  .vp-hours-zone-search {
  border-color: #444c57;
  background: #212429;
}
html[data-dashboard-theme="dark"]
  .vp-hours-popover.is-timezone
  .vp-hours-choices
  button:hover {
  border-color: #48515d;
  background: #343941;
}
html[data-dashboard-theme="dark"]
  .vp-hours-popover.is-timezone
  .vp-hours-choices
  button[aria-pressed="true"] {
  border-color: #577ca4;
  background: #31445a;
  box-shadow: inset 3px 0 #86add5;
}

/* Business-hours editor: compact scheduling controls with strong hierarchy. */
.vp-business-settings {
  --vp-schedule-accent: #376b5a;
  --vp-schedule-soft: #edf5f1;
  margin: 26px 0 22px;
}
.vp-business-settings > .vp-hours-time > span,
.vp-business-days > span {
  margin-bottom: 10px;
  color: var(--vp-ink);
  font-size: 12.5px;
  font-weight: 700;
}
.vp-hours-group {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top-color: #d9e1e8;
}
.vp-hours-group-heading {
  margin-bottom: 17px;
}
.vp-hours-group-heading strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--vp-schedule-soft);
  color: var(--vp-schedule-accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
}
.vp-hours-group .vp-hours-time {
  margin-bottom: 19px;
}
.vp-hours-group .vp-hours-time > span {
  color: var(--vp-ink);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.vp-time-columns {
  gap: 0;
  overflow: hidden;
  border: 1px solid #ccd6e1;
  border-radius: 9px;
  background: var(--vp-bg);
  box-shadow: 0 2px 6px rgba(24, 39, 57, 0.045);
}
.vp-timezone-trigger,
.vp-time-columns button {
  border-color: #ccd6e1;
}
.vp-time-columns button {
  min-height: 45px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.vp-time-columns button + button {
  border-left: 1px solid #dde4eb;
}
.vp-time-columns button:hover {
  border-color: #dde4eb;
  background: #f3f6f8;
}
.vp-time-columns button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--vp-schedule-accent);
  outline-offset: -2px;
}
.vp-business-days > div {
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.vp-business-days button {
  min-width: 0;
  padding: 10px 0;
  border-color: #d6dee7;
  border-radius: 6px;
  background: var(--vp-bg);
}
.voip-page .vp-business-days button {
  font-size: 9.5px;
}
.vp-business-days button:hover:not(:disabled) {
  border-color: #91aa9e;
  background: #f3f7f5;
}
.vp-business-days button[aria-pressed="true"] {
  border-color: #7e9f92;
  background: var(--vp-schedule-soft);
  color: var(--vp-schedule-accent);
  box-shadow: inset 0 0 0 1px rgba(55, 107, 90, 0.08);
}
.vp-hours-note {
  margin-top: 9px;
  color: #8591a1;
}
.vp-add-hours {
  margin-top: 20px;
  border-style: solid;
  border-color: #cbd6df;
  background: #f7f9fa;
  font-weight: 650;
}
.vp-add-hours:hover:not(:disabled) {
  border-color: #91aa9e;
  background: var(--vp-schedule-soft);
  color: var(--vp-schedule-accent);
}
.vp-hours-help {
  margin-top: 9px;
  padding: 0 4px;
}

.vp-hours-popover.is-timewheel {
  overflow: hidden;
  padding: 0;
  border-color: #bcc8d5;
  border-radius: 12px;
  background: var(--vp-bg);
  box-shadow:
    0 22px 54px rgba(20, 35, 53, 0.25),
    0 4px 12px rgba(20, 35, 53, 0.1);
}
.vp-time-wheel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px 12px;
  border-bottom: 1px solid var(--vp-line);
}
.vp-time-wheel-heading > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vp-time-wheel-heading strong {
  color: var(--vp-ink);
  font-size: 12.5px;
}
.vp-time-wheel-heading small {
  color: var(--vp-muted);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vp-time-wheel-heading > button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--vp-muted);
  cursor: pointer;
}
.vp-time-wheel-heading > button:hover {
  background: var(--vp-soft);
}
.vp-time-wheel-heading svg {
  width: 14px;
  height: 14px;
}
.vp-time-wheel {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 8px;
  padding: 12px;
  background: #f7f9fa;
}
.vp-time-wheel-column,
.vp-time-period {
  min-width: 0;
}
.vp-time-wheel-column > span,
.vp-time-period > span {
  display: block;
  margin-bottom: 7px;
  color: var(--vp-ink);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.065em;
  text-align: center;
  text-transform: uppercase;
}
.vp-time-wheel-list {
  position: relative;
  height: 152px;
  overflow-y: auto;
  padding: 57px 0;
  border: 1px solid #d5dee7;
  border-radius: 9px;
  background: var(--vp-bg);
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 27%,
    #000 73%,
    transparent 100%
  );
}
.vp-time-wheel-list::-webkit-scrollbar {
  display: none;
}
.vp-time-wheel-list::before {
  content: "";
  position: sticky;
  z-index: 0;
  top: 57px;
  display: block;
  height: 38px;
  margin-bottom: -38px;
  border-top: 1px solid #9ab1a7;
  border-bottom: 1px solid #9ab1a7;
  background: var(--vp-schedule-soft);
  pointer-events: none;
}
.vp-time-wheel-list button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  color: #98a2ae;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  scroll-snap-align: center;
  cursor: pointer;
}
.vp-time-wheel-list button[aria-selected="true"] {
  color: var(--vp-schedule-accent);
  font-size: 16px;
  font-weight: 750;
}
.vp-time-period > div {
  display: grid;
  gap: 7px;
  padding: 26px 7px;
  border: 1px solid #d5dee7;
  border-radius: 9px;
  background: var(--vp-bg);
}
.vp-time-period button {
  height: 43px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--vp-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.vp-time-period button[aria-pressed="true"] {
  border-color: #8eaa9f;
  background: var(--vp-schedule-soft);
  color: var(--vp-schedule-accent);
}
html[data-dashboard-theme="dark"] .vp-business-settings {
  --vp-schedule-accent: #a6cabb;
  --vp-schedule-soft: #2d3d37;
}
html[data-dashboard-theme="dark"] .vp-hours-group {
  border-top-color: #3b4149;
}
html[data-dashboard-theme="dark"] .vp-time-columns,
html[data-dashboard-theme="dark"] .vp-time-columns button,
html[data-dashboard-theme="dark"] .vp-business-days button {
  border-color: #414852;
  background: #24272c;
}
html[data-dashboard-theme="dark"] .vp-time-columns button + button {
  border-left-color: #414852;
}
html[data-dashboard-theme="dark"] .vp-time-columns button:hover,
html[data-dashboard-theme="dark"]
  .vp-business-days
  button:hover:not(:disabled) {
  background: #30353b;
}
html[data-dashboard-theme="dark"]
  .vp-business-days
  button[aria-pressed="true"] {
  border-color: #668c7c;
  background: var(--vp-schedule-soft);
  color: var(--vp-schedule-accent);
}
html[data-dashboard-theme="dark"] .vp-add-hours {
  border-color: #454d56;
  background: #272a2f;
}
html[data-dashboard-theme="dark"] .vp-hours-popover.is-timewheel {
  border-color: #515a66;
  background: #292c31;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.58);
}
html[data-dashboard-theme="dark"] .vp-time-wheel {
  background: #23262a;
}
html[data-dashboard-theme="dark"] .vp-time-wheel-list,
html[data-dashboard-theme="dark"] .vp-time-period > div {
  border-color: #424a54;
  background: #292d32;
}
html[data-dashboard-theme="dark"] .vp-time-wheel-list button {
  color: #77818d;
}
html[data-dashboard-theme="dark"]
  .vp-time-wheel-list
  button[aria-selected="true"] {
  color: #d6ece3;
}
html[data-dashboard-theme="dark"] .vp-time-period button[aria-pressed="true"] {
  border-color: #668c7c;
  background: var(--vp-schedule-soft);
  color: #d6ece3;
}

.vp-inline-time {
  margin-bottom: 22px !important;
}
.vp-inline-time-wheel {
  padding: 8px;
  border: 1px solid #d2dbe4;
  border-radius: 11px;
  background: #f6f8f9;
  box-shadow: 0 3px 10px rgba(24, 39, 57, 0.05);
}
.vp-inline-time-wheel .vp-time-wheel-list {
  height: 136px;
  padding: 49px 0;
}
.vp-inline-time-wheel .vp-time-wheel-list::before {
  display: none;
}
.vp-inline-time-wheel .vp-time-period > div {
  display: grid;
  align-content: center;
  gap: 9px;
  height: 136px;
  padding: 0;
  border: 0;
  background: transparent;
}
.vp-inline-time-wheel .vp-time-wheel-list {
  cursor: grab;
  overflow-y: hidden;
  touch-action: none;
  user-select: none;
}
.vp-inline-time-wheel .vp-time-wheel-list.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.vp-inline-time-wheel .vp-time-wheel-list button {
  pointer-events: none;
}
.vp-inline-time-wheel .vp-time-period button {
  height: 42px;
  border-color: #d4dde5;
  background: var(--vp-bg);
}
.vp-inline-time-wheel .vp-time-period button[aria-pressed="true"] {
  border-color: #2f584b;
  background: #2f584b;
  color: #fff;
  box-shadow: 0 4px 10px rgba(47, 88, 75, 0.18);
}
html[data-dashboard-theme="dark"] .vp-inline-time-wheel {
  border-color: #414952;
  background: #23262a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
html[data-dashboard-theme="dark"]
  .vp-inline-time-wheel
  .vp-time-period
  button {
  border-color: #414952;
  background: #292d32;
}
html[data-dashboard-theme="dark"]
  .vp-inline-time-wheel
  .vp-time-period
  button[aria-pressed="true"] {
  border-color: #9cc6b5;
  background: #9cc6b5;
  color: #17231f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

/* Connections and numbers workspace */
.vp-connections-workspace { width: min(100%, 1240px); min-height: 100%; margin: 0 auto; color: var(--vp-ink); }
.vp-cn-home, .vp-cn-editor { display: grid; gap: 18px; animation: vp-cn-view-in 180ms ease-out both; }
@keyframes vp-cn-view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vp-cn-command, .vp-cn-editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.vp-cn-command { padding: 4px 2px 2px; }
.vp-cn-command .vp-cn-kicker,
.vp-cn-command p { display: none; }
.vp-cn-editor-heading { padding-bottom: 17px; border-bottom: 1px solid #e2e7ec; }
.vp-cn-command h2, .vp-cn-editor-heading h2 { margin: 4px 0 6px; color: var(--vp-ink); font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.vp-cn-command p, .vp-cn-editor-heading p { max-width: 650px; margin: 0; color: var(--vp-muted); font-size: 12.5px; line-height: 1.55; }
.vp-cn-kicker { color: #748398; font-size: 9.5px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.vp-cn-actions, .vp-cn-form-actions { display: flex; align-items: center; gap: 8px; }
.vp-cn-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid #d4dce5; border-radius: 8px; background: var(--vp-bg); color: var(--vp-ink); font: 650 12px var(--font-body); cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease; }
.vp-cn-button svg { width: 15px; height: 15px; }
.vp-cn-button:hover { border-color: #b8c3cf; background: #f5f7f9; }
.vp-cn-button:active { transform: translateY(1px); }
.vp-cn-button.is-primary { border-color: #111820; background: #111820; color: #fff; }
.vp-cn-button.is-primary:hover { border-color: #000; background: #000; }
.vp-cn-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #dfe5eb; border-radius: 10px; background: var(--vp-bg); }
.vp-cn-summary > div { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 14px 16px; }
.vp-cn-summary > div + div { border-left: 1px solid #e7ebef; }
.vp-cn-summary > div > span, .vp-cn-provider-icon, .vp-cn-number-identity > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 8px; background: #f0f3f5; color: #536477; }
.vp-cn-summary > div > span { width: 34px; height: 34px; }
.vp-cn-summary svg, .vp-cn-provider-icon svg, .vp-cn-number-identity svg { width: 16px; height: 16px; }
.vp-cn-summary p { display: grid; gap: 1px; margin: 0; }
.vp-cn-summary strong { color: var(--vp-ink); font-size: 17px; line-height: 1.1; }
.vp-cn-summary small { color: var(--vp-muted); font-size: 10.5px; }
.vp-cn-section, .vp-cn-form-main { overflow: hidden; border: 1px solid #dfe5eb; border-radius: 10px; background: var(--vp-bg); }
.vp-cn-section > header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-bottom: 1px solid #e7ebef; }
.vp-cn-section h3, .vp-cn-section p { margin: 0; }
.vp-cn-section h3 { color: var(--vp-ink); font-size: 14px; }
.vp-cn-section header p { display: none; }
.vp-cn-connection-list { display: grid; }
.vp-cn-connection { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(300px, 1fr) auto; align-items: center; gap: 22px; padding: 17px 18px; }
.vp-cn-connection + .vp-cn-connection { border-top: 1px solid #e7ebef; }
.vp-cn-connection-main { min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.vp-cn-provider-icon { width: 40px; height: 40px; }
.vp-cn-connection-main > div { min-width: 0; flex: 1; }
.vp-cn-title-line { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vp-cn-title-line h4 { margin: 0; color: var(--vp-ink); font-size: 13px; }
.vp-cn-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px; background: #f3f4f6; color: #667487; font-size: 9px; font-weight: 700; }
.vp-cn-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.vp-cn-status.is-ready { background: #edf5f1; color: #296851; }
.vp-cn-status.is-pending { background: #faf3e5; color: #8a601e; }
.vp-cn-connection-main p { display: flex; align-items: center; gap: 7px; margin: 5px 0 8px; color: var(--vp-muted); font-size: 10.5px; }
.vp-cn-connection-main p i { width: 3px; height: 3px; border-radius: 50%; background: #a6b0bc; }
.vp-cn-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.vp-cn-tags span, .vp-cn-number-row em { padding: 4px 7px; border-radius: 5px; background: #f3f5f7; color: #5e6d7e; font-size: 9px; font-style: normal; font-weight: 620; }
.vp-cn-destination { min-width: 0; display: grid; gap: 5px; }
.vp-cn-destination > span { color: #7d8b9b; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vp-cn-destination > div { min-width: 0; display: flex; align-items: center; border: 1px solid #e0e5ea; border-radius: 7px; background: #f7f8fa; }
.vp-cn-destination code { min-width: 0; flex: 1; overflow: hidden; padding: 9px 10px; color: #31445a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.vp-cn-destination button, .vp-cn-card-actions button { border: 0; background: transparent; color: #5d6e80; font: 650 10.5px var(--font-body); cursor: pointer; }
.vp-cn-destination button { width: 34px; height: 32px; display: grid; place-items: center; border-left: 1px solid #e0e5ea; }
.vp-cn-destination button:hover, .vp-cn-card-actions button:hover { color: var(--vp-ink); background: #eef2f5; }
.vp-cn-destination svg, .vp-cn-card-actions svg { width: 14px; height: 14px; }
.vp-cn-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.vp-cn-card-actions button { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 6px; }
.vp-cn-search { width: min(230px, 100%); height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #dbe2e9; border-radius: 7px; background: #f8f9fa; color: #8491a0; }
.vp-cn-search svg { width: 14px; height: 14px; }
.vp-cn-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--vp-ink); font: 500 11px var(--font-body); }
.vp-cn-number-head, .vp-cn-number-row { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .9fr) minmax(180px, .9fr) minmax(140px, .65fr) 20px; align-items: center; gap: 16px; }
.vp-cn-number-head { min-height: 36px; padding: 0 18px; background: #f7f8f9; color: #7d8a9a; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.vp-cn-number-row { width: 100%; min-height: 62px; padding: 8px 18px; border: 0; border-top: 1px solid #edf0f3; background: transparent; color: #526276; font: 500 10.5px var(--font-body); text-align: left; cursor: pointer; }
.vp-cn-number-row:hover { background: #f8f9fa; }
.vp-cn-number-row > span { min-width: 0; }
.vp-cn-number-row > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-cn-number-row > span:nth-child(3) { display: flex; align-items: center; gap: 7px; }
.vp-cn-number-row > span:nth-child(3) svg, .vp-cn-number-row > svg { width: 14px; height: 14px; }
.vp-cn-number-row > svg { color: #9aa6b3; }
.vp-cn-number-identity { display: flex; align-items: center; gap: 10px; }
.vp-cn-number-identity > i { width: 32px; height: 32px; }
.vp-cn-number-identity > span { min-width: 0; display: grid; gap: 2px; }
.vp-cn-number-identity strong { color: var(--vp-ink); font-size: 11.5px; }
.vp-cn-number-identity small { color: var(--vp-muted); font-size: 9.5px; }
.vp-cn-back { width: max-content; display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; border: 0; background: transparent; color: #66778a; font: 650 11px var(--font-body); cursor: pointer; }
.vp-cn-back:hover { color: var(--vp-ink); }
.vp-cn-back svg { width: 14px; height: 14px; }
.vp-cn-step { padding: 6px 9px; border-radius: 6px; background: #f0f3f5; color: #667587; font-size: 9px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
.vp-cn-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.vp-cn-form-section { padding: 20px; }
.vp-cn-form-section + .vp-cn-form-section, .vp-cn-advanced { border-top: 1px solid #e7ebef; }
.vp-cn-section-title { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 16px; }
.vp-cn-section-title > span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; background: #111820; color: #fff; font-size: 9.5px; font-weight: 750; }
.vp-cn-section-title h3, .vp-cn-section-title p { margin: 0; }
.vp-cn-section-title h3 { color: var(--vp-ink); font-size: 13px; }
.vp-cn-section-title p { margin-top: 3px; color: var(--vp-muted); font-size: 10.5px; }
.vp-cn-fields { display: grid; gap: 12px; }
.vp-cn-fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vp-cn-fields.endpoint { grid-template-columns: minmax(0, 1fr) 140px; }
.vp-cn-field { min-width: 0; display: grid; gap: 7px; color: #536377; font-size: 10.5px; font-weight: 650; }
.vp-cn-field input, .vp-cn-field select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d5dde6; border-radius: 7px; outline: 0; background: #fbfcfc; color: var(--vp-ink); font: 550 11.5px var(--font-body); transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease; }
.vp-cn-field select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, #788697 50%), linear-gradient(135deg, #788697 50%, transparent 50%); background-position: calc(100% - 15px) 18px, calc(100% - 11px) 18px; background-repeat: no-repeat; background-size: 4px 4px, 4px 4px; }
.vp-cn-field input:focus, .vp-cn-field select:focus { border-color: #71859b; background-color: var(--vp-bg); box-shadow: 0 0 0 3px rgba(80, 105, 132, .1); }
.vp-cn-segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.vp-cn-segmented label { position: relative; }
.vp-cn-segmented input { position: absolute; opacity: 0; pointer-events: none; }
.vp-cn-segmented span { min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 7px 10px; border: 1px solid #d7dfe7; border-radius: 7px; background: #fbfcfc; color: #607084; font-size: 10.5px; font-weight: 650; text-align: center; cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease; }
.vp-cn-segmented input:checked + span { border-color: #111820; background: #111820; color: #fff; }
.vp-cn-segmented input:focus-visible + span { outline: 2px solid #6895c4; outline-offset: 2px; }
.vp-cn-auth-panel { margin-top: 12px; padding: 13px; border-radius: 8px; background: #f5f7f8; }
.vp-cn-auth-panel[hidden] { display: none; }
.vp-cn-auth-panel > p { margin: 8px 0 0; color: var(--vp-muted); font-size: 9.5px; }
.vp-cn-advanced summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #536377; font-size: 11px; font-weight: 680; cursor: pointer; list-style: none; }
.vp-cn-advanced summary::-webkit-details-marker { display: none; }
.vp-cn-advanced summary svg { width: 14px; height: 14px; transition: transform 140ms ease; }
.vp-cn-advanced[open] summary svg { transform: rotate(180deg); }
.vp-cn-advanced > .vp-cn-fields { padding: 0 20px 20px; }
.vp-cn-handoff { position: sticky; top: 0; padding: 20px; border: 1px solid #dfe5eb; border-radius: 10px; background: #f7f9fa; }
.vp-cn-handoff-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 9px; background: #111820; color: #fff; }
.vp-cn-handoff-icon svg { width: 17px; height: 17px; }
.vp-cn-handoff h3, .vp-cn-handoff p { margin: 0; }
.vp-cn-handoff h3 { color: var(--vp-ink); font-size: 14px; }
.vp-cn-handoff > p { margin: 5px 0 17px; color: var(--vp-muted); font-size: 10.5px; line-height: 1.55; }
.vp-cn-handoff > div { display: grid; gap: 4px; padding: 11px 0; border-top: 1px solid #e0e5ea; }
.vp-cn-handoff > div > span { color: #7a8898; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.vp-cn-handoff code, .vp-cn-handoff strong { overflow-wrap: anywhere; color: #34475c; font-size: 10.5px; }
.vp-cn-handoff ul { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.vp-cn-handoff li { display: flex; align-items: center; gap: 7px; color: #58697c; font-size: 10px; }
.vp-cn-handoff li svg { width: 13px; height: 13px; color: #2d7259; }
.vp-cn-form-actions { justify-content: flex-end; padding-top: 2px; }
html[data-dashboard-theme="dark"] .vp-cn-button { border-color: #3a4047; background: #24272b; }
html[data-dashboard-theme="dark"] .vp-cn-button:hover { border-color: #505862; background: #2d3136; }
html[data-dashboard-theme="dark"] :is(.vp-cn-button.is-primary, .vp-cn-section-title > span, .vp-cn-handoff-icon, .vp-cn-segmented input:checked + span) { border-color: #090b0d; background: #090b0d; color: #fff; }
html[data-dashboard-theme="dark"] :is(.vp-cn-summary, .vp-cn-section, .vp-cn-form-main) { border-color: #373b41; background: #202225; }
html[data-dashboard-theme="dark"] :is(.vp-cn-summary > div + div, .vp-cn-section > header, .vp-cn-connection + .vp-cn-connection, .vp-cn-number-row, .vp-cn-editor-heading, .vp-cn-form-section + .vp-cn-form-section, .vp-cn-advanced, .vp-cn-handoff > div) { border-color: #34383e; }
html[data-dashboard-theme="dark"] :is(.vp-cn-summary > div > span, .vp-cn-provider-icon, .vp-cn-number-identity > i, .vp-cn-step, .vp-cn-tags span, .vp-cn-number-row em) { background: #2a2d31; color: #abb4bf; }
html[data-dashboard-theme="dark"] :is(.vp-cn-destination > div, .vp-cn-search, .vp-cn-auth-panel, .vp-cn-handoff, .vp-cn-number-head) { border-color: #3b4047; background: #25282c; }
html[data-dashboard-theme="dark"] .vp-cn-destination button { border-color: #3b4047; }
html[data-dashboard-theme="dark"] :is(.vp-cn-destination code, .vp-cn-handoff code, .vp-cn-handoff strong) { color: #d9dde2; }
html[data-dashboard-theme="dark"] :is(.vp-cn-number-row:hover, .vp-cn-destination button:hover, .vp-cn-card-actions button:hover) { background: #292d31; }
html[data-dashboard-theme="dark"] :is(.vp-cn-field input, .vp-cn-field select, .vp-cn-segmented span) { border-color: #3d434a; background-color: #25282c; color: #dfe3e7; }
html[data-dashboard-theme="dark"] .vp-cn-status.is-ready { background: #25352f; color: #9ecbb9; }
html[data-dashboard-theme="dark"] .vp-cn-status.is-pending { background: #3a3020; color: #e4bd77; }
@media (max-width: 1180px) {
  .vp-cn-connection { grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr); }
  .vp-cn-card-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 52px; }
  .vp-cn-number-head, .vp-cn-number-row { grid-template-columns: minmax(210px, 1.2fr) minmax(170px, 1fr) minmax(170px, 1fr) 20px; }
  .vp-cn-number-head > span:nth-child(4), .vp-cn-number-row > span:nth-child(4) { display: none; }
}
@media (max-width: 760px) {
  .vp-cn-command, .vp-cn-editor-heading { align-items: flex-start; flex-direction: column; }
  .vp-cn-actions { width: 100%; }
  .vp-cn-actions .vp-cn-button { flex: 1; }
  .vp-cn-summary, .vp-cn-form-grid, .vp-cn-fields.two, .vp-cn-fields.endpoint { grid-template-columns: 1fr; }
  .vp-cn-summary > div + div { border-top: 1px solid #e7ebef; border-left: 0; }
  .vp-cn-connection { grid-template-columns: 1fr; }
  .vp-cn-card-actions { grid-column: auto; padding-left: 0; justify-content: flex-start; }
  .vp-cn-number-head { display: none; }
  .vp-cn-number-row { grid-template-columns: minmax(0, 1fr) 16px; gap: 9px; }
  .vp-cn-number-row > span:nth-child(2), .vp-cn-number-row > span:nth-child(3), .vp-cn-number-row > span:nth-child(4) { display: none; }
  .vp-cn-section > header { align-items: flex-start; flex-direction: column; }
  .vp-cn-search { width: 100%; }
  .vp-cn-handoff { position: static; }
  .vp-cn-segmented { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .vp-cn-home, .vp-cn-editor { animation: none; } }

/* Keep the connection action with the generated Mitsolab endpoint. */
form[data-connection-form] { position: relative; }
form[data-connection-form] .vp-cn-handoff { padding-bottom: 78px; }
form[data-connection-form] .vp-cn-form-actions {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 260px;
  z-index: 1;
  padding: 0;
}
form[data-connection-form] .vp-cn-form-actions [data-cn-home] { display: none; }
form[data-connection-form] .vp-cn-form-actions .vp-cn-button { width: 100%; }

@media (max-width: 760px) {
  form[data-connection-form] .vp-cn-form-actions {
    width: calc(100% - 40px);
  }
}

/* Form actions live inside the endpoint/readiness panel. */
form:is([data-connection-form], [data-number-form]) .vp-cn-handoff {
  padding-bottom: 20px;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions {
  position: static;
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e0e5ea;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions .vp-cn-button {
  width: 100%;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions .vp-cn-button:disabled {
  border-color: #dfe4e9;
  background: #dfe4e9;
  color: #8c98a5;
  cursor: not-allowed;
  transform: none;
}
.vp-cn-handoff h3 { font-size: 15px; }
.vp-cn-handoff > p { font-size: 12px; line-height: 1.55; }
.vp-cn-handoff > div > span { font-size: 10px; }
.vp-cn-handoff code,
.vp-cn-handoff strong { font-size: 12px; }
.vp-cn-handoff li { font-size: 11.5px; }

html[data-dashboard-theme="dark"] form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions {
  border-color: #34383e;
}
html[data-dashboard-theme="dark"] form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions .vp-cn-button:disabled {
  border-color: #34383e;
  background: #34383e;
  color: #7f8790;
}

@media (max-width: 760px) {
  form:is([data-connection-form], [data-number-form]) .vp-cn-form-actions {
    width: 100%;
  }
}

/* Flat connection and number forms use spacing instead of containers. */
form:is([data-connection-form], [data-number-form]) .vp-cn-form-main {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-form-section {
  padding: 4px 0;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-form-section + .vp-cn-form-section,
form:is([data-connection-form], [data-number-form]) .vp-cn-advanced {
  margin-top: 28px;
  border-top: 0;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-section-title {
  gap: 0;
}
form:is([data-connection-form], [data-number-form]) .vp-cn-section-title > span {
  display: none;
}
html[data-dashboard-theme="dark"] form:is([data-connection-form], [data-number-form]) .vp-cn-form-main {
  border: 0;
  background: transparent;
}

/* Connections own their phone-number routing rows. */
.vp-cn-home { gap: 24px; }
.vp-cn-command h2 { font-size: 27px; font-weight: 760; letter-spacing: -.045em; }
.vp-cn-home > .vp-cn-section {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.vp-cn-home > .vp-cn-section > header {
  min-height: 0;
  padding: 0 2px 11px;
  border: 0;
}
.vp-cn-home > .vp-cn-section > header h3 {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.vp-cn-connection-list { gap: 14px; }
.vp-cn-connection {
  overflow: hidden;
  padding: 20px;
  border: 1px solid #cfd8e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(29, 45, 61, .055);
}
.vp-cn-connection + .vp-cn-connection { border-top: 1px solid #cfd8e1; }
.vp-cn-title-line h4 { font-size: 14.5px; font-weight: 750; }
.vp-cn-connection-main p { margin-top: 6px; color: #657487; font-size: 11.5px; }
.vp-cn-tags span { background: #edf1f4; color: #46576a; font-size: 10px; }
.vp-cn-destination > span { color: #5e6e80; font-size: 10px; }
.vp-cn-destination > div { border-color: #ccd6df; background: #f3f6f8; }
.vp-cn-destination code { color: #203449; font-size: 11px; }
.vp-cn-card-actions button { color: #34485d; font-size: 11.5px; }
.vp-cn-linked-numbers {
  grid-column: 1 / -1;
  margin: 2px -20px -20px;
  border-top: 1px solid #d9e0e7;
  background: #f7f9fa;
}
.vp-cn-linked-numbers > header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.vp-cn-linked-numbers > header > div { display: flex; align-items: baseline; gap: 9px; }
.vp-cn-linked-numbers h5 { margin: 0; color: #17283a; font-size: 13px; font-weight: 750; }
.vp-cn-linked-numbers header span { color: #6c7b8c; font-size: 10px; font-weight: 650; }
.vp-cn-linked-head,
.vp-cn-linked-numbers .vp-cn-number-row {
  grid-template-columns: minmax(230px, 1.25fr) minmax(190px, 1fr) minmax(160px, .75fr) 18px;
}
.vp-cn-linked-head {
  min-height: 34px;
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-top: 1px solid #e0e5ea;
  border-bottom: 1px solid #e0e5ea;
  background: #eef2f5;
  color: #5e6e80;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.vp-cn-linked-numbers .vp-cn-number-row {
  min-height: 66px;
  padding: 9px 20px;
  border-top: 1px solid #e2e7ec;
  color: #44566a;
  font-size: 11.5px;
}
.vp-cn-linked-numbers .vp-cn-number-row:first-child { border-top: 0; }
.vp-cn-linked-numbers .vp-cn-number-row > span:nth-child(2) { display: none; }
.vp-cn-linked-numbers .vp-cn-number-identity strong { font-size: 12.5px; }
.vp-cn-linked-numbers .vp-cn-number-identity small { font-size: 10.5px; }
.vp-cn-linked-numbers .vp-cn-number-row em { background: #e8edf1; color: #46576a; font-size: 10px; }
.vp-cn-empty-numbers { margin: 0; padding: 18px 20px 21px; border-top: 1px solid #e0e5ea; color: #6a798a; font-size: 11.5px; }

html[data-dashboard-theme="dark"] .vp-cn-home > .vp-cn-section { background: transparent; }
html[data-dashboard-theme="dark"] .vp-cn-connection {
  border-color: #42484f;
  background: #222529;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .18);
}
html[data-dashboard-theme="dark"] .vp-cn-connection + .vp-cn-connection { border-top-color: #42484f; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers { border-color: #3a3f45; background: #1d2023; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers h5 { color: #e8ebee; }
html[data-dashboard-theme="dark"] .vp-cn-linked-head { border-color: #383d43; background: #292d31; color: #aeb7c1; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row,
html[data-dashboard-theme="dark"] .vp-cn-empty-numbers { border-color: #34393f; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row:hover { background: #282c30; }

@media (max-width: 760px) {
  .vp-cn-linked-head { display: none; }
  .vp-cn-linked-numbers .vp-cn-number-row { grid-template-columns: minmax(0, 1fr) 16px; }
  .vp-cn-linked-numbers .vp-cn-number-row > span:nth-child(3) { display: none; }
}

/* Simplified, more readable connection and number editors. */
.voip-page:has(form:is([data-connection-form], [data-number-form]))
  .email-provider-header
  .email-provider-heading
  p,
.vp-cn-editor-heading .vp-cn-kicker,
.vp-cn-editor-heading p,
.vp-cn-section-title p {
  display: none;
}
.vp-cn-back {
  gap: 9px;
  padding: 5px 1px;
  color: var(--vp-ink);
  font-size: 14px;
  font-weight: 720;
}
.vp-cn-back svg { width: 17px; height: 17px; stroke-width: 2.25; }
.vp-cn-editor-heading { padding-bottom: 19px; }
.vp-cn-editor-heading h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 760;
}
.vp-cn-section-title { margin-bottom: 18px; }
.vp-cn-section-title h3 {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.015em;
}
.vp-cn-field {
  gap: 8px;
  color: #34465a;
  font-size: 12.5px;
  font-weight: 680;
}
.vp-cn-field input,
.vp-cn-field select {
  height: 45px;
  font-size: 13px;
}
.vp-cn-segmented span {
  min-height: 43px;
  font-size: 12px;
}
.vp-cn-auth-panel > p { font-size: 11px; }
.vp-cn-advanced summary { min-height: 50px; font-size: 12.5px; }
.vp-cn-step { font-size: 10.5px; }
html[data-dashboard-theme="dark"] .vp-cn-field { color: #d2d8de; }

/* Focused single-column connection and number editors. */
.vp-connections-workspace:has(form:is([data-connection-form], [data-number-form])) {
  width: min(100%, 920px);
}
.vp-cn-editor { width: 100%; margin: 0 auto; }
form:is([data-connection-form], [data-number-form]) .vp-cn-form-grid {
  grid-template-columns: minmax(0, 1fr);
}
.vp-cn-editor-heading > .vp-cn-button {
  min-width: 168px;
  min-height: 42px;
}
.vp-cn-back {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #fff;
  color: #17283a;
  box-shadow: 0 2px 6px rgba(28, 43, 58, .055);
}
.vp-cn-back:hover {
  border-color: #9eacba;
  background: #f4f6f8;
  color: #07111c;
}
html[data-dashboard-theme="dark"] .vp-cn-back {
  border-color: #484e55;
  background: #25282c;
  color: #f1f3f5;
  box-shadow: none;
}
html[data-dashboard-theme="dark"] .vp-cn-back:hover {
  border-color: #69717a;
  background: #2e3237;
}

@media (max-width: 760px) {
  .vp-cn-editor-heading > .vp-cn-button { width: 100%; }
}

/* Stronger information hierarchy for connection cards and number rows. */
.vp-cn-home > .vp-cn-section > header h3 {
  color: #14263a;
  font-size: 18px;
}
.vp-cn-title-line h4 {
  color: #15273a;
  font-size: 16px;
}
.vp-cn-status {
  padding: 4px 8px;
  font-size: 10.5px;
}
.vp-cn-connection-main p {
  color: #53667a;
  font-size: 13px;
}
.vp-cn-tags span {
  padding: 5px 8px;
  color: #3d5064;
  font-size: 11px;
}
.vp-cn-destination > span {
  color: #465a6f;
  font-size: 11px;
}
.vp-cn-destination code {
  color: #172b40;
  font-size: 12.5px;
}
.vp-cn-card-actions button {
  color: #253b51;
  font-size: 12.5px;
}
.vp-cn-linked-numbers h5 {
  color: #13263a;
  font-size: 14.5px;
}
.vp-cn-linked-numbers header span {
  color: #53667a;
  font-size: 11.5px;
}
.vp-cn-linked-head {
  color: #40556b;
  font-size: 10.5px;
}
.vp-cn-linked-numbers .vp-cn-number-row {
  color: #344a60;
  font-size: 13px;
}
.vp-cn-linked-numbers .vp-cn-number-identity strong {
  color: #12263a;
  font-size: 14px;
}
.vp-cn-linked-numbers .vp-cn-number-identity small {
  color: #52667b;
  font-size: 11.5px;
}
.vp-cn-linked-numbers .vp-cn-number-row em {
  color: #344a60;
  font-size: 11px;
}
.vp-cn-linked-numbers .vp-cn-add-number { font-size: 12px; }

html[data-dashboard-theme="dark"] .vp-cn-home > .vp-cn-section > header h3,
html[data-dashboard-theme="dark"] .vp-cn-title-line h4,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers h5,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-identity strong {
  color: #f1f4f6;
}
html[data-dashboard-theme="dark"] .vp-cn-connection-main p,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers header span,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-identity small {
  color: #b7c0ca;
}
html[data-dashboard-theme="dark"] .vp-cn-tags span,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row em {
  background: #30343a;
  color: #d0d6dc;
}
html[data-dashboard-theme="dark"] .vp-cn-destination > span,
html[data-dashboard-theme="dark"] .vp-cn-linked-head {
  color: #b6c0cb;
}
html[data-dashboard-theme="dark"] .vp-cn-destination code {
  color: #f0f3f5;
}
html[data-dashboard-theme="dark"] .vp-cn-card-actions button,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row {
  color: #d7dde3;
}
html[data-dashboard-theme="dark"] .vp-cn-card-actions button:hover {
  color: #fff;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row > svg {
  color: #c5cdd5;
}

/* Form dropdowns */
.vp-cn-field:has(.vp-cn-select) { position: relative; }
.vp-cn-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.vp-cn-select { position: relative; width: 100%; font-weight: 550; }
.vp-cn-select-trigger {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid #cbd6e0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #172b40;
  font: 600 13px var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.vp-cn-select-trigger svg { width: 16px; height: 16px; color: #65778a; transition: transform 140ms ease; }
.vp-cn-select.is-open .vp-cn-select-trigger {
  border-color: #657d95;
  box-shadow: 0 0 0 3px rgba(67, 91, 116, .12);
}
.vp-cn-select.is-open .vp-cn-select-trigger svg { transform: rotate(180deg); }
.vp-cn-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  min-width: 230px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #cbd5df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(26, 42, 58, .16);
}
.vp-cn-select-menu[hidden] { display: none; }
.vp-setup-message { padding: 28px; color: var(--vp-text); font-size: 15px; }
.vp-setup-message p { margin: 0 0 16px; }
.vp-setup-error { color: #b42318; font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.vp-setup-error:empty { display: none; }
.vp-setup-hint { color: #596b7c; font-size: 14px; margin: 12px 0 0; }
.vp-delete-confirm { background: #b42318; color: #fff; border-color: #b42318; }
.vp-delete-confirm:hover { background: #912018; }
html[data-dashboard-theme="dark"] .vp-setup-error { color: #f5a59d; }
html[data-dashboard-theme="dark"] .vp-setup-hint { color: #b4bec9; }
.vp-cn-select.opens-up .vp-cn-select-menu {
  top: auto;
  bottom: calc(100% + 7px);
}
form[data-number-form] .vp-cn-form-section:last-of-type {
  padding-bottom: 32px;
}
.vp-cn-select-search {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 0 10px;
  border-bottom: 1px solid #dde3e9;
  color: #647689;
}
.vp-cn-select-search svg { width: 15px; height: 15px; }
.vp-cn-select-search input {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #172b40;
  font: 550 12.5px var(--font-body);
  box-shadow: none;
}
.vp-cn-field .vp-cn-select-search input:focus {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}
.vp-cn-select-options {
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.vp-cn-select-option {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #293e53;
  font: 600 12.5px var(--font-body);
  text-align: left;
  cursor: pointer;
}
.vp-cn-select-option:hover { background: #eef2f5; color: #0f2134; }
.vp-cn-select-option[aria-selected="true"] { background: #e5ebf0; color: #0b1c2d; font-weight: 720; }
.vp-cn-select-option svg { width: 15px; height: 15px; }
.vp-cn-select-empty { margin: 0; padding: 13px 10px; color: #647689; font-size: 12px; }

html[data-dashboard-theme="dark"] .vp-cn-select-trigger {
  border-color: #464d55;
  background: #25282c;
  color: #f0f3f5;
}
html[data-dashboard-theme="dark"] .vp-cn-select-trigger svg { color: #b8c1ca; }
html[data-dashboard-theme="dark"] .vp-cn-select.is-open .vp-cn-select-trigger { border-color: #8996a3; }
html[data-dashboard-theme="dark"] .vp-cn-select-menu {
  border-color: #484f57;
  background: #222529;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .38);
}
html[data-dashboard-theme="dark"] .vp-cn-select-search { border-color: #3e444b; color: #bbc4cd; }
html[data-dashboard-theme="dark"] .vp-cn-select-search input { color: #f0f3f5; }
html[data-dashboard-theme="dark"] .vp-cn-select-option { color: #d7dde3; }
html[data-dashboard-theme="dark"] .vp-cn-select-option:hover { background: #30353a; color: #fff; }
html[data-dashboard-theme="dark"] .vp-cn-select-option[aria-selected="true"] { background: #373d43; color: #fff; }
html[data-dashboard-theme="dark"] .vp-cn-select-empty { color: #aeb8c2; }

/* Phone-number grouping and columns */
.vp-cn-linked-numbers > header { background: #fff; }
.vp-cn-linked-numbers .vp-cn-add-number {
  border-color: #115f78;
  background: #115f78;
  color: #fff;
  font-weight: 700;
}
.vp-cn-linked-numbers .vp-cn-add-number:hover {
  border-color: #0b4b60;
  background: #0b4b60;
  color: #fff;
}
.vp-cn-linked-head,
.vp-cn-linked-numbers .vp-cn-number-row {
  grid-template-columns: minmax(150px, 1.05fr) minmax(145px, .8fr) minmax(150px, 1fr) 90px 18px;
}
.vp-cn-record-status { justify-self: center; color: var(--vp-ink); }
.vp-cn-record-setting { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; }
.vp-cn-record-setting > span:first-child { display: grid; gap: 8px; }
.vp-cn-record-setting strong { font-size: 15px; font-weight: 550; color: var(--vp-ink); }
.vp-cn-record-setting > span > span { font-size: 14px; line-height: 1.6; color: var(--vp-ink); }
.vp-cn-linked-numbers .vp-cn-number-row > span:nth-child(2) { display: block; }
.vp-cn-number-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.vp-cn-number-name > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e9eef2;
  color: #364d63;
}
.vp-cn-number-name svg { width: 16px; height: 16px; }
.vp-cn-number-name strong {
  overflow: hidden;
  color: #13273b;
  font-size: 13.5px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-cn-number-value {
  color: #253c53;
  font-size: 13px;
  font-weight: 650;
}
.vp-cn-number-flow { color: #354d64; }

html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header { background: #222529; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-add-number {
  border-color: #177b99;
  background: #177b99;
  color: #fff;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-add-number:hover {
  border-color: #2194b6;
  background: #2194b6;
}
html[data-dashboard-theme="dark"] .vp-cn-number-name > i { background: #30353a; color: #d5dce3; }
html[data-dashboard-theme="dark"] .vp-cn-number-name strong { color: #f1f4f6; }
html[data-dashboard-theme="dark"] .vp-cn-number-value,
html[data-dashboard-theme="dark"] .vp-cn-number-flow { color: #d1d8df; }

@media (max-width: 760px) {
  .vp-cn-linked-numbers .vp-cn-number-row { grid-template-columns: minmax(0, 1fr) 48px 16px; }
  .vp-cn-linked-numbers .vp-cn-number-row > span:nth-child(2),
  .vp-cn-linked-numbers .vp-cn-number-row > span:nth-child(3) { display: none; }
}

.vp-cn-provider-icon {
  width: 30px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  color: #263f57;
}
.vp-cn-provider-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.35;
}
html[data-dashboard-theme="dark"] .vp-cn-provider-icon {
  background: transparent;
  color: #d7dee5;
}

/* Final Add number action colors override the earlier neutral button rule. */
.vp-cn-linked-numbers > header .vp-cn-add-number {
  border-color: #115f78;
  background: #115f78;
  color: #fff;
  box-shadow: 0 2px 7px rgba(17, 95, 120, .18);
}
.vp-cn-linked-numbers > header .vp-cn-add-number:hover {
  border-color: #0a4b60;
  background: #0a4b60;
  color: #fff;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number {
  border-color: #515860;
  background: #30343a;
  color: #fff;
  box-shadow: none;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number:hover {
  border-color: #68717a;
  background: #3a3f45;
  color: #fff;
}
.vp-cn-linked-numbers > header .vp-cn-add-number svg { color: currentColor; }

.vp-cn-card-actions .vp-cn-edit-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  justify-content: center;
  padding: 0;
  border: 1px solid #ccd6df;
  border-radius: 8px;
  background: #fff;
  color: #31485f;
}
.vp-cn-card-actions .vp-cn-edit-button:hover {
  border-color: #9fadb9;
  background: #eef2f5;
}
.vp-cn-card-actions .vp-cn-edit-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}
html[data-dashboard-theme="dark"] .vp-cn-card-actions .vp-cn-edit-button {
  border-color: #4a5159;
  background: #2b2f34;
  color: #e5e9ed;
}
html[data-dashboard-theme="dark"] .vp-cn-card-actions .vp-cn-edit-button:hover {
  border-color: #68717a;
  background: #363b41;
}

.email-provider-header .vp-cn-header-action { margin-left: auto; }
.vp-cn-linked-numbers > header .vp-cn-add-number {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #cbd5df;
  border-radius: 7px;
  background: #fff;
  color: #25394e;
  font: 680 10.5px var(--font-body);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.vp-cn-linked-numbers > header .vp-cn-add-number:hover { border-color: #aebbc8; background: #f1f4f6; }
.vp-cn-linked-numbers > header .vp-cn-add-number svg { width: 13px; height: 13px; }
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number {
  border-color: #41474e;
  background: #282c30;
  color: #e2e6ea;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number:hover { background: #30353a; }

/* Primary Add number action */
.vp-cn-linked-numbers > header .vp-cn-add-number,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number {
  border-color: #0b0d10;
  background: #0b0d10;
  color: #fff;
  box-shadow: none;
}
.vp-cn-linked-numbers > header .vp-cn-add-number:hover,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}
.vp-cn-linked-numbers > header .vp-cn-add-number:focus-visible {
  outline: 2px solid #8794a1;
  outline-offset: 2px;
}

.vp-cn-connection { align-items: start; }
.vp-cn-connection > .vp-cn-card-actions {
  align-self: start;
  min-height: 36px;
  margin-top: 16px;
}
.vp-cn-connection > .vp-cn-card-actions > button {
  min-height: 36px;
}

@media (max-width: 1180px) {
  .vp-cn-connection > .vp-cn-card-actions { margin-top: 0; }
}

.vp-cn-number-name > i,
html[data-dashboard-theme="dark"] .vp-cn-number-name > i {
  width: 24px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #172b40;
}
.vp-cn-number-name svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-width: 1.7;
}
html[data-dashboard-theme="dark"] .vp-cn-number-name > i {
  color: #eef2f5;
}

.vp-cn-linked-numbers .vp-cn-number-row em,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row em {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #344a60;
  font-size: 12.5px;
  font-weight: 600;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row em {
  color: #d1d8df;
}

.vp-cn-number-name svg {
  fill: none;
  stroke-width: 2.2;
}
.vp-cn-linked-numbers,
.vp-cn-linked-numbers .vp-cn-number-row {
  background: #fff;
}
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers .vp-cn-number-row {
  background: #222529;
}

.vp-cn-connection { align-items: center; }
.vp-cn-connection > [data-connection-checks] {
  grid-column: 1 / -1;
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.vp-cn-connection > [data-connection-checks] li { margin-top: 8px; }
.vp-cn-connection > .vp-cn-card-actions {
  align-self: center;
  margin-top: 0;
  padding-top: 16px;
}

@media (max-width: 1180px) {
  .vp-cn-connection > .vp-cn-card-actions { padding-top: 0; }
}

.vp-cn-remove-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 24px 0 4px;
  border-top: 1px solid #e1c9c9;
}
.vp-cn-remove-section h3,
.vp-cn-remove-section p { margin: 0; }
.vp-cn-remove-section h3 {
  color: #8d2323;
  font-size: 16px;
  font-weight: 750;
}
.vp-cn-remove-section p {
  max-width: 560px;
  margin-top: 5px;
  color: #5f5360;
  font-size: 12.5px;
  line-height: 1.5;
}
.vp-cn-remove-button {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid #c75252;
  border-radius: 8px;
  background: transparent;
  color: #a12828;
  font: 700 12px var(--font-body);
  cursor: pointer;
}
.vp-cn-remove-button:hover,
.vp-cn-remove-section.is-confirming .vp-cn-remove-button {
  background: #a12828;
  color: #fff;
}
.vp-cn-remove-button svg { width: 15px; height: 15px; }
.vp-cn-remove-button:disabled {
  border-color: #d8dce1;
  background: #f0f2f4;
  color: #939ca6;
  cursor: not-allowed;
}
html[data-dashboard-theme="dark"] .vp-cn-remove-section { border-color: #654141; }
html[data-dashboard-theme="dark"] .vp-cn-remove-section h3 { color: #f09a9a; }
html[data-dashboard-theme="dark"] .vp-cn-remove-section p { color: #c7b8bb; }
html[data-dashboard-theme="dark"] .vp-cn-remove-button { border-color: #b85d5d; color: #f0a1a1; }
html[data-dashboard-theme="dark"] .vp-cn-remove-button:hover,
html[data-dashboard-theme="dark"] .vp-cn-remove-section.is-confirming .vp-cn-remove-button {
  background: #a43b3b;
  color: #fff;
}
html[data-dashboard-theme="dark"] .vp-cn-remove-button:disabled {
  border-color: #44494f;
  background: #303338;
  color: #747c84;
}

@media (max-width: 760px) {
  .vp-cn-remove-section { align-items: stretch; flex-direction: column; }
  .vp-cn-remove-button { width: 100%; }
}

html[data-dashboard-theme="dark"] .email-provider-header .vp-cn-header-action,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number {
  border-color: #eef1f4;
  background: #eef1f4;
  color: #0b0d10;
}
html[data-dashboard-theme="dark"] .email-provider-header .vp-cn-header-action:hover,
html[data-dashboard-theme="dark"] .vp-cn-linked-numbers > header .vp-cn-add-number:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #d5dde5;
}
form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) span {
  min-height: 42px;
  padding: 0 14px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #56687a;
  font-size: 13px;
}
form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) input:checked + span {
  border-color: #111820;
  background: transparent;
  color: #111820;
  font-weight: 750;
}
form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) span:hover {
  color: #111820;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) {
  border-color: #454b52;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) span {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: #aeb8c2;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) input:checked + span {
  border-bottom-color: #f0f3f5;
  background: transparent;
  color: #f0f3f5;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-segmented:has(input[name="auth"]) span:hover {
  color: #fff;
}

html[data-dashboard-theme="dark"] .email-provider-header button.vp-cn-header-action {
  border-color: #eef1f4 !important;
  background: #eef1f4 !important;
  color: #0b0d10 !important;
}
html[data-dashboard-theme="dark"] .email-provider-header button.vp-cn-header-action:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: #000 !important;
}

.voip-page .email-provider-nav-item.is-active {
  background: #edf0f2;
}
.voip-page .email-provider-nav-item.is-active .email-provider-nav-mark {
  background: transparent;
  color: #111820;
}
.voip-page .email-provider-nav-item.is-active .email-provider-nav-mark svg {
  stroke-width: 2.35;
}
html[data-dashboard-theme="dark"] .voip-page .email-provider-nav-item.is-active {
  background: #2b2e32;
}
html[data-dashboard-theme="dark"] .voip-page .email-provider-nav-item.is-active .email-provider-nav-mark {
  background: transparent;
  color: #f0f3f5;
}

.vp-cn-auth-panel .vp-cn-field {
  font-size: 14px;
}
.vp-cn-auth-panel .vp-cn-field input {
  height: 46px;
  font-size: 14px;
}
.vp-cn-auth-panel > p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
}

.vp-cn-usage-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vp-cn-usage-checks label {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid #ccd6df;
  border-radius: 9px;
  background: #fff;
  color: #263c52;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}
.vp-cn-usage-checks label:hover { border-color: #9fadb9; background: #f5f7f8; }
.vp-cn-usage-checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vp-cn-check-box {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid #96a5b4;
  border-radius: 5px;
  background: transparent;
  color: transparent;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}
.vp-cn-check-box svg { width: 13px; height: 13px; stroke-width: 2.8; }
.vp-cn-usage-checks strong { font-size: 13px; font-weight: 680; }
.vp-cn-usage-checks input:checked + .vp-cn-check-box {
  border-color: #111820;
  background: #111820;
  color: #fff;
}
.vp-cn-usage-checks label:has(input:checked) {
  border-color: #8795a3;
  background: #f1f4f6;
  color: #111820;
}
.vp-cn-usage-checks label:has(input:focus-visible) {
  outline: 2px solid #71859b;
  outline-offset: 2px;
}
html[data-dashboard-theme="dark"] .vp-cn-usage-checks label {
  border-color: #484f57;
  background: #25282c;
  color: #d9dfe5;
}
html[data-dashboard-theme="dark"] .vp-cn-usage-checks label:hover { border-color: #68717a; background: #2d3136; }
html[data-dashboard-theme="dark"] .vp-cn-check-box { border-color: #8995a1; }
html[data-dashboard-theme="dark"] .vp-cn-usage-checks input:checked + .vp-cn-check-box {
  border-color: #f0f3f5;
  background: #f0f3f5;
  color: #111820;
}
html[data-dashboard-theme="dark"] .vp-cn-usage-checks label:has(input:checked) {
  border-color: #747f8a;
  background: #30343a;
  color: #fff;
}

@media (max-width: 560px) {
  .vp-cn-usage-checks { grid-template-columns: 1fr; }
}

/* Billing-style actions throughout the Numbers workspace in dark mode. */
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) :is(
  .vp-cn-header-action,
  .vp-cn-add-number,
  .vp-cn-edit-button,
  [data-cn-test],
  .vp-cn-back,
  .vp-cn-editor-heading > .vp-cn-button
) {
  min-height: 40px;
  border: 1px solid #535961 !important;
  border-radius: 10px;
  background: #202226 !important;
  color: #e2e4e3 !important;
  box-shadow: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) :is(
  .vp-cn-header-action,
  .vp-cn-add-number,
  .vp-cn-edit-button,
  [data-cn-test],
  .vp-cn-back,
  .vp-cn-editor-heading > .vp-cn-button
):hover:not(:disabled) {
  border-color: #686f78 !important;
  background: #292c30 !important;
  color: #f4f4f1 !important;
  transform: translateY(-1px);
}
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) :is(
  .vp-cn-header-action,
  .vp-cn-add-number,
  .vp-cn-edit-button,
  [data-cn-test],
  .vp-cn-back,
  .vp-cn-editor-heading > .vp-cn-button
):active:not(:disabled) {
  transform: translateY(0);
}
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) :is(
  .vp-cn-header-action,
  .vp-cn-add-number,
  .vp-cn-edit-button,
  [data-cn-test],
  .vp-cn-back,
  .vp-cn-editor-heading > .vp-cn-button
):focus-visible {
  outline: 3px solid rgba(133, 149, 166, .24);
  outline-offset: 2px;
}
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) :is(
  .vp-cn-header-action,
  .vp-cn-add-number,
  .vp-cn-edit-button,
  [data-cn-test],
  .vp-cn-back,
  .vp-cn-editor-heading > .vp-cn-button
):disabled {
  border-color: #3b3f45 !important;
  background: #1a1b1e !important;
  color: #858a90 !important;
  opacity: 1;
}
html[data-dashboard-theme="dark"] .voip-page:has(.vp-connections-workspace) .vp-cn-edit-button {
  width: 40px;
  height: 40px;
}

.vp-cn-remove-section {
  margin-bottom: 28px;
  padding-bottom: 8px;
}
form[data-connection-form] .vp-cn-advanced {
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid #cfd8e1;
  border-radius: 9px;
  background: #f7f9fa;
}
form[data-connection-form] .vp-cn-advanced summary {
  min-height: 54px;
  padding: 0 16px;
  color: #243a50;
  font-size: 14px;
  font-weight: 720;
}
form[data-connection-form] .vp-cn-advanced summary:hover {
  background: #eef2f5;
}
form[data-connection-form] .vp-cn-advanced summary svg {
  width: 17px;
  height: 17px;
  color: #53677b;
}
form[data-connection-form] .vp-cn-advanced[open] summary {
  border-bottom: 1px solid #d9e0e7;
  background: #f1f4f6;
}
form[data-connection-form] .vp-cn-advanced > .vp-cn-fields {
  padding: 18px 16px 28px;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced {
  border-color: #484f57;
  background: #25282c;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced summary {
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced summary:hover,
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced[open] summary {
  background: #30343a;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced[open] summary {
  border-color: #454b52;
}
html[data-dashboard-theme="dark"] form[data-connection-form] .vp-cn-advanced summary svg {
  color: #c3cbd3;
}

/* Audio files workspace */
.vp-audio-library {
  position: static;
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 520px;
}
.vp-main:has(.vp-audio-library) { position: relative; }
.vp-audio-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.vp-audio-page-actions > span {
  color: #687c8f;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
.vp-audio-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vp-audio-library-head h2 {
  margin: 0 0 5px;
  color: #12283e;
  font-size: 20px;
  font-weight: 740;
  letter-spacing: -.02em;
}
.vp-audio-library-head p {
  margin: 0;
  color: #60758a;
  font-size: 13px;
  line-height: 1.5;
}
.vp-audio-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.vp-audio-head-actions > span {
  color: #687c8f;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
.vp-audio-upload-button {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #101923;
  border-radius: 9px;
  background: #101923;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.vp-audio-upload-button:hover {
  border-color: #253a4e;
  background: #253a4e;
  transform: translateY(-1px);
}
.vp-audio-upload-button:focus-within {
  outline: 3px solid rgba(66, 91, 116, .2);
  outline-offset: 2px;
}
.vp-audio-upload-button svg { width: 16px; height: 16px; stroke-width: 2; }
.vp-audio-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.vp-audio-storage {
  min-height: 68px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8e0e7;
  border-radius: 10px;
  background: #f7f9fa;
}
.vp-audio-storage > span {
  display: grid;
  place-items: center;
  color: #243d55;
}
.vp-audio-storage > span svg { width: 22px; height: 22px; stroke-width: 1.8; }
.vp-audio-storage > div { display: grid; gap: 2px; }
.vp-audio-storage strong {
  color: #172d42;
  font-size: 13px;
  font-weight: 720;
}
.vp-audio-storage small {
  color: #63778a;
  font-size: 12px;
  font-weight: 550;
}
.vp-audio-storage p {
  margin: 0 0 0 auto;
  color: #607487;
  font-size: 12px;
  line-height: 1.4;
}
.vp-audio-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 0;
}
.vp-audio-search {
  width: min(360px, 100%);
  min-height: 42px;
  margin-bottom: 10px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cbd6df;
  border-radius: 9px;
  background: #fff;
  color: #60758a;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.vp-audio-search:focus-within {
  border-color: #71879b;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-audio-search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.vp-audio-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #152b40;
  font: inherit;
  font-size: 13px;
}
.vp-audio-search input::placeholder { color: #7b8d9e; }
.vp-audio-filters {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  overflow-x: auto;
}
.vp-audio-filters button {
  position: relative;
  min-height: 45px;
  padding: 0 1px;
  border: 0;
  background: transparent;
  color: #687b8e;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.vp-audio-filters button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}
.vp-audio-filters button:hover { color: #20364b; }
.vp-audio-filters button[aria-pressed="true"] { color: #142a3f; }
.vp-audio-filters button[aria-pressed="true"]::after { background: #142a3f; }
.vp-audio-filters button:focus-visible { outline: 2px solid #71859b; outline-offset: 3px; }
.vp-audio-sort {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #607487;
  font-size: 12px;
  font-weight: 650;
}
.vp-audio-sort select {
  min-width: 154px;
  height: 42px;
  padding: 0 32px 0 11px;
  border: 1px solid #cbd6df;
  border-radius: 9px;
  outline: 0;
  background-color: #fff;
  color: #1b3247;
  font: inherit;
  font-size: 13px;
  font-weight: 630;
  cursor: pointer;
}
.vp-audio-sort select:focus {
  border-color: #71879b;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-audio-sort-picker { min-width: 174px; }
.vp-audio-sort-picker > button {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #cbd6df;
  border-radius: 9px;
  background: #fff;
  color: #1b3247;
  font: inherit;
  font-size: 13px;
  font-weight: 630;
  cursor: pointer;
}
.vp-audio-sort-picker > button > svg { width: 15px; height: 15px; }
.vp-audio-sort-picker > button:hover { border-color: #9eacb9; }
.vp-audio-sort-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid #cbd6df;
  border-radius: 9px;
  background: #fff;
  color: #1b3247;
  box-shadow: 0 12px 30px rgba(24, 43, 61, .14);
}
.vp-audio-sort-menu::backdrop { background: transparent; }
.vp-audio-sort-menu > div { display: grid; gap: 2px; }
.vp-audio-sort-menu button {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.vp-audio-sort-menu button:hover,
.vp-audio-sort-menu button:focus-visible { background: #f0f3f5; }
.vp-audio-sort-menu button[aria-selected="true"] { background: #e8edf1; font-weight: 680; }
.vp-audio-sort-menu button svg { width: 15px; height: 15px; }
.vp-audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
  align-content: start;
}
.vp-audio-file-card {
  min-width: 0;
  min-height: 184px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d6dfe7;
  border-radius: 11px;
  background: #fff;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.vp-audio-file-card:hover {
  border-color: #aebcc8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 45, 64, .07);
}
.vp-audio-file-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vp-audio-file-icon {
  display: inline-flex;
  color: #1c3851;
}
.vp-audio-file-icon svg { width: 25px; height: 25px; stroke-width: 1.75; }
.vp-audio-kind {
  color: #64788b;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .015em;
}
.vp-audio-file-stats {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #65798c;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.vp-audio-file-stats b { color: #41586d; font-weight: 680; }
.vp-audio-file-stats i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9cabb8;
}
.vp-audio-file-copy {
  min-width: 0;
  margin-top: 20px;
  display: grid;
  gap: 7px;
}
.vp-audio-file-copy > strong {
  overflow: hidden;
  color: #132a40;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-audio-file-copy > span {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #687c8f;
  font-size: 12px;
  white-space: nowrap;
}
.vp-audio-file-copy b { color: #3c5267; font-weight: 650; }
.vp-audio-file-copy i {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a5b1bc;
}
.vp-audio-file-actions {
  margin-top: auto;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vp-audio-file-actions button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #cbd5de;
  border-radius: 8px;
  background: #fff;
  color: #263e54;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.vp-audio-file-actions > div { display: flex; gap: 7px; }
.vp-audio-file-actions button:hover { border-color: #9eacb9; background: #f1f4f6; }
.vp-audio-file-actions button:focus-visible { outline: 2px solid #71859b; outline-offset: 2px; }
.vp-audio-file-actions button svg { width: 15px; height: 15px; }
.vp-audio-file-actions [data-audio-delete].is-confirming {
  border-color: #b34141;
  background: #b34141;
  color: #fff;
}
.vp-audio-rename-input {
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #71879b;
  border-radius: 7px;
  outline: 0;
  background: #fff;
  color: #132a40;
  font: inherit;
  font-size: 14px;
  font-weight: 680;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-audio-empty {
  min-height: 230px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #c7d2dc;
  border-radius: 11px;
  color: #63778a;
  text-align: center;
}
.vp-audio-empty svg { width: 27px; height: 27px; margin-bottom: 4px; }
.vp-audio-empty strong { color: #1c3348; font-size: 14px; }
.vp-audio-empty span { font-size: 12px; }
.vp-audio-drop-overlay {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 2px dashed #536a7f;
  border-radius: 12px;
  background: rgba(246, 249, 251, .95);
  color: #253f56;
  opacity: 0;
  pointer-events: none;
  transform: scale(.995);
  transition: opacity 120ms ease, transform 120ms ease;
}
.vp-audio-drop-overlay svg { width: 34px; height: 34px; margin-bottom: 4px; }
.vp-audio-drop-overlay strong { font-size: 16px; }
.vp-audio-drop-overlay span { color: #64788b; font-size: 13px; }
.vp-audio-library.is-dragging .vp-audio-drop-overlay { opacity: 1; transform: scale(1); }

html[data-dashboard-theme="dark"] .vp-audio-library-head h2,
html[data-dashboard-theme="dark"] .vp-audio-storage strong,
html[data-dashboard-theme="dark"] .vp-audio-file-copy > strong,
html[data-dashboard-theme="dark"] .vp-audio-empty strong { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-audio-library-head p,
html[data-dashboard-theme="dark"] .vp-audio-head-actions > span,
html[data-dashboard-theme="dark"] .vp-audio-page-actions > span,
html[data-dashboard-theme="dark"] .vp-audio-storage p,
html[data-dashboard-theme="dark"] .vp-audio-storage small,
html[data-dashboard-theme="dark"] .vp-audio-file-copy > span,
html[data-dashboard-theme="dark"] .vp-audio-kind,
html[data-dashboard-theme="dark"] .vp-audio-empty span { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-audio-upload-button,
html[data-dashboard-theme="dark"] .vp-audio-file-actions button {
  border-color: #535961;
  background: #202226;
  color: #e2e4e3;
  box-shadow: none;
}
html[data-dashboard-theme="dark"] .vp-audio-upload-button:hover,
html[data-dashboard-theme="dark"] .vp-audio-file-actions button:hover {
  border-color: #686f78;
  background: #292c30;
  color: #f4f4f1;
}
html[data-dashboard-theme="dark"] .vp-audio-storage {
  border-color: #3f454c;
  background: #24272b;
}
html[data-dashboard-theme="dark"] .vp-audio-storage > span,
html[data-dashboard-theme="dark"] .vp-audio-file-icon { color: #d9e0e6; }
html[data-dashboard-theme="dark"] .vp-audio-toolbar { border-color: #3d434a; }
html[data-dashboard-theme="dark"] .vp-audio-search {
  border-color: #484f57;
  background: #202327;
  color: #b8c1ca;
}
html[data-dashboard-theme="dark"] .vp-audio-search:focus-within {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-audio-search input,
html[data-dashboard-theme="dark"] .vp-audio-rename-input { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-audio-search input::placeholder { color: #8e99a3; }
html[data-dashboard-theme="dark"] .vp-audio-sort { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-audio-sort select {
  border-color: #484f57;
  background-color: #202327;
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] .vp-audio-sort select:focus {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-audio-sort-picker > button,
html[data-dashboard-theme="dark"] .vp-audio-sort-menu {
  border-color: #484f57;
  background: #202327;
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] .vp-audio-sort-picker > button:hover { border-color: #686f78; }
html[data-dashboard-theme="dark"] .vp-audio-sort-menu {
  box-shadow: 0 16px 36px rgba(0, 0, 0, .32);
}
html[data-dashboard-theme="dark"] .vp-audio-sort-menu button:hover,
html[data-dashboard-theme="dark"] .vp-audio-sort-menu button:focus-visible { background: #2b2f34; }
html[data-dashboard-theme="dark"] .vp-audio-sort-menu button[aria-selected="true"] { background: #343940; }
html[data-dashboard-theme="dark"] .vp-audio-filters button { color: #aab4bd; }
html[data-dashboard-theme="dark"] .vp-audio-filters button:hover,
html[data-dashboard-theme="dark"] .vp-audio-filters button[aria-pressed="true"] { color: #f0f3f5; }
html[data-dashboard-theme="dark"] .vp-audio-filters button[aria-pressed="true"]::after { background: #f0f3f5; }
html[data-dashboard-theme="dark"] .vp-audio-file-card {
  border-color: #3f454c;
  background: #202327;
}
html[data-dashboard-theme="dark"] .vp-audio-file-card:hover {
  border-color: #606871;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .18);
}
html[data-dashboard-theme="dark"] .vp-audio-file-copy b { color: #d0d7de; }
html[data-dashboard-theme="dark"] .vp-audio-file-stats { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-audio-file-stats b { color: #d6dde3; }
html[data-dashboard-theme="dark"] .vp-audio-file-stats i { background: #68737d; }
html[data-dashboard-theme="dark"] .vp-audio-file-copy i { background: #68737d; }
html[data-dashboard-theme="dark"] .vp-audio-file-actions [data-audio-delete].is-confirming {
  border-color: #c75a5a;
  background: #9f3f3f;
  color: #fff;
}
html[data-dashboard-theme="dark"] .vp-audio-rename-input {
  border-color: #747f8a;
  background: #272b30;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-audio-empty {
  border-color: #4a5159;
  color: #aeb7c0;
}
html[data-dashboard-theme="dark"] .vp-audio-drop-overlay {
  border-color: #87939e;
  background: rgba(31, 34, 38, .96);
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] .vp-audio-drop-overlay span { color: #aeb7c0; }

@media (max-width: 760px) {
  .vp-audio-library-head,
  .vp-audio-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .vp-audio-head-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .vp-audio-head-actions > span { text-align: left; }
  .vp-audio-page-actions { align-items: stretch; flex-direction: column-reverse; gap: 8px; }
  .vp-audio-page-actions > span { text-align: left; }
  .vp-audio-upload-button { width: 100%; }
  .vp-audio-storage { align-items: flex-start; flex-wrap: wrap; }
  .vp-audio-storage p { width: 100%; margin: 2px 0 0 34px; }
  .vp-audio-search { width: 100%; margin-bottom: 0; }
  .vp-audio-sort { justify-content: space-between; }
  .vp-audio-filters { width: 100%; }
  .vp-audio-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Incoming call audio */
.vp-incoming-audio-settings {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dce3e9;
}
.vp-incoming-audio-heading { margin-bottom: 5px; }
.vp-incoming-audio-heading h4 {
  margin: 0;
  color: #172d42;
  font-size: 15px;
  font-weight: 740;
}
.vp-incoming-audio-heading p {
  margin: 5px 0 0;
  color: #667a8d;
  font-size: 12px;
  line-height: 1.5;
}
.vp-incoming-audio-field {
  padding: 18px 0;
  border-bottom: 1px solid #e1e7ec;
}
.vp-incoming-audio-field:last-child { border-bottom: 0; }
.vp-incoming-audio-label {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}
.vp-incoming-audio-label strong {
  color: #1b3146;
  font-size: 13px;
  font-weight: 710;
}
.vp-incoming-audio-label span {
  color: #687c8f;
  font-size: 12px;
  line-height: 1.45;
}
.vp-incoming-audio-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
}
.vp-incoming-audio-control select {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid #cbd6df;
  border-radius: 8px;
  outline: 0;
  background-color: #fff;
  color: #1e354a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.vp-incoming-audio-control select:focus {
  border-color: #71879b;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-incoming-audio-control button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5de;
  border-radius: 8px;
  background: #fff;
  color: #263e54;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.vp-incoming-audio-control button:hover:not(:disabled) {
  border-color: #9eacb9;
  background: #f1f4f6;
}
.vp-incoming-audio-control button:focus-visible {
  outline: 2px solid #71859b;
  outline-offset: 2px;
}
.vp-incoming-audio-control button:disabled { opacity: .45; cursor: default; }
.vp-incoming-audio-control button svg { width: 16px; height: 16px; }
.vp-incoming-audio-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #607487;
  font-size: 11px;
  line-height: 1.4;
}
.vp-incoming-audio-meta svg { width: 13px; height: 13px; }
.vp-incoming-audio-upload {
  position: relative;
  width: max-content;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #29445d;
  font-size: 12px;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: #aab6c1;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vp-incoming-audio-upload:hover { color: #0f263b; text-decoration-color: currentColor; }
.vp-incoming-audio-upload:focus-within {
  outline: 2px solid #71859b;
  outline-offset: 3px;
}
.vp-incoming-audio-upload svg { width: 14px; height: 14px; }
.vp-incoming-audio-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

html[data-dashboard-theme="dark"] .vp-incoming-audio-settings { border-color: #3e444b; }
html[data-dashboard-theme="dark"] .vp-incoming-audio-field { border-color: #383e45; }
html[data-dashboard-theme="dark"] .vp-incoming-audio-heading h4,
html[data-dashboard-theme="dark"] .vp-incoming-audio-label strong { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-incoming-audio-heading p,
html[data-dashboard-theme="dark"] .vp-incoming-audio-label span,
html[data-dashboard-theme="dark"] .vp-incoming-audio-meta { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-incoming-audio-control select {
  border-color: #484f57;
  background-color: #202327;
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] .vp-incoming-audio-control select:focus {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-incoming-audio-control button {
  border-color: #535961;
  background: #202226;
  color: #e2e4e3;
}
html[data-dashboard-theme="dark"] .vp-incoming-audio-control button:hover:not(:disabled) {
  border-color: #686f78;
  background: #292c30;
  color: #f4f4f1;
}
html[data-dashboard-theme="dark"] .vp-incoming-audio-upload {
  color: #dce2e7;
  text-decoration-color: #69727b;
}
html[data-dashboard-theme="dark"] .vp-incoming-audio-upload:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* Queue routing settings */
.vp-queue-settings {
  margin: 22px 0 24px;
  padding-top: 21px;
  border-top: 1px solid #dce3e9;
}
.vp-queue-section-heading h4 {
  margin: 0;
  color: #172d42;
  font-size: 15px;
  font-weight: 740;
}
.vp-queue-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.vp-queue-section-heading > div { min-width: 0; }
.vp-queue-section-heading .vp-switch { margin-top: 1px; flex: 0 0 auto; }
.vp-queue-section-heading p,
.vp-queue-categories > p {
  margin: 5px 0 0;
  color: #667a8d;
  font-size: 12px;
  line-height: 1.5;
}
.vp-queue-field {
  padding: 18px 0;
  border-bottom: 0;
}
.vp-queue-hold-controls {
  display: flex;
  flex-direction: column;
  transition: opacity 150ms ease;
}
.vp-queue-hold-controls .vp-queue-delay { order: -1; }
.vp-queue-hold-controls.is-disabled { opacity: .52; }
.vp-queue-hold-controls.is-disabled :is(button, input, label) { cursor: default; }
.vp-incoming-audio-upload.is-disabled { pointer-events: none; }
.vp-queue-delay {
  padding: 18px 0;
  display: grid;
  gap: 11px;
  border-bottom: 0;
}
.vp-queue-timeout {
  padding: 20px 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid #e1e7ec;
  border-bottom: 1px solid #e1e7ec;
}
.vp-queue-timeout > span:first-child {
  display: grid;
  gap: 4px;
}
.vp-queue-timeout strong {
  color: #1b3146;
  font-size: 13px;
  font-weight: 710;
}
.vp-queue-timeout small {
  color: #687c8f;
  font-size: 12px;
  line-height: 1.45;
}
.vp-queue-node .vp-output-label {
  right: 19px;
  min-width: auto;
  padding: 0;
  border: 0;
  font-size: 11px;
}
.vp-queue-delay > span:first-child {
  display: grid;
  gap: 4px;
}
.vp-queue-delay strong {
  color: #1b3146;
  font-size: 13px;
  font-weight: 710;
}
.vp-queue-delay small {
  color: #687c8f;
  font-size: 12px;
  line-height: 1.45;
}
.vp-queue-delay-input {
  width: 150px;
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cbd6df;
  border-radius: 8px;
  background: #fff;
}
.vp-queue-delay-input:focus-within {
  border-color: #71879b;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-queue-delay-input input {
  width: 62px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1e354a;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}
.vp-queue-delay-input b {
  color: #697d8f;
  font-size: 12px;
  font-weight: 580;
}
.vp-queue-categories {
  margin: 0;
  padding: 27px 0 0;
  border: 0;
}
.vp-queue-categories legend {
  padding: 0;
  color: #1b3146;
  font-size: 13px;
  font-weight: 710;
}
.vp-queue-categories > div {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.vp-queue-categories label {
  min-height: 48px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d1dbe3;
  border-radius: 8px;
  background: #fff;
  color: #1d3449;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.vp-queue-categories label:hover { border-color: #a5b3bf; background: #f6f8f9; }
.vp-queue-categories label:has(input:checked) {
  border-color: #93a3b1;
  background: #f1f4f6;
}
.vp-queue-categories input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vp-queue-check {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid #92a2b1;
  border-radius: 5px;
  color: transparent;
}
.vp-queue-check svg { width: 12px; height: 12px; stroke-width: 3; }
.vp-queue-categories input:checked + .vp-queue-check {
  border-color: #172d42;
  background: #172d42;
  color: #fff;
}
.vp-queue-categories label:has(input:focus-visible) {
  outline: 2px solid #71859b;
  outline-offset: 2px;
}
.vp-queue-categories label > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.vp-queue-categories label strong {
  color: inherit;
  font-size: 13px;
  font-weight: 680;
}
.vp-queue-categories label small {
  color: #6b7f91;
  font-size: 11px;
}

html[data-dashboard-theme="dark"] .vp-queue-settings,
html[data-dashboard-theme="dark"] .vp-queue-field,
html[data-dashboard-theme="dark"] .vp-queue-delay,
html[data-dashboard-theme="dark"] .vp-queue-timeout { border-color: #3e444b; }
html[data-dashboard-theme="dark"] .vp-queue-section-heading h4,
html[data-dashboard-theme="dark"] .vp-queue-delay strong,
html[data-dashboard-theme="dark"] .vp-queue-timeout strong,
html[data-dashboard-theme="dark"] .vp-queue-categories legend { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-queue-section-heading p,
html[data-dashboard-theme="dark"] .vp-queue-categories > p,
html[data-dashboard-theme="dark"] .vp-queue-delay small,
html[data-dashboard-theme="dark"] .vp-queue-timeout small,
html[data-dashboard-theme="dark"] .vp-queue-categories label small { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-queue-delay-input {
  border-color: #484f57;
  background: #202327;
}
html[data-dashboard-theme="dark"] .vp-queue-delay-input:focus-within {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-queue-delay-input input { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-queue-delay-input b { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-queue-categories label {
  border-color: #484f57;
  background: #202327;
  color: #e5e9ed;
}
html[data-dashboard-theme="dark"] .vp-queue-categories label:hover {
  border-color: #626b74;
  background: #292d31;
}
html[data-dashboard-theme="dark"] .vp-queue-categories label:has(input:checked) {
  border-color: #747f8a;
  background: #30343a;
}
html[data-dashboard-theme="dark"] .vp-queue-check { border-color: #8995a1; }
html[data-dashboard-theme="dark"] .vp-queue-categories input:checked + .vp-queue-check {
  border-color: #f0f3f5;
  background: #f0f3f5;
  color: #111820;
}

/* Searchable audio picker used by flow settings */
.vp-flow-audio-picker { min-width: 0; }
.vp-flow-audio-trigger {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #cbd6df;
  border-radius: 8px;
  background: #fff;
  color: #1e354a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.vp-incoming-audio-control .vp-flow-audio-trigger {
  position: relative;
  width: 100%;
  padding: 0 36px 0 11px;
  display: flex;
  align-items: center;
  place-items: initial;
  justify-content: flex-start;
  line-height: 1;
}
.vp-incoming-audio-control .vp-flow-audio-trigger > span {
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 1.2;
}
.vp-incoming-audio-control .vp-flow-audio-trigger > svg {
  position: absolute;
  top: 50%;
  right: 11px;
  display: block;
  transform: translateY(-50%);
}
.vp-flow-audio-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-flow-audio-trigger > svg { width: 15px; height: 15px; flex: 0 0 auto; }
.vp-flow-audio-trigger:hover { border-color: #9eacb9; }
.vp-flow-audio-trigger:focus-visible,
.vp-flow-audio-trigger[aria-expanded="true"] {
  border-color: #71879b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-flow-audio-menu {
  position: fixed;
  inset: auto;
  max-height: 318px;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #cbd6df;
  border-radius: 10px;
  background: #fff;
  color: #1c3348;
  box-shadow: 0 15px 38px rgba(24, 43, 61, .16);
}
.vp-flow-audio-menu::backdrop { background: transparent; }
.vp-flow-audio-search {
  height: 39px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd6df;
  border-radius: 7px;
  color: #617689;
}
.vp-flow-audio-search:focus-within {
  border-color: #71879b;
  box-shadow: 0 0 0 3px rgba(77, 101, 124, .12);
}
.vp-flow-audio-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.vp-flow-audio-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172d42;
  font: inherit;
  font-size: 13px;
}
.vp-flow-audio-search input::placeholder { color: #7d8e9e; }
.vp-flow-audio-options {
  max-height: 252px;
  margin-top: 6px;
  display: grid;
  gap: 2px;
  overflow-y: auto;
}
.vp-flow-audio-options > button {
  width: 100%;
  min-height: 48px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #20374c;
  text-align: left;
  cursor: pointer;
}
.vp-flow-audio-options > button:hover,
.vp-flow-audio-options > button:focus-visible { outline: 0; background: #f0f3f5; }
.vp-flow-audio-options > button[aria-selected="true"] { background: #e8edf1; }
.vp-flow-audio-options > button > span:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.vp-flow-audio-options > button > span:first-child > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #4c6277;
}
.vp-flow-audio-options > button > span:first-child > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.vp-flow-audio-options strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vp-flow-audio-options small { color: #6b7f91; font-size: 11px; }
.vp-flow-audio-options > button > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.vp-flow-audio-empty {
  margin: 14px 8px;
  color: #687c8f;
  font-size: 12px;
  text-align: center;
}

html[data-dashboard-theme="dark"] .vp-flow-audio-trigger {
  border-color: #484f57;
  background: #202327;
  color: #edf1f4;
}
html[data-dashboard-theme="dark"] .vp-flow-audio-trigger:hover { border-color: #686f78; }
html[data-dashboard-theme="dark"] .vp-flow-audio-trigger:focus-visible,
html[data-dashboard-theme="dark"] .vp-flow-audio-trigger[aria-expanded="true"] {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-flow-audio-menu {
  border-color: #484f57;
  background: #202327;
  color: #edf1f4;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}
html[data-dashboard-theme="dark"] .vp-flow-audio-search {
  border-color: #4a5159;
  color: #aeb7c0;
}
html[data-dashboard-theme="dark"] .vp-flow-audio-search:focus-within {
  border-color: #747f8a;
  box-shadow: 0 0 0 3px rgba(148, 160, 172, .12);
}
html[data-dashboard-theme="dark"] .vp-flow-audio-search input { color: #edf1f4; }
html[data-dashboard-theme="dark"] .vp-flow-audio-search input::placeholder,
html[data-dashboard-theme="dark"] .vp-flow-audio-options small,
html[data-dashboard-theme="dark"] .vp-flow-audio-empty { color: #aeb7c0; }
html[data-dashboard-theme="dark"] .vp-flow-audio-options > button { color: #e6eaee; }
html[data-dashboard-theme="dark"] .vp-flow-audio-options > button:hover,
html[data-dashboard-theme="dark"] .vp-flow-audio-options > button:focus-visible { background: #2b2f34; }
html[data-dashboard-theme="dark"] .vp-flow-audio-options > button[aria-selected="true"] { background: #343940; }
html[data-dashboard-theme="dark"] .vp-flow-audio-options > button > span:first-child > svg { color: #c4cdd5; }

/* One restrained focus treatment across the Voip workspace. */
.voip-page :is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 1px solid #71859b !important;
  outline-offset: 1px !important;
  box-shadow: none !important;
}
.voip-page :is(
  .vp-voice-upload,
  .vp-voice-search,
  .vp-flow-search,
  .vp-hours-zone-search,
  .vp-audio-upload-button,
  .vp-audio-search,
  .vp-queue-delay-input,
  .vp-flow-audio-search,
  .vp-cn-select-search
):focus-within {
  outline: 1px solid #71859b !important;
  outline-offset: 1px !important;
  box-shadow: none !important;
}
.voip-page :is(
  .vp-cn-field input,
  .vp-cn-field select,
  .vp-flow-audio-trigger,
  .vp-audio-sort-picker > button
):focus,
.voip-page :is(.vp-flow-audio-trigger, .vp-audio-sort-picker > button)[aria-expanded="true"] {
  outline: 0 !important;
  border-color: #71859b !important;
  box-shadow: 0 0 0 1px rgba(77, 101, 124, .16) !important;
}
.voip-page .vp-switch input:focus-visible + span,
.voip-page :is(.vp-ivr-keys, .vp-queue-categories) label:has(input:focus-visible),
.voip-page .vp-voice-row:has(input:focus-visible) {
  outline: 1px solid #71859b !important;
  outline-offset: 1px !important;
}
html[data-dashboard-theme="dark"] .voip-page :is(button, a, input, select, textarea, [tabindex]):focus-visible,
html[data-dashboard-theme="dark"] .voip-page :is(
  .vp-voice-upload,
  .vp-voice-search,
  .vp-flow-search,
  .vp-hours-zone-search,
  .vp-audio-upload-button,
  .vp-audio-search,
  .vp-queue-delay-input,
  .vp-flow-audio-search,
  .vp-cn-select-search
):focus-within {
  outline-color: #8c98a3 !important;
}

/* Paired flow portals */
.vp-node.vp-flow-portal-node {
  width: 200px;
  border-style: dashed;
  border-color: #8498aa;
  background: #f8fafb;
}
.vp-node.vp-flow-portal-node.selected {
  border-style: solid;
  border-color: #587b9c;
}
.vp-flow-portal-node .vp-node-type {
  color: #45627d;
  font-weight: 680;
}
.vp-flow-portal-node > strong {
  color: #183148;
  font-size: 14px;
}
.vp-portal-settings {
  margin: 8px 0 24px;
  padding: 16px;
  border: 1px dashed #a9b7c3;
  border-radius: 9px;
  background: #f7f9fa;
}
.vp-portal-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.vp-portal-identity > svg {
  width: 22px;
  height: 22px;
  color: #45627d;
}
.vp-portal-identity > div { display: grid; gap: 2px; }
.vp-portal-identity span,
.vp-portal-counterpart span {
  color: #697d8f;
  font-size: 11px;
}
.vp-portal-identity strong,
.vp-portal-counterpart strong {
  color: #1a3248;
  font-size: 13px;
  font-weight: 700;
}
.vp-portal-settings > p {
  margin: 13px 0 0;
  color: #63778a;
  font-size: 12px;
  line-height: 1.55;
}
.vp-portal-counterpart {
  margin-top: 14px;
  padding-top: 13px;
  display: grid;
  gap: 3px;
  border-top: 1px solid #d9e1e7;
}
html[data-dashboard-theme="dark"] .vp-node.vp-flow-portal-node {
  border-color: #687783;
  background: #23272b;
}
html[data-dashboard-theme="dark"] .vp-node.vp-flow-portal-node.selected {
  border-color: #92a6b8;
}
html[data-dashboard-theme="dark"] .vp-flow-portal-node .vp-node-type,
html[data-dashboard-theme="dark"] .vp-portal-identity > svg { color: #b9c8d4; }
html[data-dashboard-theme="dark"] .vp-flow-portal-node > strong,
html[data-dashboard-theme="dark"] .vp-portal-identity strong,
html[data-dashboard-theme="dark"] .vp-portal-counterpart strong { color: #eef2f5; }
html[data-dashboard-theme="dark"] .vp-portal-settings {
  border-color: #59646d;
  background: #24282c;
}
html[data-dashboard-theme="dark"] .vp-portal-settings > p,
html[data-dashboard-theme="dark"] .vp-portal-identity span,
html[data-dashboard-theme="dark"] .vp-portal-counterpart span { color: #aeb8c1; }
html[data-dashboard-theme="dark"] .vp-portal-counterpart { border-color: #41484f; }

/* Center the first connection action in the available workspace. */
.vp-main:has(.vp-cn-empty-state) { display:flex; flex-direction:column; }
.vp-main:has(.vp-cn-empty-state) [data-connections-workspace],
.vp-cn-home:has(.vp-cn-empty-state) { display:flex; flex:1; flex-direction:column; width:100%; }
.vp-cn-empty-state { display:flex; flex:1; min-height:300px; align-items:center; justify-content:center; flex-direction:column; gap:18px; padding:32px 16px; text-align:center; }
.vp-cn-empty-state h2 { margin:0; font-size:20px; font-weight:600; letter-spacing:-.4px; color:var(--vp-ink); }
.vp-cn-empty-state .vp-cn-button { min-height:40px; }

/* Persistent call flows and actionable validation. */
.vp-flow-shell { position:relative; }
.vp-flow-validation { position:absolute; z-index:12; top:16px; left:16px; width:min(440px,calc(100% - 32px)); max-height:240px; overflow:auto; background:var(--vp-surface,#fff); color:var(--vp-ink); border:1px solid var(--vp-line,#dbe3eb); border-radius:10px; box-shadow:0 8px 24px #11243b12; padding:12px; scrollbar-width:thin; }
.vp-flow-validation header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:2px 4px 10px; }
.vp-flow-validation button { display:flex; align-items:flex-start; gap:8px; width:100%; border:0; background:transparent; color:inherit; text-align:left; padding:8px 4px; font:inherit; font-size:13px; cursor:pointer; }
.vp-flow-validation header button { width:auto; padding:0; }
.vp-flow-validation svg { width:17px;height:17px;flex-shrink:0; }
.vp-flow-validation .is-error>svg { color:#be3844; }
.vp-flow-validation .is-warning>svg { color:#a86d12; }
.vp-node-error { outline:2px solid #be3844;outline-offset:3px; }
.vp-node .vp-node-notice { position:absolute;bottom:calc(100% + 8px);left:0;width:100%;border:1px solid #dfc489;border-radius:6px;background:#fff9e9;color:#785214;padding:6px 8px;font:inherit;font-size:11px;line-height:1.4;text-align:left;cursor:pointer; }
.vp-node-error .vp-node-notice { border-color:#e5b1b7;background:#fff2f3;color:#9d2937; }
.vp-flow-header-actions { gap:8px; }
.vp-loading { padding:32px; }
.vp-flow-audio-menu:popover-open:not([data-positioned]) { visibility:hidden;pointer-events:none; }
html[data-dashboard-theme="dark"] .vp-flow-validation { background:#18222d; }

/* Flow picker: one search outline and roomier, readable options. */
#vp-flow-menu { min-height:min(360px,calc(100dvh - 160px)); }
#vp-flow-menu .vp-flow-search { min-height:48px; box-sizing:border-box; }
#vp-flow-menu .vp-flow-search input,
#vp-flow-menu .vp-flow-search input:focus,
#vp-flow-menu .vp-flow-search input:focus-visible {
  appearance:none;
  border:0;
  outline:0 !important;
  box-shadow:none;
  border-radius:0;
  background:transparent;
  padding:0;
  min-height:0;
  font-size:15px;
  line-height:1.5;
}
#vp-flow-menu .vp-flow-options button { min-height:50px; padding:13px 12px; font-size:15px; font-weight:600; line-height:1.5; }
#vp-flow-menu .vp-flow-create { min-height:54px; padding:15px 12px; font-size:15px; line-height:1.5; }

/* Quiet scrollbars for the node settings panel. */
.voip-page .vp-inspector {
  --vp-inspector-scroll-thumb:rgba(112,130,151,.32);
  scrollbar-width:thin;
  scrollbar-color:var(--vp-inspector-scroll-thumb) transparent;
}
.voip-page .vp-inspector:hover { --vp-inspector-scroll-thumb:rgba(112,130,151,.5); }
.voip-page .vp-inspector::-webkit-scrollbar { width:6px; height:6px; }
.voip-page .vp-inspector::-webkit-scrollbar-track { background:transparent; }
.voip-page .vp-inspector::-webkit-scrollbar-thumb { background:var(--vp-inspector-scroll-thumb); border-radius:999px; }
.voip-page .vp-inspector::-webkit-scrollbar-button { display:none; width:0; height:0; }
html[data-dashboard-theme="dark"] .voip-page .vp-inspector { --vp-inspector-scroll-thumb:rgba(160,178,198,.3); }
html[data-dashboard-theme="dark"] .voip-page .vp-inspector:hover { --vp-inspector-scroll-thumb:rgba(160,178,198,.48); }

/* Voice message and follow-up node settings share the inspector's existing controls. */
.vp-message-settings { display: grid; gap: 20px; margin: 20px 0; }
.vp-message-settings > p { margin: 0; line-height: 1.6; }
.vp-message-duration { display: flex; align-items: center; gap: 12px; }
.vp-message-duration input { width: 100px; }
.vp-message-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--vp-line); cursor: pointer; }
.vp-message-toggle strong, .vp-message-toggle small { display: block; }
.vp-message-toggle small { margin-top: 6px; color: var(--vp-muted); line-height: 1.5; font-size: 13px; }
.vp-message-toggle .vp-switch { flex: 0 0 auto; }
.vp-add-menu { max-height: calc(100% - 16px); overflow-y: auto; }

.voip-page.vp-flows-active .vp-canvas { cursor: default; }
.voip-page.vp-flows-active .vp-canvas.is-panning { cursor: grabbing; }
.vp-selection-box { position: absolute; z-index: 5; pointer-events: none; border: 1px solid var(--vp-accent); background: color-mix(in srgb, var(--vp-accent) 12%, transparent); }

.voip-page.vp-flows-active .vp-canvas-tools button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 5px; }
.vp-canvas-tools button:hover:not(:disabled) { background: var(--vp-soft); }
.vp-canvas-tools button:disabled { opacity: .35; }
.vp-canvas { overscroll-behavior: contain; }
.vp-edge.selected .vp-edge-line, .vp-edge:focus-visible .vp-edge-line { stroke: var(--vp-accent); stroke-width: 4px; }
.vp-canvas-help p { display: grid; gap: 4px; margin: 0 0 16px; line-height: 1.5; }
.vp-canvas-help span { color: var(--vp-muted); }
@media (max-width: 1450px) { .voip-page.vp-flows-active .vp-flow-status { display: none; } }

/* Only the graph transform pans; keyboard focus must not scroll its containers. */
.voip-page.vp-flows-active .vp-flow-layout, .voip-page.vp-flows-active .vp-canvas { overflow: clip; }

.vp-cn-linked-numbers .vp-cn-number-row > .vp-cn-record-status { display: block; }
