@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap";:root{--bg-primary: #ffffff;--bg-secondary: #edf7f5;--bg-card: #ffffff;--bg-card-hover: #e8f4f1;--primary: #009b8f;--primary-rgb: 0, 155, 143;--primary-hover: #007f75;--primary-soft: #c9f0ea;--primary-soft-strong: #b7e9e1;--text-primary: #111827;--text-secondary: #65817e;--border-subtle: #badfd8;--border-strong: #96cbc2;--danger: #ef4444;--danger-rgb: 239, 68, 68;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1)}body.dark-theme{--bg-primary: #0b1220;--bg-secondary: #0f172a;--bg-card: #111827;--bg-card-hover: #1f2937;--text-primary: #f8fafc;--text-secondary: #cbd5e1;--border-subtle: #334155;--border-strong: #475569;--primary-soft: #134e4a;--primary-soft-strong: #115e59}body{margin:0;font-family:Inter,sans-serif;color:var(--text-primary);background-color:var(--bg-secondary);-webkit-font-smoothing:antialiased}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;box-sizing:border-box;background:linear-gradient(180deg,rgba(var(--primary-rgb),.08),transparent 45%),var(--bg-secondary)}.login-panel{width:min(430px,100%);border:1px solid #dcefed;border-radius:8px;background:var(--bg-card);box-shadow:0 16px 40px #0f172a14;padding:28px;box-sizing:border-box}.login-panel-loading{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:112px;color:var(--text-secondary)}.login-brand{display:flex;align-items:center;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--border-subtle)}.login-brand-icon{width:48px;height:48px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--primary-hover);background:var(--primary-soft-strong)}.login-brand h1{margin:0;font-size:1.6rem;line-height:1.1;letter-spacing:0}.login-brand p{margin:6px 0 0;color:var(--text-secondary);font-size:.92rem}.login-form{display:grid;gap:16px;margin-top:22px}.login-form label{display:grid;gap:7px}.login-form label span{color:#536b6b;font-size:.78rem;font-weight:800;text-transform:uppercase}.login-form input{width:100%;min-height:44px;border:1px solid #d6e4e4;border-radius:8px;background:#fff;color:var(--text-primary);box-sizing:border-box;padding:0 12px;font:inherit}.login-form input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.16)}.login-error{border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#991b1b;padding:10px 12px;font-size:.88rem;font-weight:700}.login-success{border:1px solid #99f6e4;border-radius:8px;background:#ecfdf5;color:#047857;padding:10px 12px;font-size:.88rem;font-weight:700}.login-hint{margin:-6px 0 0;color:var(--text-secondary);font-size:.84rem}.login-submit{min-height:44px;border:1px solid var(--primary);border-radius:8px;background:var(--primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:800;cursor:pointer}.login-submit:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.login-submit:disabled{opacity:.72;cursor:not-allowed}.login-link{border:none;background:transparent;color:var(--primary-hover);font:inherit;font-size:.9rem;font-weight:800;cursor:pointer;padding:2px 0;justify-self:center}.login-link:hover:not(:disabled){color:var(--primary);text-decoration:underline}.login-link:disabled{opacity:.65;cursor:not-allowed}.profile-page{min-height:100vh;background:var(--bg-secondary);padding:32px;box-sizing:border-box}.profile-panel{width:min(760px,100%);background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:8px;box-shadow:var(--shadow-sm);padding:28px;box-sizing:border-box}.profile-heading{display:flex;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--border-subtle)}.profile-heading h1{margin:0;font-size:1.45rem;line-height:1.2;letter-spacing:0}.profile-heading p{margin:6px 0 0;color:var(--text-secondary);font-size:.92rem}.profile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.profile-detail-item{display:flex;gap:10px;min-width:0;border:1px solid var(--border-subtle);border-radius:8px;padding:14px;background:var(--bg-card)}.profile-detail-item svg{color:var(--text-secondary);flex:0 0 auto;margin-top:2px}.profile-detail-item div{min-width:0}.profile-detail-item span{display:block;color:var(--text-secondary);font-size:.76rem;font-weight:700;text-transform:uppercase}.profile-detail-item strong{display:block;margin-top:4px;color:var(--text-primary);font-size:.95rem;font-weight:700;overflow-wrap:anywhere}.profile-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:22px}.profile-notice{margin-top:18px;padding:10px 12px;border-radius:8px;font-size:.86rem;font-weight:700}.profile-notice.is-success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.profile-notice.is-error{border:1px solid #fecaca;background:#fef2f2;color:#991b1b}.profile-form{margin-top:22px}.profile-password-section{margin-top:26px;padding-top:24px;border-top:1px solid var(--border-subtle)}.profile-section-heading{display:flex;align-items:flex-start;gap:10px}.profile-section-heading svg{color:var(--primary);margin-top:3px;flex:0 0 auto}.profile-section-heading h2{margin:0;color:var(--text-primary);font-size:1.05rem;line-height:1.2}.profile-section-heading p{margin:5px 0 0;color:var(--text-secondary);font-size:.88rem}.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-form label{display:flex;flex-direction:column;gap:6px;min-width:0}.profile-form label span{color:var(--text-secondary);font-size:.78rem;font-weight:800;text-transform:uppercase}.profile-form input{width:100%;min-height:38px;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);box-sizing:border-box;padding:0 10px;font:inherit}.profile-form input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.16)}.profile-photo-field{grid-column:1 / -1}.profile-photo-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.profile-upload-btn{min-height:38px;padding:0 14px;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-card);color:var(--primary-hover);display:inline-flex!important;align-items:center;justify-content:center;font-size:.9rem;font-weight:800;cursor:pointer;white-space:nowrap}.profile-upload-btn:hover{border-color:var(--primary);color:var(--primary)}.profile-save-btn,.profile-logout-btn{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#be123c;text-decoration:none;font-size:.9rem;font-weight:800}.profile-save-btn{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer}.profile-save-btn:hover:not(:disabled){background:var(--primary-hover)}.profile-save-btn:disabled{opacity:.65;cursor:not-allowed}.profile-logout-btn:hover{background:#ffe4e6;color:#9f1239}.profile-spin{animation:profileSpin .9s linear infinite}@keyframes profileSpin{to{transform:rotate(360deg)}}body.dark-theme .profile-notice.is-success{background:#1665342e;color:#bbf7d0;border-color:#4ade8059}body.dark-theme .login-success{background:#14532d47;color:#bbf7d0;border-color:#2dd4bf59}body.dark-theme .profile-notice.is-error{background:#991b1b38;color:#fecaca;border-color:#f8717159}@media(max-width:720px){.profile-page{padding:18px}.profile-panel{padding:20px}.profile-heading{align-items:flex-start}.profile-detail-grid,.profile-form-grid,.profile-photo-upload-row{grid-template-columns:1fr}}.chat-page{display:flex;height:100vh;background-color:var(--bg-secondary);overflow:hidden;min-width:0;position:relative}.chat-connection-banner{position:fixed;left:50%;top:14px;transform:translate(-50%);z-index:2600;display:flex;align-items:center;gap:10px;max-width:min(92vw,620px);padding:10px 12px;border:1px solid #fca5a5;border-radius:8px;background:#fff7ed;color:#991b1b;box-shadow:var(--shadow-md);font-size:.84rem;font-weight:700}.chat-connection-banner span{min-width:0}.chat-connection-banner button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid #ef4444;border-radius:6px;background:#fff;color:#991b1b;cursor:pointer;font:inherit;white-space:nowrap}.chat-connection-banner button:hover{background:#fee2e2}.chat-connection-pill{position:absolute;left:14px;bottom:14px;z-index:1200;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#15803d;box-shadow:var(--shadow-sm);font-size:.72rem;font-weight:800;pointer-events:none}.conversation-reply-dot{width:9px;height:9px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 3px #ef444424;flex:0 0 auto}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.window-expired-warning{font-size:.75rem;text-align:center;color:#991b1b;padding:.5rem;background:#fee2e2;border-radius:6px;margin:4px 16px}.conversation-list{background-color:var(--bg-card);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;width:100%;min-width:0;max-width:none}.conversation-panel{flex-shrink:0;min-width:0;height:100%;overflow:hidden}.chat-resize-handle{width:1px;background:var(--border-subtle);transition:width .15s ease,background .15s ease}.chat-resize-handle:hover{width:4px;background:var(--border-strong)}.conversation-list ::-webkit-scrollbar,.messages-container::-webkit-scrollbar,.client-sidebar::-webkit-scrollbar{width:5px}.conversation-list ::-webkit-scrollbar-track,.messages-container::-webkit-scrollbar-track,.client-sidebar::-webkit-scrollbar-track{background:transparent}.conversation-list ::-webkit-scrollbar-thumb,.messages-container::-webkit-scrollbar-thumb,.client-sidebar::-webkit-scrollbar-thumb{background:#00000026;border-radius:4px}.conversation-list ::-webkit-scrollbar-thumb:hover,.messages-container::-webkit-scrollbar-thumb:hover,.client-sidebar::-webkit-scrollbar-thumb:hover{background:#0000004d}.chat-window{flex:1;min-width:0}.chat-sidebar-shell{flex-shrink:0;min-width:280px;height:100%;background:var(--bg-card);position:relative}.chat-sidebar-shell.is-expanded{position:fixed;inset:0 0 0 72px;z-index:120;width:auto!important;min-width:0;background:var(--bg-card);box-shadow:-18px 0 42px #0f172a2e}.client-sidebar{width:100%;min-width:0;height:100%;flex-shrink:0;border-left:1px solid var(--border-subtle);background:var(--bg-card);overflow-y:auto;padding-right:4px}@media(max-width:1024px){.conversation-panel{width:330px!important}.chat-sidebar-shell{min-width:240px}}@media(max-width:768px){.chat-page{flex-direction:column}.chat-connection-pill{left:12px;bottom:12px}.conversation-panel{width:100%!important;height:38vh;max-height:38vh}.conversation-list{min-width:unset}.chat-resize-handle{display:none}.chat-window{flex:1}.chat-sidebar-shell{position:fixed;right:0;top:0;height:100vh;width:85vw;max-width:340px;z-index:100;box-shadow:-4px 0 20px #00000026}.chat-sidebar-shell.is-expanded{left:0;width:100vw!important;max-width:none;z-index:120}.client-sidebar{border-left:0}}.conversation-header{padding:1.5rem;font-weight:700;font-size:1.5rem;letter-spacing:0;display:flex;justify-content:space-between;align-items:center}.conversation-item{display:flex;align-items:flex-start;gap:.7rem;padding:.78rem .95rem;cursor:pointer;border-bottom:1px solid #d7eee9;transition:all .2s;position:relative;min-width:0}.conversation-item:hover{background-color:var(--bg-card-hover)}.conversation-item.selected{background-color:#d7eee9}.conversation-item.needs-reply{background-image:linear-gradient(90deg,#ef444412,#fff0 38%)}.conversation-avatar-wrap{position:relative;flex:0 0 auto}.conversation-reply-dot.avatar-dot{position:absolute;right:-1px;top:-1px;width:11px;height:11px;border:2px solid #ffffff}.conversation-reply-count.avatar-dot{right:-8px;top:-7px;width:auto;min-width:18px;height:18px;padding:0 5px;border-width:2px;color:#fff;font-size:.62rem;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #ef444429}.conversation-info{flex:1;overflow:hidden;min-width:0}.conversation-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.55rem;margin-bottom:.18rem;min-width:0}.conversation-name{font-weight:750;color:var(--text-primary);font-size:.92rem;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-time{font-size:.75rem;color:var(--text-secondary);white-space:nowrap;flex-shrink:0}.conversation-side-meta{flex:0 0 auto;display:inline-flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:58px}.conversation-contact-action{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:6px;background:#edf7f5;color:var(--primary-hover);cursor:pointer;padding:0}.conversation-contact-action:hover{border-color:var(--primary);background:var(--primary-soft)}.conversation-preview{font-size:.78rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-identity-row{display:flex;align-items:center;min-width:0;margin-bottom:.18rem}.conversation-contact-link,.conversation-contact-text{min-width:0;max-width:100%;display:inline-flex;align-items:center;gap:5px;padding:0;color:var(--primary-hover);font-size:.76rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-contact-link{border:none;background:transparent;cursor:pointer}.conversation-contact-link svg{flex:0 0 auto}.conversation-preview-row{display:flex;justify-content:space-between;align-items:center;gap:.4rem}.conversation-preview-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-agent{flex:0 0 auto;color:#64748b;font-size:.68rem;font-weight:700}.contact-quick-modal-backdrop{position:absolute;inset:0;z-index:55;display:flex;align-items:center;justify-content:center;padding:16px;background:#0f172a6b}.contact-quick-modal{width:min(420px,100%);display:grid;gap:11px;padding:16px;border:1px solid var(--border-subtle);border-radius:10px;background:#fff;box-shadow:0 24px 60px #0f172a3d}.contact-quick-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--border-subtle)}.contact-quick-modal-header h3{margin:0;color:#0f172a;font-size:1rem}.contact-quick-modal-header span{display:block;margin-top:2px;color:#64748b;font-size:.78rem}.contact-quick-modal-header button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-subtle);border-radius:8px;background:#fff;color:#475569;cursor:pointer}.contact-quick-modal label{display:grid;gap:5px;color:#334155;font-size:.75rem;font-weight:750}.contact-quick-modal input,.contact-quick-modal select{width:100%;min-width:0;box-sizing:border-box;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;color:#0f172a;background:#fff;font-size:.84rem}.contact-quick-modal input:focus,.contact-quick-modal select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.14)}.contact-quick-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.contact-quick-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.contact-quick-actions button{min-height:34px;padding:0 12px;border-radius:8px;font-size:.78rem;font-weight:800;cursor:pointer}.contact-quick-actions button:first-child{border:1px solid var(--border-strong);background:#fff;color:#475569}.contact-quick-actions button:last-child{border:1px solid var(--primary);background:var(--primary);color:#fff}.contact-quick-actions button:disabled{opacity:.65;cursor:progress}@media(max-width:520px){.contact-quick-grid{grid-template-columns:1fr}}.chat-window{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--bg-secondary);background-image:none}.chat-header{padding:.85rem 1.25rem;background:#fff;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between;gap:1rem;z-index:10;box-shadow:none}.chat-header-compact{min-height:72px;padding:.8rem 1rem}.chat-header-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.chat-header-info h3{margin:0;font-size:1rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a}.chat-controller-pill{margin-top:4px;display:inline-flex;align-items:center;gap:5px;min-height:20px;padding:2px 7px;border-radius:999px;border:1px solid #dbe3ec;background:#f8fafc;color:#475569;font-size:.68rem;font-weight:800;line-height:1}.chat-controller-pill em{font-style:normal;font-weight:700;color:#64748b}.chat-controller-pill.typebot,.chat-controller-pill.n8n,.chat-controller-pill.ai,.chat-controller-pill.campaign{border-color:#ddd6fe;background:#f5f3ff;color:#6d28d9}.chat-controller-pill.human{border-color:#bbf7d0;background:#f0fdf4;color:#047857}.chat-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;flex:0 0 auto}.chat-header-transfer{position:relative}.chat-header-icon-button{position:relative;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:8px;background:#fff;color:#486764;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;flex:0 0 auto}.chat-header-icon-button:hover{background:var(--bg-card-hover);border-color:var(--primary);color:var(--primary-hover)}.chat-header-icon-button:disabled{opacity:.55;cursor:progress}.chat-header-icon-button.success{color:#059669}.chat-header-icon-button.success:hover{background:#ecfdf5;border-color:#a7f3d0}.chat-header-icon-button.danger{color:#dc2626}.chat-header-icon-button.danger:hover{background:#fef2f2;border-color:#fecaca}.chat-header-icon-button.opportunity{color:#486764}.chat-header-icon-button.automation{color:#7c3aed;border-color:#ddd6fe;background:#f5f3ff}.chat-header-icon-button.automation:hover{background:#ede9fe;border-color:#c4b5fd;color:#6d28d9}.chat-header-icon-button.bell{color:#486764}.chat-header-icon-button.bell.has-count{border-color:var(--border-strong);background:var(--bg-card-hover);color:var(--primary-hover);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.1)}.chat-header-icon-button.bell span{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:var(--danger);color:#fff;font-size:.65rem;font-weight:800;line-height:1}.chat-header-icon-button.sidebar.active{background:var(--primary);border-color:var(--primary);color:#fff}.chat-header-icon-corner{position:absolute;right:7px;bottom:6px;stroke-width:3}.tag-manager-btn.compact{position:relative;width:38px;height:38px;justify-content:center;border:1px solid var(--border-strong);border-radius:8px;background:#fff;color:#486764;padding:0}.tag-manager-btn.compact:hover{background:var(--bg-card-hover);border-color:var(--primary);color:var(--primary-hover)}.tag-manager-count{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:var(--danger);color:#fff;font-size:.65rem;font-weight:800;line-height:1}.chat-header-info small{color:var(--text-secondary);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.messages-container{flex:1;overflow-y:auto;min-height:0;padding:1rem 1.5rem .5rem;display:flex;flex-direction:column;gap:.5rem}.message-bubble-wrapper{display:flex;margin-bottom:.25rem;animation:messageSlideIn .2s ease-out}.message-bubble-wrapper.inbound{justify-content:flex-start}.message-bubble-wrapper.outbound{justify-content:flex-end}.message-bubble{max-width:65%;padding:.5rem .75rem;border-radius:.5rem;position:relative;font-size:.95rem;line-height:1.4;box-shadow:none;border:1px solid var(--border-subtle)}.message-bubble-wrapper.inbound .message-bubble{background-color:#fff;color:var(--text-primary);border-top-left-radius:0}.message-bubble-wrapper.outbound .message-bubble{background-color:#dff4ef;border-color:#96cbc2;color:#111827;border-top-right-radius:0}.message-bubble.internal-note{background-color:#edf7f5;border:1px solid var(--border-strong);color:#486764;border-radius:.5rem}.message-sender-label{display:inline-flex;align-items:center;margin-bottom:.25rem;padding:.1rem .35rem;border-radius:999px;font-size:.63rem;font-weight:700;line-height:1.1;letter-spacing:0;color:#475569;background:#4755691a}.message-sender-label.ai,.message-sender-label.automation{color:var(--primary-hover);background:rgba(var(--primary-rgb),.13)}.message-sender-label.agent{color:#047857;background:#10b98121}.template-history-card{min-width:min(300px,72vw);max-width:360px}.template-history-title{display:inline-flex;align-items:center;gap:6px;margin-bottom:7px;padding:3px 7px;border-radius:999px;background:rgba(var(--primary-rgb),.1);color:var(--primary-hover);font-size:.7rem;font-weight:800}.template-history-name{margin-bottom:8px;color:#0f172a;font-size:.82rem;font-weight:800}.template-history-header{margin-bottom:6px;color:#111827;font-weight:800}.template-history-body{white-space:pre-wrap;word-break:break-word}.template-history-footer{margin-top:8px;color:#64748b;font-size:.8rem}.template-history-buttons{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(15,23,42,.12)}.template-history-button{min-height:32px;display:flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:#edf7f5;color:var(--primary-hover);font-size:.84rem;font-weight:800}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:2px}.message-time{font-size:.65rem;color:#00000073}.read-indicator{display:flex;align-items:center;color:#00000073}.read-indicator.read{color:#53bdeb}.chat-input-container{padding:.75rem 1rem;background-color:#fff;border-top:1px solid var(--border-subtle);display:flex;align-items:center;gap:.75rem}.chat-input-action{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:10px;background:#fff;color:#486764;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.chat-input-action:hover:not(:disabled){background:#e8f4f1;border-color:var(--primary);color:var(--primary-hover);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.1)}.chat-input-action:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.18)}.chat-input-action:active:not(:disabled){transform:translateY(1px)}.chat-input-action:disabled{cursor:not-allowed;opacity:.55}.chat-input-action.note-toggle.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-hover);box-shadow:inset 0 0 0 1px rgba(var(--primary-rgb),.16)}.chat-attach-button{color:#334155}.chat-compose-body{display:flex;flex:1;min-width:0}.chat-textarea{flex:1;border:none;border-radius:8px;padding:10px 12px;background:#fff;outline:none;resize:none;font-size:.95rem;color:var(--text-primary);max-height:100px;min-height:24px;overflow-y:auto;font-family:inherit;line-height:1.4}.channel-pill{display:inline-flex;align-items:center;gap:4px;font-size:.7rem;padding:1px 8px;border-radius:999px;font-weight:700;background:#d7eee9;color:#374151}.channel-pill.email{background:#edf7f5;color:var(--primary-hover)}.email-thread-container{background:#fff;background-image:none;padding:0 32px 1.5rem;gap:0}.email-subject-bar{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:12px;padding:22px 0 18px;background:#fff;border-bottom:1px solid var(--border-subtle);box-shadow:none;color:#0f172a}.email-subject-bar>div{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.email-subject-bar span{color:#475569;font-size:.72rem;font-weight:700;text-transform:uppercase}.email-subject-bar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.32rem;line-height:1.25;color:#0f172a}.email-subject-bar em{color:var(--primary-hover);font-size:.82rem;font-style:normal;font-weight:700;white-space:nowrap}.email-sort-button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:#e8f4f1;color:#334155;cursor:pointer;font-size:.82rem;font-weight:700;white-space:nowrap}.email-sort-button:hover{background:#eef2f7;border-color:#94a3b8}.email-message{width:100%;max-width:1160px;margin:0;border:none;border-bottom:1px solid #d8dee8;border-radius:0;background:#fff;overflow:visible;box-shadow:none}.email-message.outbound{border-bottom-color:var(--border-strong)}.email-message-header{display:flex;align-items:flex-start;gap:14px;padding:22px 0 12px;border-bottom:none;background:#fff}.email-message.outbound .email-message-header{background:#fff}.email-message-avatar{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#f1f5f9;color:#334155;flex-shrink:0}.email-message.outbound .email-message-avatar{background:var(--primary-soft);color:var(--primary-hover)}.email-message-meta{flex:1;min-width:0}.email-message-title{display:flex;align-items:baseline;gap:10px;min-width:0}.email-message-title strong{color:#0b1220;font-size:1.02rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-message-title span,.email-message-addresses,.email-message-date{color:#5b6472;font-size:.84rem}.email-message-addresses{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:3px}.email-message-date{display:flex;align-items:center;gap:5px;white-space:nowrap}.email-message-body{padding:12px 0 28px 56px;overflow-x:auto}.email-html-content,.email-text-content{color:#0f172a;font-size:1rem;line-height:1.68;overflow-wrap:break-word;word-wrap:break-word}.email-text-content{white-space:pre-wrap}.email-html-content img{max-width:100%;height:auto}.email-html-content .crm-email-attachments{max-width:520px}.email-html-content .crm-email-attachments a{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--border-strong);border-radius:8px;background:#edf7f5;color:var(--primary-hover)!important;font-size:.86rem}.email-attachment-block{display:flex;align-items:center;gap:10px;color:#475569}.email-attachment-list{display:grid;gap:8px;max-width:640px;margin-top:18px}.email-attachment-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.email-attachment-info{display:flex;align-items:center;gap:8px;min-width:0;color:#334155;font-size:.88rem}.email-attachment-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-attachment-info em{color:#64748b;font-style:normal;white-space:nowrap}.email-attachment-download{display:inline-flex;align-items:center;gap:6px;border:1px solid #94a3b8;border-radius:7px;background:#fff;color:#0f766e;cursor:pointer;flex-shrink:0;font-size:.82rem;font-weight:700;min-height:34px;padding:7px 10px}.email-attachment-download:hover{background:#ecfdf5;border-color:#0f766e}.email-composer{align-items:center;flex-wrap:wrap;gap:10px;background:#e8f4f1;border-top:1px solid var(--border-subtle);box-shadow:0 -2px 8px #0f172a0d;padding:12px 32px}.email-compose-context{order:1;flex:1 0 100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:8px;background:#fff;color:var(--primary-hover)}.email-compose-context div div{font-size:.9rem;font-weight:700}.email-compose-context span{display:block;margin-top:2px;color:#475569;font-size:.74rem}.email-compose-body{order:2;flex:1 0 100%;display:flex;width:100%;min-width:0}.email-composer .chat-textarea{width:100%;min-height:190px;max-height:420px;box-sizing:border-box;resize:vertical;border:1px solid var(--border-strong);background:#fff;color:#111827;font-size:.98rem;box-shadow:inset 0 1px 2px #0f172a0a}.email-composer .chat-input-action{order:3;width:auto;height:38px;min-width:38px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:#e8f4f1;color:#334155;cursor:pointer;font-size:.82rem;font-weight:600}.email-composer .chat-input-action.note-toggle.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-hover)}.email-composer .send-button{order:3;height:38px;margin-left:auto;box-shadow:0 6px 14px rgba(var(--primary-rgb),.22)}.email-empty-content{color:#64748b;font-size:.9rem;font-style:italic}.send-button{width:40px;height:40px;border-radius:50%;border:none;background:transparent;color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center}.send-button.active{color:var(--primary)}.tag-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:12px;font-size:.7rem;font-weight:500;color:#fff;margin-right:4px}.tag-manager-btn{background:transparent;border:1px solid var(--border-subtle);padding:4px 8px;border-radius:4px;font-size:.8rem;cursor:pointer;display:flex;align-items:center;gap:4px}.message-bubble-wrapper:hover .reply-btn{opacity:1!important}.reply-btn:hover{background:#0000000d!important}.message-bubble-wrapper.highlighted .message-bubble{animation:quotedMessagePulse 1.4s ease-out}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes quotedMessagePulse{0%{box-shadow:0 0 #25d36673;border-color:#25d366}45%{box-shadow:0 0 0 8px #25d36624;border-color:#25d366}to{box-shadow:0 0 #25d36600}}.messages-container blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid var(--border-strong);background:rgba(var(--primary-rgb),.04);color:#4b5563;font-size:.85rem}.messages-container .gmail_quote{margin:8px 0;padding:8px 12px;border-left:3px solid var(--border-strong);background:rgba(var(--primary-rgb),.04);color:#4b5563}.messages-container .gmail_attr{color:#6b7280;font-size:.8rem;margin-bottom:4px}body.dark-theme{background:#0b1220!important;color:#f8fafc!important}body.dark-theme .App,body.dark-theme .App>main,body.dark-theme .login-page,body.dark-theme .profile-page,body.dark-theme .chat-page,body.dark-theme .chat-window,body.dark-theme .messages-container,body.dark-theme .conversation-panel,body.dark-theme .conversation-list,body.dark-theme .chat-sidebar-shell,body.dark-theme .client-sidebar,body.dark-theme .settings-container,body.dark-theme .settings-content,body.dark-theme .crm-kanban-page,body.dark-theme .crm-contacts-page,body.dark-theme .crm-products-page,body.dark-theme .crm-activities-page,body.dark-theme .funnel-dashboard-page,body.dark-theme .admin-accounts-page{background:#0b1220!important;color:#f8fafc!important}body.dark-theme .App>aside,body.dark-theme .login-panel,body.dark-theme .profile-panel,body.dark-theme .conversation-header,body.dark-theme .chat-header,body.dark-theme .chat-input-container,body.dark-theme .email-composer,body.dark-theme .email-thread-container,body.dark-theme .email-subject-bar,body.dark-theme .email-message,body.dark-theme .email-message-header,body.dark-theme .email-attachment-item,body.dark-theme .chat-header-transfer>div,body.dark-theme .contact-quick-modal,body.dark-theme .new-conversation-modal,body.dark-theme .close-conversation-modal,body.dark-theme .chat-opportunity-modal,body.dark-theme .sidebar-activity-modal{background:#111827!important;color:#f8fafc!important;border-color:#334155!important}body.dark-theme :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme :is(input,textarea)::placeholder{color:#94a3b8!important}body.dark-theme :is(.login-brand p,.login-form label span,.profile-heading p,.profile-form label span,.profile-muted,.conversation-time,.conversation-preview,.chat-header-info small,.message-time,.email-message-title span,.email-message-addresses,.email-message-date,.email-attachment-info,.email-attachment-info em,.email-subject-bar span,.email-empty-content,.settings-muted,.settings-page-subtitle,.funnel-dashboard-muted,.crm-stage-meta,.crm-card-kicker,.crm-card-date,.crm-card-owner,.crm-contacts-line,.crm-products-line,.crm-activities-date){color:#cbd5e1!important}body.dark-theme :is(.login-brand h1,.profile-heading h1,.conversation-name,.chat-header-info h3,.message-bubble,.template-history-name,.template-history-header,.email-subject-bar strong,.email-message-title strong,.email-html-content,.email-text-content,.settings-container h1,.settings-container h2,.settings-container h3,.settings-container strong,.crm-kanban-page h1,.crm-kanban-page h2,.crm-kanban-page h3,.crm-kanban-page strong,.crm-card-title,.crm-card-contact,.crm-contacts-page h1,.crm-contacts-page h2,.crm-contacts-page h3,.crm-products-page h1,.crm-products-page h2,.crm-products-page h3,.crm-activities-page h1,.crm-activities-page h2,.crm-activities-page h3,.funnel-dashboard-page h1,.funnel-dashboard-page h2,.funnel-dashboard-page h3,.admin-accounts-page h1,.admin-accounts-page h2,.admin-accounts-page h3){color:#f8fafc!important}body.dark-theme .conversation-item{background:#111827!important;border-bottom-color:#334155!important;color:#f8fafc!important}body.dark-theme .conversation-item:hover,body.dark-theme .conversation-item.selected{background:#1f2937!important}body.dark-theme .conversation-item.selected{box-shadow:inset 3px 0 #14b8a6}body.dark-theme .conversation-item.needs-reply{background-image:linear-gradient(90deg,#ef44442e,#11182700 48%)!important}body.dark-theme .conversation-reply-dot.avatar-dot{border-color:#111827!important}body.dark-theme .conversation-header [style*="position: absolute"],body.dark-theme .conversation-header [style*="position: relative"],body.dark-theme .conversation-header select,body.dark-theme .conversation-header label,body.dark-theme .conversation-header button[type=button],body.dark-theme .conversation-header button:not([type]){background:#111827!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme .conversation-header button[type=button]:hover,body.dark-theme .conversation-header button:not([type]):hover,body.dark-theme .conversation-contact-action:hover,body.dark-theme .chat-header-icon-button:hover,body.dark-theme .tag-manager-btn:hover,body.dark-theme .template-history-button:hover,body.dark-theme .note-toggle:hover,body.dark-theme .chat-input-action:hover{background:#1f2937!important;border-color:#14b8a6!important;color:#ccfbf1!important}body.dark-theme .chat-header-icon-button,body.dark-theme .tag-manager-btn,body.dark-theme .tag-manager-btn.compact,body.dark-theme .profile-upload-btn,body.dark-theme .conversation-contact-action,body.dark-theme .template-history-button,body.dark-theme .email-sort-button,body.dark-theme .email-attachment-download,body.dark-theme .chat-input-action,body.dark-theme .note-toggle,body.dark-theme .send-button,body.dark-theme .contact-quick-actions button,body.dark-theme .new-conversation-modal button[type=button],body.dark-theme .close-conversation-modal button:not(:last-child),body.dark-theme .chat-opportunity-modal button[type=button],body.dark-theme .sidebar-activity-modal button[type=button]{background:#1f2937!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme .chat-header-icon-button.success{color:#86efac!important}body.dark-theme .chat-header-icon-button.danger{color:#fca5a5!important}body.dark-theme .chat-header-icon-button.sidebar.active,body.dark-theme .chat-input-action.note-toggle.active,body.dark-theme .send-button.active,body.dark-theme .login-submit,body.dark-theme .contact-quick-actions button:last-child,body.dark-theme .chat-opportunity-modal button[type=submit],body.dark-theme .sidebar-activity-modal button[type=submit]{background:#009b8f!important;border-color:#009b8f!important;color:#fff!important}body.dark-theme .message-bubble-wrapper.inbound .message-bubble,body.dark-theme .message-bubble-wrapper.outbound .message-bubble,body.dark-theme .message-bubble.internal-note,body.dark-theme .template-history-card{background:#1f2937!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme .message-sender-label,body.dark-theme .template-history-title,body.dark-theme .channel-pill,body.dark-theme .channel-pill.email,body.dark-theme .chat-connection-pill{background:#134e4a!important;border-color:#0f766e!important;color:#ccfbf1!important}body.dark-theme .template-history-footer,body.dark-theme .messages-container blockquote,body.dark-theme .messages-container .gmail_quote,body.dark-theme .messages-container .gmail_attr{background:#111827!important;border-color:#475569!important;color:#cbd5e1!important}body.dark-theme .email-html-content *,body.dark-theme .email-text-content *{background:transparent!important;color:#f8fafc!important}body.dark-theme .email-html-content .crm-email-attachments a{background:#1f2937!important;border-color:#475569!important;color:#ccfbf1!important}body.dark-theme .client-sidebar div[style],body.dark-theme .client-sidebar section,body.dark-theme .client-sidebar article,body.dark-theme .client-sidebar form:not(.sidebar-activity-modal),body.dark-theme .new-conversation-modal div[style],body.dark-theme .close-conversation-modal div[style],body.dark-theme .chat-opportunity-modal div[style],body.dark-theme .sidebar-activity-modal div[style]{background-color:#111827!important;background:#111827!important;border-color:#334155!important;color:#f8fafc!important}body.dark-theme .client-sidebar :is(h3,h4,p,label,small,strong),body.dark-theme .client-sidebar span:not(.conversation-reply-dot):not(.tag-manager-count),body.dark-theme .new-conversation-modal :is(h3,h4,p,label,small,strong,span,div),body.dark-theme .close-conversation-modal :is(h3,h4,p,label,small,strong,span,div),body.dark-theme .chat-opportunity-modal :is(h3,h4,p,label,small,strong,span,div),body.dark-theme .sidebar-activity-modal :is(h3,h4,p,label,small,strong,span,div){color:#f8fafc!important}body.dark-theme .client-sidebar article>span,body.dark-theme .client-sidebar section>span,body.dark-theme .new-conversation-modal div[style*="background: #c9f0ea"],body.dark-theme .sidebar-activity-modal div[style*="background: #edf7f5"]{background:#1f2937!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme .window-expired-warning,body.dark-theme .login-error,body.dark-theme .settings-alert-error,body.dark-theme .funnel-dashboard-error,body.dark-theme .crm-contacts-error,body.dark-theme .crm-products-error,body.dark-theme .crm-activities-error{background:#450a0a!important;border-color:#991b1b!important;color:#fecaca!important}body.dark-theme .conversation-reply-dot,body.dark-theme .tag-manager-count,body.dark-theme .chat-header-icon-button.bell span,body.dark-theme .conversation-header span[style*="background: #ef4444"]{background:#ef4444!important;color:#fff!important;box-shadow:0 0 0 3px #ef444438!important}body.dark-theme .chat-resize-handle,body.dark-theme .conversation-list ::-webkit-scrollbar-thumb,body.dark-theme .messages-container::-webkit-scrollbar-thumb,body.dark-theme .client-sidebar::-webkit-scrollbar-thumb{background:#475569!important}body.dark-theme :is(.settings-sidebar,.settings-card,.settings-table-wrap,.settings-table,.pipelines-settings-list,.pipelines-settings-detail,.pipelines-settings-summary div,.pipeline-stage-editor,.pipeline-access-panel,.custom-fields-panel,.crm-kanban-header,.crm-stage-column,.crm-stage-header,.crm-opportunity-card,.crm-stage-empty,.crm-detail-drawer,.crm-detail-header,.crm-detail-panel,.crm-modal,.crm-action-details,.crm-contacts-header,.crm-contacts-filters,.crm-contacts-table-wrap,.crm-contacts-detail,.crm-contacts-detail-item,.crm-contacts-modal,.crm-organizations-modal,.crm-organization-form,.crm-products-header,.crm-products-filters,.crm-products-table-wrap,.crm-products-modal,.crm-activities-header,.crm-activities-filters,.crm-activities-table-wrap,.crm-activities-modal,.funnel-dashboard-header,.funnel-dashboard-kpi,.funnel-dashboard-card,.funnel-dashboard-card-body,.funnel-dashboard-table-wrap,.admin-accounts-header,.admin-accounts-list,.admin-accounts-form,.admin-accounts-table){background:#111827!important;border-color:#334155!important;color:#f8fafc!important}body.dark-theme :is(.settings-table th,.settings-table td,.crm-contacts-table th,.crm-contacts-table td,.crm-products-table th,.crm-products-table td,.crm-activities-table th,.crm-activities-table td,.funnel-dashboard-table th,.funnel-dashboard-table td){background:#111827!important;border-color:#334155!important;color:#f8fafc!important}body.dark-theme :is(.settings-nav-item,.settings-sidebar-toggle,.settings-row-actions button,.settings-segmented button,.crm-stage-quick-add,.crm-contacts-icon-button,.crm-contacts-secondary-button,.crm-products-icon-button,.crm-products-secondary-button,.crm-activities-icon-button,.crm-activities-secondary-button,.funnel-dashboard-secondary,.funnel-dashboard-icon,.admin-accounts-refresh){background:#1f2937!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme :is(.settings-nav-item.active,.settings-segmented button.active,.crm-contacts-primary-button,.crm-products-primary-button,.crm-activities-primary-button,.funnel-dashboard-primary,.admin-accounts-primary){background:#009b8f!important;border-color:#009b8f!important;color:#fff!important}body.dark-theme .crm-kanban-board,body.dark-theme .crm-board{background-color:#0b1220!important;background-image:linear-gradient(#1f2937 1px,transparent 1px),linear-gradient(90deg,#1f2937 1px,transparent 1px)!important}body.dark-theme .crm-stage-color{opacity:1}body.dark-theme .crm-card-tag,body.dark-theme .settings-code-pill,body.dark-theme .settings-status-pill,body.dark-theme .funnel-dashboard-badge{border-color:#475569!important}.crm-products-page{height:100vh;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#edf7f5;color:#111827}.crm-products-loading{align-items:center;justify-content:center;gap:10px;color:#486764;font-weight:800}.crm-products-header{flex:0 0 auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:#fff;border-bottom:1px solid #badfd8}.crm-products-title{min-width:220px;display:flex;align-items:center;gap:12px}.crm-products-title-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#007f75;background:#c9f0ea;flex:0 0 auto}.crm-products-title h1,.crm-products-modal h2{margin:0;font-size:1.2rem;line-height:1.2}.crm-products-title p,.crm-products-modal header p{margin:2px 0 0;color:#65817e;font-size:.82rem;font-weight:800}.crm-products-actions{display:flex;align-items:center;gap:10px}.crm-products-icon-button,.crm-products-primary-button,.crm-products-secondary-button,.crm-products-row-actions button,.crm-products-modal header button{border-radius:8px;border:1px solid transparent;font:inherit;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap}.crm-products-icon-button,.crm-products-row-actions button,.crm-products-modal header button{width:40px;height:40px;background:#fff;border-color:#96cbc2;color:#486764}.crm-products-icon-button:hover,.crm-products-secondary-button:hover,.crm-products-row-actions button:hover,.crm-products-modal header button:hover{background:#d7eee9}.crm-products-primary-button{min-height:40px;padding:0 13px;background:#009b8f;color:#fff}.crm-products-primary-button:hover{background:#007f75}.crm-products-primary-button:disabled{opacity:.6;cursor:wait}.crm-products-secondary-button{min-height:40px;padding:0 12px;background:#fff;border-color:#96cbc2;color:#334155}.crm-products-error,.crm-products-notice{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 18px 0;padding:10px 12px;border-radius:8px;font-size:.84rem;font-weight:800}.crm-products-error{border:1px solid #fecaca;background:#fff1f2;color:#991b1b}.crm-products-notice{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.crm-products-error button,.crm-products-notice button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.crm-products-summary{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;padding:12px 18px}.crm-products-summary div{min-height:68px;padding:12px;border:1px solid #badfd8;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:4px}.crm-products-summary span,.crm-products-field span{color:#65817e;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-products-summary strong{color:#111827;font-size:1.45rem;line-height:1}.crm-products-filters{flex:0 0 auto;display:flex;align-items:end;gap:10px;padding:0 18px 12px;flex-wrap:wrap}.crm-products-search{width:min(420px,42vw);min-width:240px;height:40px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#65817e}.crm-products-search input{width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:.88rem}.crm-products-field{min-width:150px;display:flex;flex-direction:column;gap:5px}.crm-products-field.wide{min-width:240px}.crm-products-field.full{grid-column:1 / -1}.crm-products-field input,.crm-products-field select,.crm-products-money-input{width:100%;min-width:0;height:40px;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;font:inherit;font-size:.88rem;outline:none}.crm-products-field input,.crm-products-field select{padding:0 10px}.crm-products-money-input{display:flex;align-items:center;gap:6px;padding:0 10px;color:#65817e}.crm-products-money-input input{height:38px;padding:0;border:0;border-radius:0}.crm-products-field input:focus,.crm-products-field select:focus,.crm-products-search:focus-within,.crm-products-money-input:focus-within{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f24}.crm-products-table-wrap{flex:1 1 auto;min-height:0;margin:0 18px 18px;border:1px solid #badfd8;border-radius:8px;background:#fff;overflow:auto}.crm-products-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:.86rem}.crm-products-table th{position:sticky;top:0;z-index:1;height:42px;padding:0 12px;background:#e8f4f1;color:#486764;border-bottom:1px solid #badfd8;text-align:left;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-products-table td{padding:11px 12px;border-bottom:1px solid #d7eee9;vertical-align:middle}.crm-products-table tr:hover td{background:#e8f4f1}.crm-products-table td strong{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-products-table td small{display:block;max-width:280px;margin-top:3px;color:#65817e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-products-line{display:flex;align-items:center;gap:6px;min-height:20px;color:#334155;font-weight:800}.crm-products-status{min-width:72px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 9px;font-size:.72rem;font-weight:900}.crm-products-status.active{background:#c9f0ea;color:#007f75}.crm-products-status.inactive{background:#e2e8f0;color:#486764}.crm-products-table .nowrap{white-space:nowrap}.crm-products-row-actions,.crm-products-table th.actions{width:132px;text-align:right}.crm-products-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.crm-products-row-actions button{width:34px;height:34px}.crm-products-empty{height:180px;text-align:center;color:#65817e;font-weight:800}.crm-products-modal-backdrop{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;background:#0f172a6b}.crm-products-modal{width:min(720px,96vw);max-height:calc(100vh - 36px);overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.crm-products-modal header,.crm-products-modal footer{grid-column:1 / -1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crm-products-modal header{padding-bottom:4px}.crm-products-modal footer{justify-content:flex-end;padding-top:4px}.crm-products-check{min-height:40px;display:flex;align-items:center;gap:9px;align-self:end;color:#334155;font-weight:900}.crm-products-check input{width:18px;height:18px;accent-color:#009b8f}@media(max-width:920px){.crm-products-page{overflow:auto}.crm-products-header,.crm-products-actions{align-items:stretch;flex-direction:column}.crm-products-actions{width:100%}.crm-products-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-products-search,.crm-products-field,.crm-products-field.wide{width:100%;min-width:0}.crm-products-table-wrap{min-height:360px}.crm-products-modal{grid-template-columns:1fr}}.admin-accounts-page{height:100vh;overflow:auto;background:#edf7f5;color:#111827;padding:22px;box-sizing:border-box}.admin-accounts-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.admin-accounts-kicker,.admin-accounts-refresh,.admin-accounts-tabs button,.admin-accounts-primary,.admin-accounts-secondary,.admin-accounts-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.admin-accounts-kicker{color:#0f766e;font-weight:900;font-size:.76rem;text-transform:uppercase}.admin-accounts-header h1{margin:4px 0 3px;font-size:1.55rem;line-height:1.15;letter-spacing:0}.admin-accounts-header p{margin:0;color:#65817e;font-weight:700}.admin-accounts-refresh,.admin-accounts-tabs button,.admin-accounts-secondary,.admin-accounts-actions button,.admin-accounts-modal header>button{min-height:38px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#334155;padding:0 12px;font:inherit;font-weight:850;cursor:pointer}.admin-accounts-refresh:disabled,.admin-accounts-primary:disabled,.admin-accounts-actions button:disabled{opacity:.58;cursor:progress}.admin-accounts-notice{border-radius:8px;padding:11px 13px;margin-bottom:14px;font-weight:850}.admin-accounts-notice.is-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#047857}.admin-accounts-notice.is-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.admin-accounts-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.admin-accounts-stats article,.admin-accounts-panel,.admin-accounts-modal{border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:0 8px 22px #0f172a0a}.admin-accounts-stats article{min-height:70px;padding:13px 15px}.admin-accounts-stats span,.admin-accounts-field span{color:#65817e;font-size:.72rem;font-weight:900;text-transform:uppercase}.admin-accounts-field small{color:#65817e;font-size:.76rem;font-weight:700;line-height:1.3}.admin-accounts-stats strong{display:block;margin-top:5px;font-size:1.48rem;line-height:1}.admin-accounts-stats em{display:block;margin-top:5px;color:#65817e;font-style:normal;font-size:.82rem;font-weight:750}.admin-accounts-tabs{display:flex;gap:8px;margin-bottom:12px}.admin-accounts-tabs button.active{border-color:#14b8a6;background:#c9f0ea;color:#007f75}.admin-accounts-panel{overflow:hidden}.admin-accounts-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #d7eee9;background:#fff}.admin-accounts-search{width:min(560px,100%);min-height:40px;display:flex;align-items:center;gap:9px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#65817e;padding:0 11px;box-sizing:border-box}.admin-accounts-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#111827;font:inherit;font-size:.88rem}.admin-accounts-table-wrap{width:100%;overflow:auto}.admin-accounts-data-table{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0;font-size:.84rem}.admin-accounts-data-table th{position:sticky;top:0;z-index:1;height:42px;padding:0 12px;background:#e8f4f1;color:#486764;border-bottom:1px solid #badfd8;text-align:left;font-size:.72rem;font-weight:900;text-transform:uppercase}.admin-accounts-data-table td{padding:12px;border-bottom:1px solid #d7eee9;vertical-align:middle}.admin-accounts-data-table tr:hover td{background:#edf7f5}.admin-accounts-data-table strong,.admin-accounts-data-table span,.admin-accounts-data-table small{display:block}.admin-accounts-data-table strong{color:#111827;font-size:.88rem}.admin-accounts-data-table span{color:#334155;font-weight:800}.admin-accounts-data-table small{margin-top:3px;color:#65817e;font-weight:700}.admin-accounts-empty{height:170px;text-align:center;color:#65817e;font-weight:850}.admin-accounts-status{width:fit-content;min-width:72px;min-height:25px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px;padding:0 10px;font-size:.72rem;font-weight:900}.admin-accounts-status.is-active{background:#c9f0ea;color:#007f75}.admin-accounts-status.is-inactive{background:#fee2e2;color:#991b1b}.admin-accounts-status.is-super{margin-top:6px;background:#d7eee9;color:#486764}.admin-accounts-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.admin-accounts-actions button{min-height:32px;padding:0 9px;font-size:.76rem}.admin-accounts-user-cell{display:flex;align-items:center;gap:10px;min-width:0}.admin-accounts-user-cell img,.admin-accounts-user-cell>span{width:38px;height:38px;border-radius:999px;flex:0 0 auto}.admin-accounts-user-cell img{object-fit:cover}.admin-accounts-user-cell>span{display:inline-flex;align-items:center;justify-content:center;background:#c9f0ea;color:#007f75;font-weight:900}.admin-accounts-primary{min-height:40px;border:1px solid #009b8f;border-radius:8px;background:#009b8f;color:#fff;padding:0 14px;font:inherit;font-weight:900;cursor:pointer}.admin-accounts-primary.compact{width:auto;white-space:nowrap}.admin-accounts-secondary{min-height:40px}.admin-accounts-field{min-width:0;display:flex;flex-direction:column;gap:6px}.admin-accounts-field.compact{min-width:min(360px,100%)}.admin-accounts-field.full{grid-column:1 / -1}.admin-accounts-field input,.admin-accounts-field select{width:100%;min-width:0;min-height:39px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#0f172a;box-sizing:border-box;padding:0 10px;font:inherit}.admin-photo-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.admin-photo-upload-row .admin-accounts-secondary{min-height:39px;white-space:nowrap}.admin-accounts-search:focus-within,.admin-accounts-field input:focus,.admin-accounts-field select:focus{outline:none;border-color:#009b8f;box-shadow:0 0 0 3px #009b8f24}.admin-accounts-check{min-height:40px;display:flex;align-items:center;gap:9px;color:#334155;font-weight:850}.admin-accounts-check input{width:17px;height:17px;accent-color:#009b8f}.admin-accounts-logo-card{grid-column:1 / -1;display:grid;grid-template-columns:76px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;border:1px solid #96cbc2;border-radius:8px;background:#edf7f5}.admin-accounts-logo-preview{width:72px;height:56px;border:1px dashed #96cbc2;border-radius:8px;display:grid;place-items:center;overflow:hidden;background:#fff;color:#65817e;font-size:.72rem;font-weight:850;text-align:center}.admin-accounts-logo-preview img{width:100%;height:100%;object-fit:contain}.admin-accounts-logo-card strong,.admin-accounts-logo-card small{display:block}.admin-accounts-logo-card strong{color:#111827;font-size:.88rem}.admin-accounts-logo-card small{margin-top:3px;color:#65817e;font-weight:750}.admin-accounts-logo-card .logo-action{min-height:36px;white-space:nowrap}.admin-accounts-logo-card .logo-action.danger{color:#991b1b}.admin-accounts-modal-backdrop{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;background:#0f172a73}.admin-accounts-modal{width:min(760px,96vw);max-height:calc(100vh - 36px);overflow:auto;display:flex;flex-direction:column}.admin-accounts-modal.wide{width:min(980px,96vw)}.admin-accounts-modal.narrow{width:min(460px,96vw)}.admin-accounts-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #d7eee9}.admin-accounts-modal header h2{margin:0;font-size:1.08rem;line-height:1.2}.admin-accounts-modal header p{margin:4px 0 0;color:#65817e;font-size:.84rem;font-weight:750}.admin-accounts-modal header>button{width:38px;height:38px;padding:0}.admin-accounts-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.admin-accounts-form-grid.one{grid-template-columns:1fr}.admin-accounts-modal footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 16px 16px;border-top:1px solid #d7eee9}body.dark-theme .admin-accounts-page{background:#0b1220;color:#f8fafc}body.dark-theme .admin-accounts-header p,body.dark-theme .admin-accounts-stats em,body.dark-theme .admin-accounts-data-table small,body.dark-theme .admin-accounts-modal header p,body.dark-theme .admin-accounts-field span,body.dark-theme .admin-accounts-field small{color:#cbd5e1}body.dark-theme .admin-accounts-stats article,body.dark-theme .admin-accounts-panel,body.dark-theme .admin-accounts-toolbar,body.dark-theme .admin-accounts-modal{background:#111827;border-color:#334155;color:#f8fafc}body.dark-theme .admin-accounts-refresh,body.dark-theme .admin-accounts-tabs button,body.dark-theme .admin-accounts-secondary,body.dark-theme .admin-accounts-actions button,body.dark-theme .admin-accounts-modal header>button,body.dark-theme .admin-accounts-search,body.dark-theme .admin-accounts-field input,body.dark-theme .admin-accounts-field select,body.dark-theme .admin-accounts-logo-preview{background:#1f2937;border-color:#475569;color:#f8fafc}body.dark-theme .admin-accounts-logo-card{background:#0f172a;border-color:#334155}body.dark-theme .admin-accounts-logo-card strong,body.dark-theme .admin-accounts-search input{color:#f8fafc}body.dark-theme .admin-accounts-data-table th,body.dark-theme .admin-accounts-data-table td{background:#111827;border-color:#334155;color:#f8fafc}body.dark-theme .admin-accounts-data-table tr:hover td{background:#1f2937}body.dark-theme .admin-accounts-data-table strong,body.dark-theme .admin-accounts-data-table span{color:#f8fafc}body.dark-theme .admin-accounts-tabs button.active{background:#115e59;border-color:#14b8a6;color:#fff}body.dark-theme .admin-accounts-modal header,body.dark-theme .admin-accounts-modal footer{border-color:#334155}@media(max-width:1020px){.admin-accounts-stats,.admin-accounts-form-grid{grid-template-columns:1fr}.admin-accounts-toolbar{align-items:stretch;flex-direction:column}.admin-accounts-search,.admin-accounts-field.compact,.admin-accounts-primary.compact{width:100%}.admin-photo-upload-row{grid-template-columns:1fr}.admin-accounts-page{padding:16px}}@media(max-width:720px){.admin-accounts-header,.admin-accounts-modal footer{align-items:stretch;flex-direction:column}.admin-accounts-refresh,.admin-accounts-secondary,.admin-accounts-primary.compact{width:100%}}.settings-container{display:flex;height:100vh;background-color:var(--bg-secondary);color:var(--text-primary);min-width:0}.settings-sidebar{width:280px;flex:0 0 280px;background-color:var(--bg-card);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;transition:width .2s ease,flex-basis .2s ease;min-height:0;overflow:hidden}.settings-sidebar.collapsed{width:72px;flex-basis:72px}.settings-header{padding:1.5rem;font-size:1.25rem;font-weight:700;border-bottom:1px solid var(--border-subtle);color:var(--text-primary);display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:72px;box-sizing:border-box}.settings-sidebar.collapsed .settings-header{padding:1rem;justify-content:center}.settings-sidebar.collapsed .settings-header span{display:none}.settings-sidebar-toggle{width:34px;height:34px;border:1px solid var(--border-subtle);border-radius:.5rem;background:#fff;color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.settings-sidebar-toggle:hover{background:var(--bg-card-hover);color:var(--primary)}.settings-nav{flex:1;min-height:0;padding:1rem;display:flex;flex-direction:column;gap:.5rem;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#94a3b8 transparent;scrollbar-gutter:stable;scrollbar-width:thin}.settings-nav::-webkit-scrollbar{width:8px}.settings-nav::-webkit-scrollbar-track{background:transparent}.settings-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.settings-nav::-webkit-scrollbar-thumb:hover{background:#94a3b8}.settings-sidebar.collapsed .settings-nav{padding:.75rem;align-items:center}.settings-nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:none;background:transparent;color:var(--text-secondary);font-size:.95rem;font-weight:500;border-radius:.5rem;cursor:pointer;transition:all .2s;text-align:left;width:100%;min-height:44px;white-space:nowrap}.settings-nav-item svg{flex:0 0 auto}.settings-sidebar.collapsed .settings-nav-item{width:46px;justify-content:center;padding:.75rem;gap:0}.settings-sidebar.collapsed .settings-nav-item span{display:none}.settings-nav-item:hover{background-color:var(--bg-card-hover);color:var(--primary)}.settings-nav-item.active{background-color:#c9f0ea;color:var(--primary)}.settings-content{flex:1;min-width:0;padding:2rem;overflow-y:auto}.settings-muted,.settings-page-subtitle{color:var(--text-secondary);font-size:.9rem;margin:.35rem 0 0}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.settings-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.page-title{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0}.primary-btn{background-color:var(--primary);color:#fff;padding:.5rem 1rem;border-radius:.5rem;border:none;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-size:.875rem;transition:background-color .2s}.primary-btn:hover{background-color:var(--primary-hover)}.secondary-btn{background-color:#fff;border:1px solid var(--border-subtle);color:var(--text-primary);padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-weight:500}.secondary-btn:hover{background-color:var(--bg-secondary)}.settings-link-button{min-height:38px;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}.settings-alert-error{margin-bottom:1rem;padding:.75rem .9rem;border:1px solid #fecaca;border-radius:.5rem;background:#fff1f2;color:#991b1b;font-weight:700;font-size:.88rem}.settings-alert-success{margin-bottom:1rem;padding:.75rem .9rem;border:1px solid #bbf7d0;border-radius:.5rem;background:#f0fdf4;color:#166534;font-weight:700;font-size:.88rem}.danger-icon-btn{color:#ef4444;background:transparent;border:none;cursor:pointer;padding:.25rem}.edit-icon-btn{color:#009b8f;background:transparent;border:none;cursor:pointer;padding:.25rem;margin-right:.5rem}.settings-card{background-color:var(--bg-card);border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-subtle);padding:1.5rem;max-width:800px}.settings-card-wide{max-width:none}.settings-section-grid{display:grid;gap:1.25rem}.settings-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.settings-section-header.compact{margin-top:1rem}.settings-section-header h3{display:inline-flex;align-items:center;gap:.5rem;margin:0;font-size:1rem;color:var(--text-primary)}.settings-section-header span{display:block;color:var(--text-secondary);font-size:.84rem;margin-top:.25rem}.settings-header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}.settings-header-actions .secondary-btn,.settings-header-actions .primary-btn{min-height:38px}.settings-sync-result{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:.6rem;padding:.7rem .85rem;font-size:.86rem;font-weight:700;margin-bottom:1rem}.settings-sync-result ul{color:#486764;margin:.5rem 0 0;padding-left:1.1rem}.settings-form-grid{display:grid;gap:1rem}.settings-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-logo-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:end;gap:1rem;margin-top:.3rem}.settings-logo-preview{width:112px;height:72px;display:grid;place-items:center;border:1px solid var(--border-subtle);border-radius:.5rem;background:var(--bg-secondary);color:var(--text-secondary);overflow:hidden}.settings-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.settings-inline-note{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;color:var(--text-secondary);font-size:.86rem;margin-top:.3rem}.settings-inline-note label{display:inline-flex;align-items:center;gap:.4rem;color:var(--text-primary)}.settings-toggle{width:46px;height:26px;border:0;border-radius:999px;background:#96cbc2;padding:3px;display:inline-flex;align-items:center;cursor:pointer;transition:background .2s ease;flex:0 0 auto}.settings-toggle span{width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a3d;transition:transform .2s ease}.settings-toggle.on{background:var(--primary)}.settings-toggle.on span{transform:translate(20px)}.settings-toggle:disabled{opacity:.55;cursor:not-allowed}.settings-table-wrap{overflow-x:auto;border:1px solid var(--border-subtle);border-radius:.65rem}.settings-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.settings-table th,.settings-table td{padding:.8rem .9rem;border-bottom:1px solid var(--border-subtle);text-align:left;vertical-align:top}.settings-table th{background:#e8f4f1;color:#475569;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.settings-table td{color:var(--text-primary);font-size:.9rem}.settings-table td strong,.settings-table td small{display:block}.settings-table td small{color:var(--text-secondary);font-size:.78rem;margin-top:.25rem;max-width:520px}.settings-table tr:last-child td{border-bottom:0}.settings-code-pill,.settings-status-pill{min-height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 .55rem;font-size:.74rem;font-weight:900;white-space:nowrap}.settings-code-pill{background:#f1f5f9;color:#475569}.settings-status-pill.active{background:#dcfce7;color:#166534}.settings-status-pill.inactive{background:#e2e8f0;color:#475569}.opportunity-api-settings .settings-card{margin-bottom:1rem}.opportunity-api-settings .secondary-btn,.opportunity-api-settings .primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.opportunity-api-token-actions,.opportunity-api-summary,.opportunity-api-token>div,.opportunity-api-fields{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.opportunity-api-warning{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:1rem;border:1px solid #96cbc2;border-radius:.5rem;background:#edf7f5;color:#486764;padding:.65rem .8rem;font-weight:800;font-size:.86rem}.opportunity-api-summary{margin-top:1rem;color:var(--text-secondary);font-size:.83rem}.opportunity-api-tag-create{display:grid;grid-template-columns:minmax(0,1fr) 46px auto;align-items:center;gap:.45rem;margin-top:.55rem}.opportunity-api-tag-color{width:46px;height:42px;padding:.2rem;border:1px solid var(--border-subtle);border-radius:.5rem;background:var(--bg-primary);cursor:pointer}.opportunity-api-tag-color:disabled{cursor:not-allowed;opacity:.55}.opportunity-api-summary span{display:inline-flex;align-items:center;gap:.3rem;min-height:28px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--bg-secondary);padding:.2rem .65rem}.opportunity-api-summary code,.opportunity-api-token code{color:var(--text-primary);word-break:break-all}.opportunity-api-token{margin-top:1rem}.opportunity-api-token label,.opportunity-api-fields h4{display:block;margin:0 0 .45rem;color:var(--text-secondary);font-size:.78rem;font-weight:900;text-transform:uppercase}.opportunity-api-token>div{justify-content:space-between;border:1px solid var(--border-subtle);border-radius:.55rem;background:#e8f4f1;padding:.65rem .75rem}.opportunity-api-snippets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.opportunity-api-snippet:last-child{grid-column:1 / -1}.opportunity-api-code{max-height:360px;margin:0;overflow:auto;border:1px solid #dbe4ef;border-radius:.55rem;background:#0f172a;color:#e2e8f0;padding:1rem;font-size:.78rem;line-height:1.55;white-space:pre}.opportunity-api-fields{align-items:flex-start;margin-top:1rem}.opportunity-api-fields h4{width:100%}.settings-empty-cell{height:160px;text-align:center;color:var(--text-secondary);font-weight:800}.settings-row-actions{display:inline-flex;gap:.35rem}.settings-row-actions button{width:34px;height:34px;border:1px solid var(--border-subtle);background:#fff;color:var(--text-secondary);border-radius:.45rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.settings-row-actions button:hover:not(:disabled){color:var(--primary);background:#e8f4f1}.settings-row-actions button:disabled{opacity:.4;cursor:not-allowed}.settings-empty-table{text-align:center!important;color:var(--text-secondary)!important;padding:1.5rem!important}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.22rem .55rem;background:#c9f0ea;color:#007f75;font-size:.75rem;font-weight:700;white-space:nowrap}.status-pill.active,.status-pill.template-status-approved{background:#dcfce7;color:#166534}.status-pill.inactive,.status-pill.template-status-rejected{background:#fee2e2;color:#991b1b}.status-pill.template-status-draft{background:#f1f5f9;color:#475569}.status-pill.template-status-submitted,.status-pill.template-status-pending,.status-pill.template-status-ready_for_submission{background:#d7eee9;color:#486764}.channel-health{margin:-.2rem 0 .75rem;padding:.55rem .65rem;border:1px solid var(--border-subtle);border-radius:.55rem;background:#e8f4f1;color:var(--text-secondary);display:grid;gap:.35rem}.channel-health>div{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-width:0}.channel-health-pill{display:inline-flex;align-items:center;gap:.35rem;min-height:24px;padding:0 .5rem;border-radius:999px;font-size:.74rem;font-weight:800;white-space:nowrap}.channel-health small{color:#64748b;font-size:.72rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-health p{margin:0;color:#475569;font-size:.76rem;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.channel-health-healthy{border-color:#bbf7d0;background:#f0fdf4}.channel-health-healthy .channel-health-pill{background:#dcfce7;color:#166534}.channel-health-warning{border-color:#96cbc2;background:#edf7f5}.channel-health-warning .channel-health-pill{background:#d7eee9;color:#486764}.channel-health-error{border-color:#fecaca;background:#fff1f2}.channel-health-error .channel-health-pill{background:#fee2e2;color:#991b1b}.channel-health-unknown .channel-health-pill{background:#e2e8f0;color:#475569}.channel-health-summary{margin:0 0 1rem;padding:.8rem .9rem;border-radius:.65rem;display:flex;align-items:flex-start;gap:.7rem;font-size:.86rem;line-height:1.45}.channel-health-summary svg{flex:0 0 auto;margin-top:.1rem}.channel-health-summary strong,.channel-health-summary span{display:block}.channel-health-summary strong{margin-bottom:.15rem}.channel-health-summary.error{border:1px solid #fecaca;background:#fff1f2;color:#991b1b}.channel-health-summary.warning{border:1px solid #96cbc2;background:#edf7f5;color:#486764}.agent-editor-panel{border-top:1px solid var(--border-subtle);margin-top:1.25rem;padding-top:1.25rem}.agent-active-control{display:flex;flex-direction:column;gap:.65rem;color:var(--text-primary);font-weight:600;font-size:.875rem}.form-actions.compact{margin-top:1rem}.settings-save-toast{position:fixed;right:1.5rem;bottom:1.5rem;background:#064e3b;color:#fff;border-radius:.65rem;padding:.8rem 1rem;box-shadow:0 14px 32px #0f172a38;font-weight:700;z-index:30}.settings-segmented{display:inline-flex;border:1px solid var(--border-subtle);background:#fff;border-radius:.65rem;padding:.25rem;margin-bottom:1.25rem}.settings-segmented button{border:0;background:transparent;color:var(--text-secondary);border-radius:.45rem;padding:.55rem .9rem;cursor:pointer;font-weight:700}.settings-segmented button.active{background:#c9f0ea;color:var(--primary)}.settings-filters{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto;gap:.75rem;align-items:end;margin:1rem 0;padding:.9rem;border:1px solid var(--border-subtle);border-radius:.65rem;background:#e8f4f1}.settings-filters label{display:grid;gap:.35rem;color:var(--text-primary);font-size:.82rem;font-weight:700}.settings-filters select{width:100%;min-height:38px;border:1px solid var(--border-subtle);border-radius:.5rem;background:#fff;color:var(--text-primary);padding:.45rem .65rem}.automation-warning,.automation-rule-warning{border:1px solid #6ac5bd;background:#edf7f5;color:#486764;border-radius:.55rem;padding:.65rem .75rem;font-size:.82rem;font-weight:700}.automation-rule-warning{margin-top:.55rem;padding:.42rem .55rem;font-size:.75rem}@media(max-width:1100px){.settings-form-grid.two,.settings-form-grid.three,.settings-form-grid.four{grid-template-columns:1fr}.settings-section-header{flex-direction:column;align-items:stretch}.settings-filters{grid-template-columns:1fr}.settings-logo-row{grid-template-columns:112px minmax(0,1fr)}.settings-logo-row .secondary-btn{grid-column:2;justify-self:start}}.form-group{margin-bottom:1.25rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:var(--text-primary);margin-bottom:.5rem}.form-input{width:100%;padding:.625rem;border:1px solid var(--border-subtle);border-radius:.5rem;font-size:.95rem;color:var(--text-primary);background-color:var(--bg-primary);box-sizing:border-box}.form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #6366f133}.settings-field-help{display:block;color:var(--text-secondary);font-size:.78rem;line-height:1.35;margin-top:.35rem;font-weight:500}.form-actions{margin-top:2rem;display:flex;gap:1rem;align-items:center}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.queue-card{min-width:0;background-color:var(--bg-card);border:1px solid var(--border-subtle);border-radius:.75rem;padding:1.25rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}.queue-header{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:.75rem;margin-bottom:.5rem}.queue-title-wrapper{min-width:0;display:flex;align-items:flex-start;gap:.75rem}.queue-color{width:12px;height:12px;border-radius:50%;flex:0 0 auto;margin-top:.22rem}.queue-name{min-width:0;font-weight:600;font-size:1rem;line-height:1.35;color:var(--text-primary);overflow-wrap:anywhere;word-break:break-word;margin:0}.queue-id{font-size:.75rem;color:var(--text-secondary)}.queue-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex:0 0 auto;flex-wrap:wrap;gap:.5rem;max-width:142px}.queue-actions .icon-btn,.queue-actions .danger-icon-btn{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;flex:0 0 auto}.queue-actions .icon-btn{padding:.25rem .35rem;font-size:.82rem}.queue-actions .danger-icon-btn{width:32px;margin:0}.queue-actions button:disabled{cursor:wait;opacity:.55}.data-table-wrapper{background-color:var(--bg-card);border-radius:.75rem;border:1px solid var(--border-subtle);overflow:hidden;box-shadow:var(--shadow-sm)}.data-table{width:100%;border-collapse:collapse}.data-table th{background-color:var(--bg-secondary);text-align:left;padding:1rem;font-size:.75rem;text-transform:uppercase;color:var(--text-secondary);font-weight:600}.data-table td{padding:1rem;border-bottom:1px solid var(--border-subtle);color:var(--text-primary);font-size:.95rem}.automation-builder{flex:1;min-width:0;height:100vh;display:flex;flex-direction:column;background:#fff;color:#374151;overflow:hidden;position:relative}.automation-topbar{height:56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #badfd8;background:#fff;padding:0 16px;flex:0 0 auto}.automation-title-block,.automation-top-actions,.automation-search,.automation-editor-title,.automation-action-list-header{display:flex;align-items:center;gap:10px}.automation-title-block select{border:0;background:transparent;font-size:1rem;font-weight:800;color:#111827;outline:none;appearance:none}.automation-top-actions button,.automation-sources button,.automation-stage-header button,.automation-rule-card button,.automation-editor button,.automation-library button,.automation-action-list button{font:inherit}.automation-top-actions button{height:36px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#6b7280;display:inline-flex;align-items:center;gap:7px;padding:0 12px;cursor:pointer}.automation-top-actions .automation-save-btn{color:#fff;background:#009b8f;border-color:#009b8f;font-weight:800}.automation-top-actions button:disabled{opacity:.45;cursor:not-allowed}.automation-search{height:48px;padding:0 28px;color:#9ca3af;border-bottom:1px solid #eef2f7;flex:0 0 auto}.automation-search input{border:0;outline:0;font-size:1rem;width:320px;color:#374151}.automation-workspace{display:flex;min-height:0;flex:1}.automation-sources{width:280px;flex:0 0 280px;background:#f7f7f8;border-right:1px solid #badfd8;padding:24px 16px;color:#9ca3af}.automation-sidebar-title{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#374151;font-weight:900;margin-bottom:14px}.automation-sources p{margin:0 0 18px;font-size:.86rem;line-height:1.45}.automation-quick-guide{display:grid;gap:8px;margin:0 0 22px}.automation-quick-guide span{min-height:34px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#486764;display:flex;align-items:center;gap:8px;padding:0 10px;font-size:.82rem;font-weight:800}.automation-quick-guide strong{width:20px;height:20px;border-radius:50%;background:#009b8f;color:#fff;display:grid;place-items:center;font-size:.7rem}.automation-sources>button{height:36px;border:0;border-radius:5px;background:#009b8f;color:#fff;display:inline-flex;align-items:center;gap:7px;padding:0 12px;font-weight:800;cursor:pointer}.automation-source-list{display:grid;gap:8px}.automation-source-list button{width:100%;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#374151;min-height:48px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;text-align:left}.automation-source-list button.active{border-color:#009b8f;background:#edf7f5;color:#007f75}.automation-source-list button.is-disabled{opacity:.58;cursor:not-allowed}.automation-source-list strong,.automation-source-list small{display:block}.automation-source-list strong{font-size:.86rem}.automation-source-list small{color:#9ca3af;font-size:.75rem;margin-top:2px}.automation-empty-source{color:#9ca3af;font-size:.82rem}.automation-log-mini{display:grid;gap:8px;margin-top:28px;font-size:.78rem}.automation-log-mini div{color:#4b5563;font-weight:900}.automation-log-mini span{color:#9ca3af}.automation-board{flex:1;display:flex;min-width:0;overflow:auto;background:linear-gradient(#eef2f7 1px,transparent 1px) 0 0 / 100% 64px,linear-gradient(90deg,#eef2f7 1px,transparent 1px) 0 0 / 304px 100%}.automation-loading{margin:40px;display:inline-flex;align-items:center;gap:8px;color:#9ca3af}.automation-stage{width:304px;min-width:304px;border-right:1px solid #badfd8;position:relative}.automation-stage-header{height:78px;display:grid;grid-template-columns:1fr 28px;align-items:start;gap:8px;padding:0 12px;background:#f9fafbe6;border-bottom:1px solid #badfd8;position:sticky;top:0;z-index:3}.automation-stage-color{grid-column:1 / -1;height:4px;margin:0 -12px 8px}.automation-stage-header span{font-size:.74rem;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:#374151;font-weight:900;text-align:center}.automation-stage-header button{width:26px;height:26px;border-radius:50%;border:1px solid #96cbc2;background:#fff;color:#9ca3af;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.automation-hint-button{display:block;margin:-34px auto 28px;border:0;background:transparent;color:#9ca3af;text-decoration:underline;cursor:pointer;position:relative;z-index:4}.automation-add-trigger{margin:18px auto;border:0;background:transparent;color:#c4cbd4;display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:800}.automation-card-stack{display:grid;gap:10px;padding:0 12px 28px}.automation-rule-card{display:grid;grid-template-columns:34px minmax(0,1fr) 24px;gap:10px;padding:12px;border:1px solid #d8dce3;background:#fff;box-shadow:0 12px 26px #0f172a14;cursor:pointer;text-align:left}.automation-rule-card.is-disabled{opacity:.55}.automation-rule-icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#007f75;background:#c9f0ea}.automation-rule-card strong{display:block;color:#374151;font-size:.95rem;margin-top:3px}.automation-rule-trigger,.automation-rule-actions{color:#8b8f99;font-size:.8rem}.automation-rule-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.automation-rule-actions span{border-radius:999px;background:#d7eee9;padding:2px 7px}.automation-rule-card>button{border:0;background:transparent;color:#ef4444;cursor:pointer;padding:2px}.automation-editor{position:absolute;top:56px;right:0;bottom:0;width:min(560px,96vw);background:#fff;border-left:1px solid #cfd4dc;box-shadow:-18px 0 48px #0f172a1f;z-index:20;overflow:auto}.automation-editor-header{min-height:72px;display:flex;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #badfd8}.automation-editor-header div{display:grid;gap:4px}.automation-editor-header span{color:#9ca3af;font-size:.82rem;font-weight:800}.automation-editor-header strong{color:#111827;font-size:1rem}.automation-editor-header button,.automation-editor-title button{border:0;background:transparent;color:#6b7280;cursor:pointer}.automation-editor-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 20px;border-bottom:1px solid #badfd8;background:#f7fbfa}.automation-editor-progress span{min-height:28px;border:1px solid #badfd8;border-radius:999px;background:#fff;color:#486764;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:900}.automation-condition-box{padding:24px 20px;background:#f7f7f8;border-bottom:1px solid #badfd8;display:grid;gap:10px}.automation-condition-box label{color:#374151;font-size:1rem}.automation-condition-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.automation-condition-heading span{min-height:24px;border-radius:999px;background:#c9f0ea;color:#008f84;display:inline-flex;align-items:center;padding:0 9px;font-size:.72rem;font-weight:900;text-transform:uppercase}.automation-condition-box p,.automation-condition-note{margin:0;color:#607572;font-size:.82rem;line-height:1.35}.automation-condition-note.is-warning{color:#9a3412;font-weight:800}.automation-condition-box button{height:44px;border:1px dashed #96cbc2;border-radius:5px;background:#fff;color:#9ca3af;text-align:left;padding:0 16px;cursor:pointer}.automation-condition-box select{height:42px;border:1px solid #96cbc2;border-radius:5px;background:#fff;color:#374151;padding:0 12px}.automation-condition-chips{display:flex;gap:8px;flex-wrap:wrap}.automation-condition-chips span{min-height:30px;border:1px solid #bfdbfe;border-radius:999px;background:#edf7f5;color:#007f75;display:inline-flex;align-items:center;gap:6px;padding:0 8px 0 12px;font-size:.82rem;font-weight:800}.automation-condition-chips button{width:22px;height:22px;min-height:0;border:0;border-radius:50%;background:transparent;color:#007f75;padding:0;display:inline-flex;align-items:center;justify-content:center}.automation-condition-chips em{color:#9ca3af;font-style:normal;font-size:.86rem}.automation-editor-section{padding:20px;display:grid;gap:14px}.automation-step-card{margin:14px 16px 0;padding:16px;border:1px solid #badfd8;border-radius:8px;background:#fff}.automation-step-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;margin-bottom:4px}.automation-step-title>span{width:28px;height:28px;border-radius:50%;background:#c9f0ea;color:#008f84;display:grid;place-items:center;font-weight:900;font-size:.82rem}.automation-step-title strong{display:block;color:#0f172a;font-size:.95rem}.automation-step-title small,.automation-field-help,.automation-condition-filter small,.automation-action-label small,.automation-editor-title small{color:#607572;font-size:.78rem;line-height:1.35}.automation-editor-title{justify-content:space-between;color:#374151;font-weight:900;font-size:1rem}.automation-editor-title div{display:grid;gap:3px}.automation-form-row{display:grid;gap:8px}.automation-form-row label{color:#374151;font-weight:800}.automation-form-row input,.automation-form-row select,.automation-form-row textarea{width:100%;min-height:42px;border:1px solid #96cbc2;border-radius:5px;background:#fff;color:#374151;font-size:.95rem;padding:0 12px;box-sizing:border-box}.automation-form-row textarea{padding-top:10px;resize:vertical}.automation-variable-picker{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.automation-variable-picker span{color:#607572;font-size:.72rem;font-weight:900;text-transform:uppercase}.automation-variable-picker button{min-height:24px;border:1px solid #badfd8;border-radius:999px;background:#f7fbfa;color:#007f75;padding:0 8px;font-size:.72rem;font-weight:900;cursor:pointer}.automation-variable-picker button:hover{border-color:#009b8f;background:#d7eee9}.automation-duration-row{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(120px,1fr);gap:8px}.automation-condition-filter{display:grid;gap:8px;padding-top:8px;border-top:1px solid #d8eeea}.automation-condition-filter label{font-weight:900;color:#374151}.automation-value-condition{display:grid;grid-template-columns:minmax(150px,1fr) minmax(110px,.8fr) minmax(110px,.8fr);gap:8px}.automation-ai-config{display:grid;gap:14px}.automation-ai-strip{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:center;border:1px solid #96cbc2;border-radius:6px;background:#e2f3ef;padding:12px;color:#2f625c}.automation-ai-strip span{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:#008f84}.automation-ai-strip strong,.automation-ai-strip em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-ai-strip em{grid-column:2;font-style:normal;color:#607572;font-size:.82rem}.automation-ai-fields,.automation-ai-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.automation-ai-path{display:grid;gap:10px;align-content:start;border:1px solid #badfd8;border-radius:6px;background:#f7fbfa;padding:12px}.automation-ai-path-title{display:inline-flex;align-items:center;gap:7px;color:#008f84;font-weight:900}.automation-template-summary{display:grid;gap:4px;border:1px solid #badfd8;border-radius:5px;background:#edf7f5;color:#486764;padding:10px;font-size:.82rem}.automation-template-summary strong{color:#0f172a}.automation-template-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-action-list{padding:16px}.automation-action-list-header{justify-content:space-between;color:#374151;font-weight:900;margin-bottom:10px}.automation-action-list-header button,.automation-editor-footer button{border:1px solid #96cbc2;border-radius:5px;background:#fff;color:#374151;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;cursor:pointer}.automation-action-list>button{width:100%;min-height:48px;border:1px solid #badfd8;background:#fff;color:#6b7280;display:flex;align-items:center;gap:9px;padding:0 12px;cursor:pointer}.automation-action-list>button+button{margin-top:7px}.automation-action-list>button.active{color:#007f75;border-color:#93c5fd;background:#edf7f5}.automation-action-order{width:24px;height:24px;border-radius:50%;background:#d7eee9;color:#007f75;display:grid;place-items:center;flex:0 0 auto;font-size:.72rem;font-weight:900}.automation-action-label{min-width:0;display:grid;gap:2px;text-align:left}.automation-action-label strong{color:#374151;font-size:.88rem}.automation-empty-actions{border:1px dashed #badfd8;border-radius:6px;background:#f7fbfa;color:#607572;padding:12px;font-size:.82rem;line-height:1.35}.automation-apply-existing{display:flex;align-items:center;gap:10px;padding:12px 20px;color:#4b5563}.automation-editor-footer{padding:20px;display:flex;align-items:center;gap:12px}.automation-editor-footer .automation-finish{min-height:42px;border-color:#22d3ee;background:#67e8f9;color:#fff;font-weight:900}.automation-editor-footer button:disabled{opacity:.45;cursor:not-allowed}.automation-library-backdrop{position:absolute;inset:0;z-index:40;background:#ffffffe0;overflow:auto;padding:74px 5vw}.automation-library{max-width:1180px;margin:0 auto}.automation-library-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;color:#374151}.automation-library-header div{display:grid;gap:4px}.automation-library-header span{font-size:1.25rem;font-weight:900}.automation-library-header strong{color:#9ca3af}.automation-library-header button{width:36px;height:36px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer}.automation-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.automation-action-tile{min-height:170px;border:0;border-radius:8px;color:#fff;padding:24px;display:grid;align-content:space-between;justify-items:center;text-align:center;cursor:pointer;box-shadow:0 14px 28px #009b8f29}.automation-action-tile.tone-blue{background:#60a5fa}.automation-action-tile.tone-cyan{background:#67dceb}.automation-action-tile strong{min-height:44px;width:100%;border:1px solid rgba(0,155,143,.3);border-radius:6px;background:#009b8f24;display:flex;align-items:center;justify-content:center;gap:8px;font-size:1rem}.automation-action-tile span{color:#ffffffe6;font-size:.82rem}.automation-help-backdrop{position:absolute;inset:0;z-index:55;background:#0f172a52;overflow:auto;padding:42px}.automation-help-panel{max-width:1180px;margin:0 auto;border:1px solid #badfd8;border-radius:8px;background:#f7fbfa;box-shadow:0 22px 60px #0f172a2e}.automation-help-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #badfd8;background:#fff;padding:18px 22px}.automation-help-header div{display:grid;gap:4px}.automation-help-header span{color:#008f84;font-size:.82rem;font-weight:900;text-transform:uppercase}.automation-help-header strong{color:#0f172a;font-size:1.2rem}.automation-help-header button{width:38px;height:38px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#486764;cursor:pointer}.automation-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.automation-help-card{border:1px solid #badfd8;border-radius:8px;background:#fff;padding:16px;color:#374151}.automation-help-card-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;margin-bottom:12px}.automation-help-card-head>span{width:34px;height:34px;border-radius:50%;background:#c9f0ea;color:#008f84;display:grid;place-items:center;font-weight:900;font-size:.8rem}.automation-help-card-head div{display:grid;gap:4px}.automation-help-card-head strong{color:#0f172a;font-size:1rem}.automation-help-card-head small{color:#607572;line-height:1.35}.automation-help-card ol{margin:0;padding-left:22px;display:grid;gap:7px}.automation-help-card li{line-height:1.35}.automation-help-card p{margin:14px 0 0;border:1px solid #96cbc2;border-radius:6px;background:#edf7f5;color:#486764;padding:10px;font-weight:700;line-height:1.35}@media(max-width:900px){.automation-sources{display:none}.automation-stage{min-width:280px;width:280px}.automation-editor{top:0}.automation-ai-fields,.automation-ai-paths,.automation-duration-row,.automation-value-condition{grid-template-columns:1fr}.automation-help-backdrop{padding:14px}.automation-help-grid{grid-template-columns:1fr}}body.dark-theme .automation-ai-strip,body.dark-theme .automation-ai-path,body.dark-theme .automation-template-summary,body.dark-theme .automation-help-panel,body.dark-theme .automation-help-card{border-color:#1f4f49;background:#10221f;color:#d8f3ee}body.dark-theme .automation-ai-strip strong,body.dark-theme .automation-template-summary strong,body.dark-theme .automation-help-header strong,body.dark-theme .automation-help-card-head strong{color:#f8fafc}body.dark-theme .automation-ai-strip em,body.dark-theme .automation-template-summary span,body.dark-theme .automation-help-card-head small{color:#a7c7c1}body.dark-theme .automation-help-header,body.dark-theme .automation-help-header button,body.dark-theme .automation-help-card p{border-color:#1f4f49;background:#0b1715;color:#d8f3ee}body.dark-theme .automation-variable-picker span{color:#a7c7c1}body.dark-theme .automation-variable-picker button{border-color:#1f4f49;background:#0b1715;color:#5eead4}body.dark-theme .automation-variable-picker button:hover{background:#10221f}.request-integrations-page{flex:1;min-width:0;height:100vh;overflow:auto;background:#edf7f5;color:#0f172a;padding:18px;box-sizing:border-box}.request-integrations-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.request-integrations-header h1{margin:0;font-size:1.4rem}.request-integrations-header p{margin:3px 0 0;color:#607572;font-size:.86rem}.request-integrations-header button,.request-param-head button,.request-integration-save,.request-integration-card footer button{border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#007f75;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;font:inherit;font-weight:800;cursor:pointer}.request-integrations-header button,.request-integration-save{background:#009b8f;border-color:#009b8f;color:#fff}.request-integrations-layout{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:14px;align-items:start}.request-integration-form,.request-integrations-list{border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:0 12px 30px #0f172a0d}.request-integration-form{display:grid;gap:12px;padding:16px}.request-integration-form-head,.request-param-head,.request-integration-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.request-integration-form-head strong,.request-param-head strong{color:#0f172a}.request-integration-form-head button{border:0;background:transparent;color:#64748b;cursor:pointer}.request-integration-form label{display:grid;gap:6px}.request-integration-form label span,.request-param-head small{color:#607572;font-size:.74rem;font-weight:900;text-transform:uppercase}.request-integration-form input,.request-integration-form select,.request-integration-form textarea{width:100%;min-height:40px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#0f172a;padding:0 11px;box-sizing:border-box;font:inherit}.request-integration-form textarea{padding-top:9px;resize:vertical}.request-integration-grid,.request-param-row{display:grid;grid-template-columns:1fr .6fr;gap:10px}.request-integration-config{display:grid;gap:10px;border:1px solid #d8eeea;border-radius:8px;background:#f7fbfa;padding:12px}.request-integration-note{border:1px solid #badfd8;border-radius:8px;background:#edf7f5;color:#486764;font-size:.82rem;line-height:1.45;padding:10px 12px}.request-param-row{grid-template-columns:minmax(90px,.8fr) minmax(140px,1fr) minmax(90px,.8fr) 36px}.request-param-row button{border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#991b1b;cursor:pointer}.request-integration-check{grid-template-columns:auto 1fr!important;align-items:center}.request-integration-check input{width:auto;min-height:0}.request-integrations-list{display:grid;gap:10px;padding:12px}.request-integration-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid #badfd8;border-radius:8px;background:#f7fbfa;padding:12px}.request-integration-card.inactive{opacity:.65}.request-integration-card-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#d7eee9;color:#007f75}.request-integration-card strong,.request-integration-card span,.request-integration-card small{display:block}.request-integration-card strong{color:#0f172a}.request-integration-card span{color:#64748b;font-size:.84rem;margin-top:3px}.request-integration-card small{color:#607572;font-size:.76rem;margin-top:6px}@media(max-width:980px){.request-integrations-layout,.request-param-row{grid-template-columns:1fr}}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background-color:var(--bg-card-hover)}.code-cell{font-family:monospace;color:var(--primary);font-weight:600;background-color:#c9f0ea;padding:.2rem .4rem;border-radius:4px}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:50;padding:1rem}.modal-content{background-color:var(--bg-card);border-radius:1rem;padding:1.5rem;width:100%;max-width:500px;box-shadow:var(--shadow-md)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin:0}.icon-btn{background:transparent;border:none;cursor:pointer;color:var(--text-secondary)}.color-picker{display:flex;gap:.5rem}.color-swatch{width:2rem;height:2rem;border-radius:50%;border:2px solid transparent;cursor:pointer}.color-swatch.selected{border-color:var(--text-primary)}.form-textarea{min-height:120px;resize:vertical}.user-list-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background-color:var(--bg-secondary);border-radius:.5rem;margin-bottom:.5rem}.template-campaign-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.template-panel,.template-list-panel{min-width:0}.template-panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.template-panel-header.compact{margin-top:16px}.template-panel-header h3{margin:0;font-size:1rem;color:#111827;display:inline-flex;align-items:center;gap:8px}.template-panel-header span{color:#6b7280;font-size:.84rem}.template-ai-box{border:1px solid #96cbc2;background:#edf7f5;border-radius:8px;padding:12px;display:grid;gap:10px;margin-bottom:16px}.template-ai-box>div{display:inline-flex;align-items:center;gap:8px;color:#007f75;font-weight:800}.template-starter-box{border:1px solid #96cbc2;background:#e8f4f1;border-radius:8px;padding:12px;display:grid;gap:12px;margin-bottom:16px}.template-starter-box>div:first-child{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;color:#312e81}.template-starter-box span{color:#64748b;font-size:.84rem;font-weight:600}.template-starter-controls{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:end}.template-starter-controls label{display:grid;gap:6px;color:#374151;font-size:.84rem;font-weight:800}.template-ai-box textarea,.template-starter-controls select,.template-form-grid input,.template-form-grid select,.template-full-field input,.template-full-field textarea,.template-button-row input,.template-button-row select{width:100%;border:1px solid #96cbc2;border-radius:6px;background:#fff;color:#374151;min-height:40px;padding:8px 10px;box-sizing:border-box}.template-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:12px}.template-form-grid label,.template-full-field{display:grid;gap:6px;color:#374151;font-weight:800;font-size:.86rem}.template-full-field{margin-bottom:12px}.template-buttons-editor{display:grid;gap:10px}.template-variable-map{border:1px solid #badfd8;border-radius:8px;background:#e8f4f1;padding:12px;margin-bottom:12px}.template-variable-map .settings-section-header{margin-bottom:10px}.template-variable-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.template-variable-map-grid .form-group{margin-bottom:0}.template-button-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(130px,.7fr) minmax(140px,.7fr) minmax(160px,1fr) auto;gap:8px;align-items:center}.template-list-panel{border-left:1px solid #badfd8;padding-left:16px}.template-list-panel h3{margin:0 0 12px;color:#111827;font-size:1rem}.template-list{display:grid;gap:8px;max-height:520px;overflow:auto}.template-list button{border:1px solid #badfd8;background:#fff;border-radius:7px;padding:10px;text-align:left;cursor:pointer}.template-list strong,.template-list span,.broadcast-preview span{display:block}.template-list strong{color:#111827;font-size:.9rem}.template-list span,.broadcast-preview span{color:#6b7280;font-size:.78rem;margin-top:3px}.broadcast-preview{border:1px solid #badfd8;border-radius:8px;padding:12px;display:grid;gap:5px;color:#374151}@media(max-width:1100px){.template-campaign-layout{grid-template-columns:1fr}.template-list-panel{border-left:0;padding-left:0;border-top:1px solid #badfd8;padding-top:16px}.template-button-row{grid-template-columns:1fr}.template-starter-box>div:first-child,.template-starter-controls{grid-template-columns:1fr}}.pipelines-settings-grid{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:1rem}.pipelines-workspace{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:1rem;align-items:start}.pipelines-editor-card{max-width:none}.pipelines-left-column{display:grid;gap:1rem}.pipeline-form,.stage-form,.custom-field-form{display:grid;gap:.8rem}.pipeline-form .form-group,.stage-form .form-group,.custom-field-form .form-group{margin-bottom:0;display:grid;gap:.4rem}.pipeline-form label,.stage-form label,.custom-field-form label{color:#374151;font-size:.82rem;font-weight:800}.pipeline-form input[type=text],.pipeline-form select,.stage-form input,.stage-form select,.custom-field-form input,.custom-field-form select,.custom-field-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;padding:0 .65rem;font:inherit}.pipeline-form input[type=text],.pipeline-form select,.stage-form input,.stage-form select,.custom-field-form input,.custom-field-form select{height:40px}.pipeline-form select[multiple]{height:auto;min-height:106px;padding:.4rem .65rem}.custom-field-form textarea{min-height:76px;padding:.55rem .65rem;resize:vertical}.custom-field-form input:disabled,.custom-field-form textarea:disabled{background:#f1f5f9;color:#94a3b8}.pipeline-form input:focus,.pipeline-form select:focus,.stage-form input:focus,.stage-form select:focus,.custom-field-form input:focus,.custom-field-form select:focus,.custom-field-form textarea:focus{outline:none;border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.settings-checkbox-row{min-height:36px;display:inline-flex;align-items:center;gap:.5rem;color:#374151;font-weight:800}.settings-checkbox-row input{width:16px;height:16px;margin:0}.pipelines-settings-list{min-width:0;border-right:1px solid #badfd8;padding-right:1rem;display:grid;align-content:start;gap:.5rem}.pipelines-settings-list button{min-height:58px;border:1px solid #badfd8;border-radius:8px;background:#fff;color:#111827;cursor:pointer;padding:.65rem .75rem;text-align:left;display:grid;gap:.25rem}.pipelines-settings-list button.active,.pipelines-settings-list button:hover{border-color:#93c5fd;background:#edf7f5}.pipelines-settings-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:900}.pipelines-settings-list small{color:#64748b;font-weight:800}.pipelines-settings-list em{justify-self:start;border-radius:999px;background:#f1f5f9;color:#64748b;padding:.12rem .45rem;font-size:.68rem;font-style:normal;font-weight:900}.pipelines-settings-detail{min-width:0;display:grid;align-content:start;gap:1rem}.pipelines-settings-summary{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:.75rem}.pipelines-settings-summary div{min-height:76px;border:1px solid #badfd8;border-radius:8px;padding:.75rem;background:#e8f4f1;display:grid;align-content:center;gap:.25rem}.pipelines-settings-summary span{color:#64748b;font-size:.74rem;font-weight:900;text-transform:uppercase}.pipelines-settings-summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:1rem}.pipeline-action-bar{display:flex;align-items:center;justify-content:flex-start;gap:.55rem;flex-wrap:wrap}.danger-soft{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.danger-soft:hover{background:#fee2e2}.pipeline-stage-editor{border:1px solid #badfd8;border-radius:8px;background:#e8f4f1;padding:1rem}.stage-form{grid-template-columns:minmax(140px,1fr) minmax(120px,.7fr) minmax(90px,.45fr) auto;align-items:end}.pipeline-access-panel,.custom-fields-panel{border:1px solid #badfd8;border-radius:8px;background:#fff;padding:1rem}.pipeline-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.pipeline-access-grid>div{min-width:0;display:grid;align-content:start;gap:.4rem}.pipeline-access-grid strong{color:#0f172a;font-size:.86rem}.team-list-compact{margin-top:1rem;border:1px solid #badfd8;border-radius:8px;overflow:hidden}.team-list-row{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.55rem .65rem;border-top:1px solid #f1f5f9}.team-list-row:first-child{border-top:0}.team-list-row strong,.team-list-row span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-list-row strong{color:#0f172a;font-size:.86rem}.team-list-row span{color:#64748b;font-size:.74rem;font-weight:800}.custom-field-form{grid-template-columns:minmax(150px,1fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(88px,.4fr);align-items:end;margin-bottom:1rem}.custom-field-form .wide{grid-column:span 2}.custom-fields-table{border:1px solid #badfd8;border-radius:8px;overflow:hidden}.custom-fields-row{min-height:46px;display:grid;grid-template-columns:minmax(180px,1fr) 126px 96px 86px;gap:.75rem;align-items:center;padding:.55rem .75rem;border-top:1px solid #f1f5f9;color:#334155;font-size:.84rem}.custom-fields-row:first-child{border-top:0}.custom-fields-row.header{background:#e8f4f1;color:#64748b;font-size:.73rem;font-weight:900;text-transform:uppercase}.custom-fields-row strong,.custom-fields-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-fields-row strong small{display:block;color:#64748b;font-size:.72rem;font-weight:800;margin-top:.15rem}.pipelines-stage-table{border:1px solid #badfd8;border-radius:8px;overflow:hidden}.pipelines-stage-row{min-height:44px;display:grid;grid-template-columns:84px minmax(160px,1fr) 120px 86px;gap:.75rem;align-items:center;padding:0 .85rem;border-top:1px solid #f1f5f9;color:#334155;font-size:.86rem}.pipelines-stage-row:first-child{border-top:0}.pipelines-stage-row.header{background:#e8f4f1;color:#64748b;font-size:.74rem;font-weight:900;text-transform:uppercase}.pipelines-stage-row strong,.pipelines-stage-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-row-actions{display:inline-flex;justify-content:flex-end;gap:.35rem}.stage-row-actions button{width:30px;height:30px;border:1px solid #badfd8;border-radius:7px;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.stage-row-actions button:hover{border-color:#93c5fd;color:#009b8f;background:#edf7f5}.pipelines-empty{padding:1rem}.activity-types-layout,.activity-types-workspace{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:1rem;align-items:start}.activity-type-editor-card,.activity-types-list-card,.activity-types-editor,.activity-types-list{max-width:none}.activity-type-form{display:grid;gap:.8rem}.activity-type-form .form-group{margin-bottom:0;display:grid;gap:.4rem}.activity-type-form label{color:#374151;font-size:.82rem;font-weight:800}.activity-type-form input,.activity-type-form select,.activity-type-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;padding:0 .65rem;font:inherit}.activity-type-form input,.activity-type-form select{height:40px}.activity-type-form textarea{min-height:78px;padding:.55rem .65rem;resize:vertical}.activity-type-form input:focus,.activity-type-form select:focus,.activity-type-form textarea:focus{outline:none;border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.activity-types-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem}.activity-types-summary div{min-height:68px;border:1px solid #badfd8;border-radius:8px;padding:.75rem;background:#e8f4f1;display:grid;align-content:center;gap:.25rem}.activity-types-summary span{color:#64748b;font-size:.74rem;font-weight:900;text-transform:uppercase}.activity-types-summary strong{color:#0f172a;font-size:1.2rem}.activity-types-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,180px);gap:.75rem;margin-bottom:1rem}.activity-types-table{min-width:760px}.activity-type-form-row{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:.75rem}.activity-types-search{height:40px;display:flex;align-items:center;gap:.5rem;padding:0 .75rem;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#64748b}.activity-types-search input{width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:.88rem}.activity-types-status-filter{width:100%;height:40px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;font:inherit;padding:0 .7rem}.activity-type-icon-chip{display:inline-flex;align-items:center;gap:.4rem;max-width:180px;min-height:26px;padding:0 .55rem;border:1px solid #e2e8f0;border-radius:999px;background:#e8f4f1;color:#475569;font-size:.78rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:920px){.page-header{align-items:flex-start;flex-direction:column;gap:1rem}.settings-header-actions{justify-content:flex-start}.pipelines-settings-grid,.pipelines-workspace{grid-template-columns:1fr}.stage-form{grid-template-columns:1fr 1fr}.pipeline-access-grid,.custom-field-form{grid-template-columns:1fr}.custom-field-form .wide{grid-column:auto}.pipelines-settings-list{border-right:0;border-bottom:1px solid #badfd8;padding-right:0;padding-bottom:1rem}.activity-types-layout,.activity-types-workspace,.activity-types-toolbar,.activity-types-summary,.activity-type-form-row,.opportunity-api-tag-create,.opportunity-api-snippets-grid{grid-template-columns:1fr}.opportunity-api-snippet:last-child{grid-column:auto}}@media(max-width:640px){.pipelines-settings-summary{grid-template-columns:1fr}.pipelines-stage-row{grid-template-columns:56px minmax(120px,1fr) 78px 70px;gap:.5rem;padding:0 .6rem}.stage-form{grid-template-columns:1fr}.custom-fields-row{grid-template-columns:minmax(120px,1fr) 82px 70px 70px;gap:.5rem;padding:.5rem .6rem}}.pipelines-settings-page{padding:0;background:#edf7f5;color:#111827}.pipelines-settings-page .pipelines-settings-header{min-height:76px;margin:0;padding:14px 18px;background:#fff;border-bottom:1px solid #badfd8}.pipelines-title-block{min-width:260px;display:flex;align-items:center;gap:12px}.pipelines-title-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#007f75;background:#c9f0ea;flex:0 0 auto}.pipelines-settings-page .page-title{color:#111827;font-size:1.2rem;line-height:1.2}.pipelines-settings-page .settings-page-subtitle,.pipelines-settings-page .settings-muted{color:#65817e;font-size:.82rem;font-weight:800}.pipelines-settings-page .settings-alert-error,.pipelines-settings-page .settings-alert-success{margin:12px 18px 0}.pipelines-settings-page .primary-btn,.pipelines-settings-page .secondary-btn{min-height:40px;border-radius:8px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.pipelines-settings-page .primary-btn{background:#009b8f;color:#fff}.pipelines-settings-page .primary-btn:hover{background:#007f75}.pipelines-settings-page .secondary-btn{background:#fff;border:1px solid #96cbc2;color:#334155}.pipelines-settings-page .secondary-btn:hover{background:#d7eee9}.pipelines-settings-page .danger-soft{border-color:#fecaca;color:#991b1b;background:#fff7f7}.pipelines-settings-page .danger-soft:hover{background:#fee2e2}.pipelines-settings-page .settings-card{border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:none;box-sizing:border-box;max-width:none;width:100%}.pipelines-settings-page .pipelines-workspace{width:100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:12px;align-items:start;padding:12px 18px 18px}.pipelines-settings-page .pipelines-left-column{display:grid;gap:12px}.pipelines-settings-page .pipelines-editor-card{padding:16px;max-width:none}.pipelines-settings-page .settings-section-header{margin-bottom:14px;gap:12px}.pipelines-settings-page .settings-section-header.compact{margin-top:0}.pipelines-settings-page .settings-section-header h3{color:#111827;font-size:.98rem;line-height:1.2}.pipelines-settings-page .pipeline-form,.pipelines-settings-page .stage-form,.pipelines-settings-page .custom-field-form{gap:10px}.pipelines-settings-page .pipeline-form label,.pipelines-settings-page .stage-form label,.pipelines-settings-page .custom-field-form label{color:#486764;font-size:.74rem;font-weight:900;text-transform:uppercase}.pipelines-settings-page .pipeline-form input[type=text],.pipelines-settings-page .pipeline-form select,.pipelines-settings-page .stage-form input,.pipelines-settings-page .stage-form select,.pipelines-settings-page .custom-field-form input,.pipelines-settings-page .custom-field-form select,.pipelines-settings-page .custom-field-form textarea{border-color:#96cbc2;border-radius:8px;color:#111827}.pipelines-settings-page .pipeline-form input:focus,.pipelines-settings-page .pipeline-form select:focus,.pipelines-settings-page .stage-form input:focus,.pipelines-settings-page .stage-form select:focus,.pipelines-settings-page .custom-field-form input:focus,.pipelines-settings-page .custom-field-form select:focus,.pipelines-settings-page .custom-field-form textarea:focus{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.pipelines-settings-page .settings-checkbox-row{min-height:32px;color:#334155;font-size:.84rem}.pipelines-settings-page .settings-checkbox-row input{accent-color:#009b8f}.pipelines-settings-page .pipelines-settings-grid{min-width:0;display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:0;padding:0;overflow:hidden}.pipelines-settings-page .pipelines-settings-list{min-width:0;max-height:calc(100vh - 112px);overflow:auto;border-right:1px solid #badfd8;padding:12px;background:#e8f4f1;display:grid;align-content:start;gap:8px}.pipelines-list-heading{padding:2px 4px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#111827}.pipelines-list-heading strong{font-size:.86rem}.pipelines-list-heading span{width:auto;color:#65817e;font-size:.74rem;font-weight:900;white-space:nowrap}.pipelines-settings-page .pipelines-settings-list button{min-height:68px;border-color:#badfd8;border-radius:8px;background:#fff;padding:11px 12px;gap:3px}.pipelines-settings-page .pipelines-settings-list button.active{border-color:#7dd3cc;background:#e7f8f6;box-shadow:inset 3px 0 #009b8f}.pipelines-settings-page .pipelines-settings-list button:hover{border-color:#7dd3cc;background:#d7eee9}.pipelines-settings-page .pipelines-settings-list button span{color:#111827;font-size:.9rem;font-weight:900}.pipelines-settings-page .pipelines-settings-list small{color:#65817e;font-size:.76rem;font-weight:800}.pipelines-settings-page .pipelines-settings-list em{background:#e2e8f0;color:#486764}.pipelines-settings-page .pipelines-settings-detail{min-width:0;display:grid;align-content:start;gap:12px;padding:14px;background:#fff}.pipelines-detail-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.pipelines-settings-page .pipelines-settings-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px}.pipelines-settings-page .pipelines-settings-summary div{min-height:68px;border-color:#badfd8;background:#fff;padding:12px}.pipelines-settings-page .pipelines-settings-summary span{color:#65817e;font-size:.72rem}.pipelines-settings-page .pipelines-settings-summary strong{color:#111827;font-size:1rem}.pipelines-settings-page .pipeline-action-bar{justify-content:flex-end;gap:8px}.pipelines-settings-page .pipeline-stage-editor,.pipelines-settings-page .pipeline-access-panel,.pipelines-settings-page .custom-fields-panel{border-color:#badfd8;border-radius:8px;background:#fff;padding:14px}.pipelines-settings-page .pipeline-stage-editor{background:#edf7f5}.pipelines-settings-page .stage-form{grid-template-columns:minmax(180px,1fr) minmax(145px,190px) minmax(96px,126px) minmax(132px,auto);align-items:end;gap:10px}.pipelines-settings-page .stage-form .primary-btn{width:100%;padding:0 12px}.pipelines-settings-page .pipelines-stage-table,.pipelines-settings-page .custom-fields-table,.pipelines-settings-page .team-list-compact{border-color:#badfd8;border-radius:8px}.pipelines-settings-page .pipelines-stage-row,.pipelines-settings-page .custom-fields-row,.pipelines-settings-page .team-list-row{border-top-color:#d7eee9}.pipelines-settings-page .pipelines-stage-row.header,.pipelines-settings-page .custom-fields-row.header{background:#eef8f7;color:#486764}.pipelines-settings-page .pipelines-stage-row{grid-template-columns:72px minmax(160px,1fr) 142px 88px;min-height:46px}.pipelines-settings-page .pipelines-stage-row strong,.pipelines-settings-page .custom-fields-row strong,.pipelines-settings-page .team-list-row strong{color:#111827}.pipelines-settings-page .stage-row-actions button{border-color:#96cbc2;color:#486764}.pipelines-settings-page .stage-row-actions button:hover{border-color:#009b8f;background:#d7eee9;color:#007f75}.pipelines-settings-page .pipeline-access-grid{gap:10px}.pipelines-settings-page .pipeline-access-grid>div{max-height:260px;overflow:auto;border:1px solid #badfd8;border-radius:8px;background:#edf7f5;padding:10px}.pipelines-settings-page .pipeline-access-grid strong{color:#111827;font-size:.78rem;text-transform:uppercase}.pipelines-settings-page .team-list-compact{margin-top:12px}.pipelines-settings-page .team-list-row span,.pipelines-settings-page .custom-fields-row strong small{color:#65817e}.pipelines-settings-page .custom-field-form{grid-template-columns:minmax(160px,1fr) minmax(130px,.75fr) minmax(130px,.75fr) minmax(90px,.45fr);align-items:end;gap:10px}.pipelines-settings-page .custom-fields-row{grid-template-columns:minmax(190px,1fr) 132px 104px 88px}@media(max-width:1280px){.pipelines-settings-page .pipelines-workspace{grid-template-columns:minmax(250px,310px) minmax(0,1fr)}.pipelines-settings-page .pipelines-settings-grid{grid-template-columns:minmax(220px,270px) minmax(0,1fr)}.pipelines-detail-top,.pipelines-settings-page .stage-form,.pipelines-settings-page .custom-field-form{grid-template-columns:1fr 1fr}}@media(max-width:920px){.pipelines-settings-page .pipelines-settings-header{align-items:flex-start;flex-direction:column;gap:12px}.pipelines-settings-page .pipelines-workspace,.pipelines-settings-page .pipelines-settings-grid,.pipelines-detail-top,.pipelines-settings-page .stage-form,.pipelines-settings-page .pipeline-access-grid,.pipelines-settings-page .custom-field-form{grid-template-columns:1fr}.pipelines-settings-page .pipelines-settings-list{max-height:none;border-right:0;border-bottom:1px solid #badfd8}.pipelines-settings-page .pipeline-action-bar{justify-content:flex-start}}@media(max-width:640px){.pipelines-title-block{min-width:0}.pipelines-settings-page .pipelines-workspace{padding:10px}.pipelines-settings-page .pipelines-settings-summary,.pipelines-settings-page .pipelines-stage-row,.pipelines-settings-page .custom-fields-row{grid-template-columns:1fr}.pipelines-settings-page .pipelines-stage-row,.pipelines-settings-page .custom-fields-row{align-items:start;padding:10px}.pipelines-settings-page .stage-row-actions{justify-content:flex-start}}.pipelines-settings-page .pipelines-workspace{grid-template-columns:1fr;gap:12px;min-width:0}.pipelines-settings-page .pipelines-workspace.editing-pipeline{animation:pipeline-editor-enter .16s ease-out}.pipelines-settings-page .pipelines-workspace.editing-pipeline .pipeline-edit-panel{width:100%}@keyframes pipeline-editor-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.pipelines-settings-page .settings-header-actions,.pipelines-settings-page .pipelines-list-toolbar,.pipelines-settings-page .pipeline-row-actions,.pipelines-settings-page .pipeline-editor-tabs,.pipelines-settings-page .pipelines-modal header,.pipelines-settings-page .modal-form footer{display:flex;align-items:center;gap:8px}.pipelines-settings-page .settings-header-actions,.pipelines-settings-page .pipeline-row-actions,.pipelines-settings-page .modal-form footer{justify-content:flex-end}.pipelines-settings-page .pipelines-list-toolbar{align-items:flex-start;flex-wrap:wrap;justify-content:space-between;margin-bottom:12px}.pipelines-settings-page .pipelines-list-card,.pipelines-settings-page .pipeline-edit-panel{min-width:0;padding:14px}.pipelines-settings-page .pipeline-action-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pipelines-settings-page .pipelines-list-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,170px) minmax(180px,220px) minmax(150px,auto);gap:8px;margin-bottom:12px}.pipelines-settings-page .pipelines-list-search,.pipelines-settings-page .pipelines-list-filters select{min-width:0;min-height:40px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#334155;font-size:.84rem;font-weight:800}.pipelines-settings-page .pipelines-list-search{display:flex;align-items:center;gap:8px;padding:0 10px}.pipelines-settings-page .pipelines-list-search svg{color:#486764;flex:0 0 auto}.pipelines-settings-page .pipelines-list-search input{width:100%;min-width:0;border:0;outline:0;color:#111827;font:inherit;background:transparent}.pipelines-settings-page .pipelines-list-filters select{padding:0 10px}.pipelines-settings-page .pipelines-list-table{width:100%;border:1px solid #badfd8;border-radius:8px;overflow-x:auto;overflow-y:hidden;background:#fff;scrollbar-color:#96cbc2 transparent;scrollbar-width:thin}.pipelines-settings-page .pipelines-list-row{min-height:56px;display:grid;min-width:960px;grid-template-columns:minmax(220px,1.6fr) minmax(160px,1fr) 86px 126px 96px minmax(178px,auto);align-items:center;gap:10px;padding:10px 12px;border-top:1px solid #d7eee9}.pipelines-settings-page .pipelines-list-row:first-child{border-top:0}.pipelines-settings-page .pipelines-list-row.header{min-height:42px;background:#eef8f7;color:#486764;font-size:.72rem;font-weight:900;text-transform:uppercase}.pipelines-settings-page .pipelines-list-row.header span{white-space:nowrap}.pipelines-settings-page .pipelines-list-row.active{background:#f0fbf9;box-shadow:inset 3px 0 #009b8f}.pipelines-settings-page .pipelines-list-row strong{min-width:0;color:#111827;font-size:.9rem;overflow-wrap:anywhere}.pipelines-settings-page .pipelines-list-row span{min-width:0;color:#486764;font-size:.84rem;font-weight:800;overflow-wrap:anywhere}.pipelines-settings-page .pipeline-row-actions .secondary-btn{min-height:34px;padding:0 10px}.pipelines-settings-page .pipeline-row-actions{flex-wrap:nowrap}.pipelines-settings-page .pipeline-access-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.pipelines-settings-page .pipeline-access-summary>div,.pipelines-settings-page .selected-user-panel{min-width:0;border:1px solid #badfd8;border-radius:8px;background:#f6fbfa;padding:10px}.pipelines-settings-page .team-members-checkbox-list{max-height:260px;overflow:auto;display:grid;gap:2px;border:1px solid #badfd8;border-radius:8px;background:#f6fbfa;padding:8px}.pipelines-settings-page .team-member-checkbox{min-width:0;min-height:34px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;border-radius:7px;color:#111827;cursor:pointer;padding:6px 8px}.pipelines-settings-page .team-member-checkbox:hover{background:#fff}.pipelines-settings-page .team-member-checkbox input{width:16px;height:16px;margin:1px 0 0;accent-color:#009b8f}.pipelines-settings-page .team-member-checkbox span{min-width:0;display:grid;gap:1px}.pipelines-settings-page .team-member-checkbox strong,.pipelines-settings-page .team-member-checkbox small{min-width:0;overflow-wrap:anywhere}.pipelines-settings-page .team-member-checkbox strong{font-size:.84rem;line-height:1.12}.pipelines-settings-page .team-member-checkbox small{color:#486764;font-size:.58rem;font-weight:800;line-height:1.05;text-transform:lowercase}.pipelines-settings-page .team-members-checkbox-list>em{color:#486764;font-size:.84rem;padding:8px}.pipelines-settings-page .pipeline-access-summary span,.pipelines-settings-page .selected-user-panel>span{color:#486764;font-size:.72rem;font-weight:900;text-transform:uppercase}.pipelines-settings-page .pipeline-access-summary strong{display:block;margin-top:2px;color:#111827;font-size:1.05rem}.pipelines-settings-page .selected-user-panel{margin-top:8px}.pipelines-settings-page .selected-user-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.pipelines-settings-page .selected-user-chips span{max-width:100%;min-height:26px;display:inline-flex;align-items:center;border:1px solid #badfd8;border-radius:999px;background:#fff;color:#111827;font-size:.75rem;font-weight:900;line-height:1.2;padding:4px 9px;text-transform:none;overflow-wrap:anywhere}.pipelines-settings-page .selected-user-chips em{color:#65817e;font-size:.78rem;font-style:normal;font-weight:800}.pipelines-settings-page .pipeline-template-picker{display:grid;gap:8px}.pipelines-settings-page .pipeline-template-picker>label{color:#486764;font-size:.76rem;font-weight:900}.pipelines-settings-page .pipeline-template-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pipelines-settings-page .pipeline-template-option{min-height:96px;border:1px solid #badfd8;border-radius:8px;background:#fff;color:#486764;display:grid;align-content:start;gap:5px;padding:10px;text-align:left;cursor:pointer}.pipelines-settings-page .pipeline-template-option strong{color:#111827;font-size:.9rem}.pipelines-settings-page .pipeline-template-option span,.pipelines-settings-page .pipeline-template-option small{color:#486764;font-size:.76rem;font-weight:800;line-height:1.35}.pipelines-settings-page .pipeline-template-option.active{border-color:#009b8f;background:#f0fbf9;box-shadow:inset 3px 0 #009b8f}.pipelines-settings-page .icon-only{width:38px;min-width:38px;padding:0}.pipelines-settings-page .pipeline-edit-panel{display:grid;gap:12px}.pipelines-settings-page .pipeline-editor-tabs{flex-wrap:wrap;padding:4px;border:1px solid #badfd8;border-radius:8px;background:#edf7f5}.pipelines-settings-page .pipeline-editor-tabs button{min-height:38px;border:0;border-radius:8px;background:transparent;color:#486764;display:inline-flex;align-items:center;gap:7px;padding:0 12px;font-weight:900;cursor:pointer}.pipelines-settings-page .pipeline-editor-tabs button.active{background:#fff;color:#007f75;box-shadow:0 0 0 1px #96cbc2}.pipelines-settings-page .pipeline-work-panel{border:1px solid #badfd8;border-radius:8px;padding:14px;background:#fff}.pipelines-settings-page .pipeline-work-panel .pipelines-stage-table,.pipelines-settings-page .pipeline-work-panel .custom-fields-table{margin-top:12px}.pipelines-settings-page .pipeline-work-panel .settings-section-header.compact{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.pipelines-settings-page .pipelines-modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:#0f172a6b}.pipelines-settings-page .pipelines-modal{width:min(520px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:0 18px 54px #0f172a38}.pipelines-settings-page .pipelines-modal.wide{width:min(860px,100%)}.pipelines-settings-page .pipelines-modal header{justify-content:space-between;padding:14px 16px;border-bottom:1px solid #d7eee9}.pipelines-settings-page .pipelines-modal header h3{margin:0;color:#111827;font-size:1rem}.pipelines-settings-page .pipelines-modal .modal-form,.pipelines-settings-page .team-modal-layout{padding:16px}.pipelines-settings-page .modal-form footer{margin-top:6px}.pipelines-settings-page .team-modal-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px}.pipelines-settings-page .team-modal-layout .team-list-compact{margin-top:0;align-self:start;max-height:460px;overflow:auto}.pipelines-settings-page .team-list-row{gap:10px}.pipelines-settings-page .team-list-row>div:first-child{min-width:0}.pipelines-settings-page .team-list-row span{white-space:normal;line-height:1.35}.pipelines-settings-page .team-list-row.active{background:#f0fbf9;box-shadow:inset 3px 0 #009b8f}@media(max-width:960px){.pipelines-settings-page .pipelines-list-row{min-width:860px;grid-template-columns:minmax(190px,1.3fr) minmax(130px,.8fr) 74px 118px 86px minmax(172px,auto)}.pipelines-settings-page .pipelines-list-row>span:nth-child(2),.pipelines-settings-page .pipelines-list-row.header>span:nth-child(2){display:block}.pipelines-settings-page .team-modal-layout,.pipelines-settings-page .pipeline-access-summary{grid-template-columns:1fr}.pipelines-settings-page .pipelines-list-filters{grid-template-columns:minmax(0,1fr) minmax(150px,1fr)}}@media(max-width:700px){.pipelines-settings-page .pipelines-list-toolbar,.pipelines-settings-page .pipelines-detail-top,.pipelines-settings-page .modal-form footer{align-items:stretch;flex-direction:column}.pipelines-settings-page .pipelines-list-table,.pipelines-settings-page .pipelines-stage-table,.pipelines-settings-page .custom-fields-table{display:grid;gap:10px;border:0;background:transparent;overflow:visible}.pipelines-settings-page .pipelines-list-row.header,.pipelines-settings-page .pipelines-stage-row.header,.pipelines-settings-page .custom-fields-row.header{display:none}.pipelines-settings-page .pipelines-list-row,.pipelines-settings-page .pipelines-stage-row,.pipelines-settings-page .custom-fields-row,.pipelines-settings-page .pipeline-template-options{grid-template-columns:1fr}.pipelines-settings-page .pipelines-list-row,.pipelines-settings-page .pipelines-stage-row,.pipelines-settings-page .custom-fields-row{min-width:0;align-items:stretch;gap:9px;border:1px solid #d7eee9;border-radius:8px;background:#fff;padding:12px}.pipelines-settings-page .pipelines-list-row:first-child,.pipelines-settings-page .pipelines-stage-row:first-child,.pipelines-settings-page .custom-fields-row:first-child{border-top:1px solid #d7eee9}.pipelines-settings-page [data-label]{white-space:normal}.pipelines-settings-page [data-label]:before{content:attr(data-label);display:block;margin-bottom:3px;color:#65817e;font-size:.68rem;font-weight:900;text-transform:uppercase}.pipelines-settings-page .pipeline-row-actions,.pipelines-settings-page .pipeline-action-bar{justify-content:flex-start;flex-wrap:wrap}.pipelines-settings-page .pipelines-list-filters{grid-template-columns:1fr}.pipelines-settings-page .pipeline-editor-tabs button,.pipelines-settings-page .pipeline-row-actions .secondary-btn{flex:1 1 150px;justify-content:center}.pipelines-settings-page .pipelines-modal-backdrop{padding:10px}}.dashboard-pro-page{min-width:0;box-sizing:border-box}.dashboard-pro-page *,.dashboard-pro-page *:before,.dashboard-pro-page *:after{box-sizing:border-box}.dashboard-pro-loading{min-height:100%;display:grid;place-items:center;background:#edf7f5;color:#6b7280;font-weight:800}.dashboard-pro-header,.dashboard-pro-toolbar,.dashboard-pro-tabs,.dashboard-pro-stack,.dashboard-pro-grid,.dashboard-pro-kpi-grid,.dashboard-pro-section-header{min-width:0}.dashboard-pro-header>div:first-child{min-width:220px;flex:1 1 260px}.dashboard-pro-toolbar{max-width:100%}.dashboard-pro-toolbar input[type=date]{min-height:34px;min-width:132px;background:#fff;color:#111827;font:inherit}.dashboard-pro-update-button:hover{background:#007f75!important}.dashboard-pro-tabs{overflow-x:auto;scrollbar-width:thin}.dashboard-pro-tabs button,.dashboard-pro-chip-row button{flex:0 0 auto;white-space:nowrap}.dashboard-pro-grid>section,.dashboard-pro-kpi-grid>div,.dashboard-pro-stack>section{min-width:0}.dashboard-pro-page table{min-width:620px}.dashboard-pro-page section{min-width:0}@media(max-width:1180px){.dashboard-pro-page{padding:16px!important}.dashboard-pro-header{flex-direction:column!important;align-items:stretch!important}.dashboard-pro-toolbar{justify-content:flex-start!important}.dashboard-pro-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-pro-grid-halves{grid-template-columns:1fr!important}.dashboard-pro-section-header{align-items:flex-start!important}}@media(max-width:720px){.dashboard-pro-page{padding:12px!important}.dashboard-pro-header{padding:14px!important;margin-bottom:12px!important}.dashboard-pro-header h2{font-size:1.15rem!important}.dashboard-pro-header p{font-size:.8rem!important}.dashboard-pro-toolbar{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}.dashboard-pro-toolbar>input[type=date],.dashboard-pro-toolbar .dashboard-pro-update-button{grid-column:1 / -1;width:100%}.dashboard-pro-toolbar>div{width:100%!important;min-width:0!important}.dashboard-pro-tabs{margin:0 -12px 14px!important;padding:0 12px 8px;border-bottom-width:0!important}.dashboard-pro-tabs button{padding:10px 9px!important}.dashboard-pro-kpi-grid,.dashboard-pro-grid{grid-template-columns:1fr!important}.dashboard-pro-chip-row{width:100%;overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:4px}.dashboard-pro-section-header>button{width:100%}.dashboard-pro-page textarea{font-size:16px}}@media(max-width:440px){.dashboard-pro-toolbar{grid-template-columns:repeat(3,minmax(38px,1fr))}.dashboard-pro-toolbar>button:not(.dashboard-pro-update-button){width:100%!important}.dashboard-pro-page table{min-width:560px}}body.dark-theme .dashboard-pro-page{background:#0b1220!important;color:#f8fafc!important}body.dark-theme .dashboard-pro-header,body.dark-theme .dashboard-pro-page section,body.dark-theme .dashboard-pro-kpi-grid>div{background:#111827!important;border-color:#334155!important;color:#f8fafc!important}body.dark-theme .dashboard-pro-page :is(h2,h3,strong){color:#f8fafc!important}body.dark-theme .dashboard-pro-page :is(p,td,th){color:#cbd5e1!important}body.dark-theme .dashboard-pro-tabs{border-color:#334155!important}body.dark-theme .dashboard-pro-toolbar input[type=date],body.dark-theme .dashboard-pro-tabs button,body.dark-theme .dashboard-pro-chip-row button{background:#1f2937!important;border-color:#475569!important;color:#f8fafc!important}.funnel-dashboard-page{height:100vh;min-width:0;overflow:auto;background:#e8f4f1;color:#111827;padding-bottom:18px}.funnel-dashboard-page *,.funnel-dashboard-page *:before,.funnel-dashboard-page *:after{box-sizing:border-box}.funnel-dashboard-loading{display:grid;place-items:center;color:#64748b;font-weight:800}.funnel-dashboard-header{min-height:0;padding:14px 18px;border-bottom:1px solid #badfd8;background:#fff;display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:center;gap:18px}.funnel-dashboard-title{min-width:0;display:flex;align-items:center;gap:12px}.funnel-dashboard-title>span{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#009b8f;background:#009b8f1a;flex:0 0 auto}.funnel-dashboard-title h1{margin:0;font-size:1.2rem;line-height:1.2}.funnel-dashboard-title p{margin:3px 0 0;color:#64748b;font-size:.84rem;font-weight:700}.funnel-dashboard-filters{width:100%;display:grid;grid-template-columns:minmax(210px,1fr) minmax(210px,1fr) minmax(154px,.62fr) minmax(154px,.62fr) minmax(284px,auto);align-items:end;justify-content:stretch;gap:10px;padding:10px;border:1px solid #d5ece8;border-radius:8px;background:#f7fcfb;box-shadow:0 1px 2px #0f172a0a}.funnel-dashboard-filters.no-tags{grid-template-columns:minmax(220px,1.2fr) minmax(154px,.7fr) minmax(154px,.7fr) minmax(284px,auto)}.funnel-filter-field,.funnel-date-field{display:grid;gap:5px;min-width:0}.funnel-filter-field{position:relative;width:100%}.funnel-date-field{width:100%}.funnel-filter-label{color:#486764;font-size:.68rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.funnel-filter-trigger,.funnel-date-control{width:100%;height:42px;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#334155;display:flex;align-items:center;gap:8px;padding:0 10px;box-shadow:inset 0 1px #ffffffb3}.funnel-filter-trigger{font:inherit;text-align:left;cursor:pointer}.funnel-filter-trigger:hover,.funnel-filter-trigger.active,.funnel-date-control:focus-within{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.funnel-filter-trigger:disabled{cursor:not-allowed;opacity:.65}.funnel-filter-trigger>svg:first-child,.funnel-date-control>svg{flex:0 0 auto;color:#009b8f}.funnel-filter-trigger-text{min-width:0;flex:1 1 auto;display:grid;gap:1px}.funnel-filter-trigger-text strong,.funnel-filter-trigger-text small,.funnel-filter-option-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.funnel-filter-trigger-text strong{color:#111827;font-size:.84rem;line-height:1.15}.funnel-filter-trigger-text small{color:#65817e;font-size:.68rem;font-weight:800}.funnel-filter-count{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d7eee9;color:#007f75;display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:900}.funnel-filter-chevron{flex:0 0 auto;color:#65817e;transition:transform .18s ease}.funnel-filter-trigger.active .funnel-filter-chevron{transform:rotate(180deg)}.funnel-filter-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:max(100%,280px);max-width:min(340px,calc(100vw - 32px));border:1px solid #96cbc2;border-radius:8px;background:#fff;box-shadow:0 18px 36px #0f172a29;overflow:hidden}.funnel-filter-dropdown-header{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid #d5ece8;background:#f7fcfb}.funnel-filter-dropdown-header strong{color:#111827;font-size:.82rem}.funnel-filter-dropdown-header button{border:0;background:transparent;color:#009b8f;padding:2px 0;font:inherit;font-size:.76rem;font-weight:900;cursor:pointer}.funnel-filter-dropdown-header button:disabled{color:#94a3b8;cursor:not-allowed}.funnel-filter-options{max-height:240px;overflow:auto;display:grid;gap:4px;padding:6px}.funnel-filter-option{position:relative;min-height:34px;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:7px;color:#334155;font-size:.82rem;font-weight:800;cursor:pointer}.funnel-filter-option:hover{background:#e8f4f1}.funnel-filter-option input{position:absolute;opacity:0;pointer-events:none}.funnel-filter-option-check{width:18px;height:18px;border:1px solid #96cbc2;border-radius:6px;background:#fff;color:#fff;display:grid;place-items:center;flex:0 0 auto}.funnel-filter-option-check svg{opacity:0}.funnel-filter-option input:checked+.funnel-filter-option-check{border-color:#009b8f;background:#009b8f}.funnel-filter-option input:checked+.funnel-filter-option-check svg{opacity:1}.funnel-filter-empty{padding:14px 10px;color:#94a3b8;font-size:.82rem;font-weight:800;text-align:center}.funnel-date-control input{width:100%;min-width:0;min-height:auto;border:0;outline:0;border-radius:0;background:transparent;color:#111827;padding:0;font:inherit;font-size:.84rem;font-weight:900}.funnel-date-control input::-webkit-calendar-picker-indicator{cursor:pointer}.funnel-dashboard-filter-actions{min-width:0;display:grid;grid-template-columns:minmax(112px,1fr) minmax(92px,auto) 42px;align-items:end;gap:7px}.funnel-dashboard-primary,.funnel-dashboard-secondary,.funnel-dashboard-icon,.funnel-dashboard-segments button{min-height:42px;border-radius:8px;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.funnel-dashboard-primary,.funnel-dashboard-secondary,.funnel-dashboard-icon{width:100%}.funnel-dashboard-primary{border:1px solid #009b8f;background:#009b8f;color:#fff;padding:0 13px}.funnel-dashboard-secondary,.funnel-dashboard-icon,.funnel-dashboard-segments button{border:1px solid #96cbc2;background:#fff;color:#334155;padding:0 12px}.funnel-dashboard-primary:hover{background:#007f75;border-color:#007f75}.funnel-dashboard-secondary:hover,.funnel-dashboard-icon:hover,.funnel-dashboard-segments button:hover{background:#d7eee9}.funnel-dashboard-icon{width:42px;padding:0}.funnel-dashboard-error{margin:12px 18px 0;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#991b1b;font-size:.84rem;font-weight:800}.funnel-dashboard-summary,.funnel-dashboard-grid{padding:12px 18px 0}.funnel-dashboard-summary{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px}.funnel-dashboard-kpi{min-height:88px;padding:14px;border:1px solid #badfd8;border-left:4px solid #64748b;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0f172a0f}.funnel-dashboard-kpi-label{text-transform:uppercase;font-size:.74rem;font-weight:900;margin-bottom:6px}.funnel-dashboard-kpi-main{display:flex;align-items:center;justify-content:space-between;gap:10px}.funnel-dashboard-kpi-main strong{color:#111827;font-size:2rem;line-height:1}.funnel-dashboard-kpi>span{display:block;margin-top:6px;font-weight:900;font-size:.86rem}.funnel-dashboard-grid{display:grid;gap:12px}.funnel-dashboard-grid.two-one{grid-template-columns:minmax(280px,1fr) minmax(420px,2fr)}.funnel-dashboard-grid.stage-row{grid-template-columns:minmax(360px,2fr) minmax(220px,1fr) minmax(220px,1fr)}.funnel-dashboard-grid.half{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-dashboard-card{min-width:0;border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0f172a0f;overflow:hidden}.funnel-dashboard-card>header{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid #badfd8;background:#fff}.funnel-dashboard-card>header strong{color:#111827;font-size:.9rem}.funnel-dashboard-card-body{padding:12px}.funnel-dashboard-empty-chart{min-height:220px;border-radius:8px;background:#e8f4f1;color:#94a3b8;display:grid;place-items:center;font-weight:800;font-size:.9rem}.funnel-dashboard-segments{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.funnel-dashboard-segments button.active{border-color:#009b8f;background:#009b8f;color:#fff}.funnel-dashboard-segments button.active.muted{border-color:#64748b;background:#64748b}.funnel-dashboard-table-wrap{width:100%;overflow:auto}.funnel-dashboard-table{width:100%;min-width:640px;border-collapse:collapse}.funnel-dashboard-table.compact{min-width:560px}.funnel-dashboard-table th,.funnel-dashboard-table td{padding:8px 10px;border-bottom:1px solid #eef2f7;color:#334155;font-size:.82rem;text-align:left;vertical-align:middle}.funnel-dashboard-table th{background:#e8f4f1;color:#64748b;font-size:.72rem;font-weight:900}.funnel-dashboard-table .center{text-align:center}.funnel-dashboard-table .right{text-align:right}.funnel-dashboard-table .success{color:#15803d;font-weight:900}.funnel-dashboard-table .danger{color:#dc2626;font-weight:800}.funnel-dashboard-table .empty{color:#94a3b8;text-align:center;padding:18px;font-weight:800}.funnel-dashboard-progress{min-width:110px;display:grid;grid-template-columns:minmax(70px,1fr) 42px;align-items:center;gap:6px}.funnel-dashboard-progress:before{content:"";grid-column:1;grid-row:1;height:7px;border-radius:999px;background:#badfd8}.funnel-dashboard-progress span{grid-column:1;grid-row:1;height:7px;border-radius:999px}.funnel-dashboard-progress b{color:#111827;font-size:.75rem}.funnel-dashboard-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;min-width:28px;border-radius:999px;padding:0 8px;font-weight:900;font-size:.75rem}.funnel-dashboard-badge.neutral{border:1px solid #96cbc2;background:#e8f4f1;color:#111827}.funnel-dashboard-badge.warn{border:1px solid #96cbc2;background:#d7eee9;color:#486764}.funnel-dashboard-badge.overdue{border:1px solid #fca5a5;background:#fee2e2;color:#991b1b;animation:funnelActivityOverduePulse 2s ease-in-out infinite}.funnel-dashboard-muted,.muted{color:#64748b;font-weight:800}@keyframes funnelActivityOverduePulse{0%,to{box-shadow:0 0 #dc262659}50%{box-shadow:0 0 0 4px #dc262600}}@media(max-width:1500px){.funnel-dashboard-header{grid-template-columns:1fr;gap:10px}.funnel-dashboard-title{width:100%}.funnel-dashboard-filters{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(284px,auto)}.funnel-dashboard-filters.no-tags{grid-template-columns:minmax(240px,1.2fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(284px,auto)}}@media(max-width:1180px){.funnel-dashboard-summary,.funnel-dashboard-grid.two-one,.funnel-dashboard-grid.stage-row,.funnel-dashboard-grid.half{grid-template-columns:1fr 1fr}.funnel-dashboard-filters,.funnel-dashboard-filters.no-tags{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-dashboard-filter-actions{grid-column:1 / -1}}@media(max-width:720px){.funnel-dashboard-header{padding:12px;gap:12px}.funnel-dashboard-summary,.funnel-dashboard-grid.two-one,.funnel-dashboard-grid.stage-row,.funnel-dashboard-grid.half{grid-template-columns:1fr}.funnel-dashboard-title{min-width:0}.funnel-dashboard-title h1{font-size:1.1rem}.funnel-dashboard-title p{font-size:.78rem}.funnel-dashboard-filters{display:grid;grid-template-columns:1fr;padding:8px}.funnel-dashboard-filters.no-tags{grid-template-columns:1fr}.funnel-filter-field,.funnel-date-field,.funnel-dashboard-filter-actions,.funnel-dashboard-primary,.funnel-dashboard-secondary{width:100%;min-width:0}.funnel-filter-dropdown{left:0;right:auto;width:100%;max-width:none}.funnel-dashboard-filter-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,auto) 42px;align-items:stretch}.funnel-dashboard-summary,.funnel-dashboard-grid{padding-right:12px;padding-left:12px}.funnel-dashboard-card>header{align-items:flex-start;flex-direction:column}}@media(max-width:440px){.funnel-dashboard-filter-actions{grid-template-columns:minmax(0,1fr) 42px}.funnel-dashboard-primary{grid-column:1 / -1}.funnel-dashboard-secondary{grid-column:1}.funnel-dashboard-icon{grid-column:2}}body.dark-theme .funnel-dashboard-filters,body.dark-theme .funnel-filter-dropdown,body.dark-theme .funnel-filter-dropdown-header{background:#111827!important;border-color:#334155!important;color:#f8fafc!important}body.dark-theme .funnel-filter-trigger,body.dark-theme .funnel-date-control,body.dark-theme .funnel-filter-option-check{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}body.dark-theme .funnel-filter-trigger-text strong,body.dark-theme .funnel-filter-dropdown-header strong,body.dark-theme .funnel-date-control input,body.dark-theme .funnel-filter-option{color:#f8fafc!important}body.dark-theme .funnel-filter-label,body.dark-theme .funnel-filter-trigger-text small,body.dark-theme .funnel-filter-chevron{color:#cbd5e1!important}body.dark-theme .funnel-filter-option:hover{background:#1f2937!important}body.dark-theme .funnel-filter-count{background:#134e4a!important;color:#ccfbf1!important}.crm-kanban-page{height:100vh;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#fff;color:#374151}.crm-kanban-loading{align-items:center;justify-content:center;gap:10px;color:#475569;font-weight:800}.spin{animation:crm-spin .9s linear infinite}@keyframes crm-spin{to{transform:rotate(360deg)}}.crm-kanban-header{min-height:66px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px 10px;border-bottom:1px solid #badfd8;background:#fff}.crm-title-block{min-width:188px;display:flex;align-items:center;gap:10px}.crm-title-icon{width:34px;height:34px;border-radius:6px;display:grid;place-items:center;background:#e8f2ff;color:#009b8f;flex:0 0 auto}.crm-title-block h1{margin:0;font-size:1rem;line-height:1.2}.crm-title-block p{margin:2px 0 0;color:#8b8f99;font-size:.76rem;font-weight:700}.crm-header-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;min-width:0;flex:1}.crm-field{display:flex;flex-direction:column;gap:5px;min-width:0}.crm-field.compact{width:min(220px,24vw)}.crm-field.compact.filter{width:min(180px,18vw)}.crm-field span{color:#8b8f99;font-size:.72rem;line-height:1;font-weight:900;text-transform:uppercase}.crm-field input,.crm-field select,.crm-field textarea,.crm-comment-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#374151;font:inherit;font-size:.88rem;outline:none}.crm-field input,.crm-field select{height:36px;padding:0 10px}.crm-field textarea{min-height:82px;padding:10px;resize:vertical}.crm-field input:focus,.crm-field select:focus,.crm-field textarea:focus,.crm-comment-form textarea:focus{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.crm-field.full{grid-column:1 / -1}.crm-field small{color:#64748b;font-size:.74rem;line-height:1.35;font-weight:700}.crm-product-combobox{position:relative;min-width:0}.crm-product-control{width:100%;min-width:0;height:34px;box-sizing:border-box;display:flex;align-items:center;gap:7px;padding:0 8px 0 10px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#64748b}.crm-product-combobox.is-open .crm-product-control{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f1f}.crm-product-control>svg{flex:0 0 auto;color:#64748b}.crm-product-control input{flex:1 1 auto;width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#374151;font:inherit;font-size:.78rem}.opportunity-workspace-node .crm-product-control input,.opportunity-workspace-node .crm-product-control input:focus{border:0;box-shadow:none;background:transparent}.crm-product-clear{width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:#64748b;cursor:pointer}.crm-product-clear:hover{background:#eef7f6;color:#007f75}.crm-product-options{position:absolute;z-index:1500;top:calc(100% + 4px);left:0;right:auto;width:max(100%,min(340px,calc(100vw - 40px)));max-height:min(280px,42vh);overflow:auto;padding:4px;border:1px solid #96cbc2;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a29}.crm-product-option{width:100%;min-width:0;display:grid;gap:2px;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#334155;cursor:pointer;font:inherit;text-align:left}.crm-product-option:hover,.crm-product-option.is-active{background:#e8f7f5}.crm-product-option.is-selected{background:#c9f0ea}.crm-product-option strong,.crm-product-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-product-option strong{color:#0f172a;font-size:.82rem;font-weight:850}.crm-product-option span,.crm-field .crm-product-option span{color:#64748b;font-size:.72rem;font-weight:700;line-height:1.25;text-transform:none}.crm-product-empty{padding:8px 9px;color:#64748b;font-size:.78rem;font-weight:700}.crm-search{width:min(280px,26vw);height:36px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#9ca3af}.crm-search input{width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:.88rem}.crm-icon-button,.crm-primary-button,.crm-secondary-button,.crm-danger-button,.crm-inline-action{border-radius:6px;border:1px solid transparent;font:inherit;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.crm-icon-button{width:36px;height:36px;background:#fff;border-color:#badfd8;color:#6b7280;flex:0 0 auto}.crm-icon-button.danger{color:#b91c1c}.crm-icon-button.danger:hover{background:#fef2f2;border-color:#fecaca}.crm-icon-button:hover,.crm-secondary-button:hover{background:#eef2f7}.crm-primary-button{height:36px;padding:0 13px;background:#009b8f;color:#fff}.crm-primary-button:hover{background:#007f75}.crm-primary-button:disabled{opacity:.58;cursor:not-allowed}.crm-secondary-button:disabled,.crm-danger-button:disabled{opacity:.58;cursor:not-allowed}.crm-danger-button{min-height:36px;padding:0 12px;background:#fff7f7;border-color:#fecaca;color:#b91c1c}.crm-danger-button:hover{background:#fee2e2;border-color:#fca5a5}.crm-secondary-button{min-height:36px;padding:0 12px;background:#fff;border-color:#badfd8;color:#334155}.crm-error{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 18px 0;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#991b1b;font-size:.84rem;font-weight:800}.crm-error button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#991b1b;cursor:pointer}.crm-summary-row{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:0;padding:8px 18px;border-bottom:1px solid #eef2f7;background:#fff}.crm-summary-row div{min-height:46px;padding:6px 14px;border-right:1px solid #eef2f7;display:flex;flex-direction:column;justify-content:center;gap:2px}.crm-summary-row div:last-child{border-right:0}.crm-summary-row strong{font-size:1rem;line-height:1.2;color:#374151}.crm-summary-row span{color:#9ca3af;font-size:.75rem;font-weight:800}.crm-board{flex:1;min-height:0;display:flex;overflow:auto;padding:0;background:linear-gradient(#eef2f7 1px,transparent 1px) 0 0 / 100% 64px,linear-gradient(90deg,#eef2f7 1px,transparent 1px) 0 0 / 304px 100%}.crm-stage-column{width:304px;min-width:304px;min-height:0;height:100%;display:flex;flex-direction:column;border-right:1px solid #badfd8;background:#f9fafbb3;overflow:visible;position:relative}.crm-stage-column.is-drop-ready{background:#eff6ffb8}.crm-stage-header{height:78px;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;padding:0 12px 10px;border-bottom:1px solid #badfd8;background:#f9fafbeb;position:sticky;top:0;z-index:3}.crm-stage-color{height:4px;margin:0 -12px 6px;background:var(--stage-color)}.crm-stage-title-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.crm-stage-title-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#374151;font-size:.74rem;line-height:1.2;text-transform:uppercase;letter-spacing:0;font-weight:900}.crm-stage-title-row small{min-width:24px;height:22px;display:grid;place-items:center;border-radius:999px;background:#fff;color:#6b7280;border:1px solid #badfd8;font-size:.72rem;font-weight:900}.crm-stage-meta{color:#8b8f99;font-size:.76rem;font-weight:800;text-align:center}.crm-stage-dot{width:9px;height:9px;border-radius:999px;background:var(--stage-color);flex:0 0 auto}.crm-stage-list{flex:1;min-height:0;overflow-y:auto;padding:14px 12px 28px;display:flex;flex-direction:column;gap:10px;align-items:stretch}.crm-stage-quick-add{flex:0 0 auto;align-self:center;border:0;background:transparent;color:#a1a7b3;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font:inherit;font-size:.8rem;font-weight:900;padding:2px 8px}.crm-stage-quick-add:hover{color:#009b8f}.crm-opportunity-card{flex:0 0 auto;position:relative;width:100%;min-height:112px;box-sizing:border-box;border:1px solid #d8dce3;border-radius:6px;background:#fff;color:#374151;padding:10px;display:grid;gap:7px;cursor:grab;text-align:left;box-shadow:0 6px 16px #0f172a0f;overflow:hidden}.crm-opportunity-card:hover{border-color:#bfdbfe;box-shadow:0 10px 22px #0f172a1a;transform:translateY(-1px)}.crm-opportunity-card:active{cursor:grabbing}.crm-card-main{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:start}.crm-card-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#d7eee9;color:#6b7280;border:1px solid #badfd8;font-size:.72rem;font-weight:900}.crm-card-body{min-width:0;display:grid;gap:2px}.crm-card-kicker{min-width:0;color:#8b8f99;font-size:.74rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-card-title{min-height:0;color:#009b8f;font-weight:900;font-size:.84rem;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crm-card-contact,.crm-card-product,.crm-card-footer,.crm-card-date,.crm-card-owner{min-width:0;display:flex;align-items:center;gap:6px;color:#8b8f99;font-size:.74rem;font-weight:800}.crm-card-contact,.crm-card-product,.crm-card-owner{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-card-contact svg,.crm-card-product svg{flex:0 0 auto}.crm-card-date{justify-content:flex-end;white-space:nowrap}.crm-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-left:40px}.crm-card-action{height:20px;display:inline-flex;align-items:center;gap:4px;color:#9ca3af;font-size:.72rem;font-weight:900}.crm-card-action.is-alert{color:#f43f5e}.crm-card-action.is-ok{color:#16a34a}.crm-card-meta-row{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px}.crm-card-value{color:#0f766e;font-weight:900;font-size:.84rem}.crm-card-footer{justify-content:space-between;margin-top:auto}.crm-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-card-tags{display:flex;flex-wrap:wrap;gap:5px}.crm-card-tag{max-width:100%;display:inline-flex;align-items:center;min-width:0;height:20px;padding:0 7px;border-radius:4px;background:color-mix(in srgb,var(--tag-color) 15%,white);color:var(--tag-color);border:1px solid color-mix(in srgb,var(--tag-color) 25%,white);font-size:.7rem;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-tag-manager{display:grid;gap:10px}.crm-tag-options{display:flex;flex-wrap:wrap;gap:8px}.crm-tag-option{min-width:0;display:inline-flex;align-items:center;gap:6px;padding:5px 6px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.crm-tag-option label{min-width:0;display:inline-flex;align-items:center;gap:6px;cursor:pointer}.crm-tag-option input[type=checkbox]{width:15px;height:15px;flex:0 0 auto}.crm-tag-primary{min-height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 7px;border:1px solid #cbd5e1;border-radius:5px;background:#f8fafc;color:#475569;font-size:.68rem;font-weight:900;cursor:pointer}.crm-tag-primary.active{border-color:#14b8a6;background:#dff4ef;color:#0f766e}.crm-tag-primary:disabled{cursor:not-allowed;opacity:.72}.crm-tag-create-row{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;gap:8px;align-items:center}.crm-tag-create-row input[type=text]{width:100%;min-width:0;height:36px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;font:inherit;font-size:.82rem}.crm-tag-create-row input[type=color]{width:44px;height:36px;padding:3px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.crm-tag-empty{padding:8px;border:1px dashed #cbd5e1;border-radius:6px;color:#64748b;font-size:.76rem;font-weight:700}.crm-stage-empty,.crm-empty-state{min-height:84px;display:grid;place-items:center;border:1px dashed #96cbc2;border-radius:8px;color:#94a3b8;font-size:.82rem;font-weight:800;text-align:center;padding:12px}.crm-empty-state{margin:0 18px 18px;background:#fff}.crm-detail-drawer{position:fixed;inset:0;z-index:1400;display:flex;flex-direction:column;background:#edf7f5;box-shadow:0 24px 70px #0f172a38}.crm-detail-header{min-height:76px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid #badfd8;background:#fff}.crm-detail-header div{min-width:0;display:flex;flex-direction:column;gap:4px}.crm-detail-header strong{color:#0f172a;font-size:1.08rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-detail-header span{color:#64748b;font-size:.78rem;font-weight:800}.crm-detail-loading{flex:1;display:grid;place-items:center;gap:8px;color:#64748b;font-weight:900}.crm-detail-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(360px,1fr) minmax(0,2fr);gap:12px;padding:12px;overflow:hidden}.crm-detail-left-column,.crm-detail-right-column{min-width:0;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.crm-detail-right-column{padding-right:4px;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.crm-detail-section{flex:0 0 auto;padding:14px}.crm-detail-section h2{margin:0;font-size:.92rem;color:#0f172a}.crm-detail-section.timeline{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}.crm-detail-section.edit{background:#fff}.crm-detail-panel{border:1px solid #badfd8;border-radius:8px;background:#fff;box-shadow:0 8px 20px #0f172a0a}.crm-detail-panel.focus{border-color:#bae6fd;background:#fbfdff}.crm-detail-left-column{font-size:.78rem;gap:8px}.crm-detail-left-column .crm-detail-section{padding:10px}.crm-detail-left-column .crm-section-heading{margin-bottom:8px}.crm-detail-left-column .crm-section-heading h2{font-size:.82rem}.crm-detail-left-column .crm-section-heading span{font-size:.68rem}.crm-detail-left-column .crm-field{gap:4px}.crm-detail-left-column .crm-field span{font-size:.63rem}.crm-detail-left-column .crm-field input,.crm-detail-left-column .crm-field select{height:30px;padding:0 8px;font-size:.76rem}.crm-detail-left-column .crm-field textarea{min-height:58px;padding:7px 8px;font-size:.76rem}.crm-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.crm-section-heading div{min-width:0}.crm-section-heading span{display:block;margin-top:3px;color:#64748b;font-size:.76rem;font-weight:800}.crm-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-detail-left-column .crm-contact-grid{gap:6px}.crm-contact-grid div{min-width:0;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#e8f4f1}.crm-detail-left-column .crm-contact-grid div{padding:7px;border-radius:6px}.crm-contact-grid span{display:block;color:#64748b;font-size:.72rem;font-weight:900;margin-bottom:4px}.crm-detail-left-column .crm-contact-grid span{font-size:.62rem;margin-bottom:3px}.crm-contact-grid strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:.86rem}.crm-detail-left-column .crm-contact-grid strong{font-size:.74rem}.crm-quick-actions{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}.crm-quick-actions a{height:36px;padding:0 11px;border:1px solid #96cbc2;border-radius:8px;color:#334155;background:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:900}.crm-detail-left-column .crm-quick-actions{gap:6px;margin-top:8px}.crm-detail-left-column .crm-quick-actions a{height:30px;padding:0 8px;gap:5px;border-radius:6px;font-size:.72rem}.crm-detail-form,.crm-comment-form,.crm-modal-form{display:flex;flex-direction:column;gap:10px}.crm-contact-lookup{min-height:48px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid #b6d7d2;background:#f3fbfa;color:#334155}.crm-contact-lookup svg{flex:0 0 auto}.crm-contact-lookup strong,.crm-contact-lookup small{display:block;min-width:0}.crm-contact-lookup strong{font-size:.84rem;font-weight:900}.crm-contact-lookup small{margin-top:2px;color:#607572;font-size:.76rem;font-weight:750;overflow-wrap:anywhere}.crm-contact-lookup button{min-height:32px;border:0;border-radius:7px;padding:0 10px;background:#009b8f;color:#fff;font:inherit;font-size:.78rem;font-weight:900;cursor:pointer;white-space:nowrap}.crm-contact-lookup.found{border-color:#8fd8cd;background:#e6faf6;color:#0f766e}.crm-contact-lookup.empty{border-color:#cbd5e1;background:#f8fafc;color:#475569}.crm-contact-lookup.error{border-color:#fecaca;background:#fff1f2;color:#b91c1c}.crm-contact-lookup.error small{color:#7f1d1d}.crm-activity-actions{display:flex;flex-wrap:wrap;gap:8px}.crm-action-button{min-height:34px;max-width:100%;border:1px solid #b6d7d2;border-radius:8px;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;font-size:.78rem;font-weight:900;cursor:pointer}.crm-action-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-action-button:hover{border-color:#14b8a6;color:#0f766e;background:#f0fdfa}.crm-action-button.active{border-color:#14b8a6;color:#0f766e;background:#ccfbf1;box-shadow:0 0 0 3px #14b8a61f}.crm-action-details{display:grid;gap:10px;padding:10px;border:1px solid #badfd8;border-radius:8px;background:#edf7f5}.crm-mode-buttons{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.crm-mode-buttons button{min-height:34px;max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid #badfd8;border-radius:7px;background:#fff;color:#334155;font:inherit;font-size:.78rem;font-weight:900;cursor:pointer}.crm-mode-buttons button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-mode-buttons button:hover,.crm-mode-buttons button.active{border-color:#14b8a6;background:#ccfbf1;color:#0f766e}.crm-action-schedule{display:grid;gap:9px;padding:10px;border:1px solid #badfd8;border-radius:8px;background:#f8fffd}.crm-relative-time-row{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-nested-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-nested-fields .full{grid-column:1 / -1}.crm-inline-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.crm-inline-tools small{color:#0f766e;font-size:.75rem;font-weight:850}.crm-template-picker-field{min-width:0}.crm-template-picker{display:grid;gap:6px;min-width:0}.crm-template-picker-trigger{width:100%;min-width:0;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#334155;font:inherit;font-size:.88rem;cursor:default;outline:none;box-shadow:inset 0 1px #0f172a05}.crm-template-picker-trigger:hover:not(:disabled),.crm-template-picker-trigger:focus,.crm-template-picker.is-open .crm-template-picker-trigger{border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61f}.crm-template-picker-trigger:disabled{opacity:.72;cursor:not-allowed}.crm-template-picker-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-template-picker-trigger svg{flex:0 0 auto;color:#64748b}.crm-template-options{display:grid;gap:6px;max-height:290px;overflow:auto;padding:6px;border:1px solid #96cbc2;border-radius:8px;background:#fff;box-shadow:0 12px 28px #0f172a1f}.crm-template-option{width:100%;min-width:0;display:grid;gap:5px;padding:8px;border:1px solid #badfd8;border-radius:7px;background:#edf7f5;color:#334155;text-align:left;font:inherit;cursor:default;outline:none}.crm-template-option:hover,.crm-template-option:focus,.crm-template-option.is-selected{border-color:#14b8a6;background:#ecfdf5}.crm-template-option>span{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px}.crm-template-option strong{min-width:0;overflow:hidden;color:#0f172a;font-size:.86rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.crm-template-option em{color:#0f766e;font-size:.72rem;font-style:normal;font-weight:850;white-space:nowrap}.crm-template-option small{display:-webkit-box;overflow:hidden;color:#475569;font-size:.78rem;font-weight:650;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.crm-template-variables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-template-preview{display:grid;gap:6px;padding:10px;border:1px solid #96cbc2;border-radius:8px;background:#edf7f5;color:#1e3a8a}.crm-template-preview strong{font-size:.72rem;text-transform:uppercase;font-weight:900}.crm-template-preview>span{color:#0f766e;font-size:.74rem;font-weight:850}.crm-template-preview p{max-height:160px;margin:0;overflow:auto;white-space:pre-wrap;color:#1f2937;font-size:.82rem;line-height:1.45}.workspace-panel-title-node{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.workspace-panel-title-node div{min-width:0}.workspace-panel-title-node h2{margin:0;color:#0f172a;font-size:.95rem;line-height:1.2}.workspace-panel-title-node span{display:block;margin-top:4px;color:#65817e;font-size:.78rem;font-weight:750}.workspace-panel-title-node>strong{color:#009b8f;font-size:1rem;white-space:nowrap}.workspace-quote-header-actions-node{display:flex;align-items:center;gap:10px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}.workspace-quote-header-actions-node>strong{color:#009b8f;font-size:1rem;white-space:nowrap}.workspace-quote-version-node{min-width:210px;display:grid;gap:4px}.workspace-quote-version-node span{margin:0;color:#7b9095;font-size:.68rem;font-weight:900;text-transform:uppercase}.workspace-quote-version-node select{width:100%;height:36px;border:1px solid #96cbc2;border-radius:7px;background:#fff;color:#334155;padding:0 9px;font:inherit;font-size:.78rem;font-weight:800}.workspace-documents-node,.workspace-quote-node{display:grid;gap:12px;padding:12px;border:1px solid #badfd8;border-radius:8px;background:#edf7f5}.workspace-documents-list-node{display:grid;gap:8px;min-height:120px}.workspace-document-row-node{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px solid #badfd8;border-radius:8px;background:#fff}.workspace-document-icon-node{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#c9f0ea;color:#009b8f}.workspace-document-row-node strong,.workspace-document-row-node span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-document-row-node strong{color:#0f172a;font-size:.84rem}.workspace-document-badge-node{display:inline-flex;align-items:center;min-height:18px;margin-left:8px;padding:0 7px;border-radius:999px;background:#c9f0ea;color:#007f75;font-size:.68rem;font-style:normal;font-weight:900;vertical-align:middle}.workspace-document-row-node span{margin-top:3px;color:#65817e;font-size:.75rem;font-weight:750}.workspace-quote-empty-node{min-height:250px;display:grid;place-items:center;align-content:center;gap:10px;border:1px dashed #96cbc2;border-radius:8px;background:#fff;color:#65817e;text-align:center}.workspace-quote-empty-node svg{color:#009b8f}.workspace-quote-empty-node strong{color:#0f172a}.workspace-quote-editor-node{display:grid;gap:12px}.workspace-quote-add-node,.workspace-quote-whatsapp-node,.workspace-quote-fields-node{display:grid;gap:10px;padding:12px;border:1px solid #badfd8;border-radius:8px;background:#fff}.workspace-quote-add-node{grid-template-columns:minmax(230px,1.2fr) minmax(190px,1fr) minmax(120px,.8fr) 74px 112px 88px auto;align-items:end}.workspace-quote-whatsapp-node{grid-template-columns:minmax(170px,.9fr) minmax(220px,1.1fr) repeat(2,minmax(120px,.6fr)) auto;align-items:end}.workspace-quote-template-preview-node{grid-column:1 / -1;min-width:0;max-height:82px;overflow:auto;padding:9px 10px;border:1px solid #d9eceb;border-radius:6px;background:#f8fffe;color:#486764;font-size:.78rem;font-weight:750;line-height:1.35;white-space:pre-wrap}.workspace-quote-table-node{display:grid;gap:0;border:1px solid #badfd8;border-radius:8px;overflow:hidden;background:#fff}.workspace-quote-table-head-node,.workspace-quote-item-node{display:grid;grid-template-columns:minmax(220px,1fr) 80px minmax(124px,.4fr) 100px minmax(128px,.42fr) 44px;gap:8px;align-items:center}.workspace-quote-table-head-node{min-height:40px;padding:0 10px;background:#e8f4f1;color:#486764;font-size:.72rem;font-weight:900;text-transform:uppercase}.workspace-quote-item-node{min-height:58px;padding:9px 10px;border-top:1px solid #d7eee9}.workspace-quote-item-node strong,.workspace-quote-item-node small{display:block}.workspace-quote-item-node strong{color:#0f172a;font-size:.82rem}.workspace-quote-item-node small{margin-top:2px;color:#65817e;font-size:.72rem;font-weight:750}.workspace-quote-item-node input{width:100%;min-width:0;height:32px;border:1px solid #96cbc2;border-radius:6px;padding:0 8px;font:inherit;font-size:.78rem}.workspace-quote-money-node{min-width:0;color:#334155;font-size:.82rem;font-weight:800;line-height:1.2;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.workspace-quote-money-node.total{color:#0f172a;font-size:.82rem;font-weight:900}.workspace-quote-summary-node{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.workspace-quote-summary-node span{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border:1px solid #badfd8;border-radius:8px;background:#e8f4f1;color:#65817e;font-size:.78rem;font-weight:850}.workspace-quote-summary-node strong{color:#009b8f;white-space:nowrap}.crm-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-detail-left-column .crm-form-row,.crm-detail-left-column .crm-custom-fields-grid,.crm-detail-left-column .crm-detail-form,.crm-detail-left-column .crm-comment-form{gap:7px}.crm-detail-left-column .crm-primary-button{min-height:32px;padding:0 10px;font-size:.76rem}.crm-activity-compose-grid{min-height:0;max-height:min(360px,38vh);overflow:auto;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:10px;padding-right:2px}.crm-detail-right-column>.crm-detail-panel,.crm-activity-compose-grid>.crm-detail-panel{padding:12px}.crm-detail-right-column .crm-section-heading{margin-bottom:9px}.crm-custom-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:2px}.crm-custom-fields-grid .crm-field.full{grid-column:1 / -1}.crm-field .crm-checkbox-field{height:40px;padding:0 10px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#334155;display:inline-flex;align-items:center;gap:8px;text-transform:none;font-size:.86rem;font-weight:800}.crm-field .crm-checkbox-field input{width:16px;height:16px;padding:0;flex:0 0 auto}.crm-field .crm-checkbox-field em{font-style:normal}.crm-comment-form textarea{min-height:84px;resize:vertical;padding:10px}.crm-focus-list{display:grid;gap:8px;max-height:210px;overflow:auto}.crm-focus-activity{display:grid;gap:7px;padding:11px;border:1px solid #96cbc2;border-radius:8px;background:#fff}.crm-focus-activity>div,.crm-focus-activity footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-focus-activity strong{color:#0f172a;font-size:.86rem}.crm-focus-activity span,.crm-focus-activity small{color:#64748b;font-size:.74rem;font-weight:800}.crm-focus-activity p{margin:0;color:#334155;font-size:.84rem;line-height:1.42;overflow-wrap:anywhere}.crm-timeline{display:flex;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;padding-right:4px}.crm-timeline-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px}.crm-timeline-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#c9f0ea;color:#009b8f}.crm-timeline-item.is-completed .crm-timeline-icon{background:#dcfce7;color:#15803d}.crm-timeline-content{min-width:0;padding-bottom:10px;border-bottom:1px solid #eef2f7}.crm-timeline-content>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-timeline-content strong{color:#0f172a;font-size:.84rem}.crm-timeline-content span,.crm-timeline-content small{color:#64748b;font-size:.72rem;font-weight:800}.crm-timeline-content p{margin:6px 0;color:#334155;font-size:.84rem;line-height:1.45;overflow-wrap:anywhere}.crm-inline-action{min-height:30px;padding:0 9px;background:#e8f4f1;border-color:#96cbc2;color:#334155;font-size:.78rem}.crm-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;background:#0f172a70;padding:20px}.crm-transfer-backdrop{z-index:1500}.crm-modal{width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a40}.crm-modal>header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid #e2e8f0}.crm-modal>header strong{font-size:1rem}.crm-modal-form{padding:14px}.crm-modal-form footer{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.crm-detail-drawer{background:#f5f8fa}.crm-detail-header{min-height:64px;padding:10px 18px;border-bottom-color:#dfe7ef}.crm-detail-header strong{font-size:1rem}.crm-detail-workspace{grid-template-columns:minmax(340px,33%) minmax(0,1fr);gap:10px;padding:10px;background:linear-gradient(#e8eef5 1px,transparent 1px) 0 0 / 100% 72px,linear-gradient(90deg,#e8eef5 1px,transparent 1px) 0 0 / 320px 100%}.crm-detail-left-column{gap:8px;padding-right:2px}.crm-detail-right-column{grid-template-rows:auto auto minmax(0,1fr);gap:8px}.crm-detail-panel{border-color:#dce7ee;border-radius:6px;box-shadow:none}.crm-detail-section{padding:10px}.crm-detail-section h2{font-size:.82rem}.crm-section-heading{margin-bottom:8px}.crm-contact-grid{gap:6px}.crm-contact-grid div{min-height:48px;padding:7px 8px;border-radius:6px;background:#f8fbfc}.crm-contact-grid span,.crm-field span{font-size:.64rem}.crm-contact-grid strong{font-size:.76rem}.crm-detail-form,.crm-comment-form,.crm-modal-form,.crm-form-row,.crm-custom-fields-grid{gap:7px}.crm-field input,.crm-field select{height:32px;border-radius:5px;font-size:.78rem}.crm-field textarea,.crm-comment-form textarea{min-height:62px;border-radius:5px;font-size:.78rem}.crm-quick-actions{gap:6px;margin-top:8px}.crm-quick-actions a,.crm-action-button{min-height:30px;height:30px;border-radius:6px;font-size:.72rem}.crm-activity-compose-grid{max-height:none;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:8px}.crm-focus-list,.crm-timeline{gap:7px}.crm-focus-activity,.crm-timeline-content{border-radius:6px;box-shadow:none}.crm-timeline-content p,.crm-focus-activity p{font-size:.78rem;line-height:1.35}.opportunity-workspace-node{background:#eef3f7}.workspace-topbar-node{min-height:52px;padding:8px 14px;background:#fff;border-bottom:1px solid #d8e2ec}.workspace-topbar-node .workspace-title-group,.workspace-topbar-node .workspace-tag-list{min-width:0;display:flex;flex-direction:row;align-items:center;gap:8px}.workspace-topbar-node .workspace-title-group{flex:1 1 auto}.workspace-topbar-node .workspace-title-text{min-width:0;display:flex;flex-direction:column;gap:2px}.workspace-topbar-node .workspace-location-row{min-width:0;display:flex;flex-direction:row;align-items:center;gap:8px}.workspace-topbar-node .workspace-title-text strong{max-width:min(46vw,760px);color:#172033;font-size:.96rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-topbar-node .workspace-title-text span,.workspace-empty-tags{color:#64748b;font-size:.72rem;font-weight:700}.workspace-topbar-node .workspace-location-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-transfer-button{height:24px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #badfd8;border-radius:6px;background:#f3fbfa;color:#007f75;font-size:.7rem;font-weight:800;cursor:pointer;white-space:nowrap}.workspace-transfer-button:hover{border-color:#009b8f;background:#e6f6f4}.crm-transfer-summary{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #d8e2ec;border-radius:8px;background:#f8fafc}.crm-transfer-summary span{color:#64748b;font-size:.72rem;font-weight:800;text-transform:uppercase}.crm-transfer-summary strong{color:#172033;font-size:.9rem}.workspace-back-button{width:34px;height:34px;flex:0 0 34px}.workspace-title-separator{color:#94a3b8;font-weight:700}.workspace-tag-list{flex-wrap:wrap}.workspace-grid-node{grid-template-columns:minmax(340px,30%) minmax(0,70%);gap:12px;padding:12px}.workspace-details-column-node,.workspace-activity-column-node{min-height:0;overflow:hidden}.workspace-activity-column-node{display:flex;flex-direction:column;padding-right:0}.workspace-details-card-node,.workspace-activity-card-node{min-height:0;padding:0;overflow:hidden;border:1px solid #cbd6e2;border-radius:10px;background:#fff;display:flex;flex-direction:column}.workspace-details-card-node{height:100%}.workspace-activity-card-node{flex:1 1 auto}.workspace-card-header-node{flex:0 0 auto;display:flex;flex-direction:column;gap:3px;padding:10px 12px;background:#fff;border-bottom:1px solid #badfd8;color:#0f172a}.workspace-card-header-node h2{margin:0;color:#0f172a;font-size:.88rem;font-weight:800}.workspace-card-header-node span{color:#65817e;font-size:.72rem;font-weight:700}.workspace-details-form-node{flex:1 1 auto;min-height:0;gap:0}.workspace-card-body-node{flex:1 1 auto;min-height:0;padding:12px;overflow:auto;background:#e8f4f1}.workspace-details-card-node .workspace-card-body-node::-webkit-scrollbar,.workspace-activity-body-node::-webkit-scrollbar,.crm-timeline::-webkit-scrollbar{width:6px}.workspace-details-card-node .workspace-card-body-node::-webkit-scrollbar-thumb,.workspace-activity-body-node::-webkit-scrollbar-thumb,.crm-timeline::-webkit-scrollbar-thumb{background:#64748b5c;border-radius:999px}.workspace-summary-strip-node{display:grid;gap:0;padding:0;border:1px solid #d3dde9;border-radius:9px;background:#e7f2ef;overflow:hidden}.workspace-metrics-row-node{grid-template-columns:minmax(110px,1.15fr) minmax(110px,1.15fr) minmax(72px,.7fr) minmax(64px,.6fr);gap:7px}.workspace-metrics-row-node.secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-section-title-node{min-height:38px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8fbfd;border-bottom:1px solid #e2e8f0;color:#27364a;font-size:.74rem;font-weight:900}.workspace-section-title-node span{display:inline-flex;align-items:center;gap:7px}.workspace-section-title-node em{min-width:0;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:.66rem;font-style:normal;font-weight:800}.workspace-summary-strip-node>.crm-field,.workspace-summary-strip-node>.crm-form-row{margin:10px}.workspace-summary-strip-node>.crm-field+.crm-form-row,.workspace-summary-strip-node>.crm-form-row+.crm-form-row{margin-top:0}.workspace-group-node{margin-top:10px;border:1px solid #badfd8;border-radius:9px;background:#fff;overflow:hidden}.workspace-product-group-node{position:relative;z-index:8;overflow:visible}.workspace-group-header-node{min-height:38px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8fbfd;border-bottom:1px solid #e2e8f0;color:#27364a;font-size:.74rem;font-weight:900}.workspace-group-header-node span{display:inline-flex;align-items:center;gap:7px}.workspace-group-header-node em{min-width:0;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:.66rem;font-style:normal;font-weight:800}.workspace-group-body-node{display:grid;gap:8px;padding:10px}.workspace-save-footer-node{flex:0 0 auto;display:flex;justify-content:flex-end;gap:8px;padding:10px 12px;border-top:1px solid #e2e8f0;background:#fff}.workspace-save-footer-node .crm-primary-button{min-height:32px;padding:0 12px;border-radius:6px;font-size:.78rem}.workspace-save-footer-node .crm-danger-button{min-height:32px;margin-right:auto;padding:0 12px;border-radius:6px;font-size:.78rem}.workspace-activity-body-node{display:flex;flex-direction:column;gap:12px;overflow:auto}.workspace-focus-panel-node{display:grid;gap:9px;padding:10px;border:1px solid #d7e2ef;border-radius:9px;background:#eef4f8}.workspace-focus-title-node{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#27364a;font-size:.76rem;font-weight:900}.workspace-focus-title-node span{display:inline-flex;align-items:center;gap:7px}.workspace-focus-title-node strong{min-width:24px;height:24px;border-radius:999px;display:inline-grid;place-items:center;background:#fff;color:#009b8f;font-size:.76rem}.workspace-focus-empty-node{min-height:52px;display:grid;place-items:center;border:1px dashed #b8c5d4;border-radius:8px;background:#fff;color:#64748b;font-size:.78rem;font-weight:800;text-align:center;padding:10px}.workspace-tabs-node{display:flex;align-items:center;gap:4px;border-bottom:1px solid #badfd8}.workspace-tabs-node button{min-height:34px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:900;cursor:default}.workspace-tabs-node button.active{border-bottom-color:#0b8fb0;color:#0f172a}.workspace-action-grid-node{max-height:none;overflow:visible;grid-template-columns:1fr}.workspace-actions-node{display:flex;flex-direction:column;gap:9px;padding:11px;border:1px dashed rgba(148,163,184,.72);border-radius:9px;background:#eef4f8}.workspace-actions-node .crm-section-heading{margin-bottom:0}.workspace-actions-node-unified{width:100%}.workspace-actions-node-unified .crm-activity-state-row{grid-template-columns:minmax(0,1fr) minmax(220px,.7fr) minmax(150px,180px);align-items:end}.workspace-actions-node-unified .crm-activity-state-row.is-queued{grid-template-columns:minmax(0,1fr) minmax(190px,240px)}.crm-activity-status-field{justify-content:end}.crm-complete-toggle{min-height:36px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #badfd8;border-radius:6px;background:#fff;color:#334155;font-weight:900;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}.crm-complete-toggle:hover{border-color:#43b3a7;color:#007f75}.crm-complete-toggle.is-complete{background:#c9f0ea;border-color:#14b8a6;color:#007f75}.crm-fixed-status{cursor:default;background:#f8fffd}.workspace-history-node{min-height:260px;display:flex;flex-direction:column;gap:8px}.workspace-history-node .crm-timeline{flex:1 1 auto;min-height:180px;max-height:none}.workspace-activity-card-node .crm-focus-activity,.workspace-activity-card-node .crm-timeline-content{background:#fff}.opportunity-workspace-node{--workspace-bg: #e5f3ef;--workspace-grid: #cfe7e2;--workspace-panel: #edf7f5;--workspace-panel-strong: #e7f2ef;--workspace-border: #badfd8;--workspace-border-strong: #91c9bf;--workspace-soft: #c9f0ea;background:linear-gradient(var(--workspace-grid) 1px,transparent 1px) 0 0 / 100% 72px,linear-gradient(90deg,var(--workspace-grid) 1px,transparent 1px) 0 0 / 320px 100%,var(--workspace-bg)}.opportunity-workspace-node .crm-detail-workspace{background:transparent}.opportunity-workspace-node .crm-primary-button{background:#009688;border-color:#009688;box-shadow:none}.opportunity-workspace-node .crm-primary-button:hover:not(:disabled){background:#007f75;border-color:#007f75}.opportunity-workspace-node .crm-secondary-button,.opportunity-workspace-node .crm-inline-action,.opportunity-workspace-node .crm-icon-button,.opportunity-workspace-node .crm-action-button,.opportunity-workspace-node .crm-quick-actions a{border-color:var(--workspace-border);background:#fff;color:#334155}.opportunity-workspace-node .crm-secondary-button:hover,.opportunity-workspace-node .crm-inline-action:hover,.opportunity-workspace-node .crm-icon-button:hover,.opportunity-workspace-node .crm-action-button:hover,.opportunity-workspace-node .crm-quick-actions a:hover{border-color:var(--workspace-border-strong);background:#dff4ef;color:#007f75}.opportunity-workspace-node .crm-action-button.active{border-color:#14b8a6;background:var(--workspace-soft);color:#007f75;box-shadow:0 0 0 3px #14b8a61a}.workspace-topbar-node{background:#fffffff5;border-bottom-color:var(--workspace-border)}.workspace-details-card-node,.workspace-activity-card-node{border-color:var(--workspace-border);border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a12}.workspace-card-header-node{padding:12px 14px;background:#fff;border-bottom:1px solid var(--workspace-border);color:#0f172a}.workspace-card-header-node h2{display:inline-flex;align-items:center;gap:8px;color:#0f172a}.workspace-card-header-node h2:before{content:"";width:8px;height:8px;border-radius:999px;background:#14b8a6;box-shadow:0 0 0 4px var(--workspace-soft)}.workspace-card-header-node span{color:#65817e}.workspace-card-body-node{background:var(--workspace-panel)}.workspace-summary-strip-node,.workspace-focus-panel-node,.workspace-actions-node{border:1px solid var(--workspace-border);background:#fff}.workspace-group-node{border-color:var(--workspace-border);box-shadow:0 3px 10px #0f172a0d}.workspace-group-header-node,.workspace-section-title-node{background:var(--workspace-panel-strong);border-bottom-color:var(--workspace-border);color:#334155}.workspace-group-header-node span svg,.workspace-section-title-node span svg,.workspace-focus-title-node span svg,.workspace-tabs-node button.active svg{color:#009688}.opportunity-workspace-node .crm-field span{color:#7b9095;font-size:.68rem;font-weight:900;text-transform:uppercase}.opportunity-workspace-node .crm-field input,.opportunity-workspace-node .crm-field select,.opportunity-workspace-node .crm-field textarea,.opportunity-workspace-node .crm-comment-form textarea{border:1px solid #b6d7d2;background:#fff;color:#334155;box-shadow:inset 0 1px #0f172a0a}.opportunity-workspace-node .crm-field input:focus,.opportunity-workspace-node .crm-field select:focus,.opportunity-workspace-node .crm-field textarea:focus,.opportunity-workspace-node .crm-comment-form textarea:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61f}.workspace-save-footer-node{border-top-color:var(--workspace-border);background:#fff}.workspace-activity-body-node{display:block;padding:14px}.workspace-activity-body-node>*+*{margin-top:14px}.workspace-tabs-node{border-bottom-color:var(--workspace-border)}.workspace-tabs-node button{min-height:38px;color:#65817e}.workspace-tabs-node button.active{border-bottom-color:#009688;color:#0f172a}.workspace-action-grid-node{display:grid;align-items:start;overflow:visible;gap:12px}.workspace-actions-node{min-width:0;position:relative;z-index:0;border-style:solid}.workspace-actions-node .crm-detail-form,.workspace-actions-node .crm-comment-form{min-width:0}.workspace-history-node{min-height:0;position:relative;z-index:0;padding-top:12px;border-top:1px solid var(--workspace-border)}.workspace-history-node .crm-timeline{min-height:0;max-height:none;overflow:visible}.workspace-activity-card-node .crm-timeline-item{align-items:start}.workspace-activity-card-node .crm-timeline-icon{border-radius:999px;background:var(--workspace-soft);color:#007f75}.workspace-activity-card-node .crm-timeline-content{padding:11px 12px;border:1px solid var(--workspace-border);border-radius:8px;background:#fff}.workspace-activity-card-node .crm-timeline-content>div{align-items:flex-start}.workspace-activity-card-node .crm-timeline-content strong{color:#0f172a}.workspace-activity-card-node .crm-timeline-content span,.workspace-activity-card-node .crm-timeline-content small{color:#65817e}.workspace-focus-title-node strong{background:#fff;color:#009688}.workspace-focus-empty-node{border-color:var(--workspace-border-strong);background:#fff;color:#65817e}.opportunity-workspace-node .workspace-documents-node,.opportunity-workspace-node .workspace-quote-node{border-color:var(--workspace-border);background:var(--workspace-panel)}.opportunity-workspace-node .workspace-document-row-node,.opportunity-workspace-node .workspace-quote-add-node,.opportunity-workspace-node .workspace-quote-fields-node,.opportunity-workspace-node .workspace-quote-table-node{border-color:var(--workspace-border);background:#fff}.opportunity-workspace-node .workspace-quote-empty-node{border-color:var(--workspace-border-strong)}.opportunity-workspace-node .workspace-document-icon-node{background:var(--workspace-soft)}.opportunity-workspace-node .workspace-quote-table-head-node,.opportunity-workspace-node .workspace-quote-summary-node span{border-color:var(--workspace-border);background:var(--workspace-panel-strong)}.opportunity-workspace-node .workspace-quote-item-node{border-top-color:var(--workspace-grid)}.opportunity-workspace-node .workspace-quote-item-node input{border-color:#b6d7d2}body.dark-theme .workspace-documents-node,body.dark-theme .workspace-quote-node,body.dark-theme .workspace-quote-add-node,body.dark-theme .workspace-quote-whatsapp-node,body.dark-theme .workspace-quote-fields-node,body.dark-theme .workspace-quote-table-node,body.dark-theme .workspace-document-row-node,body.dark-theme .workspace-quote-empty-node{background:#111827;border-color:#334155;color:#f8fafc}body.dark-theme .workspace-panel-title-node h2,body.dark-theme .workspace-document-row-node strong,body.dark-theme .workspace-quote-empty-node strong,body.dark-theme .workspace-quote-item-node strong{color:#f8fafc}body.dark-theme .workspace-document-badge-node{background:#134e4a;color:#ccfbf1}body.dark-theme .workspace-panel-title-node span,body.dark-theme .workspace-document-row-node span,body.dark-theme .workspace-quote-item-node small,body.dark-theme .workspace-quote-summary-node span{color:#cbd5e1}body.dark-theme .workspace-quote-version-node select{background:#1f2937;border-color:#475569;color:#f8fafc}body.dark-theme .workspace-document-icon-node,body.dark-theme .workspace-activity-card-node .crm-timeline-icon{background:#134e4a;color:#5eead4}body.dark-theme .workspace-quote-table-head-node,body.dark-theme .workspace-quote-summary-node span,body.dark-theme .workspace-quote-template-preview-node{background:#0f172a;border-color:#334155}body.dark-theme .workspace-quote-template-preview-node{color:#cbd5e1}body.dark-theme .workspace-quote-item-node{border-top-color:#334155}body.dark-theme .workspace-quote-item-node input{background:#1f2937;border-color:#475569;color:#f8fafc}body.dark-theme .workspace-quote-money-node,body.dark-theme .workspace-quote-money-node.total{color:#f8fafc}body.dark-theme .crm-product-control,body.dark-theme .crm-product-options{background:#111827;border-color:#475569;color:#e5e7eb}body.dark-theme .crm-product-control input,body.dark-theme .crm-product-option strong{color:#f8fafc}body.dark-theme .crm-product-control>svg,body.dark-theme .crm-product-clear,body.dark-theme .crm-product-option span,body.dark-theme .crm-product-empty{color:#cbd5e1}body.dark-theme .crm-product-option:hover,body.dark-theme .crm-product-option.is-active,body.dark-theme .crm-product-clear:hover{background:#134e4a;color:#ccfbf1}body.dark-theme .crm-product-option.is-selected{background:#115e59}body.dark-theme .crm-complete-toggle{background:#1f2937;border-color:#475569;color:#f8fafc}body.dark-theme .crm-complete-toggle:hover{border-color:#5eead4;color:#ccfbf1}body.dark-theme .crm-complete-toggle.is-complete{background:#134e4a;border-color:#14b8a6;color:#ccfbf1}body.dark-theme .crm-template-picker-trigger,body.dark-theme .crm-template-options,body.dark-theme .crm-template-option,body.dark-theme .crm-template-preview,body.dark-theme .crm-action-schedule,body.dark-theme .crm-mode-buttons button{border-color:#475569;background:#111827;color:#e5e7eb}body.dark-theme .crm-template-option:hover,body.dark-theme .crm-template-option:focus,body.dark-theme .crm-template-option.is-selected,body.dark-theme .crm-mode-buttons button:hover,body.dark-theme .crm-mode-buttons button.active{border-color:#5eead4;background:#134e4a;color:#ccfbf1}body.dark-theme .crm-template-picker-trigger svg,body.dark-theme .crm-template-option small,body.dark-theme .crm-template-preview p{color:#cbd5e1}body.dark-theme .crm-template-option strong{color:#f8fafc}body.dark-theme .crm-template-option em,body.dark-theme .crm-template-preview>span{color:#99f6e4}body.dark-theme .crm-contact-lookup{border-color:#334155;background:#111827;color:#e2e8f0}body.dark-theme .crm-contact-lookup small{color:#cbd5e1}body.dark-theme .crm-contact-lookup.found{border-color:#115e59;background:#0f2928;color:#ccfbf1}body.dark-theme .crm-contact-lookup.empty{border-color:#475569;background:#0f172a;color:#e2e8f0}body.dark-theme .crm-contact-lookup.error{border-color:#7f1d1d;background:#2d1114;color:#fecaca}body.dark-theme .crm-contact-lookup.error small{color:#fecaca}@media(max-width:980px){.crm-kanban-header{align-items:stretch;flex-direction:column}.crm-header-controls{justify-content:flex-start;flex-wrap:wrap}.crm-field.compact,.crm-search{width:min(100%,320px)}.crm-summary-row{grid-template-columns:repeat(2,minmax(140px,1fr))}.crm-detail-workspace{grid-template-columns:1fr;overflow:auto}.workspace-grid-node{grid-template-columns:1fr}.crm-detail-left-column,.crm-detail-right-column,.workspace-details-column-node,.workspace-activity-column-node{overflow:visible}.crm-template-variables{grid-template-columns:1fr}.crm-activity-compose-grid{max-height:none;overflow:visible;grid-template-columns:1fr}.workspace-action-grid-node,.workspace-actions-node-unified .crm-activity-state-row,.workspace-actions-node-unified .crm-activity-state-row.is-queued,.crm-relative-time-row,.crm-nested-fields{grid-template-columns:1fr}.workspace-quote-add-node,.workspace-quote-whatsapp-node{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.crm-kanban-header{padding:12px}.crm-header-controls{display:grid;grid-template-columns:1fr 40px 92px;width:100%}.crm-field.compact,.crm-search{grid-column:1 / -1;width:100%}.crm-summary-row{padding:10px 12px;grid-template-columns:1fr}.crm-board{padding:0 12px 12px}.crm-stage-column{width:min(304px,86vw);min-width:min(304px,86vw)}.crm-detail-drawer{inset:0}.crm-detail-header{padding:12px}.crm-detail-workspace{padding:10px}.crm-contact-grid,.crm-form-row,.crm-custom-fields-grid,.crm-tag-create-row,.workspace-quote-add-node,.workspace-quote-whatsapp-node,.workspace-quote-summary-node{grid-template-columns:1fr}.crm-contact-lookup{grid-template-columns:auto minmax(0,1fr)}.crm-contact-lookup button{grid-column:1 / -1;width:100%}.crm-tag-create-row input[type=color]{width:100%}.workspace-document-row-node{grid-template-columns:36px minmax(0,1fr)}.workspace-document-row-node button{grid-column:2;width:100%}.workspace-quote-table-head-node{display:none}.workspace-quote-item-node{grid-template-columns:1fr minmax(84px,auto);align-items:start}.workspace-quote-money-node,.workspace-quote-money-node.total{text-align:left;white-space:normal}.workspace-quote-item-node .crm-icon-button{justify-self:end}.workspace-panel-title-node,.workspace-quote-header-actions-node,.workspace-quote-version-node{width:100%}}.crm-activities-page{height:100vh;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#edf7f5;color:#111827}.crm-activities-loading{align-items:center;justify-content:center;gap:10px;color:#486764;font-weight:800}.crm-activities-header{flex:0 0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#fff;border-bottom:1px solid #badfd8}.crm-activities-title{min-width:220px;display:flex;align-items:center;gap:12px}.crm-activities-title-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#007f75;background:#c9f0ea;flex:0 0 auto}.crm-activities-title h1{margin:0;font-size:1.2rem;line-height:1.2}.crm-activities-title p{margin:2px 0 0;color:#65817e;font-size:.82rem;font-weight:800}.crm-activities-actions{min-width:0;flex:1 1 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px}.crm-activities-header-metrics{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.crm-activities-header-metrics span{min-height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #badfd8;border-radius:8px;background:#f8fffd;color:#486764;font-size:.78rem;font-weight:900;white-space:nowrap}.crm-activities-header-metrics strong{color:#111827;font-size:1rem;line-height:1}.crm-activities-header-metrics .pending strong{color:#007f75}.crm-activities-header-metrics .danger{border-color:#fecaca;background:#fff1f2;color:#991b1b}.crm-activities-header-metrics .danger strong{color:#991b1b}.crm-activities-icon-button{border-radius:8px;border:1px solid transparent;font:inherit;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap}.crm-activities-icon-button{width:40px;height:40px;background:#fff;border-color:#96cbc2;color:#486764}.crm-activities-icon-button:hover{background:#d7eee9}.crm-activities-error{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 18px 0;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#991b1b;font-size:.84rem;font-weight:800}.crm-activities-error button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#991b1b;cursor:pointer}.crm-activities-filters{flex:0 0 auto;display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(128px,.72fr) minmax(150px,.9fr) minmax(168px,1fr) minmax(132px,.7fr) minmax(132px,.7fr);align-items:end;gap:8px;padding:10px 18px;border-bottom:1px solid #cce8e3}.crm-activities-search{width:100%;min-width:0;height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#65817e}.crm-activities-search input{width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:.88rem}.crm-activities-field{min-width:0;display:flex;flex-direction:column;gap:4px}.crm-activities-field.date{min-width:0}.crm-activities-field.full{grid-column:1 / -1}.crm-activities-field span{color:#65817e;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-activities-field input,.crm-activities-field select,.crm-activities-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;font:inherit;font-size:.88rem;outline:none}.crm-activities-field input,.crm-activities-field select{height:38px;padding:0 10px}.crm-activities-field textarea{min-height:96px;padding:10px;resize:vertical}.crm-activities-field input:focus,.crm-activities-field select:focus,.crm-activities-field textarea:focus,.crm-activities-search:focus-within{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f24}.crm-activities-table-wrap{flex:1 1 auto;min-height:0;margin:0 18px 18px;border:1px solid #badfd8;border-radius:8px;background:#fff;overflow:auto}.crm-activities-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;font-size:.86rem}.crm-activities-table th{position:sticky;top:0;z-index:1;height:42px;padding:0 12px;background:#e8f4f1;color:#486764;border-bottom:1px solid #badfd8;text-align:left;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-activities-table th button{border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-transform:inherit}.crm-activities-table td{min-height:58px;padding:11px 12px;border-bottom:1px solid #d7eee9;vertical-align:middle}.crm-activities-table tr:hover td{background:#e8f4f1}.crm-activities-clickable-row{cursor:pointer}.crm-activities-clickable-row:focus{outline:none}.crm-activities-clickable-row:focus td{background:#e8f4f1;box-shadow:inset 0 1px #8fd5ce,inset 0 -1px #8fd5ce}.crm-activities-table td strong{display:block;max-width:260px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-activities-table td small{display:block;max-width:260px;margin-top:3px;color:#65817e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-activities-opportunity-link{max-width:300px;display:inline-flex;align-items:center;gap:8px;color:inherit}.crm-activities-opportunity-link>span{min-width:0}.crm-activities-opportunity-link svg{flex:0 0 auto;color:#007f75}.crm-activities-table .nowrap{white-space:nowrap}.crm-activities-date{display:inline-flex;align-items:center;gap:6px;color:#334155;font-weight:800}.summary-cell{max-width:340px;color:#334155;line-height:1.35}.crm-activities-badge{min-width:86px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 9px;font-size:.72rem;font-weight:900}.crm-activities-badge.done{background:#c9f0ea;color:#007f75}.crm-activities-badge.danger{background:#fee2e2;color:#991b1b}.crm-activities-badge.warning{background:#d7eee9;color:#486764}.crm-activities-badge.pending{background:#c9f0ea;color:#007f75}.crm-activities-badge.neutral{background:#e2e8f0;color:#486764}.crm-activities-empty{height:180px;text-align:center;color:#65817e;font-weight:800}@media(max-width:900px){.crm-activities-header{align-items:flex-start;flex-direction:column}.crm-activities-actions{width:100%;justify-content:space-between}.crm-activities-header-metrics{justify-content:flex-start}.crm-activities-filters{grid-template-columns:1fr}.crm-activities-search,.crm-activities-field,.crm-activities-field.date{width:100%;min-width:0}}.crm-contacts-page{height:100vh;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#edf7f5;color:#111827}.crm-contacts-loading{align-items:center;justify-content:center;gap:10px;color:#486764;font-weight:800}.crm-contacts-header{flex:0 0 auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:#fff;border-bottom:1px solid #badfd8}.crm-contacts-title{min-width:220px;display:flex;align-items:center;gap:12px}.crm-contacts-title-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#007f75;background:#c9f0ea;flex:0 0 auto}.crm-contacts-title h1,.crm-contacts-detail h2,.crm-contacts-modal h2{margin:0;font-size:1.2rem;line-height:1.2}.crm-contacts-title p,.crm-contacts-detail header p{margin:2px 0 0;color:#65817e;font-size:.82rem;font-weight:800}.crm-contacts-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.crm-contacts-icon-button,.crm-contacts-primary-button,.crm-contacts-secondary-button,.crm-contacts-row-actions button,.crm-contacts-detail header button,.crm-contacts-modal header button{border-radius:8px;border:1px solid transparent;font:inherit;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap}.crm-contacts-icon-button,.crm-contacts-row-actions button,.crm-contacts-detail header button,.crm-contacts-modal header button{width:40px;height:40px;background:#fff;border-color:#96cbc2;color:#486764}.crm-contacts-icon-button:hover,.crm-contacts-secondary-button:hover,.crm-contacts-row-actions button:hover,.crm-contacts-detail header button:hover,.crm-contacts-modal header button:hover{background:#d7eee9}.crm-contacts-primary-button{min-height:40px;padding:0 13px;background:#009b8f;color:#fff}.crm-contacts-primary-button:hover{background:#007f75}.crm-contacts-primary-button:disabled{opacity:.6;cursor:wait}.crm-contacts-secondary-button{min-height:40px;padding:0 12px;background:#fff;border-color:#96cbc2;color:#334155}.crm-contacts-secondary-button.danger{border-color:#fecaca;color:#991b1b}.crm-contacts-secondary-button:disabled{opacity:.58;cursor:wait}.crm-contacts-error,.crm-contacts-notice{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 18px 0;padding:10px 12px;border-radius:8px;font-size:.84rem;font-weight:800}.crm-contacts-error{border:1px solid #fecaca;background:#fff1f2;color:#991b1b}.crm-contacts-notice{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.crm-contacts-error button,.crm-contacts-notice button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.crm-contacts-summary{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;padding:12px 18px}.crm-contacts-summary div{min-height:68px;padding:12px;border:1px solid #badfd8;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:4px}.crm-contacts-summary span,.crm-contacts-field span,.crm-contacts-detail-grid span{color:#65817e;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-contacts-summary strong{color:#111827;font-size:1.45rem;line-height:1}.crm-contacts-filters{flex:0 0 auto;display:flex;align-items:end;gap:10px;padding:0 18px 12px;flex-wrap:wrap}.crm-contacts-search{width:min(360px,38vw);min-width:220px;height:40px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#65817e}.crm-contacts-search input{width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:.88rem}.crm-contacts-field{min-width:150px;display:flex;flex-direction:column;gap:5px}.crm-contacts-field.organization{min-width:210px}.crm-contacts-field input,.crm-contacts-field select{width:100%;min-width:0;height:40px;box-sizing:border-box;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#111827;font:inherit;font-size:.88rem;outline:none;padding:0 10px}.crm-contacts-field input:focus,.crm-contacts-field select:focus,.crm-contacts-search:focus-within{border-color:#009b8f;box-shadow:0 0 0 3px #009b8f24}.crm-contacts-field select:disabled{color:#94a3b8;background:#f8fafc;cursor:not-allowed}.crm-contacts-workspace{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0 18px 18px}.crm-contacts-workspace.with-detail{grid-template-columns:minmax(0,1fr) minmax(320px,390px)}.crm-contacts-table-wrap,.crm-contacts-detail{min-height:0;border:1px solid #badfd8;border-radius:8px;background:#fff;overflow:auto}.crm-contacts-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;font-size:.86rem}.crm-contacts-table th{position:sticky;top:0;z-index:1;height:42px;padding:0 12px;background:#e8f4f1;color:#486764;border-bottom:1px solid #badfd8;text-align:left;font-size:.72rem;font-weight:900;text-transform:uppercase}.crm-contacts-table th button{border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-transform:inherit}.crm-contacts-table td{padding:11px 12px;border-bottom:1px solid #d7eee9;vertical-align:middle}.crm-contacts-table tr:hover td{background:#e8f4f1}.crm-contacts-table td strong{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-contacts-table td small{display:block;max-width:260px;margin-top:3px;color:#65817e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-contacts-company,.crm-contacts-line{display:flex;align-items:center;gap:6px;min-height:20px;color:#334155;font-weight:800}.crm-contacts-line+.crm-contacts-line{margin-top:3px;color:#65817e;font-weight:700}.crm-contacts-badge,.crm-contacts-status{min-width:72px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 9px;font-size:.72rem;font-weight:900}.crm-contacts-badge.client{background:#c9f0ea;color:#007f75}.crm-contacts-badge.lead{background:#d7eee9;color:#486764}.crm-contacts-status.active{background:#c9f0ea;color:#007f75}.crm-contacts-status.inactive{background:#e2e8f0;color:#486764}.crm-contacts-table .nowrap{white-space:nowrap}.crm-contacts-row-actions,.crm-contacts-table th.actions{width:132px;text-align:right}.crm-contacts-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.crm-contacts-row-actions button{width:34px;height:34px}.crm-contacts-empty{height:180px;text-align:center;color:#65817e;font-weight:800}.crm-contacts-load-more{min-width:1120px;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border-top:1px solid #d7eee9;background:#fff;color:#65817e;font-size:.82rem;font-weight:900}.crm-contacts-detail{display:flex;flex-direction:column}.crm-contacts-detail header{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid #d7eee9}.crm-contacts-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px}.crm-contacts-detail-grid div{min-width:0;min-height:64px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#e8f4f1}.crm-contacts-detail-grid strong{min-width:0;overflow-wrap:anywhere;font-size:.86rem}.crm-contacts-detail-section{padding:12px 14px;border-top:1px solid #d7eee9}.crm-contacts-detail-section h3{margin:0 0 9px;font-size:.86rem;color:#334155}.crm-contacts-detail-section p,.crm-contacts-detail-loading{color:#65817e;font-weight:800;font-size:.84rem}.crm-contacts-detail-loading{padding:18px 14px;display:flex;align-items:center;gap:8px}.crm-contacts-detail-item{display:flex;flex-direction:column;gap:3px;padding:9px 0;border-bottom:1px solid #d7eee9}.crm-contacts-detail-item strong{color:#111827;font-size:.86rem}.crm-contacts-detail-item span,.crm-contacts-detail-item em{color:#65817e;font-size:.78rem;font-style:normal;font-weight:800}.crm-contacts-modal-backdrop{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;background:#0f172a6b}.crm-contacts-modal{width:min(760px,96vw);max-height:calc(100vh - 36px);overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.crm-organizations-modal{width:min(1120px,96vw);max-height:calc(100vh - 36px);overflow:hidden;display:flex;flex-direction:column;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.crm-organizations-modal>header{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #d7eee9}.crm-organizations-modal>header h2,.crm-organization-form-title h3{margin:0;font-size:1.05rem;line-height:1.25}.crm-organizations-modal>header p{margin:3px 0 0;color:#65817e;font-size:.82rem;font-weight:800}.crm-organizations-modal>header button{width:40px;height:40px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#486764;cursor:pointer}.crm-organizations-toolbar{flex:0 0 auto;display:flex;align-items:end;gap:10px;padding:12px 16px;border-bottom:1px solid #d7eee9;flex-wrap:wrap}.crm-organizations-body{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr);gap:0}.crm-organizations-list{min-height:0;overflow:auto;border-right:1px solid #d7eee9;background:#e8f4f1;padding:10px}.crm-organization-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid transparent;border-radius:8px;background:#fff}.crm-organization-row+.crm-organization-row{margin-top:8px}.crm-organization-row.active{border-color:#8fd5ce;background:#e8f7f5}.crm-organization-row button{min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.crm-organization-row strong,.crm-organization-row span,.crm-organization-row em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-organization-row strong{font-size:.9rem}.crm-organization-row span,.crm-organization-row em{color:#65817e;font-size:.76rem;font-style:normal;font-weight:800}.crm-organization-form{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;padding:14px}.crm-organization-form-title,.crm-organization-form footer{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-organization-form-title button{height:32px;display:inline-flex;align-items:center;gap:6px;border:1px solid #96cbc2;border-radius:8px;background:#fff;color:#334155;font:inherit;font-weight:900;cursor:pointer}.crm-organization-form footer{justify-content:flex-end;padding-top:4px}.crm-contacts-field.full{grid-column:1 / -1}.crm-contacts-modal header,.crm-contacts-modal footer{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-contacts-modal footer{justify-content:flex-end}@media(max-width:1040px){.crm-contacts-workspace.with-detail{grid-template-columns:1fr}.crm-contacts-detail{min-height:420px}}@media(max-width:900px){.crm-contacts-header{align-items:flex-start;flex-direction:column}.crm-contacts-actions{width:100%;justify-content:flex-start}.crm-contacts-summary{grid-template-columns:repeat(2,minmax(130px,1fr))}.crm-contacts-search,.crm-contacts-field,.crm-contacts-field.organization{width:100%;min-width:0}.crm-contacts-modal,.crm-contacts-detail-grid,.crm-organizations-body{grid-template-columns:1fr}.crm-organizations-list{max-height:280px;border-right:0;border-bottom:1px solid #d7eee9}.crm-organization-form{grid-template-columns:1fr}}.template-log-page{min-height:100%;overflow:auto;background:#eaf7f5;color:#172033;padding:22px;box-sizing:border-box}.template-log-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:18px}.template-log-title{display:flex;align-items:center;gap:12px}.template-log-title>span{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;color:#009b8f;background:#d3f4ef}.template-log-title h1{margin:0;font-size:1.55rem;letter-spacing:0}.template-log-title p{margin:2px 0 0;color:#607572;font-weight:600}.template-log-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.template-log-filters label{display:grid;gap:5px}.template-log-filters small{color:#607572;font-weight:800;text-transform:uppercase;font-size:.68rem}.template-log-filters input,.template-log-filters select{height:42px;border:1px solid #a7d8d1;border-radius:8px;padding:0 12px;background:#fff;color:#172033;font:inherit;min-width:160px}.template-log-filters button{height:42px;border:0;border-radius:8px;padding:0 16px;display:inline-flex;align-items:center;gap:8px;background:#009b8f;color:#fff;font-weight:800;cursor:pointer}.template-log-filters .template-log-clear{background:#fff;color:#486764;border:1px solid #a7d8d1}.template-log-filters button:disabled{background:#aebfbd;cursor:not-allowed}.template-log-filters .template-log-clear:disabled{background:#f1f5f4;color:#9aa9a7}.template-log-tabs{display:inline-flex;gap:6px;margin:0 0 14px;padding:4px;border:1px solid #badfd8;border-radius:10px;background:#fff;box-shadow:0 1px 3px #0f172a0d}.template-log-tabs button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#486764;font:inherit;font-size:.82rem;font-weight:900;cursor:pointer}.template-log-tabs button.active,.template-log-tabs button:hover{background:#c9f0ea;color:#007f75}.template-log-column-filters{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;margin:0 0 18px;padding:14px;border:1px solid #badfd8;border-radius:10px;background:#fff;box-shadow:0 1px 3px #0f172a0d}.template-log-column-filters label{display:grid;gap:5px;min-width:0}.template-log-column-filters small{color:#607572;font-weight:800;text-transform:uppercase;font-size:.68rem}.template-log-column-filters input,.template-log-column-filters select{width:100%;height:38px;border:1px solid #a7d8d1;border-radius:8px;padding:0 10px;background:#fff;color:#172033;font:inherit;box-sizing:border-box;min-width:0}.template-log-column-filters button{min-height:38px;align-self:end;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;background:#009b8f;color:#fff;font:inherit;font-size:.84rem;font-weight:900;cursor:pointer}.template-log-column-filters button:disabled{background:#aebfbd;cursor:not-allowed}.template-log-column-filters input:focus,.template-log-column-filters select:focus,.template-log-filters input:focus,.template-log-filters select:focus{outline:none;border-color:#009b8f;box-shadow:0 0 0 3px #009b8f24}.template-log-spin{animation:template-log-spin 1s linear infinite}@keyframes template-log-spin{to{transform:rotate(360deg)}}.template-log-empty,.template-log-error,.template-log-table-card,.template-log-stat{border:1px solid #badfd8;background:#fff;border-radius:10px;box-shadow:0 1px 3px #0f172a0f}.template-log-empty{min-height:260px;display:grid;place-items:center;align-content:center;gap:10px;color:#607572}.template-log-error{padding:14px 16px;display:flex;align-items:center;gap:10px;color:#991b1b;border-color:#fecaca;background:#fff1f2;margin-bottom:14px}.template-log-stats{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px;margin-bottom:14px}.template-worker-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;margin-bottom:14px}.template-zapi-toolbar{grid-template-columns:1fr auto;align-items:center}.template-zapi-toolbar>div{min-width:0}.template-zapi-toolbar strong{display:block;font-size:.98rem}.template-zapi-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px}.template-worker-card,.template-worker-summary-card,.template-zapi-card{min-height:96px;padding:14px;border:1px solid #badfd8;border-radius:10px;background:#fff;box-shadow:0 1px 3px #0f172a0f}.template-worker-card{display:flex;align-items:center;gap:12px}.template-worker-card>span{width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.template-worker-card>span.is-active{color:#0f766e;background:#d6f5ee}.template-worker-card>span.is-inactive{color:#b91c1c;background:#fee2e2}.template-worker-card strong,.template-worker-summary-card strong{display:block;font-size:.95rem}.template-worker-card small,.template-worker-summary-card small{display:block;margin-top:4px;color:#607572;font-weight:750}.template-worker-summary-card{display:grid;gap:8px}.template-worker-summary-card div{display:flex;flex-wrap:wrap;gap:7px}.template-worker-summary-card span{display:inline-flex;gap:4px;padding:5px 8px;border-radius:999px;background:#e4f2ef;color:#486764;font-size:.74rem;font-weight:850}.template-zapi-card{display:grid;gap:14px}.template-zapi-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.template-zapi-card-head strong,.template-zapi-fields strong{display:block;min-width:0;overflow-wrap:anywhere}.template-zapi-card-head small,.template-zapi-fields small{display:block;margin-top:3px;color:#607572;font-size:.72rem;font-weight:850;text-transform:uppercase}.template-zapi-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.template-zapi-fields span{min-width:0;padding:10px;border-radius:8px;background:#f1faf8}.template-zapi-card p{margin:0;padding:10px 12px;border-radius:8px;background:#fff7ed;color:#92400e;font-size:.85rem;font-weight:750;overflow-wrap:anywhere}.template-zapi-status{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:900;white-space:nowrap}.zapi-status-connected{color:#0f766e;background:#d6f5ee}.zapi-status-phone_offline{color:#92400e;background:#fef3c7}.zapi-status-disconnected,.zapi-status-check_failed{color:#b91c1c;background:#fee2e2}.zapi-status-not_configured,.zapi-status-unknown{color:#64748b;background:#e2e8f0}.template-log-stat{min-height:82px;padding:14px;display:flex;align-items:center;gap:12px}.template-log-stat>span{width:34px;height:34px;border-radius:8px;display:grid;place-items:center}.template-log-stat strong{display:block;font-size:1.45rem}.template-log-stat small{color:#607572;font-weight:800}.template-log-table-card{overflow:hidden}.template-log-table-head{padding:14px 16px;display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #d4ebe7}.template-log-table-head span{color:#607572;font-weight:700}.template-log-table-wrap{overflow:auto}.template-log-table{width:100%;border-collapse:collapse;min-width:980px}.template-log-table th,.template-log-table td{padding:13px 16px;border-bottom:1px solid #e0efec;text-align:left;vertical-align:top}.template-log-table th{background:#f1faf8;color:#486764;text-transform:uppercase;font-size:.72rem;letter-spacing:0}.template-log-table td strong,.template-log-table td small{display:block}.template-log-table td small{margin-top:3px;color:#607572;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-log-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-weight:800;font-size:.8rem}.status-sent{color:#486764;background:#e4f2ef}.status-delivered,.status-read{color:#0f766e;background:#d6f5ee}.status-failed{color:#b91c1c;background:#fee2e2}.status-queued,.status-retry{color:#486764;background:#e4f2ef}.status-running{color:#92400e;background:#fef3c7}.status-succeeded{color:#0f766e;background:#d6f5ee}.status-cancelled{color:#64748b;background:#e2e8f0}.template-log-error-cell{max-width:360px;color:#991b1b}.template-log-error-content{display:flex;flex-direction:column;gap:4px;white-space:normal}.template-log-error-content strong{font-size:12px;font-weight:700}.template-log-error-content span,.template-log-error-content small{line-height:1.35}.template-log-error-content small{color:#7f1d1d}.template-log-no-results{text-align:center!important;color:#607572;padding:34px!important}body.dark-theme .template-log-page{background:#0b1220;color:#f8fafc}body.dark-theme .template-log-title>span{background:#115e59;color:#ccfbf1}body.dark-theme .template-log-title p,body.dark-theme .template-log-filters small,body.dark-theme .template-log-column-filters small,body.dark-theme .template-log-stat small,body.dark-theme .template-log-table-head span,body.dark-theme .template-log-table td small,body.dark-theme .template-log-no-results{color:#cbd5e1}body.dark-theme .template-log-empty,body.dark-theme .template-log-table-card,body.dark-theme .template-log-stat,body.dark-theme .template-log-column-filters,body.dark-theme .template-log-tabs,body.dark-theme .template-worker-card,body.dark-theme .template-worker-summary-card,body.dark-theme .template-zapi-card{background:#111827;border-color:#334155}body.dark-theme .template-log-filters input,body.dark-theme .template-log-filters select,body.dark-theme .template-log-column-filters input,body.dark-theme .template-log-column-filters select{background:#111827;border-color:#334155;color:#f8fafc}body.dark-theme .template-log-tabs button{color:#cbd5e1}body.dark-theme .template-log-tabs button.active,body.dark-theme .template-log-tabs button:hover{background:#115e59;color:#ccfbf1}body.dark-theme .template-worker-card small,body.dark-theme .template-worker-summary-card small,body.dark-theme .template-zapi-card-head small,body.dark-theme .template-zapi-fields small{color:#cbd5e1}body.dark-theme .template-worker-summary-card span{background:#334155;color:#e2e8f0}body.dark-theme .template-zapi-fields span{background:#0f172a}body.dark-theme .template-zapi-card p{background:#78350f;color:#fde68a}body.dark-theme .template-log-filters .template-log-clear{background:#1f2937;border-color:#475569;color:#f8fafc}body.dark-theme .template-log-table th{background:#0f172a;color:#cbd5e1}body.dark-theme .template-log-table th,body.dark-theme .template-log-table td,body.dark-theme .template-log-table-head{border-color:#334155}body.dark-theme .status-sent{color:#e2e8f0;background:#334155}body.dark-theme .status-delivered,body.dark-theme .status-read{color:#ccfbf1;background:#115e59}body.dark-theme .status-failed{color:#fecaca;background:#7f1d1d}body.dark-theme .status-queued,body.dark-theme .status-retry,body.dark-theme .status-cancelled{color:#e2e8f0;background:#334155}body.dark-theme .status-running{color:#fde68a;background:#78350f}body.dark-theme .status-succeeded{color:#ccfbf1;background:#115e59}@media(max-width:900px){.template-log-page{padding:14px}.template-log-header{align-items:stretch;flex-direction:column}.template-log-filters{align-items:stretch}.template-log-filters label,.template-log-filters button{flex:1 1 180px}.template-log-stats,.template-worker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-zapi-grid{grid-template-columns:1fr}.template-zapi-fields,.template-log-column-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.template-zapi-toolbar{grid-template-columns:1fr}}@media(max-width:560px){.template-log-column-filters,.template-worker-grid,.template-zapi-fields{grid-template-columns:1fr}.template-zapi-card-head{flex-direction:column}}
