.crm-window {
  --crm-text: #f2f4ff;
  --crm-muted: #a3afc9;
  --crm-line: rgba(126, 146, 192, .16);
  container-type: inline-size;
  container-name: product;
  display: grid;
  grid-template-columns: 6.8% minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(169, 180, 233, .53);
  border-radius: 22px;
  color: var(--crm-text);
  background: linear-gradient(130deg, #111b25 0%, #0c1620 49%, #0c1427 100%);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: .875rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(118, 128, 188, .05), 0 8px 32px rgba(0, 0, 0, .2);
  isolation: isolate;
}
.crm-window *, .crm-window *::before, .crm-window *::after { box-sizing: border-box; }
.crm-window p, .crm-window h2, .crm-window h3 { margin: 0; }
.crm-window .icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.crm-rail { display: flex; flex-direction: column; align-items: stretch; grid-row: 1 / -1; padding: 22px 0 18px; border-right: 1px solid var(--crm-line); background: linear-gradient(180deg, rgba(5, 14, 22, .2), rgba(3, 13, 23, .45)); }
.crm-symbol { display: block; width: 28px; height: 34px; object-fit: contain; margin: 0 auto 16px; }
.crm-rail-items { display: flex; flex-direction: column; gap: 5px; }
.crm-rail-item { min-width: 0; min-height: 68px; padding: 10px 3px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: #c0cadf; font-size: clamp(.48rem, 1.04cqi, .68rem); text-align: center; }
.crm-rail-item .icon { width: 20px; height: 20px; }
.crm-rail-item.is-current { color: #8e81ff; background: linear-gradient(90deg, rgba(70, 84, 255, .25), rgba(63, 64, 203, .12)); box-shadow: inset 3px 0 #5176ff; }
.crm-rail-item.is-current .icon { stroke-width: 2.6; filter: drop-shadow(0 0 7px rgba(95, 80, 255, .35)); }
.crm-rail-operation { margin-top: auto; font-size: clamp(.44rem, .94cqi, .63rem); }
.crm-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; min-height: 73px; padding: 16px 21px; border-bottom: 1px solid var(--crm-line); background: rgba(14, 21, 33, .4); }
.crm-workspace-name { display: flex; align-items: center; gap: 22px; min-width: 0; white-space: nowrap; }
.crm-workspace-name strong { font-size: clamp(.78rem, 1.7cqi, 1.04rem); letter-spacing: -.04em; }
.crm-workspace-name > span { display: flex; align-items: center; gap: 9px; color: #c6cde0; font-size: clamp(.6rem, 1.23cqi, .79rem); }
.crm-workspace-name .icon { width: 13px; height: 13px; transform: rotate(90deg); }
.crm-topbar-tools { display: flex; align-items: center; gap: 19px; color: #adb9db; }
.crm-search { display: flex; align-items: center; gap: 8px; min-width: 0; width: 245px; padding: 9px 11px; background: rgba(90, 111, 153, .12); border: 1px solid rgba(120, 144, 199, .19); border-radius: 9px; color: #94a2bd; font-size: clamp(.57rem, 1.1cqi, .71rem); }
.crm-search .icon { width: 15px; height: 15px; }
.crm-search kbd { margin-left: auto; padding: 1px 4px; color: #a5b1cb; background: rgba(62, 76, 111, .19); border-radius: 3px; font: inherit; }
.crm-user { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e6ecff; color: #1b2341; font-size: 12px; font-weight: 600; }
.crm-user-chevron { width: 13px !important; height: 13px !important; transform: rotate(90deg); }
.crm-workspace { min-width: 0; display: grid; grid-template-columns: minmax(0, 25.3fr) minmax(0, 43.5fr) minmax(0, 31.2fr); }
.crm-conversations { min-width: 0; padding: 21px 11px 15px; border-right: 1px solid var(--crm-line); }
.crm-conversations-title { display: flex; align-items: center; gap: 9px; padding: 0 4px; }
.crm-conversations-title h2 { font-size: clamp(.73rem, 1.51cqi, .96rem); font-weight: 650; letter-spacing: -.04em; }
.crm-count { padding: 1px 4px; border-radius: 4px; font-size: clamp(.55rem, 1.1cqi, .71rem); color: #dde6ff; background: rgba(85, 106, 145, .13); }
.crm-conversation-tabs { display: flex; align-items: stretch; gap: 6px; margin: 17px 0 12px; }
.crm-conversation-tabs > span { display: grid; flex: 1; place-items: center; border: 1px solid rgba(105, 123, 164, .06); border-radius: 7px; padding: 9px 3px; background: rgba(91, 113, 154, .10); color: #c5cede; font-size: clamp(.5rem, 1.04cqi, .66rem); white-space: nowrap; }
.crm-conversation-tabs > .is-active { background: #203e9d; color: #fff; border-color: #324eac; }
.crm-contact { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 88px; padding: 11px 5px; border-bottom: 1px solid var(--crm-line); }
.crm-contact.is-selected { padding: 12px 7px; margin: 0 -4px; border: 1px solid rgba(114, 139, 235, .22); border-radius: 8px; background: linear-gradient(110deg, rgba(42, 78, 169, .72), rgba(37, 57, 115, .48)); box-shadow: inset 3px 0 rgba(79, 110, 255, .5); }
.crm-contact > img { width: 43px; height: 48px; object-fit: cover; object-position: center 32%; border-radius: 50%; border: 1px solid rgba(205, 218, 250, .5); }
.crm-contact-content { align-self: center; min-width: 0; }
.crm-contact-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.crm-contact-name strong { font-size: clamp(.64rem, 1.24cqi, .8rem); font-weight: 600; white-space: nowrap; letter-spacing: -.035em; }
.crm-contact-name .icon { width: 14px; height: 14px; }
.crm-contact-content p { color: #bac7e3; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(.52rem, 1.05cqi, .68rem); }
.crm-contact > time, .crm-contact-meta { font-size: clamp(.49rem, 1cqi, .64rem); color: #a5b3cf; align-self: start; padding-top: 6px; white-space: nowrap; }
.crm-contact-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.crm-contact-meta .icon { width: 15px; height: 15px; }
.crm-whatsapp { color: #6edb95; }
.crm-instagram { color: #d181ed; }
.crm-chat { min-width: 0; display: flex; flex-direction: column; padding: 0 15px 17px; border-right: 1px solid var(--crm-line); }
.crm-chat-header { min-width: 0; min-height: 83px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--crm-line); }
.crm-chat-header > img { width: 44px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 32%; border: 1px solid rgba(219, 226, 253, .3); }
.crm-chat-person { min-width: 0; }
.crm-chat-person h2 { font-size: clamp(.78rem, 1.52cqi, .98rem); font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.crm-chat-person > span { display: flex; align-items: center; gap: 6px; color: #c1cce3; font-size: clamp(.55rem, 1.12cqi, .72rem); margin-top: 3px; white-space: nowrap; }
.crm-chat-person i { display: inline-block; width: 7px; height: 7px; background: #6cdd9d; border-radius: 50%; box-shadow: 0 0 7px rgba(80, 220, 140, .13); }
.crm-chat-tools { margin-left: auto; display: flex; align-items: center; gap: 17px; color: #c2cdea; }
.crm-chat-tools .icon { width: 18px; height: 18px; }
.crm-chat-content { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 21px 0 19px; }
.crm-chat-message { display: flex; flex-direction: column; align-items: flex-start; }
.crm-chat-message > p { width: fit-content; max-width: 95%; padding: 12px 14px; background: #243244; border: 1px solid rgba(107, 131, 176, .05); border-radius: 12px 12px 12px 3px; color: #f4f6ff; font-size: clamp(.72rem, 1.4cqi, .91rem); letter-spacing: -.025em; line-height: 1.55; }
.crm-chat-message > time { margin-top: 4px; font-size: clamp(.53rem, 1.05cqi, .68rem); color: #8f9ebd; }
.crm-chat-message.is-outgoing { align-items: flex-end; margin: 0 0 2px 12px; }
.crm-chat-message.is-outgoing > p { background: linear-gradient(120deg, #2352d7, #1c51e7); border-color: rgba(95, 140, 255, .3); border-radius: 12px 12px 3px 12px; box-shadow: 0 4px 18px rgba(10, 44, 138, .15); }
.crm-message-check { color: #608cff; font-size: 13px; margin-left: 2px; letter-spacing: -.24em; }
.crm-appointment { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; padding: 14px 12px; margin-top: auto; border: 1px solid rgba(120, 144, 191, .17); border-radius: 11px; background: linear-gradient(120deg, rgba(37, 56, 93, .3), rgba(31, 44, 62, .1)); box-shadow: inset 0 1px rgba(127, 149, 197, .035); }
.crm-appointment > .icon { color: #4a7dff; width: 27px; height: 27px; filter: drop-shadow(0 0 6px rgba(71, 112, 255, .17)); }
.crm-appointment > div { display: flex; flex-direction: column; gap: 2px; }
.crm-appointment strong { font-size: clamp(.7rem, 1.42cqi, .91rem); font-weight: 600; letter-spacing: -.03em; }
.crm-appointment > div > span { font-size: clamp(.5rem, 1.01cqi, .65rem); color: #a5b2d0; }
.crm-confirmed { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 8px 7px; white-space: nowrap; background: linear-gradient(120deg, rgba(51, 131, 83, .24), rgba(39, 99, 74, .17)); border: 1px solid rgba(111, 194, 128, .3); border-radius: 8px; color: #a0eab1; font-size: clamp(.44rem, .92cqi, .59rem); }
.crm-confirmed .icon { width: 16px; height: 16px; }
.crm-stage-preview { border-top: 1px solid var(--crm-line); padding: 13px 0 15px; }
.crm-stage-preview > p { color: #a6b4d1; font-size: clamp(.52rem, 1.03cqi, .66rem); }
.crm-steps { display: grid; grid-template-columns: 1fr 1.2fr .82fr; margin-top: 11px; }
.crm-step { position: relative; min-width: 0; }
.crm-step:not(:last-child)::after { content: ""; position: absolute; height: 1px; background: #7086bb; left: 30px; right: 6px; top: 14px; }
.crm-step:nth-child(2)::after { background: linear-gradient(90deg, #7189c0, #406cff); }
.crm-step > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #26374d; color: #c8d6f5; font-size: 14px; font-weight: 600; }
.crm-step > span .icon { width: 15px; height: 15px; }
.crm-step > p { margin-top: 6px; color: #b9c7e3; font-size: clamp(.5rem, 1.04cqi, .67rem); white-space: nowrap; }
.crm-step.is-active > span { color: #fff; background: #3465ff; box-shadow: 0 0 15px rgba(50, 99, 255, .7); }
.crm-step.is-active > p { color: #6a96ff; font-weight: 600; }
.crm-composer { display: flex; align-items: center; gap: 12px; min-height: 43px; border: 1px solid rgba(114, 136, 184, .26); border-radius: 8px; overflow: hidden; background: rgba(22, 32, 49, .53); color: #b9c6e4; }
.crm-composer-attachment { display: grid; place-items: center; align-self: stretch; width: 37px; border-right: 1px solid rgba(116, 139, 189, .2); }
.crm-composer-attachment .icon { width: 18px; height: 18px; }
.crm-composer-placeholder { color: #7687aa; font-size: clamp(.58rem, 1.16cqi, .75rem); flex: 1; white-space: nowrap; }
.crm-composer > .icon { width: 18px; height: 18px; }
.crm-composer-send { display: grid; place-items: center; align-self: stretch; width: 41px; color: #fff; background: #2e61fa; }
.crm-composer-send .icon { width: 20px; height: 20px; }
.crm-insights { display: flex; flex-direction: column; min-width: 0; padding: 23px 17px 17px; background: linear-gradient(180deg, rgba(21, 24, 51, .13), rgba(14, 21, 46, .23)); }
.crm-insights-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 21px; }
.crm-insights-header > .icon { color: #8870ff; width: 25px; height: 25px; margin-top: 1px; }
.crm-insights-header h2 { font-size: clamp(.84rem, 1.7cqi, 1.09rem); font-weight: 650; letter-spacing: -.035em; }
.crm-insights-header p { color: #b9c4e3; margin-top: 1px; font-size: clamp(.57rem, 1.17cqi, .75rem); white-space: nowrap; }
.crm-insight-card { padding: 17px 15px 18px; margin-bottom: 14px; border: 1px solid rgba(154, 164, 213, .22); border-left-width: 2px; border-radius: 11px; background: rgba(94, 105, 134, .12); }
.crm-insight-card h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(.68rem, 1.39cqi, .9rem); font-weight: 600; letter-spacing: -.025em; }
.crm-insight-card h3 .icon { width: 19px; height: 19px; }
.crm-insight-card > p { margin-top: 10px; font-size: clamp(.71rem, 1.42cqi, .92rem); line-height: 1.62; letter-spacing: -.025em; }
.crm-insight-opus { border-left-color: #f4b665; background: linear-gradient(120deg, rgba(100, 75, 63, .17), rgba(50, 48, 72, .2)); }
.crm-insight-opus h3 { color: #f6bd77; }
.crm-insight-sol { border-left-color: #a1e79e; background: linear-gradient(120deg, rgba(61, 91, 70, .12), rgba(44, 64, 71, .16)); }
.crm-insight-sol h3 { color: #afe8a8; }
.crm-insight-improvement { border-left-color: #a679ff; background: linear-gradient(120deg, rgba(87, 58, 148, .18), rgba(49, 50, 123, .29)); }
.crm-insight-improvement h3 { color: #ac8cff; }
.crm-review-proposal { display: flex; align-items: center; gap: 10px; padding: 15px 14px; margin-top: 1px; border: 1px solid rgba(137, 159, 226, .38); border-radius: 11px; background: rgba(66, 83, 137, .12); color: #e1e9ff; font-size: clamp(.66rem, 1.32cqi, .85rem); }
.crm-review-proposal > .icon:last-child { margin-left: auto; width: 14px; height: 14px; }
.crm-human-decision { display: flex; align-items: center; gap: 9px; margin-top: 19px !important; color: #a7b3d0; font-size: clamp(.6rem, 1.22cqi, .79rem); }
.crm-human-decision > .icon { color: #79d79a; border: 1px solid #79d79a; border-radius: 50%; padding: 2px; width: 17px; height: 17px; }
.crm-illustrative { margin-top: auto !important; padding-top: 25px; color: #7f8ba9; font-size: clamp(.48rem, 1cqi, .65rem); text-align: right; }

@container product (min-width: 881px) {
  .crm-contact { grid-template-columns: 43px minmax(0, 1fr); position: relative; }
  .crm-contact > time, .crm-contact-meta { position: absolute; top: 11px; right: 7px; }
  .crm-contact-meta { gap: 9px; }
  .crm-contact-name { padding-right: 38px; }
  .crm-contact:not(.is-selected) .crm-contact-content p { padding-right: 20px; }
}

@container product (max-width: 880px) {
  .crm-workspace-name { gap: 14px; }
  .crm-topbar { padding: 14px 16px; gap: 12px; }
  .crm-topbar-tools { gap: 13px; }
  .crm-search { width: 188px; }
  .crm-search kbd { display: none; }
  .crm-contact { grid-template-columns: 33px minmax(0, 1fr); gap: 8px; position: relative; }
  .crm-contact > img { width: 33px; height: 39px; }
  .crm-contact > time, .crm-contact-meta { position: absolute; right: 5px; bottom: 7px; padding: 0; }
  .crm-contact-meta .icon { display: none; }
  .crm-contact-content p { margin-right: 4px; }
  .crm-chat { padding-left: 12px; padding-right: 12px; }
  .crm-chat-tools { gap: 10px; }
  .crm-chat-tools > .icon:nth-child(2) { display: none; }
  .crm-insights { padding-left: 13px; padding-right: 13px; }
  .crm-insight-card { padding-left: 12px; padding-right: 12px; }
  .crm-appointment { gap: 8px; }
  .crm-confirmed { margin-left: 35px; padding: 6px 7px; }
}

@container product (max-width: 650px) {
  .crm-symbol { width: 24px; height: 29px; margin-bottom: 13px; }
  .crm-rail { padding-top: 18px; padding-bottom: 13px; }
  .crm-rail-item { min-height: 60px; padding: 9px 2px; gap: 6px; font-size: .55rem; }
  .crm-rail-item .icon { width: 19px; height: 19px; }
  .crm-rail-operation { font-size: .5rem; }
  .crm-topbar { min-height: 65px; padding: 13px 14px; }
  .crm-workspace-name { display: block; }
  .crm-workspace-name strong { font-size: .88rem; letter-spacing: -.035em; }
  .crm-workspace-name > span { margin-top: 3px; font-size: .61rem; }
  .crm-topbar-tools { gap: 11px; }
  .crm-topbar-tools .crm-search, .crm-topbar-tools .crm-bell, .crm-topbar-tools .crm-user-chevron { display: none; }
  .crm-user { width: 30px; height: 30px; font-size: 10px; }
  .crm-workspace { grid-template-columns: minmax(0, 1fr); }
  .crm-conversations { padding: 11px 14px 10px; border-right: 0; border-bottom: 1px solid var(--crm-line); }
  .crm-conversations-title h2 { font-size: .75rem; }
  .crm-count { font-size: .6rem; }
  .crm-conversation-tabs { margin: 10px 0 11px; max-width: 250px; }
  .crm-conversation-tabs > span { padding: 6px 8px; font-size: .61rem; }
  .crm-contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .crm-contact { display: flex; min-height: 60px; padding: 8px 6px; gap: 7px; border: 1px solid var(--crm-line); border-radius: 7px; }
  .crm-contact.is-selected { margin: 0; padding: 8px 6px; }
  .crm-contact > img { width: 25px; height: 29px; }
  .crm-contact-name { gap: 3px; }
  .crm-contact-name strong { font-size: .58rem; white-space: normal; line-height: 1.25; }
  .crm-contact-name > .icon { display: none; }
  .crm-contact-content p, .crm-contact > time, .crm-contact-meta { display: none; }
  .crm-chat { padding: 0 14px 15px; border-right: 0; border-bottom: 1px solid var(--crm-line); }
  .crm-chat-header { min-height: 73px; }
  .crm-chat-header > img { width: 35px; height: 39px; }
  .crm-chat-person h2 { font-size: .85rem; }
  .crm-chat-person > span { font-size: .65rem; }
  .crm-chat-tools { gap: 15px; }
  .crm-chat-content { padding: 18px 0; gap: 11px; }
  .crm-chat-message > p { font-size: .82rem; padding: 10px 12px; }
  .crm-chat-message > time { font-size: .61rem; }
  .crm-appointment { margin-top: 8px; padding: 12px 10px; }
  .crm-appointment strong { font-size: .78rem; }
  .crm-appointment > div > span { font-size: .58rem; }
  .crm-confirmed { margin-left: auto; font-size: .55rem; }
  .crm-stage-preview > p { font-size: .62rem; }
  .crm-step > p { font-size: .59rem; }
  .crm-composer-placeholder { font-size: .66rem; }
  .crm-insights { padding: 20px 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .crm-insights-header { grid-column: 1 / -1; gap: 9px; margin-bottom: 5px; }
  .crm-insights-header h2 { font-size: 1rem; }
  .crm-insights-header p { font-size: .68rem; }
  .crm-insight-card { margin: 0; padding: 13px 11px; }
  .crm-insight-card h3 { gap: 7px; font-size: .73rem; }
  .crm-insight-card > p { font-size: .76rem; line-height: 1.55; margin-top: 7px; }
  .crm-insight-improvement { grid-column: 1 / -1; }
  .crm-review-proposal { font-size: .7rem; padding: 12px; margin: 0; }
  .crm-human-decision { font-size: .63rem; margin-top: 0 !important; }
  .crm-illustrative { grid-column: 1 / -1; padding: 3px 0 0; font-size: .55rem; }
}

@media (max-width: 700px) {
  .crm-window { min-height: 0; grid-template-columns: 56px minmax(0, 1fr); border-radius: 17px; }
}
