#leadDrawerModal {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.drawer-window {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.4);
}

/* ПОЛНОЕ УНИЧТОЖЕНИЕ СИСТЕМНЫХ ПОЛОС ПРОКРУТКИ WINDOWS (СКРИНШОТ 2) */
.drawer-window * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.drawer-window *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ШЕВРОНЫ ЭТАПОВ БИТРИКС24 */
.b24-stage-tracker {
  display: flex;
  align-items: center;
  gap: 2px;
}

.b24-chevron-step {
  position: relative;
  height: 32px;
  line-height: 32px;
  padding: 0 16px 0 24px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%, 10px 50%);
  transition: all 0.2s ease;
  user-select: none;
}

.b24-chevron-step:first-child {
  padding-left: 14px;
  clip-path: polygon(0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.b24-chevron-step:last-child {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10px 50%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.b24-chevron-step.step-active {
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.b24-chevron-step.step-past {
  opacity: 0.85;
  color: #ffffff !important;
}

.b24-chevron-step.step-future {
  background: rgba(0, 0, 0, 0.06);
  color: #64748b !important;
}
[data-theme="dark"] .b24-chevron-step.step-future {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8 !important;
}

/* СВЕТЛАЯ ТЕМА */
[data-theme="light"] .drawer-window {
  background: #fcfaf6 !important;
  border: 1px solid #dcd4c6 !important;
  color: #0f172a !important;
}

[data-theme="light"] .drawer-window .w-\[40\%\] {
  background: #f5efe6 !important;
  border-right: 1px solid #e2dacd !important;
}

[data-theme="light"] .drawer-window .w-\[60\%\] {
  background: #fcfaf6 !important;
}

[data-theme="light"] .drawer-window input,
[data-theme="light"] .drawer-window select {
  background: #ffffff !important;
  border: 1px solid #d5cbbe !important;
  color: #0f172a !important;
}

[data-theme="light"] #drawerTitleText {
  color: #0f172a !important;
}

/* ЗАМЕТКИ */
.bubble-comment-card {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 12px;
  margin: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
[data-theme="light"] .bubble-comment-card {
  background: #fffbeb !important;
  border: 1.5px solid #f59e0b !important;
  color: #451a03 !important;
}
[data-theme="dark"] .bubble-comment-card {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  color: #fef3c7 !important;
}

/* ТАЙМЛАЙН */
.timeline-system-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
}
[data-theme="light"] .timeline-system-pill {
  background: #e2e8f0 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}
[data-theme="dark"] .timeline-system-pill {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border: 1px solid #334155 !important;
}