html.dark { background-color: rgb(10, 10, 10) !important; }
html.dark, html.dark body { color: rgb(237, 237, 237); color-scheme: dark; background-color: rgb(10, 10, 10) !important; }
html.dark .theme, html.dark .content, html.dark .app { background-color: rgb(10, 10, 10) !important; }
html.dark .chat-list, html.dark #chat-panel { background-color: rgb(23, 23, 23) !important; }
html.dark .chat-item { background-color: transparent !important; }
html.dark .bg-slate-50, html.dark .bg-slate-100 { background-color: rgb(38, 38, 38) !important; }
html.dark .kanban-col { background-color: rgb(23, 23, 23) !important; border-color: rgb(38, 38, 38) !important; }
html.dark .kanban-col-head { background-color: rgb(10, 10, 10) !important; }
html.dark .kanban-col-body { background-color: rgb(23, 23, 23) !important; }
html.dark .deal { background-color: rgb(38, 38, 38) !important; border-color: rgb(51, 51, 51) !important; }
html.dark #kanban-board { background-color: transparent !important; }
html.dark svg.lucide { stroke: currentcolor; }
html.dark i[data-lucide] svg { stroke: currentcolor; }
:root { --primary-color: #47a44c; --secondary-color: #d4ed6d; --sidebar-color: #000f01; --sidebar-text-color: #f1f5f9; }
.sidebar { background-color: var(--sidebar-color) !important; color: var(--sidebar-text-color) !important; }
.sidebar-link { color: var(--sidebar-text-color) !important; }
.sidebar-icon svg { stroke: var(--sidebar-text-color) !important; }
.sidebar-text { color: var(--sidebar-text-color) !important; }
.btn-primary { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; }
.btn-primary:hover { filter: brightness(0.9); }
.text-emerald-600 { color: var(--primary-color) !important; }
.wl-brand-bg { background-color: var(--primary-color) !important; }
.wl-brand-bg:hover { filter: brightness(0.92); }
:root { --resulta-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif; --resulta-font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif; --resulta-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.pwa-update-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgb(30, 41, 59); color: white; padding: 12px 20px; border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 24px; z-index: 10001; animation: 0.3s ease 0s 1 normal none running slideUp; }
.pwa-update-content { display: flex; align-items: center; gap: 12px; }
.pwa-update-btn { background: rgb(34, 197, 94); color: white; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.pwa-update-btn:hover { background: rgb(22, 163, 74); }
.pwa-update-close { background: transparent; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: rgb(148, 163, 184); font-size: 20px; cursor: pointer; padding: 4px 8px; }
#offline-indicator { position: fixed; top: 0px; left: 0px; right: 0px; background: linear-gradient(90deg, rgb(239, 68, 68), rgb(220, 38, 38)); color: white; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 500; z-index: 10002; transform: translateY(-100%); transition: transform 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
#offline-indicator.visible { transform: translateY(0px); }
#offline-indicator.hidden { transform: translateY(-100%); }
#offline-indicator svg { width: 16px; height: 16px; }
.notification-toggle { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgb(248, 250, 252); border: 1px solid rgb(226, 232, 240); border-radius: 10px; cursor: pointer; transition: 0.2s; width: 100%; text-align: left; }
.notification-toggle:hover { background: rgb(241, 245, 249); }
.dark .notification-toggle { background: rgb(30, 41, 59); border-color: rgb(51, 65, 85); }
.dark .notification-toggle:hover { background: rgb(51, 65, 85); }
.notification-toggle[data-subscribed="true"] { border-color: rgb(34, 197, 94); background: rgba(34, 197, 94, 0.1); }
.notification-toggle .notification-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: rgb(100, 116, 139); }
.notification-toggle[data-subscribed="true"] .notification-icon { color: rgb(34, 197, 94); }
.notification-toggle .notification-text { flex: 1 1 0%; font-size: 14px; color: rgb(51, 65, 85); }
.dark .notification-toggle .notification-text { color: rgb(226, 232, 240); }
@keyframes slideUp { 
  0% { transform: translate(-50%, 100%); opacity: 0; }
  100% { transform: translate(-50%, 0px); opacity: 1; }
}
#mv2-welcome { position: fixed; inset: 0px; z-index: 20000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px 28px; text-align: center; background: var(--bg,#fff); color: var(--text,#0f172a); font-family: Inter, system-ui, -apple-system, sans-serif; user-select: none; cursor: pointer; animation: 0.3s ease-out 0s 1 normal both running mv2WelcomeIn; }
html.dark #mv2-welcome { background: rgb(10, 10, 10); color: rgb(237, 237, 237); }
#mv2-welcome.is-leaving { animation: 0.3s ease-in 0s 1 normal both running mv2WelcomeOut; }
#mv2-welcome .mv2-w-logo { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; margin-bottom: 14px; box-shadow: rgba(15, 23, 42, 0.14) 0px 10px 30px; animation: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0s 1 normal both running mv2WelcomePop; }
#mv2-welcome .mv2-w-logo--txt { display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: rgb(255, 255, 255); background: var(--primary-color,#22c55e); }
#mv2-welcome .mv2-w-hello { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; animation: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s 1 normal both running mv2WelcomeUp; }
#mv2-welcome .mv2-w-back { font-size: 15px; opacity: 0.7; animation: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.16s 1 normal both running mv2WelcomeUp; }
#mv2-welcome .mv2-w-phrase { margin-top: 18px; max-width: 320px; font-size: 17px; font-weight: 500; line-height: 1.4; color: color-mix(in srgb,var(--primary-color,#22c55e) 75%,#0f172a); animation: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s 1 normal both running mv2WelcomeUp; }
html.dark #mv2-welcome .mv2-w-phrase { color: color-mix(in srgb,var(--primary-color,#22c55e) 80%,#fff); }
#mv2-welcome .mv2-w-bar { position: absolute; left: 32px; right: 32px; bottom: calc(64px + env(safe-area-inset-bottom,0px)); height: 4px; border-radius: 999px; background: rgba(100, 116, 139, 0.18); overflow: hidden; }
#mv2-welcome .mv2-w-bar i { display: block; height: 100%; width: 0px; border-radius: 999px; background: var(--primary-color,#22c55e); animation: 6s linear 0s 1 normal both running mv2WelcomeBar; }
#mv2-welcome .mv2-w-go { position: absolute; left: 0px; right: 0px; bottom: calc(36px + env(safe-area-inset-bottom,0px)); font-size: 12px; opacity: 0.55; }
@keyframes mv2WelcomeIn { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes mv2WelcomeOut { 
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes mv2WelcomePop { 
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes mv2WelcomeUp { 
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}
@keyframes mv2WelcomeBar { 
  0% { width: 0px; }
  100% { width: 100%; }
}
html.mv2-welcome-open { overflow: hidden; }
@media (min-width: 1024px) {
  #mv2-welcome { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  #mv2-welcome { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #mv2-welcome, #mv2-welcome * { animation-duration: 0.01s !important; }
}
.wz-topbar { display: none; }
@media (min-width: 1025px) {
  .app.has-topbar { display: grid; grid-template-columns: auto minmax(0px, 1fr); grid-template-rows: 56px minmax(0px, 1fr); }
  .wz-topbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 560px) minmax(180px, 1fr); grid-area: 1 / 2; min-width: 0px; height: 56px; align-items: center; gap: 1rem; padding: 0px 1rem; box-sizing: border-box; background: rgb(255, 255, 255); color: rgb(51, 65, 85); border-bottom: 1px solid rgb(226, 232, 240); position: relative; z-index: 41; }
  html.dark .wz-topbar { background: rgb(17, 17, 19); color: rgb(226, 232, 240); border-bottom-color: rgb(39, 39, 42); }
  .app.has-topbar > .sidebar { grid-area: 1 / 1 / 3; height: 100vh; padding-top: 0px; }
  .app.has-topbar > .content { grid-area: 2 / 2; min-width: 0px; height: calc(-56px + 100vh); }
  .app.has-topbar .sidebar-header { min-height: 56px; flex-shrink: 0; margin-bottom: 12px; }
  .app.has-topbar .sidebar-brand-logo--full { max-width: calc(100% - 30px); }
  .app.has-topbar #notifications-sidebar-btn, .app.has-topbar #profile-button { display: none; }
}
.wz-topbar-actions { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.wz-topbar-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 0px; background: transparent; color: inherit; opacity: 0.85; cursor: pointer; transition: background 0.15s, opacity 0.15s; }
.wz-topbar-btn:hover { opacity: 1; background: rgba(15, 23, 42, 0.06); }
html.dark .wz-topbar-btn:hover { background: rgba(255, 255, 255, 0.1); }
.wz-topbar-ico { width: 18px; height: 18px; }
.wz-topbar .wz-ico-light { display: none; }
html.dark .wz-topbar .wz-ico-light { display: block; }
html.dark .wz-topbar .wz-ico-dark { display: none; }
.wz-topbar .notifications-badge { top: 2px; right: 2px; min-width: 16px; height: 16px; font-size: 10px; border: 1.5px solid rgb(255, 255, 255); }
html.dark .wz-topbar .notifications-badge { border-color: rgb(17, 17, 19); }
.wz-topbar-user { display: inline-flex; align-items: center; gap: 0.55rem; height: 38px; max-width: 260px; padding: 0px 0.65rem 0px 0.3rem; margin-left: 0.25rem; border-radius: 999px; border: 0px; background: transparent; color: inherit; cursor: pointer; transition: background 0.15s; }
.wz-topbar-user:hover { background: rgba(15, 23, 42, 0.06); }
html.dark .wz-topbar-user:hover { background: rgba(255, 255, 255, 0.1); }
.wz-topbar-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wz-topbar-initial { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgb(226, 232, 240); color: rgb(51, 65, 85); font-weight: 700; font-size: 13px; flex-shrink: 0; }
html.dark .wz-topbar-initial { background: rgb(39, 39, 42); color: rgb(228, 228, 231); }
.wz-topbar-user-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-topbar-caret { width: 14px; height: 14px; opacity: 0.6; flex-shrink: 0; transition: transform 0.15s; }
.wz-topbar-user.is-open .wz-topbar-caret { transform: rotate(180deg); }
.wz-topbar-userwrap { position: relative; }
.wz-topbar-menu { position: absolute; right: 0px; top: calc(100% + 6px); min-width: 230px; max-width: 300px; padding: 6px; border-radius: 12px; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); box-shadow: rgba(15, 23, 42, 0.14) 0px 12px 32px; z-index: 70; }
html.dark .wz-topbar-menu { background: rgb(24, 24, 27); border-color: rgb(39, 39, 42); box-shadow: rgba(0, 0, 0, 0.5) 0px 12px 32px; }
.wz-topbar-menu[hidden] { display: none; }
.wz-topbar-menu-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid rgb(226, 232, 240); min-width: 0px; }
html.dark .wz-topbar-menu-head { border-bottom-color: rgb(39, 39, 42); }
.wz-topbar-menu-head strong { font-size: 14px; font-weight: 600; color: rgb(15, 23, 42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-topbar-menu-head span { font-size: 12px; color: rgb(100, 116, 139); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dark .wz-topbar-menu-head strong { color: rgb(244, 244, 245); }
html.dark .wz-topbar-menu-head span { color: rgb(161, 161, 170); }
.wz-topbar-menu-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 14px; font-weight: 500; color: rgb(51, 65, 85); text-decoration: none; transition: background 0.12s; }
.wz-topbar-menu-item:hover { background: rgba(15, 23, 42, 0.05); color: rgb(15, 23, 42); }
html.dark .wz-topbar-menu-item { color: rgb(212, 212, 216); }
html.dark .wz-topbar-menu-item:hover { background: rgba(255, 255, 255, 0.08); color: rgb(250, 250, 250); }
.wz-topbar-menu-item--danger { color: rgb(220, 38, 38); }
.wz-topbar-menu-item--danger:hover { background: rgba(220, 38, 38, 0.08); color: rgb(185, 28, 28); }
html.dark .wz-topbar-menu-item--danger { color: rgb(248, 113, 113); }
html.dark .wz-topbar-menu-item--danger:hover { background: rgba(248, 113, 113, 0.12); color: rgb(252, 165, 165); }
@media (min-width: 1025px) {
  .notifications-modal { padding: 0px; align-items: flex-start; justify-content: flex-end; animation: auto ease 0s 1 normal none running none; }
  .notifications-modal-overlay { background: transparent; backdrop-filter: none; animation: auto ease 0s 1 normal none running none; }
  .notifications-modal-content { margin: 62px 16px 0px 0px; width: 380px; max-width: 380px; max-height: min(70vh, 640px); border-radius: 12px; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); box-shadow: rgba(15, 23, 42, 0.14) 0px 12px 32px; animation: 0.16s ease 0s 1 normal none running wzPopIn; }
  html.dark .notifications-modal-content { background: rgb(24, 24, 27); border-color: rgb(39, 39, 42); box-shadow: rgba(0, 0, 0, 0.5) 0px 12px 32px; }
  .notifications-modal-header { padding: 12px 12px 10px 14px; border-bottom-color: rgb(226, 232, 240); }
  html.dark .notifications-modal-header { border-bottom-color: rgb(39, 39, 42); }
  .notifications-modal-title { gap: 10px; }
  .notifications-title-icon { width: 32px; height: 32px; padding: 7px; border-radius: 9px; }
  .notifications-modal-title h2 { font-size: 14px; font-weight: 600; }
  .notifications-count-text { margin-top: 1px; font-size: 12px; }
  .notifications-modal-close { width: 30px; height: 30px; border-radius: 8px; }
  .notifications-modal-close i, .notifications-modal-close svg { width: 16px; height: 16px; }
  .notifications-list { max-height: min(70vh, 640px); padding: 6px 8px 8px; }
  .notifications-modal-footer { padding: 8px 10px; gap: 8px; background: transparent; border-top-color: rgb(226, 232, 240); }
  html.dark .notifications-modal-footer { background: transparent; border-top-color: rgb(39, 39, 42); }
  .notifications-dismiss-all, .notifications-view-all { font-size: 13px; padding: 7px 10px; border-radius: 8px; }
  .notifications-dismiss-all { border-color: rgba(239, 68, 68, 0.35); }
  .notifications-dismiss-all { flex: 0 0 auto; }
  .notifications-view-all { flex: 1 1 auto; white-space: nowrap; }
}
@keyframes wzPopIn { 
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: none; }
}
.wz-topbar-search { flex: 1 1 auto; max-width: 560px; min-width: 0px; margin: 0px auto 0px 0px; position: relative; }
.wz-gs-box { display: flex; align-items: center; gap: 0.5rem; height: 36px; padding: 0px 0.7rem 0px 0.8rem; border-radius: 10px; background: rgb(241, 245, 249); border: 1px solid transparent; color: rgb(100, 116, 139); cursor: text; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.wz-gs-box:focus-within { background: rgb(255, 255, 255); border-color: rgb(203, 213, 225); box-shadow: rgba(15, 23, 42, 0.05) 0px 0px 0px 3px; }
html.dark .wz-gs-box { background: rgb(39, 39, 42); color: rgb(161, 161, 170); }
html.dark .wz-gs-box:focus-within { background: rgb(24, 24, 27); border-color: rgb(63, 63, 70); box-shadow: rgba(255, 255, 255, 0.05) 0px 0px 0px 3px; }
.wz-gs-ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.8; }
.wz-gs-input { flex: 1 1 auto; min-width: 0px; height: 100%; background: transparent; border: 0px; outline: 0px; box-shadow: none; font-size: 14px; color: rgb(15, 23, 42); padding: 0px; margin: 0px; }
.wz-gs-input::placeholder { color: rgb(148, 163, 184); }
.wz-gs-input::-webkit-search-cancel-button, .wz-gs-input::-webkit-search-decoration { appearance: none; }
html.dark .wz-gs-input { color: rgb(244, 244, 245); }
html.dark .wz-gs-input::placeholder { color: rgb(113, 113, 122); }
.wz-gs-kbd { font: 600 11px / 1 ui-sans-serif, system-ui, sans-serif; color: rgb(100, 116, 139); background: rgb(255, 255, 255); border: 1px solid rgb(203, 213, 225); border-radius: 6px; padding: 3px 6px; white-space: nowrap; flex-shrink: 0; }
html.dark .wz-gs-kbd { color: rgb(161, 161, 170); background: rgb(24, 24, 27); border-color: rgb(63, 63, 70); }
.wz-gs-box:focus-within .wz-gs-kbd { display: none; }
.wz-gs-panel { position: absolute; left: 0px; right: 0px; top: calc(100% + 6px); max-height: min(70vh, 640px); overflow-y: auto; padding: 6px; border-radius: 12px; background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); box-shadow: rgba(15, 23, 42, 0.14) 0px 12px 32px; z-index: 70; animation: 0.16s ease 0s 1 normal none running wzPopIn; }
html.dark .wz-gs-panel { background: rgb(24, 24, 27); border-color: rgb(39, 39, 42); box-shadow: rgba(0, 0, 0, 0.5) 0px 12px 32px; }
.wz-gs-panel[hidden] { display: none; }
.wz-gs-group + .wz-gs-group { margin-top: 4px; border-top: 1px solid rgb(241, 245, 249); padding-top: 4px; }
html.dark .wz-gs-group + .wz-gs-group { border-top-color: rgb(39, 39, 42); }
.wz-gs-group-title { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgb(148, 163, 184); padding: 8px 10px 4px; }
.wz-gs-item { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.65rem; border-radius: 8px; text-decoration: none; color: rgb(15, 23, 42); min-width: 0px; }
.wz-gs-item.is-active, .wz-gs-item:hover { background: rgba(15, 23, 42, 0.05); }
html.dark .wz-gs-item { color: rgb(244, 244, 245); }
html.dark .wz-gs-item.is-active, html.dark .wz-gs-item:hover { background: rgba(255, 255, 255, 0.08); }
.wz-gs-item-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgb(241, 245, 249); color: rgb(71, 85, 105); flex-shrink: 0; }
html.dark .wz-gs-item-ico { background: rgb(39, 39, 42); color: rgb(161, 161, 170); }
.wz-gs-item-ico svg { width: 15px; height: 15px; }
.wz-gs-item-body { display: flex; flex-direction: column; min-width: 0px; flex: 1 1 auto; }
.wz-gs-item-title { font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-gs-item-title mark { background: rgba(250, 204, 21, 0.45); color: inherit; border-radius: 3px; padding: 0px 1px; }
html.dark .wz-gs-item-title mark { background: rgba(250, 204, 21, 0.28); }
.wz-gs-item-sub { font-size: 12px; color: rgb(100, 116, 139); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
html.dark .wz-gs-item-sub { color: rgb(161, 161, 170); }
.wz-gs-item-badge { font-size: 12px; font-weight: 600; color: rgb(4, 120, 87); background: rgb(236, 253, 245); border-radius: 999px; padding: 2px 8px; flex-shrink: 0; }
html.dark .wz-gs-item-badge { color: rgb(110, 231, 183); background: rgba(5, 150, 105, 0.15); }
.wz-gs-more { display: block; padding: 6px 10px 8px; font-size: 12px; font-weight: 600; color: rgb(37, 99, 235); text-decoration: none; }
.wz-gs-more:hover { text-decoration: underline; }
html.dark .wz-gs-more { color: rgb(147, 197, 253); }
.wz-gs-empty, .wz-gs-loading { padding: 18px 12px; text-align: center; font-size: 13px; color: rgb(100, 116, 139); }
html.dark .wz-gs-empty, html.dark .wz-gs-loading { color: rgb(161, 161, 170); }
.wz-gs-foot { display: flex; gap: 14px; align-items: center; padding: 8px 10px 4px; margin-top: 4px; border-top: 1px solid rgb(241, 245, 249); font-size: 11px; color: rgb(148, 163, 184); }
html.dark .wz-gs-foot { border-top-color: rgb(39, 39, 42); }
.wz-gs-foot kbd { font: 600 10px / 1 ui-sans-serif, system-ui, sans-serif; border: 1px solid rgb(203, 213, 225); border-radius: 4px; padding: 2px 4px; margin-right: 3px; color: rgb(100, 116, 139); }
html.dark .wz-gs-foot kbd { border-color: rgb(63, 63, 70); color: rgb(161, 161, 170); }
@media (max-width: 1280px) {
  .wz-gs-kbd { display: none; }
}
@media (min-width: 1025px) {
  .wz-topbar > .wz-topbar-search { grid-area: 1 / 2; width: 100%; margin: 0px; }
  .wz-topbar > .wz-topbar-actions { grid-area: 1 / 3; justify-self: end; min-width: 0px; max-width: 100%; }
  .wz-topbar-actions > .wz-topbar-btn { flex-shrink: 0; }
  .wz-topbar-actions > .wz-topbar-userwrap { min-width: 0px; }
  .wz-topbar-actions .wz-topbar-user { max-width: 100%; box-sizing: border-box; }
  .wz-topbar > .impersonation-notice--desktop { grid-area: 1 / 1; width: 100%; max-width: 100%; }
}
.toast-item { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 40px -10px, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px; backdrop-filter: blur(10px); animation: 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running toastSlideIn; max-width: 400px; min-width: 280px; }
.toast-item.toast-exit { animation: 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal forwards running toastSlideOut; }
@keyframes toastSlideIn { 
  0% { opacity: 0; transform: translateX(100%) scale(0.9); }
  100% { opacity: 1; transform: translateX(0px) scale(1); }
}
@keyframes toastSlideOut { 
  0% { opacity: 1; transform: translateX(0px) scale(1); }
  100% { opacity: 0; transform: translateX(100%) scale(0.9); }
}
.toast-success { background: rgb(5, 150, 105); color: white; }
.toast-error { background: rgb(220, 38, 38); color: white; }
.toast-warning { background: rgb(217, 119, 6); color: white; }
.toast-info { background: var(--primary-color, #22c55e); color: white; }
.toast-primary { background: var(--primary-color, #22c55e); color: white; }
.toast-icon { flex-shrink: 0; width: 22px; height: 22px; }
.toast-message { flex: 1 1 0%; font-size: 14px; font-weight: 500; line-height: 1.4; }
.toast-close { flex-shrink: 0; padding: 4px; border-radius: 6px; cursor: pointer; background: rgba(255, 255, 255, 0.1); border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: inherit; transition: background 0.2s; }
.toast-close:hover { background: rgba(255, 255, 255, 0.2); }
.toast-progress { position: absolute; bottom: 0px; left: 0px; height: 3px; background: rgba(255, 255, 255, 0.4); border-radius: 0px 0px 12px 12px; animation: auto linear 0s 1 normal forwards running toastProgress; }
@keyframes toastProgress { 
  0% { width: 100%; }
  100% { width: 0%; }
}
.mob-sheet { position: fixed; inset: 0px; z-index: 1200; display: none; }
.mob-sheet.is-open { display: block; }
@media (min-width: 1024px) {
  .mob-sheet { display: none !important; }
}
.mob-sheet__overlay { position: absolute; inset: 0px; background: rgba(15, 23, 42, 0.5); border: 0px; width: 100%; height: 100%; cursor: pointer; }
.mob-sheet__panel { position: absolute; left: 0px; right: 0px; bottom: 0px; background: var(--bg,#fff); color: var(--text,#111); border-top: 1px solid var(--border,#eaeaea); border-radius: 16px 16px 0px 0px; padding-top: 16px; padding-right: 16px; padding-left: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom,0px)); box-shadow: rgba(0, 0, 0, 0.18) 0px -8px 30px; animation: 0.18s ease-out 0s 1 normal none running mobSheetUp; }
@keyframes mobSheetUp { 
  0% { transform: translateY(100%); }
  100% { transform: translateY(0px); }
}
.mob-sheet__handle { width: 40px; height: 4px; border-radius: 9999px; background: var(--border,#cbd5e1); margin: 0px auto 14px; }
.mob-sheet__title { font-size: 0.82rem; font-weight: 600; margin: 0px 0px 12px; }
.mob-sheet__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--border,#e2e8f0); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; color: var(--text,#334155); text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.mob-sheet__item:last-child { margin-bottom: 0px; }
.mob-sheet__item:hover { background: var(--muted,#f8fafc); }
.mob-sheet__item-label { display: flex; align-items: center; gap: 8px; }
.mob-sheet__item-label i { width: 18px; height: 18px; }
#kanban-filter-dialog::backdrop { background: rgba(15, 23, 42, 0.55); }
#kanban-filter-dialog .kanban-filter-menu { position: static; width: 100%; }
@media (max-width: 767px) {
  html body #kanban-react-root .kanban-page { zoom: 1; }
  .kanban-page .kb-topbar { flex-wrap: wrap; gap: 12px; }
  html body #kanban-react-root .kb-toolbar { width: 100%; flex-wrap: wrap !important; overflow: visible !important; }
  .kanban-page .flex:has(> .kb-head) { flex-wrap: wrap; gap: 10px; }
  html body #kanban-react-root .kb-visible-search { order: -1; width: 100%; display: block !important; }
  #kanban-contact-search { width: 100%; font-size: 16px; min-height: 44px; display: block !important; }
}
.kanban-page { zoom: 0.9; }
.kanban-page .kanban-title { zoom: 1.1111; }
.kanban { padding-bottom: 0px !important; margin-bottom: 0px !important; }
#kanban-board { height: 100%; min-height: 0px; padding-bottom: 0px !important; margin-bottom: 0px !important; }
.kanban-page .kanban { min-height: 0px; }
.kanban-col-body { padding-bottom: 0px !important; }
.kanban-col { margin-bottom: 0px !important; }
body.kanban-inbox-modal-open { overflow: hidden; }
@media (max-width: 1023px) {
  .kanban-conv-overlay { padding: 0px; align-items: stretch; height: calc(100dvh - var(--crm-bottom-nav-h, 0px)); }
  .kanban-conv-modal { width: 100% !important; max-width: none !important; height: 100% !important; border-radius: 0px !important; }
  body.kanban-inbox-modal-open #scw-root, body:has(.dp-overlay) #scw-root { display: none !important; }
}
.kanban-list-table thead th { position: sticky; top: 0px; z-index: 5; background: rgb(248, 250, 252); }
.dark .kanban-list-table thead th { background: rgb(30, 41, 59); }
.kanban-list-table tbody tr.kanban-list-group td { position: sticky; top: 33px; z-index: 4; }
.kanban-filter-stack { isolation: isolate; }
.kanban-filter-field { position: relative; z-index: 1; }
.kanban-filter-field.is-open { z-index: 50; }
.kanban-filter-menu { z-index: 60; }
.kanban-page #kanban-board { background: rgb(244, 246, 250); border: 1px solid rgb(229, 233, 240); border-radius: 16px; padding: 12px; }
.kanban-page .kb-board { gap: 12px; padding: 0px !important; }
.kanban-page .kanban-col.kb-lane { width: 292px; background: transparent; border: 0px; box-shadow: none; border-radius: 14px; position: relative; transition: background-color 0.15s, box-shadow 0.15s; }
.kanban-page .kanban-col.kb-lane + .kanban-col.kb-lane::before { content: ""; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 1px; background: rgb(226, 232, 240); }
.kanban-page .kanban-col.kb-lane.kb-lane-over { background: rgba(16, 185, 129, 0.07); box-shadow: rgba(16, 185, 129, 0.45) 0px 0px 0px 2px inset; }
.kanban-page .kanban-col-head.kb-lane-head { display: block; padding: 6px 6px 0px; border: 0px; background: transparent; border-radius: 0px; }
.kb-lane-title-row { display: flex; align-items: center; gap: 8px; min-width: 0px; }
.kb-lane-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--kb-lane-color, #94a3b8); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kb-lane-color, #94a3b8) 18%, transparent); flex-shrink: 0; }
.kb-lane-name { font-size: 13.5px; font-weight: 700; color: rgb(15, 23, 42); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0px; flex: 1 1 0%; }
.kanban-page .kb-lane-count { background: rgb(226, 232, 240); color: rgb(71, 85, 105); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; line-height: 18px; }
.kanban-page .kb-lane-unread { display: inline-flex; align-items: center; gap: 4px; background: rgb(239, 68, 68); color: rgb(255, 255, 255); font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; line-height: 18px; border: 0px; cursor: pointer; flex-shrink: 0; white-space: nowrap; box-shadow: rgba(239, 68, 68, 0.18) 0px 0px 0px 3px; font-family: inherit; }
.kanban-page .kb-lane-unread:hover { background: rgb(220, 38, 38); }
.kanban-page .kb-lane-unread:focus-visible { outline: rgb(239, 68, 68) solid 2px; outline-offset: 2px; }
.kanban-page .kb-lane-unread-nav { position: sticky; z-index: 3; display: flex; justify-content: center; pointer-events: none; margin: 0px; height: 0px; overflow: visible; flex: 0 0 auto; }
.kanban-page .kb-lane-unread-nav.kb-top { top: 0px; }
.kanban-page .kb-lane-unread-nav.kb-top button { transform: translateY(6px); }
.kanban-page .kb-lane-unread-nav.kb-bottom { bottom: 0px; }
.kanban-page .kb-lane-unread-nav.kb-bottom button { transform: translateY(calc(-100% - 6px)); }
.kanban-page .kb-lane-unread-nav button { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; background: rgb(239, 68, 68); color: rgb(255, 255, 255); font-size: 11.5px; font-weight: 700; border: 0px; cursor: pointer; padding: 5px 12px; border-radius: 999px; box-shadow: rgba(239, 68, 68, 0.35) 0px 6px 16px; margin: 0px; font-family: inherit; }
.kanban-page .kb-lane-unread-nav button:hover { background: rgb(220, 38, 38); }
.kanban-page .kb-lane-unread-nav button:focus-visible { outline: rgb(239, 68, 68) solid 2px; outline-offset: 2px; }
@keyframes kbCardFlash { 
  0% { box-shadow: rgba(239, 68, 68, 0.75) 0px 0px 0px 0px; }
  100% { box-shadow: rgba(239, 68, 68, 0) 0px 0px 0px 14px; }
}
.kanban-page .deal.kb-card.kb-card-flash { animation: 1.1s ease-out 0s 2 normal none running kbCardFlash; border-color: rgb(239, 68, 68) !important; }
@media (prefers-reduced-motion: reduce) {
  .kanban-page .deal.kb-card.kb-card-flash { animation: auto ease 0s 1 normal none running none; box-shadow: rgba(239, 68, 68, 0.45) 0px 0px 0px 3px; }
}
.kb-lane-meta { display: flex; align-items: baseline; gap: 8px; margin: 4px 0px 0px 18px; min-width: 0px; white-space: nowrap; overflow: hidden; }
.kb-lane-value { font-size: 12.5px; font-weight: 700; color: rgb(51, 65, 85); }
.kb-lane-weighted { font-size: 11px; color: rgb(148, 163, 184); overflow: hidden; text-overflow: ellipsis; }
.kb-lane-bar { height: 3px; border-radius: 999px; background: var(--kb-lane-color, #94a3b8); margin: 10px 0px 6px; opacity: 0.9; }
.kanban-page .kanban-col-body.kb-lane-body { padding: 4px 4px 8px; gap: 8px; border-radius: 12px; }
.kanban-page .kanban-col-body.kb-lane-body.ring-2 { box-shadow: none; }
.kanban-page .deal.kb-card { position: relative; background: rgb(255, 255, 255); border-width: 1px 1px 1px 3px; border-style: solid; border-color: rgb(226, 232, 240) rgb(226, 232, 240) rgb(226, 232, 240) rgb(203, 213, 225); border-image: none; border-radius: 10px; padding: 10px 10px 9px 11px; box-shadow: rgba(15, 23, 42, 0.04) 0px 1px 2px; transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s; }
.kanban-page .deal.kb-card:hover { border-color: rgb(203, 213, 225); box-shadow: rgba(15, 23, 42, 0.08) 0px 6px 18px; transform: translateY(-1px); }
.kanban-page .deal.kb-card.kb-acc-overdue { border-left-color: rgb(239, 68, 68); }
.kanban-page .deal.kb-card.kb-acc-today { border-left-color: rgb(245, 158, 11); }
.kanban-page .deal.kb-card.kb-acc-tomorrow, .kanban-page .deal.kb-card.kb-acc-future { border-left-color: rgb(16, 185, 129); }
.kanban-page .deal.kb-card.kb-acc-nodate { border-left-color: rgb(59, 130, 246); }
.kanban-page .deal.kb-card.kb-acc-none { border-left-color: rgb(203, 213, 225); }
.kanban-page .deal.kb-card.kb-card-won { border-left-color: rgb(16, 185, 129); background: linear-gradient(rgb(240, 253, 244) 0%, rgb(255, 255, 255) 70%); }
.kanban-page .deal.kb-card.kb-card-lost { border-left-color: rgb(239, 68, 68); background: linear-gradient(rgb(254, 242, 242) 0%, rgb(255, 255, 255) 70%); }
.kanban-page .deal.kb-card.kb-card-selected { border-color: rgb(16, 185, 129); box-shadow: rgba(16, 185, 129, 0.35) 0px 0px 0px 2px; background: rgb(240, 253, 244); }
.kb-card-select { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 11px; font-weight: 600; color: rgb(5, 150, 105); }
.kb-card-top { display: flex; align-items: flex-start; gap: 9px; min-width: 0px; }
.kb-card-avatar { position: relative; flex-shrink: 0; width: 32px; height: 32px; }
.kb-card-avatar img, .kb-card-avatar-fallback { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; display: flex; align-items: center; justify-content: center; color: rgb(255, 255, 255); font-size: 11.5px; font-weight: 700; box-shadow: rgba(15, 23, 42, 0.12) 0px 1px 2px; }
.kb-card-unread { position: absolute; top: -5px; right: -6px; min-width: 17px; height: 17px; padding: 0px 4px; border-radius: 999px; background: rgb(239, 68, 68); color: rgb(255, 255, 255); font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; border: 2px solid rgb(255, 255, 255); z-index: 2; }
.kb-card-heading { flex: 1 1 0%; min-width: 0px; padding-top: 1px; }
.kb-card-title { font-size: 13px; font-weight: 650; color: rgb(15, 23, 42); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-card-sub { font-size: 11.5px; color: rgb(100, 116, 139); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-card-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; opacity: 0; transform: translateX(4px); transition: opacity 0.12s, transform 0.12s; }
.kanban-page .deal.kb-card:hover .kb-card-actions, .kanban-page .deal.kb-card:focus-within .kb-card-actions, .kb-card-actions.kb-card-actions-static { opacity: 1; transform: none; }
@media (hover: none) {
  .kb-card-actions { opacity: 1; transform: none; }
}
.kb-icon-btn { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; border: 1px solid transparent; background: transparent; color: rgb(148, 163, 184); transition: background-color 0.12s, color 0.12s; }
.kb-icon-btn svg { width: 14px; height: 14px; }
.kb-icon-btn.kb-win:hover { background: rgb(236, 253, 245); color: rgb(5, 150, 105); }
.kb-icon-btn.kb-lose:hover { background: rgb(254, 242, 242); color: rgb(220, 38, 38); }
.kb-icon-btn.kb-del:hover { background: rgb(254, 242, 242); color: rgb(220, 38, 38); }
.kb-icon-btn.kb-win-on { background: rgb(209, 250, 229); color: rgb(4, 120, 87); border-color: rgb(167, 243, 208); }
.kb-icon-btn.kb-lose-on { background: rgb(254, 226, 226); color: rgb(185, 28, 28); border-color: rgb(254, 202, 202); }
.kb-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.kb-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px 1px 5px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: var(--kb-tag, #64748b); background: color-mix(in srgb, var(--kb-tag, #64748b) 12%, #fff); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-tag-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--kb-tag, #64748b); flex-shrink: 0; }
.kanban-page .deal.kb-card .kb-signals { margin-top: 8px; margin-bottom: 0px; }
.kanban-page .deal.kb-card .kb-signals:empty { display: none; }
.kb-card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 7px; font-size: 11px; color: rgb(100, 116, 139); min-width: 0px; }
.kb-meta { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-meta strong { font-weight: 600; color: rgb(71, 85, 105); }
.kb-meta-ic, .kb-note-ic { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.8; }
.kb-card-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; font-size: 11.5px; line-height: 1.35; color: rgb(100, 116, 139); }
.kb-card-note .kb-note-ic { margin-top: 2px; }
.kb-card-note-step { color: rgb(91, 33, 182); }
.kb-card-note-step .kb-note-ic { color: rgb(124, 58, 237); opacity: 1; }
.kb-card-info { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; padding: 6px 8px; border-radius: 8px; background: rgb(239, 246, 255); border: 1px solid rgb(219, 234, 254); color: rgb(30, 58, 138); font-size: 11.5px; line-height: 1.35; }
.kb-card-info .kb-note-ic { color: rgb(37, 99, 235); opacity: 1; margin-top: 2px; }
.kb-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; }
.kb-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 7px; font-size: 10.5px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.kb-chip svg { width: 12px; height: 12px; }
.kb-chip-tasks { background: rgb(239, 246, 255); color: rgb(29, 78, 216); }
.kb-fc { display: flex; flex-direction: column; height: 100%; min-height: 0px; }
.kb-fc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 2px 4px 12px; font-size: 13px; color: rgb(100, 116, 139); }
.kb-fc-top b { color: rgb(15, 23, 42); font-weight: 700; }
.kb-fc-top .kb-fc-warn { color: rgb(180, 83, 9); }
.kb-fc-cols { display: flex; gap: 12px; flex: 1 1 0%; min-height: 0px; overflow-x: auto; padding-bottom: 8px; }
.kb-fc-col { flex: 0 0 292px; display: flex; flex-direction: column; min-height: 0px; border-radius: 14px; background: rgb(248, 250, 252); border: 1px solid rgb(226, 232, 240); }
.kb-fc-col.is-current { border-color: var(--primary-color, #10b981); }
.kb-fc-col.is-over { background: rgb(236, 253, 245); border-color: rgb(16, 185, 129); }
.kb-fc-col.is-muted { background: rgb(255, 251, 235); border-color: rgb(253, 230, 138); }
.kb-fc-head { padding: 12px 14px 10px; border-bottom: 1px solid rgb(226, 232, 240); }
.kb-fc-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; color: rgb(15, 23, 42); }
.kb-fc-count { font-size: 11px; font-weight: 600; color: rgb(100, 116, 139); background: rgb(226, 232, 240); border-radius: 999px; padding: 1px 8px; }
.kb-fc-sums { margin-top: 4px; font-size: 13px; color: rgb(15, 23, 42); font-weight: 600; }
.kb-fc-sums span { font-weight: 500; color: rgb(100, 116, 139); font-size: 12px; margin-left: 6px; }
.kb-fc-goal { margin-top: 10px; }
.kb-fc-goal-bar { position: relative; height: 8px; border-radius: 999px; background: rgb(226, 232, 240); overflow: hidden; }
.kb-fc-goal-bar i { position: absolute; left: 0px; top: 0px; bottom: 0px; border-radius: 999px; }
.kb-fc-goal-bar i.is-forecast { background: rgb(167, 243, 208); }
.kb-fc-goal-bar i.is-won { background: rgb(16, 185, 129); }
.kb-fc-goal-text { margin-top: 5px; font-size: 11.5px; color: rgb(100, 116, 139); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kb-fc-goal-text b { color: rgb(4, 120, 87); }
.kb-fc-goal-link { font-size: 11.5px; color: rgb(100, 116, 139); text-decoration: underline; }
.kb-fc-list { flex: 1 1 0%; min-height: 60px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kb-fc-card { background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: box-shadow 0.15s, border-color 0.15s; }
.kb-fc-card:hover { border-color: rgb(203, 213, 225); box-shadow: rgba(15, 23, 42, 0.06) 0px 2px 8px; }
.kb-fc-card.is-dragging { opacity: 0.45; }
.kb-fc-card-name { font-size: 13.5px; font-weight: 600; color: rgb(15, 23, 42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-fc-card-sub { font-size: 12px; color: rgb(100, 116, 139); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-fc-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.kb-fc-card-value { font-size: 13.5px; font-weight: 700; color: rgb(15, 23, 42); }
.kb-fc-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; font-size: 11px; font-weight: 600; color: rgb(71, 85, 105); background: rgb(241, 245, 249); border-radius: 6px; padding: 2px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-fc-chip em { width: 7px; height: 7px; border-radius: 999px; flex: 0 0 auto; }
.kb-fc-chip.is-late { background: rgb(254, 242, 242); color: rgb(220, 38, 38); }
.kb-fc-empty { font-size: 12px; color: rgb(148, 163, 184); text-align: center; padding: 18px 8px; border: 1px dashed rgb(226, 232, 240); border-radius: 10px; }
.dark .kb-fc-top { color: rgb(148, 163, 184); }
.dark .kb-fc-top b { color: rgb(241, 245, 249); }
.dark .kb-fc-top .kb-fc-warn { color: rgb(251, 191, 36); }
.dark .kb-fc-col { background: rgb(15, 23, 42); border-color: rgb(51, 65, 85); }
.dark .kb-fc-col.is-over { background: rgba(16, 185, 129, 0.12); border-color: rgb(16, 185, 129); }
.dark .kb-fc-col.is-muted { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.35); }
.dark .kb-fc-head { border-color: rgb(51, 65, 85); }
.dark .kb-fc-title, .dark .kb-fc-sums, .dark .kb-fc-card-name, .dark .kb-fc-card-value { color: rgb(241, 245, 249); }
.dark .kb-fc-count { background: rgb(51, 65, 85); color: rgb(203, 213, 225); }
.dark .kb-fc-goal-bar { background: rgb(51, 65, 85); }
.dark .kb-fc-goal-bar i.is-forecast { background: rgba(16, 185, 129, 0.35); }
.dark .kb-fc-goal-text b { color: rgb(52, 211, 153); }
.dark .kb-fc-card { background: rgb(30, 41, 59); border-color: rgb(51, 65, 85); }
.dark .kb-fc-card:hover { border-color: rgb(71, 85, 105); }
.dark .kb-fc-chip { background: rgb(51, 65, 85); color: rgb(203, 213, 225); }
.dark .kb-fc-chip.is-late { background: rgba(239, 68, 68, 0.16); color: rgb(248, 113, 113); }
.dark .kb-fc-empty { border-color: rgb(51, 65, 85); color: rgb(100, 116, 139); }
.kb-lead { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kb-lead::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentcolor; }
.kb-lead-hot { background: rgb(255, 237, 213); color: rgb(194, 65, 12); }
.kb-lead-warm { background: rgb(254, 249, 195); color: rgb(161, 98, 7); }
.kb-lead-cold { background: rgb(224, 242, 254); color: rgb(3, 105, 161); }
html.dark .kb-lead-hot, .dark .kb-lead-hot { background: rgba(249, 115, 22, 0.18); color: rgb(253, 186, 116); }
html.dark .kb-lead-warm, .dark .kb-lead-warm { background: rgba(234, 179, 8, 0.16); color: rgb(253, 224, 71); }
html.dark .kb-lead-cold, .dark .kb-lead-cold { background: rgba(14, 165, 233, 0.16); color: rgb(125, 211, 252); }
.kb-req-dot { width: 6px; height: 6px; border-radius: 999px; background: rgb(245, 158, 11); flex: 0 0 auto; }
.kb-chip-tasks:hover { background: rgb(219, 234, 254); }
.kb-chip-date { background: rgb(241, 245, 249); color: rgb(100, 116, 139); }
.kb-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgb(241, 245, 249); min-width: 0px; }
.kb-card-footer-left { display: flex; align-items: center; gap: 8px; min-width: 0px; flex: 1 1 0%; }
.kb-card-value { font-size: 13px; font-weight: 700; color: rgb(15, 23, 42); letter-spacing: -0.01em; white-space: nowrap; }
.kb-card-won .kb-card-value { color: rgb(4, 120, 87); }
.kb-card-lost .kb-card-value { color: rgb(185, 28, 28); text-decoration: line-through rgba(185, 28, 28, 0.5); }
.kb-card-time { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: rgb(148, 163, 184); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-owner { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; max-width: 46%; }
.kb-owner img, .kb-owner-fallback { width: 22px; height: 22px; border-radius: 999px; object-fit: cover; border: 1px solid rgb(226, 232, 240); background: rgb(241, 245, 249); color: rgb(71, 85, 105); font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kb-owner-name { font-size: 11px; color: rgb(100, 116, 139); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-owner:not(.kb-owner-ai) .kb-owner-name { display: none; }
.kb-card-time { flex-shrink: 0; }
.kb-owner-ai { padding: 2px 7px 2px 5px; border-radius: 999px; background: rgb(238, 242, 255); border: 1px solid rgb(199, 210, 254); color: rgb(67, 56, 202); font-size: 10.5px; font-weight: 700; }
.kb-owner-ai svg { width: 12px; height: 12px; }
.kb-lane-empty { margin: 4px 2px; padding: 22px 12px; border: 1.5px dashed rgb(203, 213, 225); border-radius: 12px; text-align: center; color: rgb(148, 163, 184); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.kb-lane-empty svg { width: 22px; height: 22px; opacity: 0.6; }
.kb-lane-more { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0px 2px; }
.kb-lane-more-count { font-size: 11px; color: rgb(148, 163, 184); }
.kb-lane-more-btn { border: 1px solid rgb(226, 232, 240); background: rgb(255, 255, 255); color: rgb(71, 85, 105); border-radius: 9px; padding: 6px 12px; font-size: 11.5px; font-weight: 600; transition: 0.12s; }
.kb-lane-more-btn:hover { border-color: rgb(167, 243, 208); background: rgb(236, 253, 245); color: rgb(4, 120, 87); }
.kb-head { display: flex; flex-direction: column; gap: 2px; min-width: 0px; }
.kanban-page .kb-head-title { font-size: 1.125rem; line-height: 1.5rem; margin: 0px; font-weight: 800; letter-spacing: -0.02em; }
.kb-head-summary { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgb(100, 116, 139); white-space: nowrap; }
.kb-head-summary strong { color: rgb(15, 23, 42); font-weight: 700; }
.kb-head-sep { color: rgb(203, 213, 225); }
.kanban-page .kb-pipeline-select { appearance: none; height: 36px; padding: 0px 30px 0px 12px; border: 1px solid rgb(226, 232, 240); border-radius: 10px; background-color: rgb(255, 255, 255); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; font-size: 13px; font-weight: 700; color: rgb(15, 23, 42); box-shadow: rgba(15, 23, 42, 0.04) 0px 1px 2px; cursor: pointer; }
.kanban-page .kb-pipeline-select:hover { border-color: rgb(203, 213, 225); }
.kanban-page .kb-pipeline-select:focus { outline: none; border-color: rgb(52, 211, 153); box-shadow: rgba(16, 185, 129, 0.15) 0px 0px 0px 3px; }
.kanban-page .kb-btn-primary { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0px 12px; border-radius: 10px; background: var(--primary-color, #10b981); color: rgb(255, 255, 255); font-size: 12px; font-weight: 700; box-shadow: rgba(15, 23, 42, 0.18) 0px 1px 2px; transition: background-color 0.12s, transform 0.12s; white-space: nowrap; }
.kanban-page .kb-btn-primary:hover { filter: brightness(0.9); }
.kanban-page .kb-btn-primary svg { width: 15px; height: 15px; }
.kanban-page .kb-toolbar > button, .kanban-page .kb-toolbar > div > button { border-radius: 10px; }
html.dark .kanban-page #kanban-board, .dark .kanban-page #kanban-board { background: rgb(11, 18, 32); border-color: rgb(30, 41, 59); }
html.dark .kanban-page .kanban-col.kb-lane, .dark .kanban-page .kanban-col.kb-lane { background: transparent !important; border-color: transparent !important; }
html.dark .kanban-page .kanban-col.kb-lane + .kanban-col.kb-lane::before, .dark .kanban-page .kanban-col.kb-lane + .kanban-col.kb-lane::before { background: rgb(30, 41, 59); }
html.dark .kanban-page .kanban-col.kb-lane.kb-lane-over, .dark .kanban-page .kanban-col.kb-lane.kb-lane-over { background: rgba(16, 185, 129, 0.1) !important; }
html.dark .kanban-page .kanban-col-head.kb-lane-head, .dark .kanban-page .kanban-col-head.kb-lane-head { background: transparent !important; border-color: transparent !important; }
html.dark .kanban-page .kanban-col-body.kb-lane-body, .dark .kanban-page .kanban-col-body.kb-lane-body { background: transparent !important; }
html.dark .kb-lane-name, .dark .kb-lane-name { color: rgb(241, 245, 249); }
html.dark .kanban-page .kb-lane-count, .dark .kanban-page .kb-lane-count { background: rgb(30, 41, 59); color: rgb(203, 213, 225); }
html.dark .kb-lane-value, .dark .kb-lane-value { color: rgb(226, 232, 240); }
html.dark .kb-lane-weighted, .dark .kb-lane-weighted { color: rgb(100, 116, 139); }
html.dark .kanban-page .deal.kb-card, .dark .kanban-page .deal.kb-card { box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 2px; background: rgb(17, 26, 46) !important; border-color: rgb(34, 48, 73) !important; }
html.dark .kanban-page .deal.kb-card:hover, .dark .kanban-page .deal.kb-card:hover { box-shadow: rgba(0, 0, 0, 0.45) 0px 8px 22px; border-color: rgb(51, 65, 85) !important; }
html.dark .kanban-page .deal.kb-card.kb-acc-overdue, .dark .kanban-page .deal.kb-card.kb-acc-overdue { border-left-color: rgb(239, 68, 68) !important; }
html.dark .kanban-page .deal.kb-card.kb-acc-today, .dark .kanban-page .deal.kb-card.kb-acc-today { border-left-color: rgb(245, 158, 11) !important; }
html.dark .kanban-page .deal.kb-card.kb-acc-tomorrow, .dark .kanban-page .deal.kb-card.kb-acc-tomorrow, html.dark .kanban-page .deal.kb-card.kb-acc-future, .dark .kanban-page .deal.kb-card.kb-acc-future { border-left-color: rgb(16, 185, 129) !important; }
html.dark .kanban-page .deal.kb-card.kb-acc-nodate, .dark .kanban-page .deal.kb-card.kb-acc-nodate { border-left-color: rgb(59, 130, 246) !important; }
html.dark .kanban-page .deal.kb-card.kb-acc-none, .dark .kanban-page .deal.kb-card.kb-acc-none { border-left-color: rgb(51, 65, 85) !important; }
html.dark .kanban-page .deal.kb-card.kb-card-won, .dark .kanban-page .deal.kb-card.kb-card-won { background: linear-gradient(rgba(16, 185, 129, 0.16) 0%, rgb(17, 26, 46) 70%) !important; border-left-color: rgb(16, 185, 129) !important; }
html.dark .kanban-page .deal.kb-card.kb-card-lost, .dark .kanban-page .deal.kb-card.kb-card-lost { background: linear-gradient(rgba(239, 68, 68, 0.16) 0%, rgb(17, 26, 46) 70%) !important; border-left-color: rgb(239, 68, 68) !important; }
html.dark .kanban-page .deal.kb-card.kb-card-selected, .dark .kanban-page .deal.kb-card.kb-card-selected { background: rgba(16, 185, 129, 0.12) !important; border-color: rgb(16, 185, 129) !important; }
html.dark .kb-card-title, .dark .kb-card-title { color: rgb(248, 250, 252); }
html.dark .kb-card-sub, .dark .kb-card-sub { color: rgb(148, 163, 184); }
html.dark .kb-card-unread, .dark .kb-card-unread { border-color: rgb(17, 26, 46); }
html.dark .kb-icon-btn, .dark .kb-icon-btn { color: rgb(100, 116, 139); }
html.dark .kb-icon-btn.kb-win:hover, .dark .kb-icon-btn.kb-win:hover { background: rgba(16, 185, 129, 0.15); color: rgb(52, 211, 153); }
html.dark .kb-icon-btn.kb-lose:hover, .dark .kb-icon-btn.kb-lose:hover, html.dark .kb-icon-btn.kb-del:hover, .dark .kb-icon-btn.kb-del:hover { background: rgba(239, 68, 68, 0.15); color: rgb(248, 113, 113); }
html.dark .kb-icon-btn.kb-win-on, .dark .kb-icon-btn.kb-win-on { background: rgba(16, 185, 129, 0.2); color: rgb(52, 211, 153); border-color: rgba(16, 185, 129, 0.4); }
html.dark .kb-icon-btn.kb-lose-on, .dark .kb-icon-btn.kb-lose-on { background: rgba(239, 68, 68, 0.2); color: rgb(248, 113, 113); border-color: rgba(239, 68, 68, 0.4); }
html.dark .kb-tag, .dark .kb-tag { background: color-mix(in srgb, var(--kb-tag, #64748b) 22%, #111a2e); }
html.dark .kb-card-meta, .dark .kb-card-meta, html.dark .kb-card-note, .dark .kb-card-note { color: rgb(148, 163, 184); }
html.dark .kb-meta strong, .dark .kb-meta strong { color: rgb(203, 213, 225); }
html.dark .kb-card-note-step, .dark .kb-card-note-step { color: rgb(196, 181, 253); }
html.dark .kb-card-info, .dark .kb-card-info { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.3); color: rgb(191, 219, 254); }
html.dark .kb-chip-tasks, .dark .kb-chip-tasks { background: rgba(59, 130, 246, 0.15); color: rgb(147, 197, 253); }
html.dark .kb-chip-date, .dark .kb-chip-date { background: rgb(30, 41, 59); color: rgb(148, 163, 184); }
html.dark .kb-card-footer, .dark .kb-card-footer { border-top-color: rgb(30, 41, 59); }
html.dark .kb-card-value, .dark .kb-card-value { color: rgb(248, 250, 252); }
html.dark .kb-card-won .kb-card-value, .dark .kb-card-won .kb-card-value { color: rgb(52, 211, 153); }
html.dark .kb-card-lost .kb-card-value, .dark .kb-card-lost .kb-card-value { color: rgb(248, 113, 113); }
html.dark .kb-card-time, .dark .kb-card-time { color: rgb(100, 116, 139); }
html.dark .kb-owner img, .dark .kb-owner img, html.dark .kb-owner-fallback, .dark .kb-owner-fallback { border-color: rgb(51, 65, 85); background: rgb(30, 41, 59); color: rgb(203, 213, 225); }
html.dark .kb-owner-name, .dark .kb-owner-name { color: rgb(148, 163, 184); }
html.dark .kb-owner-ai, .dark .kb-owner-ai { background: rgba(99, 102, 241, 0.18); border-color: rgba(99, 102, 241, 0.45); color: rgb(165, 180, 252); }
html.dark .kb-lane-empty, .dark .kb-lane-empty { border-color: rgb(51, 65, 85); color: rgb(100, 116, 139); }
html.dark .kb-lane-more-btn, .dark .kb-lane-more-btn { background: rgb(17, 26, 46); border-color: rgb(34, 48, 73); color: rgb(203, 213, 225); }
html.dark .kb-lane-more-btn:hover, .dark .kb-lane-more-btn:hover { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.4); color: rgb(52, 211, 153); }
html.dark .kb-head-summary, .dark .kb-head-summary { color: rgb(148, 163, 184); }
html.dark .kb-head-summary strong, .dark .kb-head-summary strong { color: rgb(241, 245, 249); }
html.dark .kb-head-sep, .dark .kb-head-sep { color: rgb(51, 65, 85); }
html.dark .kanban-page .kb-pipeline-select, .dark .kanban-page .kb-pipeline-select { background-color: rgb(15, 23, 42); border-color: rgb(30, 41, 59); color: rgb(241, 245, 249); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.dp-overlay { --dp-bg: #ffffff; --dp-bg-soft: #f8fafc; --dp-bg-hover: #f2f4f7; --dp-chip-on: #eaedf2; --dp-line: #eef0f4; --dp-line-strong: #e3e7ed; --dp-text: #0f172a; --dp-text-2: #334155; --dp-muted: #64748b; --dp-faint: #94a3b8; --dp-accent: var(--primary-color, #4f46e5); --dp-accent-soft: rgba(79, 70, 229, .12); --dp-accent-text: var(--primary-color, #4f46e5); --dp-accent-tint: #f5f7ff; --dp-accent-line: #dfe3f5; --dp-field-bg: #ffffff; --dp-field-border: #dde2e9; --dp-field-border-hover: #c5ccd6; position: fixed; inset: 0px; z-index: 9998; background: rgba(15, 23, 42, 0.42); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dark .dp-overlay { --dp-accent-tint: #161d33; --dp-accent-line: #2b3456; }
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .dp-overlay { --dp-accent-soft: color-mix(in srgb, var(--primary-color, #4f46e5) 16%, transparent); --dp-accent-text: color-mix(in srgb, var(--primary-color, #4f46e5) 68%, #0f172a); }
  .dp-overlay { --dp-accent-tint: color-mix(in srgb, var(--primary-color, #4f46e5) 7%, #ffffff); --dp-accent-line: color-mix(in srgb, var(--primary-color, #4f46e5) 30%, #ffffff); }
  .dark .dp-overlay { --dp-accent-text: color-mix(in srgb, var(--primary-color, #4f46e5) 75%, #ffffff); --dp-accent-tint: color-mix(in srgb, var(--primary-color, #4f46e5) 9%, #111827); --dp-accent-line: color-mix(in srgb, var(--primary-color, #4f46e5) 30%, #111827); }
}
.dark .dp-overlay { --dp-bg: #111827; --dp-bg-soft: #0f172a; --dp-bg-hover: #1b2433; --dp-chip-on: #243044; --dp-line: #1e2635; --dp-line-strong: #2b3547; --dp-text: #e5e7eb; --dp-text-2: #cbd5e1; --dp-muted: #9aa4b2; --dp-faint: #6b7280; --dp-field-bg: #0f172a; --dp-field-border: #2e3a4d; --dp-field-border-hover: #3d4a60; background: rgba(2, 6, 23, 0.6); }
.dp-window { background: var(--dp-bg); color: var(--dp-text); width: 96vw; max-width: 1480px; height: 94vh; border-radius: 18px; box-shadow: rgba(2, 6, 23, 0.28) 0px 24px 70px, rgba(15, 23, 42, 0.05) 0px 0px 0px 1px; display: flex; flex-direction: column; overflow: hidden; font-size: 13px; line-height: 1.45; }
.dark .dp-window { box-shadow: rgba(0, 0, 0, 0.55) 0px 24px 70px, rgba(255, 255, 255, 0.06) 0px 0px 0px 1px; }
.dp-head { background: var(--dp-bg); border-bottom: 1px solid var(--dp-line); padding: 16px 22px 14px; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.dp-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp-identity { display: flex; align-items: center; gap: 14px; min-width: 0px; flex: 1 1 0%; }
.dp-avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex-shrink: 0; background: var(--dp-accent); color: rgb(255, 255, 255); display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 15px; letter-spacing: 0.02em; }
.dp-title-input { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 1px 8px; margin-left: -8px; width: 100%; min-width: 0px; color: inherit; font-family: inherit; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.dp-title-input:hover { background: var(--dp-bg-hover); }
.dp-title-input:focus { outline: none; border-color: var(--dp-accent); background: var(--dp-bg); box-shadow: 0 0 0 3px var(--dp-accent-soft); }
.dp-subline { font-size: 12.5px; color: var(--dp-muted); display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.dp-subline > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dp-subline b { color: var(--dp-text-2); font-weight: 600; }
.dp-subline svg.lucide, .dp-subline i[data-lucide] { width: 13px; height: 13px; opacity: 0.75; }
.dp-actions { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; justify-content: flex-end; }
.dp-actions-sep { width: 1px; height: 22px; background: var(--dp-line-strong); margin: 0px 4px; }
.dp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 7px 12px; line-height: 18px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid var(--dp-line-strong); background: var(--dp-bg); color: var(--dp-text-2); white-space: nowrap; text-decoration: none; transition: background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s; }
.dp-btn:hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-btn:disabled { opacity: 0.5; cursor: default; }
.dp-btn-primary { background: var(--dp-accent); border-color: transparent; color: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.12) 0px 1px 2px; }
.dp-btn-primary:hover { background: var(--dp-accent); color: rgb(255, 255, 255); filter: brightness(0.95); }
.dp-btn-icon { padding: 0px; width: 34px; height: 34px; }
.dp-btn-ghost { border-color: transparent; background: transparent; color: var(--dp-muted); }
.dp-btn-ghost:hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-btn.is-open { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 8px; }
.dp-btn-won { color: rgb(5, 150, 105); }
.dp-btn-won:hover { background: rgb(236, 253, 245); border-color: rgb(167, 243, 208); color: rgb(4, 120, 87); }
.dp-btn-lost { color: rgb(220, 38, 38); }
.dp-btn-lost:hover { background: rgb(254, 242, 242); border-color: rgb(254, 202, 202); color: rgb(185, 28, 28); }
.dp-btn-danger { color: rgb(220, 38, 38); }
.dark .dp-btn-won { color: rgb(52, 211, 153); }
.dark .dp-btn-won:hover { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); color: rgb(110, 231, 183); }
.dark .dp-btn-lost, .dark .dp-btn-danger { color: rgb(248, 113, 113); }
.dark .dp-btn-lost:hover { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); color: rgb(252, 165, 165); }
.dp-menu-wrap { position: relative; }
.dp-menu { position: absolute; right: 0px; top: calc(100% + 6px); z-index: 30; min-width: 250px; background: var(--dp-bg); border: 1px solid var(--dp-line-strong); border-radius: 12px; box-shadow: rgba(2, 6, 23, 0.16) 0px 16px 40px; padding: 6px; }
.dark .dp-menu { box-shadow: rgba(0, 0, 0, 0.5) 0px 16px 40px; }
.dp-menu-label { font-size: 11px; font-weight: 600; color: var(--dp-faint); padding: 6px 10px 4px; }
.dp-menu-item { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; border: 0px; background: none; font-size: 13px; font-family: inherit; color: var(--dp-text-2); cursor: pointer; }
.dp-menu-item:hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-menu-item .dp-menu-check { margin-left: auto; opacity: 0; color: var(--dp-accent); }
.dp-menu-item.is-active { color: var(--dp-text); font-weight: 600; }
.dp-menu-item.is-active .dp-menu-check { opacity: 1; }
.dp-menu-item.is-danger { color: rgb(220, 38, 38); }
.dp-menu-item.is-danger:hover { background: rgb(254, 242, 242); color: rgb(185, 28, 28); }
.dark .dp-menu-item.is-danger { color: rgb(248, 113, 113); }
.dark .dp-menu-item.is-danger:hover { background: rgba(239, 68, 68, 0.12); }
.dp-menu-sep { height: 1px; background: var(--dp-line); margin: 6px 4px; }
.dp-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; line-height: 16px; }
.dp-badge svg.lucide, .dp-badge i[data-lucide] { width: 12px !important; height: 12px !important; opacity: 1 !important; }
.dp-badge-won { background: rgb(236, 253, 245); color: rgb(4, 120, 87); }
.dp-badge-lost { background: rgb(254, 242, 242); color: rgb(185, 28, 28); }
.dp-badge-open { background: var(--dp-bg-hover); color: var(--dp-muted); }
.dp-badge-rot { background: rgb(255, 251, 235); color: rgb(180, 83, 9); }
.dark .dp-badge-won { background: rgba(16, 185, 129, 0.14); color: rgb(52, 211, 153); }
.dark .dp-badge-lost { background: rgba(239, 68, 68, 0.14); color: rgb(248, 113, 113); }
.dark .dp-badge-rot { background: rgba(245, 158, 11, 0.14); color: rgb(251, 191, 36); }
.dp-stages { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dp-stages::-webkit-scrollbar { display: none; }
.dp-stage { flex: 1 1 0px; min-width: 88px; position: relative; padding: 12px 2px 0px; font-size: 12px; font-weight: 500; color: var(--dp-faint); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; transition: color 0.15s; }
.dp-stage::before { content: ""; position: absolute; left: 0px; right: 0px; top: 0px; height: 6px; border-radius: 999px; background: var(--dp-line-strong); transition: background 0.15s, opacity 0.15s; }
.dp-stage:hover { color: var(--dp-text-2); }
.dp-stage:hover::before { background: var(--dp-faint); opacity: 0.45; }
.dp-stage.is-done { color: var(--dp-muted); }
.dp-stage.is-done::before { background: var(--dp-stage-color, #94a3b8); opacity: 0.5; }
.dp-stage.is-done:hover::before { opacity: 0.75; }
.dp-stage.is-current { color: var(--dp-text); font-weight: 650; cursor: default; }
.dp-stage.is-current::before { background: var(--dp-stage-color, var(--dp-accent)); opacity: 1; }
.dp-stage small { display: inline; margin-left: 6px; font-weight: 500; font-size: 11px; color: var(--dp-faint); }
.dp-body { flex: 1 1 0%; min-height: 0px; display: grid; grid-template-columns: 300px minmax(0px, 1fr) 296px; gap: 0px; }
.dp-col { min-height: 0px; overflow-y: auto; padding: 4px 20px 20px; scrollbar-width: thin; }
.dp-col-left { border-right: 1px solid var(--dp-line); background: var(--dp-bg); }
.dp-col-right { border-left: 1px solid var(--dp-line); background: var(--dp-bg); }
.dp-col-center { display: flex; flex-direction: column; min-height: 0px; padding: 0px; background: var(--dp-bg); }
.dp-section { padding: 14px 0px; border-bottom: 1px solid var(--dp-line); }
.dp-section:last-child { border-bottom: 0px; }
.dp-section-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin-bottom: 8px; font-size: 13px; font-weight: 650; color: var(--dp-text); }
.dp-section.is-collapsed .dp-section-title { margin-bottom: 0px; }
.dp-section-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0px; padding: 0px; margin: 0px; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.dp-section-toggle svg.lucide, .dp-section-toggle i[data-lucide] { width: 15px; height: 15px; color: var(--dp-faint); transition: transform 0.15s; }
.dp-section.is-collapsed .dp-section-toggle svg.lucide, .dp-section.is-collapsed .dp-section-toggle i[data-lucide] { transform: rotate(-90deg); }
.dp-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; border: 0px; background: transparent; color: var(--dp-faint); cursor: pointer; transition: background 0.15s, color 0.15s; }
.dp-icon-btn:hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 11px; }
.dp-label { font-size: 11.5px; color: var(--dp-muted); font-weight: 500; }
.dp-input, .dp-select, .dp-textarea { width: 100%; border: 1px solid var(--dp-line-strong); border-radius: 9px; padding: 7px 10px; font-size: 13px; font-family: inherit; background-color: var(--dp-bg); color: inherit; transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.dp-input:focus, .dp-select:focus, .dp-textarea:focus { outline: none; border-color: var(--dp-accent); box-shadow: 0 0 0 3px var(--dp-accent-soft); }
.dp-input::placeholder, .dp-textarea::placeholder { color: var(--dp-faint); }
.dp-input-wrap { display: flex; align-items: center; gap: 6px; }
.dp-input-money { font-weight: 650; color: rgb(5, 150, 105); }
.dark .dp-input-money { color: rgb(52, 211, 153); }
.dp-hint { font-size: 11.5px; color: var(--dp-faint); line-height: 1.4; }
.dp-static { padding: 6px 10px; font-size: 13px; font-weight: 500; color: var(--dp-muted); background: var(--dp-bg-soft); border: 1px solid var(--dp-line); border-radius: 9px; }
.dp-col-left .dp-field .dp-input, .dp-col-left .dp-field .dp-select, .dp-col-left .dp-field .dp-textarea { border-color: var(--dp-field-border); background-color: var(--dp-field-bg); padding: 6px 10px; font-weight: 500; color: var(--dp-text); }
.dp-col-left .dp-field .dp-input:hover, .dp-col-left .dp-field .dp-select:hover, .dp-col-left .dp-field .dp-textarea:hover { border-color: var(--dp-field-border-hover); }
.dp-col-left .dp-field .dp-input:focus, .dp-col-left .dp-field .dp-select:focus, .dp-col-left .dp-field .dp-textarea:focus { border-color: var(--dp-accent); }
.dp-col-left .dp-field .dp-textarea { resize: none; min-height: 36px; line-height: 1.45; }
.dp-col-left .dp-field .dp-input-money { font-weight: 650; color: rgb(5, 150, 105); }
.dark .dp-col-left .dp-field .dp-input-money { color: rgb(52, 211, 153); }
.dp-col-left .dp-field .dp-select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 14px auto; }
.dp-col-left .dp-field > span.dp-hint { display: none; }
.dp-col-left .dp-field:focus-within > span.dp-hint { display: block; }
.dp-col-left .dp-field > label { color: var(--dp-text-2); }
.dp-subgroup { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--dp-line-strong); }
.dp-subgroup-title { font-size: 12px; font-weight: 650; color: var(--dp-text-2); margin-bottom: 10px; }
.dp-nextstep { margin: 14px 0px 4px; padding: 12px 12px 4px; border-radius: 12px; background: var(--dp-accent-tint); border: 1px solid var(--dp-accent-line); }
.dp-nextstep .dp-field { margin-bottom: 8px; }
.dp-nextstep .dp-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--dp-accent-text); }
.dp-nextstep .dp-label::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' x2='4' y1='22' y2='15'/%3E%3C/svg%3E") center center / contain no-repeat; }
.dp-col-left .dp-nextstep .dp-field .dp-textarea { background-color: var(--dp-bg); border-color: var(--dp-accent-line); min-height: 58px; font-size: 13.5px; }
.dp-col-left .dp-nextstep .dp-field .dp-textarea:focus { border-color: var(--dp-accent); }
.dp-tags { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 2px; }
.dp-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.dp-tabs { display: flex; gap: 4px; padding: 0px 18px; border-bottom: 1px solid var(--dp-line); background: var(--dp-bg); position: sticky; top: 0px; z-index: 3; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; flex-shrink: 0; }
.dp-tabs::-webkit-scrollbar { display: none; }
.dp-tab { border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; background: transparent; padding: 13px 10px 11px; font-size: 13px; font-weight: 550; font-family: inherit; color: var(--dp-muted); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; margin-bottom: -1px; white-space: nowrap; flex-shrink: 0; transition: color 0.15s, border-color 0.15s; }
.dp-tab:hover { color: var(--dp-text); }
.dp-tab.is-active { color: var(--dp-text); border-bottom-color: var(--dp-accent); }
.dp-tab svg.lucide, .dp-tab i[data-lucide] { width: 15px; height: 15px; opacity: 0.8; }
.dp-tab .dp-count { background: var(--dp-bg-hover); color: var(--dp-muted); border-radius: 999px; padding: 0px 7px; font-size: 11px; font-weight: 600; line-height: 18px; }
.dp-tab.is-active .dp-count { background: var(--dp-chip-on); color: var(--dp-text); }
.dp-save-state { margin-left: auto; font-size: 11.5px; color: rgb(5, 150, 105); font-weight: 600; }
.dark .dp-save-state { color: rgb(52, 211, 153); }
.dp-tab-body { flex: 1 1 0%; min-height: 0px; overflow-y: auto; padding: 20px 24px; }
.dp-tab-body.is-iframe { padding: 0px; overflow: hidden; display: flex; }
.dp-iframe { flex: 1 1 0%; width: 100%; border: 0px; background: var(--dp-bg); }
.dp-tab-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; }
.dp-tab-head b { font-weight: 650; }
.dp-card { background: var(--dp-bg); border: 1px solid var(--dp-line-strong); border-radius: 14px; padding: 14px 16px; }
.dp-col-left .dp-card, .dp-col-right .dp-card { background: var(--dp-bg-soft); border-color: var(--dp-line); border-radius: 12px; padding: 12px 14px; }
.dp-compose { margin-bottom: 22px; padding: 10px 12px; border: 1px solid var(--dp-line-strong); border-radius: 14px; background: var(--dp-bg); box-shadow: rgba(15, 23, 42, 0.04) 0px 1px 2px; transition: border-color 0.15s, box-shadow 0.15s; }
.dp-compose:focus-within { border-color: var(--dp-accent); box-shadow: 0 0 0 3px var(--dp-accent-soft); }
.dp-compose > .dp-textarea, .dp-compose > .dp-input { border-color: transparent; background-color: transparent; padding: 6px 2px; box-shadow: none !important; }
.dp-compose > .dp-input { font-weight: 600; }
.dp-compose > .dp-textarea { resize: vertical; }
.dp-compose .dp-compose-row .dp-input, .dp-compose .dp-compose-row .dp-select { background-color: var(--dp-bg-soft); border-color: transparent; }
.dp-compose .dp-compose-row .dp-input:focus, .dp-compose .dp-compose-row .dp-select:focus { border-color: var(--dp-accent); }
.dp-compose-tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--dp-bg-hover); border-radius: 10px; margin-bottom: 6px; }
.dp-chip { border: 1px solid var(--dp-line-strong); background: var(--dp-bg); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; font-family: inherit; color: var(--dp-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: background 0.15s, color 0.15s; }
.dp-chip:hover { color: var(--dp-text); }
.dp-chip.is-active { background: var(--dp-accent); border-color: transparent; color: rgb(255, 255, 255); }
.dp-compose-tabs .dp-chip { border: 0px; background: transparent; color: var(--dp-muted); padding: 4px 11px; border-radius: 8px; font-size: 12.5px; }
.dp-compose-tabs .dp-chip.is-active { background: var(--dp-bg); color: var(--dp-text); box-shadow: rgba(15, 23, 42, 0.1) 0px 1px 2px, rgba(15, 23, 42, 0.04) 0px 0px 0px 1px; }
.dark .dp-compose-tabs .dp-chip.is-active { background: var(--dp-chip-on); }
.dp-compose-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.dp-compose-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; align-items: center; }
.dp-compose-foot .dp-btn:not(.dp-btn-primary) { border-color: transparent; background: transparent; color: var(--dp-muted); }
.dp-compose-foot .dp-btn:not(.dp-btn-primary):hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-voice-status { font-size: 11.5px; color: var(--dp-muted); margin-right: auto; }
.dp-voice-status.is-err { color: rgb(220, 38, 38); }
.dp-voice-status.is-ok { color: rgb(22, 163, 74); }
.dp-btn.is-recording, .dp-compose-foot .dp-btn.is-recording { background: rgb(220, 38, 38); border-color: rgb(220, 38, 38); color: rgb(255, 255, 255); }
.dp-btn.is-recording:hover, .dp-compose-foot .dp-btn.is-recording:hover { background: rgb(185, 28, 28); color: rgb(255, 255, 255); }
.dp-voice-dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: rgb(255, 255, 255); animation: 1s ease-in-out 0s infinite normal none running dp-voice-pulse; }
@keyframes dp-voice-pulse { 
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.dp-filters { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 16px; }
.dp-filters .dp-chip { border: 0px; background: transparent; color: var(--dp-muted); padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 550; }
.dp-filters .dp-chip:hover { background: var(--dp-bg-hover); color: var(--dp-text); }
.dp-filters .dp-chip.is-active { background: var(--dp-chip-on); color: var(--dp-text); font-weight: 600; }
.dp-tl { position: relative; padding-left: 38px; }
.dp-tl::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 1px; background: var(--dp-line-strong); }
.dp-tl-item { position: relative; padding-bottom: 18px; }
.dp-tl-dot { position: absolute; left: -38px; top: 0px; width: 27px; height: 27px; border-radius: 999px; background: var(--dp-bg-hover); box-shadow: 0 0 0 4px var(--dp-bg); display: flex; align-items: center; justify-content: center; color: var(--dp-muted); }
.dp-tl-dot i, .dp-tl-dot svg { width: 13px !important; height: 13px !important; }
.dp-tl-dot.c-note { background: rgb(254, 243, 199); color: rgb(180, 83, 9); }
.dp-tl-dot.c-task { background: rgb(219, 234, 254); color: rgb(29, 78, 216); }
.dp-tl-dot.c-done { background: rgb(209, 250, 229); color: rgb(4, 120, 87); }
.dp-tl-dot.c-stage { background: rgb(237, 233, 254); color: rgb(109, 40, 217); }
.dp-tl-dot.c-conv { background: rgb(241, 245, 249); color: rgb(71, 85, 105); }
.dp-tl-dot.c-won { background: rgb(16, 185, 129); color: rgb(255, 255, 255); }
.dp-tl-dot.c-lost { background: rgb(239, 68, 68); color: rgb(255, 255, 255); }
.dp-tl-dot.c-call { background: rgb(207, 250, 254); color: rgb(14, 116, 144); }
.dp-tl-dot.c-doc { background: rgb(252, 231, 243); color: rgb(190, 24, 93); }
.dp-tl-dot.c-change { background: rgb(241, 245, 249); color: rgb(100, 116, 139); }
.dp-tl-dot.c-camp { background: rgb(255, 237, 213); color: rgb(194, 65, 12); }
.dark .dp-tl-dot.c-note { background: rgba(245, 158, 11, 0.16); color: rgb(251, 191, 36); }
.dark .dp-tl-dot.c-task { background: rgba(59, 130, 246, 0.18); color: rgb(147, 197, 253); }
.dark .dp-tl-dot.c-done { background: rgba(16, 185, 129, 0.16); color: rgb(52, 211, 153); }
.dark .dp-tl-dot.c-stage { background: rgba(139, 92, 246, 0.2); color: rgb(196, 181, 253); }
.dark .dp-tl-dot.c-conv, .dark .dp-tl-dot.c-change { background: rgb(31, 41, 55); color: rgb(156, 163, 175); }
.dark .dp-tl-dot.c-call { background: rgba(6, 182, 212, 0.16); color: rgb(103, 232, 249); }
.dark .dp-tl-dot.c-doc { background: rgba(236, 72, 153, 0.16); color: rgb(249, 168, 212); }
.dark .dp-tl-dot.c-camp { background: rgba(249, 115, 22, 0.16); color: rgb(253, 186, 116); }
.dp-tl-card { background: transparent; border: 0px; padding: 4px 0px 0px; }
.dp-tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.dp-tl-head b { font-weight: 600; color: var(--dp-text); }
.dp-tl-time { color: var(--dp-faint); font-size: 11.5px; white-space: nowrap; }
.dp-tl-body { font-size: 13px; color: var(--dp-text-2); margin-top: 3px; white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.dp-tl-item.t-notes .dp-tl-body { background: var(--dp-bg-soft); border: 1px solid var(--dp-line); border-radius: 10px; padding: 9px 12px; margin-top: 6px; }
.dp-tl-meta { font-size: 11.5px; color: var(--dp-muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dp-tl-meta:empty { display: none; }
.dp-tl-day { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 10.5px; font-weight: 600; color: var(--dp-faint); margin: 2px 0px 14px -38px; padding: 2px 0px; background: var(--dp-bg); text-transform: uppercase; letter-spacing: 0.06em; }
.dp-tl-day::after { content: ""; flex: 1 1 0%; height: 1px; background: var(--dp-line); }
.dp-tl-del { opacity: 0; transition: opacity 0.15s; }
.dp-tl-item:hover .dp-tl-del, .dp-tl-del:focus { opacity: 1; }
@media (hover: none) {
  .dp-tl-del { opacity: 1; }
}
.dp-empty { text-align: center; color: var(--dp-faint); font-size: 13px; padding: 28px 8px; }
.dp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0px; border-bottom: 1px solid var(--dp-line); font-size: 13px; }
.dp-row:last-child { border-bottom: 0px; }
.dp-row.dp-task { align-items: flex-start; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--dp-line-strong); border-radius: 12px; background: var(--dp-bg); }
.dp-row.dp-task:last-child { border-bottom: 1px solid var(--dp-line-strong); }
.dp-row.dp-task.is-done { background: var(--dp-bg-soft); border-color: var(--dp-line); color: var(--dp-muted); }
.dp-row.dp-task.is-done:last-child { border-bottom-color: var(--dp-line); }
.dp-row.is-link { cursor: pointer; margin: 0px -10px; padding: 9px 10px; border-radius: 10px; border-bottom: 0px; transition: background 0.15s; }
.dp-row.is-link:hover { background: var(--dp-bg-hover); }
.dp-muted { color: var(--dp-muted); font-size: 12px; }
.dp-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; padding: 5px 0px; color: var(--dp-muted); }
.dp-kv b { font-weight: 600; text-align: right; color: var(--dp-text); }
.dp-ads { display: flex; flex-direction: column; gap: 6px; }
.dp-ads-img { width: 100%; max-width: 160px; height: auto; max-height: 120px; border-radius: 8px; object-fit: cover; border: 1px solid var(--dp-border, #e2e8f0); }
.dp-ads-rows { min-width: 0px; }
.dp-ads-row { display: block; padding: 4px 0px; border-bottom: 1px dashed var(--dp-border, #e2e8f0); }
.dp-ads-row:last-child { border-bottom: 0px; }
.dp-ads-k { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dp-muted); }
.dp-ads-v { display: block; font-size: 12.5px; color: var(--dp-text); overflow-wrap: anywhere; white-space: pre-wrap; }
.dp-ads-v.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.dp-dup-note { display: flex; gap: 8px; align-items: flex-start; margin: 0px 0px 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; background: rgb(255, 251, 235); color: rgb(180, 83, 9); }
.dark .dp-dup-note { background: rgba(245, 158, 11, 0.14); color: rgb(251, 191, 36); }
.dp-dup-note a { font-weight: 600; text-decoration: underline; color: inherit; }
.dp-dup-note svg.lucide, .dp-dup-note i[data-lucide] { flex: 0 0 auto; margin-top: 2px; width: 14px !important; height: 14px !important; }
.dp-process-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 22px; border-bottom: 1px solid var(--dp-line); font-size: 13px; flex-shrink: 0; }
.dp-process-note.is-move { background: var(--dp-accent-tint); color: var(--dp-accent-text); }
.dp-process-note.is-activity { background: rgb(255, 251, 235); color: rgb(180, 83, 9); }
.dark .dp-process-note.is-activity { background: rgba(245, 158, 11, 0.14); color: rgb(251, 191, 36); }
.dp-process-note-text { flex: 1 1 260px; min-width: 0px; }
.dp-process-note-text b { font-weight: 700; }
.dp-process-note svg.lucide, .dp-process-note i[data-lucide] { flex: 0 0 auto; width: 15px !important; height: 15px !important; }
.dp-lead-head { display: flex; align-items: center; gap: 10px; }
.dp-lead-score { font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--dp-text); }
.dp-lead-score small { font-size: 12px; font-weight: 500; color: var(--dp-muted); }
.dp-lead-bar { height: 6px; border-radius: 999px; background: var(--dp-bg-hover); overflow: hidden; margin: 10px 0px 4px; }
.dp-lead-bar > span { display: block; height: 100%; border-radius: 999px; }
.dp-badge-hot { background: rgb(255, 237, 213); color: rgb(194, 65, 12); }
.dp-lead-bar > span.is-hot { background: rgb(249, 115, 22); }
.dp-badge-warm { background: rgb(254, 249, 195); color: rgb(161, 98, 7); }
.dp-lead-bar > span.is-warm { background: rgb(234, 179, 8); }
.dp-badge-cold { background: rgb(224, 242, 254); color: rgb(3, 105, 161); }
.dp-lead-bar > span.is-cold { background: rgb(14, 165, 233); }
.dark .dp-badge-hot { background: rgba(249, 115, 22, 0.18); color: rgb(253, 186, 116); }
.dark .dp-badge-warm { background: rgba(234, 179, 8, 0.16); color: rgb(253, 224, 71); }
.dark .dp-badge-cold { background: rgba(14, 165, 233, 0.16); color: rgb(125, 211, 252); }
.dp-site-pages { margin-top: 8px; border-top: 1px solid var(--dp-line); padding-top: 8px; }
.dp-site-page { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 3px 0px; color: var(--dp-text); }
.dp-site-page span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0px; }
.dp-site-page span:last-child { color: var(--dp-muted); flex: 0 0 auto; }
.dp-due { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 7px; font-size: 11.5px; font-weight: 600; }
.dp-due svg.lucide, .dp-due i[data-lucide] { width: 12px !important; height: 12px !important; }
.dp-due.overdue { background: rgb(254, 242, 242); color: rgb(220, 38, 38); }
.dp-due.today { background: rgb(255, 251, 235); color: rgb(180, 83, 9); }
.dp-due.future { background: rgb(236, 253, 245); color: rgb(4, 120, 87); }
.dp-due.none { background: var(--dp-bg-hover); color: var(--dp-muted); }
.dark .dp-due.overdue { background: rgba(239, 68, 68, 0.14); color: rgb(248, 113, 113); }
.dark .dp-due.today { background: rgba(245, 158, 11, 0.14); color: rgb(251, 191, 36); }
.dark .dp-due.future { background: rgba(16, 185, 129, 0.14); color: rgb(52, 211, 153); }
.dp-next-title { font-weight: 600; font-size: 13.5px; color: var(--dp-text); }
.dp-money { color: rgb(5, 150, 105) !important; }
.dark .dp-money { color: rgb(52, 211, 153) !important; }
.dp-call-analysis { margin-top: 6px; }
.dp-call-analysis .dp-badge { cursor: pointer; border: 0px; font-family: inherit; }
.dp-link { background: none; border: 0px; padding: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 11.5px; font-weight: 600; color: var(--dp-accent-text); cursor: pointer; text-decoration: none; }
.dp-link:hover { text-decoration: underline; }
.dp-link-muted { color: var(--dp-muted); }
.dp-link-muted:hover { color: rgb(220, 38, 38); }
.dp-call-breakdown { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--dp-bg-soft); border: 1px solid var(--dp-line); }
.dp-call-crit { display: grid; grid-template-columns: 90px 1fr 32px; align-items: center; gap: 8px; font-size: 11.5px; padding: 2px 0px; }
.dp-call-crit b { text-align: right; }
.dp-call-bar { height: 6px; border-radius: 999px; background: var(--dp-line-strong); overflow: hidden; }
.dp-call-bar i { display: block; height: 100%; background: var(--dp-accent); border-radius: 999px; }
.dp-call-transcript { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--dp-bg-soft); border: 1px dashed var(--dp-line-strong); font-size: 12px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; }
.dp-stage-hist { display: flex; gap: 2px; height: 6px; border-radius: 999px; overflow: hidden; background: var(--dp-line-strong); margin: 2px 0px 10px; }
.dp-stage-hist span { display: block; height: 100%; min-width: 3px; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dp-table th { text-align: left; font-size: 11.5px; color: var(--dp-muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--dp-line-strong); }
.dp-table td { padding: 8px 6px; border-bottom: 1px solid var(--dp-line); vertical-align: middle; }
.dp-table td.num, .dp-table th.num { text-align: right; }
.dp-items-form { display: grid; grid-template-columns: 2fr 70px 110px 90px auto; gap: 6px; align-items: end; margin-top: 12px; }
.dp-company-search { position: relative; }
.dp-dropdown { position: absolute; left: 0px; right: 0px; top: 100%; z-index: 20; background: var(--dp-bg); border: 1px solid var(--dp-line-strong); border-radius: 10px; box-shadow: rgba(2, 6, 23, 0.15) 0px 10px 30px; max-height: 220px; overflow-y: auto; margin-top: 4px; padding: 4px; }
.dp-dropdown button { display: block; width: 100%; text-align: left; padding: 8px 10px; font-size: 13px; background: none; border: 0px; border-radius: 7px; cursor: pointer; color: inherit; font-family: inherit; }
.dp-dropdown button:hover { background: var(--dp-bg-hover); }
.dp-modal { position: fixed; inset: 0px; z-index: 10000; background: rgba(15, 23, 42, 0.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dp-modal-box { background: var(--dp-bg); color: var(--dp-text); border-radius: 16px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: rgba(2, 6, 23, 0.3) 0px 24px 70px; font-size: 13px; }
.dp-window i[data-lucide], .dp-window svg.lucide, .dp-modal i[data-lucide], .dp-modal svg.lucide { width: 15px; height: 15px; flex-shrink: 0; }
.dp-btn i[data-lucide], .dp-btn svg.lucide { width: 16px; height: 16px; }
.dp-btn-sm i[data-lucide], .dp-btn-sm svg.lucide { width: 14px; height: 14px; }
.dp-chip i[data-lucide], .dp-chip svg.lucide { width: 14px; height: 14px; }
.dp-loading { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--dp-faint); font-size: 14px; gap: 10px; }
.dp-spin { width: 18px; height: 18px; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-left-color: ; border-left-style: ; border-left-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-top-color: var(--dp-accent); border-radius: 999px; animation: 0.8s linear 0s infinite normal none running dp-spin; }
@keyframes dp-spin { 
  100% { transform: rotate(360deg); }
}
.dp-ai { background: linear-gradient(rgba(139, 92, 246, 0.07), rgba(139, 92, 246, 0.02)); border: 1px solid rgba(139, 92, 246, 0.18); border-radius: 12px; padding: 12px; font-size: 12.5px; line-height: 1.5; color: var(--dp-text-2); }
.dp-ai b { color: var(--dp-text); font-weight: 600; }
.dp-ai ul { margin: 4px 0px 0px 16px; padding: 0px; }
.dark .dp-ai { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.25); }
.dp-mobile-nav { display: none; }
@media (max-width: 1100px) {
  .dp-body { grid-template-columns: 270px minmax(0px, 1fr); }
  .dp-col-right { display: none; }
  .dp-col-right.is-mobile-visible { display: block; grid-column: 1 / -1; border: 0px; }
}
@media (max-width: 760px) {
  .dp-overlay { padding: 0px; align-items: stretch; }
  .dp-window { width: 100vw; height: calc(100dvh - var(--crm-bottom-nav-h, 0px)); border-radius: 0px; }
  .dp-head { padding: 12px 14px; gap: 12px; }
  .dp-head-row { flex-wrap: wrap; align-items: flex-start; }
  .dp-identity { flex-basis: 100%; }
  .dp-actions { flex-wrap: wrap; justify-content: flex-start; }
  .dp-actions-sep { display: none; }
  .dp-body { grid-template-columns: 1fr; }
  .dp-col { padding: 4px 14px 16px; }
  .dp-col-left, .dp-col-right { display: none; }
  .dp-col-left.is-mobile-visible, .dp-col-right.is-mobile-visible { display: block; border: 0px; }
  .dp-col-center.is-mobile-hidden { display: none; }
  .dp-mobile-nav { display: flex; gap: 2px; margin: 8px 14px; padding: 3px; border-radius: 10px; background: var(--dp-bg-hover); }
  .dp-mobile-nav .dp-chip { flex: 1 1 0%; justify-content: center; border: 0px; background: transparent; border-radius: 8px; }
  .dp-mobile-nav .dp-chip.is-active { background: var(--dp-bg); color: var(--dp-text); box-shadow: rgba(15, 23, 42, 0.1) 0px 1px 2px; }
  .dp-tab-body { padding: 16px 14px; }
  .dp-items-form { grid-template-columns: 1fr 1fr; }
  .dp-title-input { font-size: 17px; }
  .dp-stage { min-width: 76px; }
  .dp-stage small { display: none; }
}
#scw-root { position: fixed; right: 20px; bottom: 20px; z-index: 10030; font-size: 14px; }
#scw-bubble { width: 56px; height: 56px; border-radius: 9999px; border: 0px; cursor: pointer; background: var(--primary-color, #22c55e); color: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.22) 0px 6px 20px; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
#scw-bubble:hover { transform: translateY(-2px); }
#scw-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0px 5px; border-radius: 9999px; background: rgb(239, 68, 68); color: rgb(255, 255, 255); font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; border: 2px solid rgb(255, 255, 255); }
#scw-panel { position: absolute; right: 0px; bottom: 68px; width: 360px; max-width: calc(-40px + 100vw); height: 520px; max-height: calc(-120px + 100vh); background: rgb(255, 255, 255); border-radius: 16px; box-shadow: rgba(0, 0, 0, 0.25) 0px 12px 40px; display: none; flex-direction: column; overflow: hidden; }
#scw-panel.scw-open { display: flex; }
.scw-head { padding: 14px 16px; background: var(--primary-color, #22c55e); color: rgb(255, 255, 255); display: flex; align-items: center; gap: 10px; }
.scw-head h3 { margin: 0px; font-size: 15px; font-weight: 600; }
.scw-head button { background: transparent; border: 0px; color: rgb(255, 255, 255); cursor: pointer; padding: 4px; opacity: 0.9; }
.scw-body { flex: 1 1 0%; overflow-y: auto; background: rgb(248, 250, 252); }
.scw-foot { padding: 10px 12px; border-top: 1px solid rgb(226, 232, 240); background: rgb(255, 255, 255); }
.scw-item { padding: 12px 14px; border-bottom: 1px solid rgb(233, 238, 245); cursor: pointer; background: rgb(255, 255, 255); text-align: left; }
.scw-item:hover { background: rgb(241, 245, 249); }
.scw-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scw-subject { font-weight: 600; color: rgb(15, 23, 42); line-height: 1.3; }
.scw-meta { font-size: 12px; color: rgb(100, 116, 139); margin-top: 3px; }
.scw-prev { font-size: 12px; color: rgb(100, 116, 139); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scw-dot { width: 9px; height: 9px; border-radius: 9999px; background: rgb(239, 68, 68); flex-shrink: 0; }
.scw-chip { font-size: 11px; padding: 2px 8px; border-radius: 9999px; background: rgb(226, 232, 240); color: rgb(71, 85, 105); white-space: nowrap; }
.scw-msg { max-width: 85%; width: fit-content; padding: 9px 12px; border-radius: 14px; margin: 8px 12px; font-size: 13px; line-height: 1.45; word-break: break-word; text-align: left; }
.scw-text { white-space: pre-wrap; }
.scw-row { display: flex; align-items: flex-end; gap: 6px; margin: 0px 12px; }
.scw-row.mine { justify-content: flex-end; }
.scw-row .scw-msg { margin: 8px 0px; }
.scw-av, .scw-av-ini { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; margin-bottom: 9px; object-fit: cover; }
.scw-av-ini { display: flex; align-items: center; justify-content: center; background: var(--primary-color, #22c55e); color: rgb(255, 255, 255); font-size: 11px; font-weight: 700; line-height: 1; }
.scw-msg.mine { margin-left: auto; background: var(--primary-color, #22c55e); color: rgb(255, 255, 255); border-bottom-right-radius: 4px; }
.scw-msg.theirs { background: rgb(255, 255, 255); border: 1px solid rgb(226, 232, 240); color: rgb(30, 41, 59); border-bottom-left-radius: 4px; }
.scw-msg .scw-who { font-size: 11px; opacity: 0.75; margin-bottom: 3px; }
.scw-msg code { background: rgba(0, 0, 0, 0.08); padding: 1px 4px; border-radius: 4px; }
.scw-input { width: 100%; border: 1px solid rgb(203, 213, 225); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-family: inherit; resize: none; box-sizing: border-box; }
.scw-btn { background: var(--primary-color, #22c55e); color: rgb(255, 255, 255); border: 0px; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.scw-btn:disabled { opacity: 0.65; cursor: wait; }
.scw-btn.ghost { background: transparent; color: rgb(71, 85, 105); }
.scw-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.scw-mic { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgb(203, 213, 225); padding: 7px 12px; }
.scw-vstatus { margin-top: 6px; font-size: 12px; text-align: left; }
.scw-empty { padding: 32px 20px; text-align: center; color: rgb(100, 116, 139); font-size: 13px; }
.scw-hint { margin: 10px 12px; padding: 8px 12px; border-radius: 10px; font-size: 12px; background: rgb(239, 246, 255); color: rgb(29, 78, 216); border: 1px solid rgb(219, 234, 254); text-align: left; }
.dark #scw-panel, .dark .scw-item, .dark .scw-foot, .dark .scw-msg.theirs { background: rgb(30, 41, 59); color: rgb(226, 232, 240); }
.dark .scw-body { background: rgb(15, 23, 42); }
.dark .scw-item { border-bottom-color: rgb(51, 65, 85); }
.dark .scw-item:hover { background: rgb(51, 65, 85); }
.dark .scw-subject { color: rgb(241, 245, 249); }
.dark .scw-msg.theirs { border-color: rgb(51, 65, 85); }
.dark .scw-foot { border-top-color: rgb(51, 65, 85); }
.dark .scw-input { background: rgb(15, 23, 42); border-color: rgb(51, 65, 85); color: rgb(226, 232, 240); }
.dark .scw-chip { background: rgb(51, 65, 85); color: rgb(203, 213, 225); }
.dark .scw-mic { border-color: rgb(51, 65, 85); color: rgb(203, 213, 225); }
.dark .scw-hint { background: rgba(30, 58, 95, 0.2); color: rgb(147, 197, 253); border-color: rgba(30, 64, 175, 0.333); }
#scw-root.scw-sidebar-mode #scw-bubble { display: none; }
#scw-root.scw-sidebar-mode #scw-panel { bottom: 68px; }
.scw-sidebar-badge { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; padding: 0px 4px; border-radius: 10px; background: rgb(239, 68, 68); color: rgb(255, 255, 255); align-items: center; justify-content: center; font-size: 9px; line-height: 16px; }
@media (max-width: 640px) {
  #scw-root.scw-sidebar-mode { right: 12px; bottom: calc(88px + env(safe-area-inset-bottom,0px)); z-index: 10040; }
  #scw-root.scw-sidebar-mode #scw-panel { bottom: 0px; width: calc(-24px + 100vw); max-width: calc(-24px + 100vw); height: min(520px, 100dvh - 160px); max-height: calc(100dvh - 160px); }
}
@keyframes wz-system-progress-pulse { 
  0% { transform: translateX(-120%); width: 35%; }
  50% { transform: translateX(80%); width: 45%; }
  100% { transform: translateX(220%); width: 35%; }
}
#wz-order-alert-min { display: none; }
html.chat-ios #wz-order-alert { right: 12px !important; max-width: calc(-24px + 100vw) !important; bottom: calc(var(--ios-tabs-inset,0px) + 12px) !important; z-index: 40 !important; padding: 12px 14px !important; }
html.chat-ios[data-chat-floating-search="true"] #wz-order-alert { bottom: calc(var(--ios-tabs-inset,0px) + 68px) !important; }
html.chat-ios[data-chat-overlay="true"] #wz-order-alert, html.chat-ios[data-chat-conversation="true"] #wz-order-alert, html.chat-ios[data-chat-support="true"] #wz-order-alert { display: none !important; }
html.chat-ios #wz-order-alert strong { display: block; padding-right: 30px; font-size: 14px; line-height: 1.3; }
html.chat-ios #wz-order-alert-min { display: flex; align-items: center; justify-content: center; position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; color: rgb(203, 213, 225); background: none; border: 0px; font-size: 22px; cursor: pointer; }
html.chat-ios #wz-order-alert.is-min { border-radius: 999px; cursor: pointer; padding: 10px 16px !important; }
html.chat-ios #wz-order-alert.is-min strong { padding-right: 0px; font-size: 13px; }
html.chat-ios #wz-order-alert.is-min > p, html.chat-ios #wz-order-alert.is-min > div, html.chat-ios #wz-order-alert.is-min #wz-order-alert-min { display: none !important; }
@keyframes wzCaRing { 
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(20deg); }
  20% { transform: rotate(-16deg); }
  30% { transform: rotate(12deg); }
  40% { transform: rotate(-8deg); }
  50% { transform: rotate(0deg); }
}