/* Vchat 0.66.97 | Scoped CRM funnels / compact Kanban. Do not affect WP admin, Inbox or other panels. */
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;
  border:1px solid #e5e5f5!important;background:linear-gradient(120deg,#fff,#f8f7ff)!important;
  border-radius:18px!important;padding:13px 16px!important;margin:0 0 13px!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline>label{
  display:flex!important;flex:0 1 350px!important;align-items:center!important;gap:12px!important;
  margin:0!important;min-width:210px!important;font-size:11px!important;font-weight:800!important;color:#323050!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline>label span{flex:0 0 auto!important;white-space:nowrap!important}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-crm-funnel-select{
  flex:1 1 auto!important;max-width:240px!important;min-width:115px!important;min-height:40px!important;
  font-weight:750!important;color:#292a4c!important;border:1px solid #dddaf7!important;background:#fff!important;
  border-radius:11px!important;padding:8px 10px!important;margin:0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-crm-funnel-manage{
  display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:40px!important;
  padding:8px 13px!important;margin:0!important;background:#f0eeff!important;border:1px solid #dedafd!important;
  border-radius:11px!important;color:#5a4dda!important;font-size:11px!important;font-weight:800!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-crm-funnel-manage[hidden]{display:none!important}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline>small{color:#8685a4!important;font-size:10px!important;line-height:1.45!important;flex:1 1 180px!important}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend{
  grid-template-columns:repeat(var(--crm-stage-count,6),minmax(135px,1fr))!important;
  overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important;padding:0 0 5px!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button{
  min-width:135px!important;max-width:none!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button i{background:var(--stage-color,#6556dd)!important}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card{
  padding:10px 11px!important;min-height:0!important;border-radius:12px!important;
  cursor:grab!important;touch-action:pan-y!important;box-shadow:0 3px 12px rgba(36,38,90,.048)!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card.is-dragging{
  opacity:.5!important;transform:scale(.98)!important;cursor:grabbing!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-top{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;min-width:0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-top .vchat-pipeline-card-identity{
  flex:1 1 auto!important;gap:7px!important;min-width:0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-top .vchat-deal-avatar{
  width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border-radius:10px!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-top h3{
  font-size:11px!important;line-height:1.4!important;margin:0!important;font-weight:800!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-top small{
  font-size:9px!important;line-height:1.35!important;margin:2px 0 0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban [data-crm-expand]{
  flex:0 0 29px!important;width:29px!important;height:29px!important;min-height:0!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
  border:1px solid #e4e1fa!important;background:#f8f7ff!important;color:#6052d7!important;border-radius:9px!important;
  font-size:20px!important;line-height:1!important;cursor:pointer!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .is-expanded [data-crm-expand]{transform:rotate(180deg)!important}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-mini{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;
  min-width:0!important;padding:7px 0 0!important;margin:5px 0 0!important;border-top:1px solid #eeeefa!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-mini span{
  overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  color:var(--stage-color,#6357da)!important;font-size:9px!important;font-weight:850!important;max-width:62%!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-mini strong{
  color:#282847!important;font-size:10px!important;font-weight:850!important;white-space:nowrap!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-details{
  display:block!important;margin-top:10px!important;padding-top:8px!important;border-top:1px solid #ecebf8!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-details[hidden]{display:none!important}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-details .vchat-pipeline-card-context{
  display:-webkit-box!important;margin:0 0 9px!important;padding:0!important;font-size:10px!important;line-height:1.5!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-detail-meta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;
  gap:5px!important;font-size:9px!important;color:#81849e!important;margin:8px 0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-card-detail-meta strong{color:#4a427a!important;font-size:9px!important}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-open-chat{
  width:100%!important;min-height:32px!important;border-radius:9px!important;background:#f0edff!important;color:#594bd5!important;
  border:1px solid #dcd6ff!important;padding:6px 10px!important;font-size:10px!important;font-weight:850!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-kanban-dropzone.is-over{
  outline:2px dashed #6857ed!important;outline-offset:-4px!important;background:#f5f2ff!important;
}
/* Modal lives outside the CRM panel. Unique component ID prevents leaking styles. */
#vchat-crm-designer, #vchat-crm-designer *{box-sizing:border-box!important}
#vchat-crm-designer{font-family:inherit;color:#272544!important;display:grid!important;gap:13px!important;padding:0 1px 3px!important}
#vchat-crm-designer label{display:flex!important;flex-direction:column!important;gap:5px!important;font-size:11px!important;font-weight:800!important;color:#3d3a61!important;min-width:0!important;margin:0!important}
#vchat-crm-designer input,#vchat-crm-designer select{
  display:block!important;width:100%!important;max-width:100%!important;min-height:38px!important;
  padding:7px 9px!important;margin:0!important;border:1px solid #dedcf1!important;
  border-radius:9px!important;background:#fff!important;color:#292744!important;font-size:12px!important;font-weight:600!important;
}
#vchat-crm-designer button{
  border:1px solid #dfdef1!important;border-radius:9px!important;min-height:34px!important;
  padding:6px 10px!important;background:#f8f7ff!important;color:#5c53bd!important;
  font-size:11px!important;font-weight:800!important;margin:0!important;cursor:pointer!important;
}
#vchat-crm-designer button:disabled{opacity:.6!important;cursor:not-allowed!important}
#vchat-crm-designer button.primary{background:#6355e9!important;color:#fff!important;border-color:#6355e9!important}
#vchat-crm-designer .vchat-crm-designer-selector{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:10px!important}
#vchat-crm-designer .vchat-crm-manager-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
#vchat-crm-designer .vchat-crm-manager-head strong{font-size:13px!important}
#vchat-crm-designer .vchat-crm-manager-help{background:#f6f5fd!important;color:#77748e!important;border:1px solid #e6e3fa!important;padding:10px!important;border-radius:10px!important;font-size:10px!important;line-height:1.5!important}
#vchat-crm-designer .vchat-crm-stage-editor-list{display:grid!important;gap:8px!important;max-height:360px!important;overflow-y:auto!important;padding:3px!important}
#vchat-crm-designer .vchat-crm-stage-editor-row{
  display:grid!important;grid-template-columns:24px minmax(105px,1.15fr) minmax(118px,1fr) 72px 54px 96px!important;
  gap:8px!important;padding:10px!important;border:1px solid #e4e2f3!important;border-radius:12px!important;background:#fff!important;align-items:end!important;
}
#vchat-crm-designer .vchat-crm-stage-index{align-self:center!important;color:#867ca9!important;font-size:12px!important;font-weight:900!important}
#vchat-crm-designer .vchat-crm-stage-editor-row .vchat-crm-stage-description{grid-column:2/5!important}
#vchat-crm-designer .vchat-crm-stage-editor-row input[type=color]{padding:3px!important;min-height:38px!important}
#vchat-crm-designer .vchat-crm-stage-reorder{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;grid-column:5/7!important}
#vchat-crm-designer .vchat-crm-stage-reorder button{min-width:29px!important;padding:5px!important;font-size:14px!important}
#vchat-crm-designer .vchat-crm-manager-new{padding:12px!important;border:1px solid #e7e3fa!important;border-radius:12px!important;background:#faf9ff!important;display:grid!important;gap:9px!important}
#vchat-crm-designer .vchat-crm-manager-new>strong{font-size:12px!important}
#vchat-crm-designer .vchat-crm-manager-new>div{display:grid!important;grid-template-columns:1fr 1fr auto!important;align-items:end!important;gap:9px!important}
#vchat-crm-designer .vchat-modal-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important;margin-top:5px!important}
#vchat-crm-designer .vchat-modal-actions #vchat-crm-archive-funnel{margin-right:auto!important;color:#b04a61!important}
.vchat-crm-analytics-by-funnel{display:grid!important;gap:10px!important;padding:12px 0!important;margin-top:14px!important;border-top:1px solid #e7e5f5!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-title{display:grid!important;gap:4px!important;margin-bottom:5px!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-title strong{font-size:12px!important;color:#302d55!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-title small{font-size:10px!important;color:#8a88a0!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-row{display:grid!important;grid-template-columns:minmax(82px,1fr) minmax(100px,2fr) 30px!important;align-items:center!important;gap:10px!important;font-size:11px!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-row>span{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-row>i{height:7px!important;border-radius:8px!important;background:#f0edfb!important;overflow:hidden!important}
.vchat-crm-analytics-by-funnel .vchat-crm-analytics-row>i>em{display:block!important;height:100%!important;border-radius:8px!important}
@media(max-width:760px){
  .vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline{align-items:stretch!important;padding:11px!important;gap:9px!important}
  .vchat-frontend-app [data-vchat-panel="crm"] .vchat-crm-funnel-topline>label{flex:1 1 100%!important;min-width:0!important;flex-wrap:wrap!important}
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-crm-funnel-select{max-width:none!important}
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-crm-funnel-manage{width:100%!important}
  .vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend{display:flex!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}
  .vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button{flex:0 0 155px!important;width:155px!important;scroll-snap-align:start!important}
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card{touch-action:pan-y!important}
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-pipeline-mobile-stage{margin-top:8px!important;padding-top:7px!important;border-top:1px solid #f0eef9!important}
  #vchat-crm-designer .vchat-crm-stage-editor-row{grid-template-columns:20px minmax(0,1fr) minmax(0,1fr)!important}
  #vchat-crm-designer .vchat-crm-stage-editor-row [data-crm-stage-semantic]{max-width:100%!important}
  #vchat-crm-designer .vchat-crm-stage-editor-row [data-crm-stage-color]{max-width:100%!important}
  #vchat-crm-designer .vchat-crm-stage-editor-row .vchat-crm-stage-description{grid-column:2/4!important}
  #vchat-crm-designer .vchat-crm-stage-editor-row .vchat-crm-stage-reorder{grid-column:1/4!important;justify-content:flex-start!important}
  #vchat-crm-designer .vchat-crm-manager-new>div{grid-template-columns:1fr!important}
  #vchat-crm-designer .vchat-crm-designer-selector{grid-template-columns:1fr!important}
}
/* 0.66.97 final visual refinement: readable stage legend; compact touch cards. */
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button > span{
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;
  min-width:0!important;overflow:hidden!important;padding-right:22px!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button b,
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button small{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  width:100%!important;min-width:0!important;margin:0!important;
}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button b{font-size:10px!important;line-height:1.35!important}
.vchat-frontend-app [data-vchat-panel="crm"] .vchat-pipeline-stage-legend button small{font-size:8px!important;color:#85829c!important;line-height:1.35!important}
/* Changing a stage on touch is available in expanded details, not on every collapsed card. */
.vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card .vchat-pipeline-mobile-stage{display:none!important}
@media(max-width:900px){
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card.is-expanded .vchat-pipeline-mobile-stage{
    display:block!important;width:100%!important;min-height:0!important;
    margin:9px 0 0!important;padding:9px 0 0!important;
    border:0!important;border-top:1px solid #efecf9!important;border-radius:0!important;
    background:transparent!important;
  }
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card.is-expanded .vchat-pipeline-mobile-stage>span{
    display:block!important;font-size:10px!important;margin-bottom:4px!important;
  }
  .vchat-frontend-app [data-vchat-panel="crm"] #vchat-kanban .vchat-crm-compact-card.is-expanded .vchat-pipeline-mobile-stage select{
    width:100%!important;min-height:38px!important;max-width:100%!important;
    border:1px solid #e3e0f4!important;border-radius:9px!important;
    padding:7px 10px!important;background:#faf9ff!important;color:#2f2a50!important;
    font-size:11px!important;
  }
}

/* CRM 0.66.99: optional migration assistant. Scoped completely to its own modal. */
#vchat-crm-migration,#vchat-crm-migration *{box-sizing:border-box!important}
#vchat-crm-migration{display:grid!important;gap:13px!important;color:#272544!important;padding:2px!important}
#vchat-crm-migration .vchat-crm-migration-warning{display:grid!important;gap:5px!important;border:1px solid #dad7fa!important;border-radius:12px!important;background:#f4f2ff!important;padding:13px!important}
#vchat-crm-migration .vchat-crm-migration-warning strong{font-size:12px!important;color:#4b3bbb!important}
#vchat-crm-migration .vchat-crm-migration-warning span,#vchat-crm-migration .vchat-crm-migration-note{font-size:11px!important;line-height:1.55!important;color:#74718e!important;margin:0!important}
#vchat-crm-migration .vchat-crm-migration-warning.is-muted{background:#fafaff!important;border-color:#e8e6f5!important}
#vchat-crm-migration .vchat-crm-migration-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)!important;align-items:end!important;gap:10px!important}
#vchat-crm-migration .vchat-crm-migration-pair>span{text-align:center!important;padding-bottom:11px!important;color:#7164d7!important;font-weight:900!important}
#vchat-crm-migration label,#vchat-crm-migration legend{display:grid!important;gap:5px!important;font-size:11px!important;font-weight:800!important;color:#3e3960!important;margin:0!important}
#vchat-crm-migration input:not([type=radio]):not([type=checkbox]),#vchat-crm-migration select{width:100%!important;min-width:0!important;max-width:100%!important;min-height:39px!important;padding:8px 10px!important;margin:0!important;background:#fff!important;border:1px solid #e2def2!important;border-radius:9px!important;color:#282449!important;font-size:12px!important}
#vchat-crm-migration .vchat-crm-migration-totals{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#vchat-crm-migration .vchat-crm-migration-totals>span{display:grid!important;gap:3px!important;background:#faf9ff!important;border:1px solid #ebe7fc!important;border-radius:12px!important;padding:13px!important}
#vchat-crm-migration .vchat-crm-migration-totals strong{font-size:22px!important;color:#5444c5!important}
#vchat-crm-migration .vchat-crm-migration-totals small{font-size:10px!important;line-height:1.4!important;color:#88819c!important}
#vchat-crm-migration .vchat-crm-migration-title{display:flex!important;gap:8px!important;align-items:center!important;justify-content:space-between!important}
#vchat-crm-migration .vchat-crm-migration-title strong{font-size:13px!important}
#vchat-crm-migration button{border:1px solid #dedafa!important;border-radius:9px!important;padding:8px 12px!important;min-height:36px!important;background:#f7f5ff!important;color:#5a49cc!important;font-size:11px!important;font-weight:800!important;cursor:pointer!important}
#vchat-crm-migration button.primary{background:#6555e8!important;color:#fff!important;border-color:#6555e8!important}
#vchat-crm-migration button:disabled{opacity:.5!important;cursor:not-allowed!important}
#vchat-crm-migration .vchat-crm-migration-map{display:grid!important;gap:7px!important;max-height:300px!important;overflow-y:auto!important;padding:2px!important}
#vchat-crm-migration .vchat-crm-migration-row{display:grid!important;grid-template-columns:minmax(0,1fr) 20px minmax(0,1.2fr)!important;gap:10px!important;align-items:center!important;border:1px solid #edeaf8!important;border-radius:10px!important;padding:10px!important;background:#fff!important}
#vchat-crm-migration .vchat-crm-migration-row>div{display:grid!important;gap:3px!important;min-width:0!important}
#vchat-crm-migration .vchat-crm-migration-row strong{font-size:11px!important;overflow-wrap:anywhere!important}
#vchat-crm-migration .vchat-crm-migration-row small{font-size:10px!important;color:#9289a8!important}
#vchat-crm-migration .vchat-crm-migration-row>span{text-align:center!important;color:#9389cd!important}
#vchat-crm-migration .vchat-crm-migration-scope{border:1px solid #e7e3f4!important;border-radius:11px!important;padding:12px!important;margin:0!important;display:grid!important;gap:9px!important}
#vchat-crm-migration .vchat-crm-migration-scope legend{padding:0 4px!important}
#vchat-crm-migration .vchat-crm-migration-scope label,#vchat-crm-migration .vchat-crm-migration-selection label{display:flex!important;align-items:center!important;gap:8px!important;font-weight:600!important}
#vchat-crm-migration input[type=checkbox],#vchat-crm-migration input[type=radio]{appearance:auto!important;width:16px!important;height:16px!important;flex-shrink:0!important;margin:0!important;accent-color:#6555e8!important}
#vchat-crm-migration .vchat-crm-migration-selection{display:grid!important;gap:8px!important;padding:12px!important;border:1px solid #e9e6f5!important;border-radius:11px!important}
#vchat-crm-migration .vchat-crm-migration-selection>small{font-size:10px!important;color:#8e86a6!important;line-height:1.4!important}
#vchat-crm-migration .vchat-crm-migration-selection>div{max-height:175px!important;overflow-y:auto!important;display:grid!important;gap:8px!important}
#vchat-crm-migration .vchat-crm-migration-empty{padding:22px!important;text-align:center!important;color:#817a9e!important;background:#f9f8ff!important;border:1px dashed #e4e1f3!important;border-radius:10px!important}
#vchat-crm-migration .vchat-crm-migration-error{color:#a63b57!important;font-size:11px!important}
#vchat-crm-migration .vchat-modal-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;padding:8px 0!important}
#vchat-crm-designer .vchat-crm-manager-migrate{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:1px solid #e1ddfb!important;border-radius:12px!important;background:#f7f5ff!important;padding:13px!important}
#vchat-crm-designer .vchat-crm-manager-migrate>div{display:grid!important;gap:5px!important;max-width:360px!important}
#vchat-crm-designer .vchat-crm-manager-migrate strong{font-size:12px!important}
#vchat-crm-designer .vchat-crm-manager-migrate small{color:#817a9b!important;font-size:10px!important;line-height:1.45!important}
@media(max-width:650px){#vchat-crm-migration .vchat-crm-migration-pair{grid-template-columns:1fr!important}#vchat-crm-migration .vchat-crm-migration-pair>span{padding:0!important}#vchat-crm-migration .vchat-crm-migration-row{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)!important;gap:5px!important;padding:8px!important}#vchat-crm-migration .vchat-crm-migration-row select{font-size:11px!important}#vchat-crm-designer .vchat-crm-manager-migrate{flex-wrap:wrap!important}#vchat-crm-designer .vchat-crm-manager-migrate>button{width:100%!important}}

/* 0.67.00: single-funnel replacement UX, scoped to the CRM modal only. */
#vchat-crm-designer .vchat-crm-single-current{display:grid;gap:5px;padding:14px 16px;border:1px solid #e7e2fb;border-radius:14px;background:#f8f7ff;margin-bottom:14px}
#vchat-crm-designer .vchat-crm-single-current span{color:#70668e;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#vchat-crm-designer .vchat-crm-single-current strong{font-size:16px;color:#242044}
#vchat-crm-designer .vchat-crm-single-current small{color:#77708d;font-size:12px}
#vchat-crm-designer .vchat-crm-replace-callout{display:flex;align-items:center;justify-content:space-between;gap:16px}
#vchat-crm-designer .vchat-crm-replace-callout p{font-size:12px;line-height:1.5;color:#6d6685;margin:6px 0 0}
#vchat-crm-designer .vchat-crm-replace-callout button{white-space:nowrap;padding:11px 14px;background:#5d50de;color:#fff;border:0;border-radius:11px;font-weight:750;cursor:pointer}
#vchat-crm-replacement{display:grid;gap:16px;padding:4px 0 2px}
#vchat-crm-replacement .vchat-crm-replacement-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#vchat-crm-replacement .vchat-crm-replacement-controls label{min-width:0;display:grid;gap:6px;font-size:12px;font-weight:700;color:#393357}
#vchat-crm-replacement .vchat-crm-replacement-controls select,#vchat-crm-replacement .vchat-crm-replacement-controls input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dfdaf4;background:#fff;border-radius:11px;padding:10px;color:#252043;font-size:13px}
#vchat-crm-replacement .vchat-crm-replacement-preview-btn{width:100%;border:1px solid #d9d2ff;background:#f4f1ff;color:#5949cd;border-radius:11px;padding:12px;font-size:13px;font-weight:800;cursor:pointer}
#vchat-crm-replacement .vchat-crm-migration-map{max-height:350px;overflow:auto}
#vchat-crm-replacement .vchat-crm-migration-row>div{min-width:0}
#vchat-crm-replacement .vchat-crm-migration-row select{max-width:100%;min-width:0}
#vchat-crm-replacement .vchat-modal-actions{display:flex;gap:10px;justify-content:flex-end}
@media(max-width:680px){#vchat-crm-designer .vchat-crm-replace-callout{flex-direction:column;align-items:stretch}#vchat-crm-replacement .vchat-crm-replacement-controls{grid-template-columns:1fr}#vchat-crm-replacement .vchat-crm-migration-row{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}}

/* 0.67.01: professional replacement wizard. Every selector is scoped to this modal.
   Earlier generic form styles and the legacy migration assistant cannot affect it. */
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-dialog{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:min(860px,calc(100vw - 44px))!important;max-width:860px!important;
  max-height:min(90dvh,920px)!important;overflow:hidden!important;
  padding:0!important;border-radius:22px!important;border:1px solid #e7e4f4!important;
  background:#fff!important;box-shadow:0 30px 100px rgba(25,19,69,.20)!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-head{
  flex:0 0 auto!important;position:relative!important;z-index:5!important;
  padding:22px 26px!important;margin:0!important;min-height:74px!important;
  background:#fff!important;border-bottom:1px solid #ece9f5!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-head strong{
  font-size:19px!important;line-height:1.35!important;font-weight:800!important;letter-spacing:-.025em!important;color:#211c38!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-head button{
  display:grid!important;place-items:center!important;min-width:36px!important;width:36px!important;height:36px!important;
  padding:0!important;border:1px solid #ece8f7!important;border-radius:11px!important;
  background:#f8f7fd!important;color:#6654c3!important;font-size:22px!important;line-height:1!important;cursor:pointer!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-body{
  flex:1 1 auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;scrollbar-gutter:stable!important;background:#fbfaff!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement *{
  box-sizing:border-box!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement{
  display:grid!important;gap:16px!important;min-width:0!important;padding:22px 26px 0!important;
  color:#302a49!important;font-size:13px!important;line-height:1.5!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement p{
  margin:0!important;line-height:1.5!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-intro{
  display:flex!important;align-items:flex-start!important;gap:13px!important;padding:15px 17px!important;
  border:1px solid #e4defd!important;border-radius:15px!important;background:linear-gradient(110deg,#f5f2ff,#faf9ff)!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-icon{
  display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;
  border-radius:11px!important;background:#e7e0ff!important;color:#5c46c9!important;font-size:21px!important;font-weight:900!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-intro>div:last-child{
  min-width:0!important;display:grid!important;gap:4px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-intro strong{
  color:#3d327c!important;font-size:13px!important;font-weight:850!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-intro p{
  color:#726b89!important;font-size:12px!important;line-height:1.55!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section{
  display:grid!important;gap:15px!important;padding:20px!important;background:#fff!important;
  border:1px solid #eae7f4!important;border-radius:17px!important;
  box-shadow:0 3px 15px rgba(49,38,95,.025)!important;min-width:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section-head{
  display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0!important;
  padding:0 0 14px!important;margin:0!important;border-bottom:1px solid #f0edf7!important;
  background:transparent!important;position:static!important;width:auto!important;height:auto!important;visibility:visible!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-step{
  display:grid!important;place-items:center!important;flex:0 0 31px!important;width:31px!important;height:31px!important;
  padding:0!important;border-radius:10px!important;background:#ede9ff!important;color:#5b49d8!important;
  font-size:12px!important;font-weight:900!important;letter-spacing:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section-head>div{
  display:grid!important;gap:2px!important;min-width:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section-head h3{
  margin:0!important;padding:0!important;color:#292440!important;font-size:15px!important;line-height:1.4!important;font-weight:850!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section-head p{
  font-size:11px!important;color:#8a829f!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-controls{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;
  align-items:end!important;min-width:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement label{
  display:grid!important;gap:7px!important;min-width:0!important;margin:0!important;padding:0!important;
  font-size:12px!important;line-height:1.35!important;font-weight:750!important;color:#49415f!important;
  background:none!important;letter-spacing:0!important;text-transform:none!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement input,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement select{
  box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:44px!important;min-height:44px!important;margin:0!important;padding:0 13px!important;
  border:1px solid #ded9ef!important;border-radius:11px!important;background:#fff!important;
  color:#2c2646!important;font-size:13px!important;line-height:1.3!important;font-weight:550!important;
  box-shadow:none!important;outline:none!important;text-transform:none!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement input:focus,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement select:focus{
  border-color:#8370ee!important;box-shadow:0 0 0 3px rgba(102,84,232,.11)!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement input::placeholder{color:#a19bb3!important}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-field-name{
  grid-column:1/-1!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  min-height:39px!important;padding:9px 14px!important;margin:0!important;
  border:1px solid #dbd5f7!important;border-radius:11px!important;
  background:#f6f4ff!important;color:#5c4acf!important;font-size:12px!important;font-weight:800!important;
  line-height:1.35!important;white-space:normal!important;text-align:center!important;cursor:pointer!important;
  box-shadow:none!important;transition:background .16s,border-color .16s,box-shadow .16s!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement button:hover:not(:disabled){
  background:#ece7ff!important;border-color:#c7bdff!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement button:focus-visible{
  outline:3px solid rgba(101,84,232,.30)!important;outline-offset:2px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-preview-btn{
  width:100%!important;background:#f3f0ff!important;color:#5845c5!important;border-color:#ded7ff!important;
  min-height:43px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-preview-btn span{
  font-size:17px!important;line-height:1!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-placeholder,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-empty{
  display:flex!important;align-items:center!important;gap:12px!important;padding:20px!important;
  border:1px dashed #d9d2f8!important;border-radius:14px!important;background:#faf9ff!important;
  color:#756f89!important;font-size:12px!important;line-height:1.6!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-placeholder span{
  color:#6554de!important;font-size:23px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
  padding:0!important;margin:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals>div{
  display:grid!important;align-content:center!important;gap:3px!important;min-width:0!important;
  padding:15px 16px!important;background:#f7f5ff!important;border:1px solid #e8e3fc!important;border-radius:13px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals strong{
  color:#5140bd!important;font-weight:850!important;font-size:26px!important;line-height:1.1!important;letter-spacing:-.035em!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals span{
  color:#7c748f!important;font-size:11px!important;line-height:1.4!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-title{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  min-width:0!important;padding:0!important;margin:2px 0 0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-title strong{
  color:#332c4f!important;font-size:13px!important;font-weight:850!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-note{
  margin:0!important;color:#868097!important;font-size:11px!important;line-height:1.5!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-map{
  display:grid!important;gap:9px!important;max-height:none!important;min-width:0!important;
  overflow:visible!important;padding:2px!important;margin:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) 32px minmax(0,1.12fr)!important;
  align-items:center!important;gap:14px!important;min-width:0!important;
  padding:14px 15px!important;margin:0!important;border:1px solid #e9e6f3!important;
  border-radius:12px!important;background:#fff!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-source{
  display:grid!important;gap:4px!important;min-width:0!important;align-content:center!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-eyebrow,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-target>span{
  display:block!important;color:#89829e!important;font-size:9px!important;font-weight:850!important;
  line-height:1.3!important;letter-spacing:.075em!important;text-transform:uppercase!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-source strong{
  color:#292440!important;font-size:14px!important;font-weight:800!important;line-height:1.3!important;overflow-wrap:anywhere!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-source small{
  display:block!important;color:#918a9f!important;font-size:10px!important;line-height:1.45!important;overflow-wrap:anywhere!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-arrow{
  display:grid!important;place-items:center!important;background:#f2efff!important;color:#6250ce!important;
  width:32px!important;height:32px!important;border-radius:50%!important;
  font-size:18px!important;font-weight:900!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-target{
  min-width:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-target select{
  background:#fbfaff!important;border-color:#dcd6ef!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-error{
  display:block!important;color:#a3374e!important;background:#fff3f4!important;padding:12px!important;
  border:1px solid #f6cdd1!important;border-radius:11px!important;font-size:12px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-warning.is-muted{
  display:grid!important;gap:5px!important;padding:13px 15px!important;background:#f5faf7!important;
  border:1px solid #dcece2!important;border-radius:12px!important;margin:0!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-warning.is-muted strong{
  color:#326b50!important;font-size:12px!important;line-height:1.4!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-warning.is-muted span{
  color:#6b8374!important;font-size:11px!important;line-height:1.55!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-confirm{
  display:grid!important;gap:8px!important;max-width:390px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-confirm b{
  color:#5542c7!important;letter-spacing:.015em!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-footer-note{
  margin-right:auto!important;display:flex!important;align-items:center!important;gap:7px!important;
  color:#77718c!important;font-size:11px!important;font-weight:650!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-footer-note span{
  color:#50a97a!important;font-size:13px!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement .vchat-modal-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;
  margin:0 -26px!important;padding:15px 26px!important;min-height:73px!important;
  position:sticky!important;bottom:0!important;z-index:6!important;
  background:rgba(255,255,255,.98)!important;border-top:1px solid #eae7f4!important;
  box-shadow:0 -7px 20px rgba(36,28,79,.04)!important;backdrop-filter:blur(10px)!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement .vchat-modal-actions button{
  min-height:42px!important;padding:10px 17px!important;background:#f5f4fa!important;
  border-color:#ebe8f4!important;color:#39344f!important;font-size:12px!important;white-space:nowrap!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement .vchat-modal-actions button.primary{
  background:#6555e8!important;border-color:#6555e8!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(88,70,201,.17)!important
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement button:disabled{
  opacity:.53!important;cursor:not-allowed!important;box-shadow:none!important
}
@media(max-width:720px){
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement{
    align-items:flex-end!important;padding:0!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-dialog{
    width:100%!important;max-width:100%!important;max-height:94dvh!important;
    border-radius:22px 22px 0 0!important;border-bottom:0!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-head{
    min-height:64px!important;padding:16px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-modal-head strong{
    font-size:16px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement{
    padding:16px 14px 0!important;gap:12px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-section{
    padding:15px!important;gap:14px!important;border-radius:14px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-controls{
    grid-template-columns:minmax(0,1fr)!important;gap:11px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-field-name{grid-column:auto!important}
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-row{
    grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:12px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-arrow{
    width:26px!important;height:26px!important;font-size:16px!important;transform:rotate(90deg)!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-title{
    flex-wrap:wrap!important;align-items:flex-start!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals strong{
    font-size:21px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-migration-totals>div{
    padding:12px!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement .vchat-modal-actions{
    margin:0 -14px!important;padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important;
    min-height:66px!important;display:grid!important;grid-template-columns:1fr 1.4fr!important
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement .vchat-crm-replacement-footer-note{display:none!important}
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-replacement #vchat-crm-replacement .vchat-modal-actions button{
    width:100%!important;min-width:0!important;white-space:normal!important
  }
}
 
/* Vchat 0.67.02 | Editor de etapas: rejilla fluida y acciones completas.
   Aislado al modal del administrador del embudo. No afecta Inbox ni al
   asistente de sustitucion, controles de WordPress ni otros formularios. */
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer{
  padding:20px!important;
  justify-items:center!important;
  align-items:center!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-dialog{
  display:flex!important;
  flex-direction:column!important;
  width:min(860px,calc(100vw - 40px))!important;
  max-width:860px!important;
  max-height:min(90dvh,850px)!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #e6e2f5!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 24px 74px rgba(28,23,76,.23)!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-head{
  display:flex!important;
  flex:0 0 auto!important;
  padding:19px 24px!important;
  border-bottom:1px solid #eeeaf9!important;
  background:#fff!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-head strong{
  font-size:18px!important;
  letter-spacing:-.02em!important;
  color:#252441!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-body{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  width:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:22px 24px 0!important;
  scrollbar-width:thin!important;
  overscroll-behavior:contain!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer #vchat-crm-designer{
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  gap:16px!important;
  padding:0!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer #vchat-crm-designer label{
  min-width:0!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#474365!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer #vchat-crm-designer input,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer #vchat-crm-designer select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:41px!important;
  min-height:41px!important;
  margin:0!important;
  padding:8px 12px!important;
  border:1px solid #dedcf1!important;
  border-radius:10px!important;
  font-size:13px!important;
  line-height:1.3!important;
  color:#2c2948!important;
  background:#fff!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer #vchat-crm-designer :is(input,select):focus-visible{
  outline:2px solid #8a7afa!important;
  outline-offset:1px!important;
  border-color:#8a7afa!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-manager-head{
  gap:12px!important;
  padding:2px 0!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-manager-head strong{
  font-size:15px!important;
  color:#29264b!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-editor-list{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0 0 4px!important;
  margin:0!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-editor-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:15px 17px 17px!important;
  align-items:stretch!important;
  border:1px solid #e5e2f3!important;
  border-radius:15px!important;
  box-shadow:0 3px 12px rgba(39,32,95,.035)!important;
  background:#fff!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-editor-row:focus-within{
  border-color:#c5bdfc!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-head{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #f0edf9!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-index{
  display:grid!important;
  flex:0 0 30px!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  background:#f0edff!important;
  color:#6150cf!important;
  font-size:12px!important;
  font-weight:850!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-heading{
  display:grid!important;
  flex:1 1 auto!important;
  gap:2px!important;
  min-width:0!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-heading strong{
  font-size:13px!important;
  font-weight:800!important;
  color:#29264b!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-heading small{
  color:#9290a7!important;
  font-size:10px!important;
  font-weight:500!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder{
  display:flex!important;
  flex:0 0 auto!important;
  grid-column:auto!important;
  justify-content:flex-end!important;
  gap:6px!important;
  margin:0!important;
  min-width:0!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder button{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 36px!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #dcd7f6!important;
  border-radius:10px!important;
  background:#f7f5ff!important;
  color:#5e50cf!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:700!important;
  cursor:pointer!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder button[data-crm-stage-remove]{
  border-color:#f5dadd!important;
  background:#fff4f5!important;
  color:#bd5365!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder button:disabled{
  opacity:.37!important;
  cursor:not-allowed!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-fields{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1.2fr) minmax(88px,.55fr) minmax(68px,.38fr)!important;
  gap:12px!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  align-items:end!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-fields > label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:0!important;
  width:100%!important;
  grid-column:auto!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-fields > label.vchat-crm-stage-description{
  grid-column:1/-1!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-field-color input[type=color]{
  display:block!important;
  padding:5px!important;
  min-width:0!important;
  width:100%!important;
  cursor:pointer!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  padding:15px 0 16px!important;
  margin-top:4px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.97),#fff 25%)!important;
  border-top:1px solid #eeeaf8!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-actions button{
  min-height:42px!important;
  padding:9px 16px!important;
  font-size:12px!important;
  border-radius:10px!important;
}
@media (max-width:700px){
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer{
    align-items:end!important;
    padding:0!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-dialog{
    width:100%!important;
    max-width:none!important;
    max-height:94dvh!important;
    border-radius:22px 22px 0 0!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-head{
    padding:15px 17px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-head strong{
    font-size:16px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-body{
    padding:17px 15px 0!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-editor-row{
    padding:12px!important;
    gap:11px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-head{
    gap:8px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-heading small{
    display:none!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder{
    gap:5px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder button{
    flex-basis:34px!important;
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-fields{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-field-name,
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-field-semantic,
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-description{
    grid-column:1/-1!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-modal-actions{
    padding-bottom:max(15px,env(safe-area-inset-bottom))!important;
  }
}
@media (max-width:360px){
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-card-heading strong{
    font-size:12px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.is-crm-designer .vchat-crm-stage-reorder button{
    flex-basis:32px!important;width:32px!important;min-width:32px!important;height:34px!important;
  }
}
