.crm-toolbar{justify-content:space-between}.crm-toolbar,.crm-toolbar-left,.crm-toolbar-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-summary{font-size:12.5px;color:var(--text-secondary)}.crm-summary strong{color:var(--text-primary);font-weight:700;font-variant-numeric:tabular-nums}.crm-notice{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--text-secondary)}.crm-reset{height:28px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffff;font-size:11.5px;font-weight:600;color:var(--brand-700)}.crm-reset:hover{background:var(--brand-50);border-color:rgb(166 43 52/.35)}.crm-board{display:flex;gap:10px;min-height:380px;max-height:calc(100dvh - 230px);overflow-x:auto;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#e3e8ef transparent}@media (min-width:1024px){.pipeline-fill{height:calc(100dvh - var(--topbar-height) - 28px);min-height:480px}.pipeline-fill .crm-board{flex:1;min-height:0;max-height:none;padding-bottom:0}}@supports not (scrollbar-color:auto){.crm-board::-webkit-scrollbar,.crm-column-body::-webkit-scrollbar{width:8px;height:8px}.crm-board::-webkit-scrollbar-thumb,.crm-column-body::-webkit-scrollbar-thumb{background:#e3e8ef;border-radius:999px}}.crm-column{width:320px;flex-shrink:0;display:flex;flex-direction:column;overflow:hidden;background:rgb(248 250 252/.7);border:1px solid var(--border);border-radius:var(--radius-lg);transition:border-color .12s}.crm-column-drop{border-color:#b8c2d0;background:#f3f5f9}.crm-column-header{flex-shrink:0;padding:8px 12px;background:#ffffff;border-top:3px solid var(--border);border-bottom:1px solid var(--border)}.crm-column-title{display:flex;align-items:center;gap:8px;min-width:0}.crm-column-title h3{font-size:12px;font-weight:650;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-count{flex-shrink:0;padding:0 6px;border-radius:6px;background:var(--subtle-bg);border:1px solid var(--border-subtle);font-size:10.5px;font-weight:700;color:var(--text-secondary);font-variant-numeric:tabular-nums}.crm-column-total{margin-top:1px;font-size:11px;font-weight:600;color:var(--text-secondary);font-variant-numeric:tabular-nums}.crm-column-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e3e8ef transparent;padding:8px;display:flex;flex-direction:column;gap:6px}.crm-column-empty{padding:18px 10px;border:1px dashed var(--border);border-radius:var(--radius-md);text-align:center;font-size:11.5px;color:var(--text-secondary)}.crm-drop-indicator{height:3px;border-radius:999px}.crm-card{position:relative;padding:9px 10px;background:#ffffff;border:1px solid var(--border);border-radius:10px;box-shadow:0 1px 2px rgb(15 23 42/.04);cursor:grab;transition:border-color .12s,box-shadow .12s}.crm-card:hover{border-color:#cdd5df;box-shadow:0 4px 12px -4px rgb(15 23 42/.12)}.crm-card:active{cursor:grabbing}.crm-card-dragging{opacity:.4}.crm-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;border-radius:6px}.crm-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:650;line-height:1.3;color:var(--text-primary)}.crm-card-open:hover .crm-card-title{text-decoration:underline}.crm-card-sub{display:block;margin-top:1px;font-size:11.5px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-card-line{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:11px;color:var(--text-secondary)}.crm-card-value{margin-top:3px;font-size:12.5px;font-weight:700;color:var(--success-text);font-variant-numeric:tabular-nums}.crm-card-created{margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums}.crm-card-created+.crm-card-created{margin-top:2px}.crm-card-created span:last-child{color:var(--text-primary)}.crm-overdue{color:var(--brand-700)!important;font-weight:700}.crm-card-footer{margin-top:7px;padding-top:7px;border-top:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-card-owner{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:11.5px;font-weight:500;color:var(--text-secondary)}.crm-card-owner>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-card-chat{display:inline-flex;color:var(--text-secondary)}.crm-table td,.crm-table th{padding:8px 12px;white-space:nowrap}.crm-table th{font-size:10px}.crm-table .cell-primary-text,.crm-table .cell-text{font-size:12px}.crm-table .cell-secondary-text{font-size:11px}.crm-link-button{padding:0;border:0;background:transparent;text-align:left}.crm-link-button:hover{text-decoration:underline}.crm-stage-pill{display:inline-flex;align-items:center;gap:6px;max-width:170px;padding:2px 8px;border-radius:8px}.crm-stage-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%}.crm-stage-pill select{width:124px;padding:1px 0;border:0;background:transparent;font-size:12px;font-weight:500;color:var(--text-primary);text-overflow:ellipsis;cursor:pointer}.crm-empty{padding:48px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.crm-empty-icon{width:48px;height:48px;margin-bottom:6px;border-radius:var(--radius-lg);display:inline-flex;align-items:center;justify-content:center;background:var(--subtle-bg);color:var(--text-secondary)}.crm-empty h3{font-size:13.5px}.crm-empty p{font-size:12px;color:var(--text-secondary)}.crm-dialog{width:min(600px,calc(100vw - 32px));max-height:88dvh;overflow-y:auto;padding:24px;border-radius:var(--radius-xl);background:#ffffff;border:1px solid var(--border);box-shadow:var(--shadow-popover);display:flex;flex-direction:column;gap:16px}.crm-dialog-header{display:flex;align-items:flex-start;gap:14px;padding-right:36px;position:relative}.crm-dialog-icon{width:40px;height:40px;flex-shrink:0;border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;background:var(--brand-100);color:var(--brand-700)}.crm-dialog-header-text{display:flex;flex-direction:column;gap:2px;min-width:0}.crm-dialog-badge{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-700)}.crm-dialog-title{font-size:17px;font-weight:700;color:var(--text-primary);line-height:1.3;margin:0}.crm-dialog-sub{margin-top:2px;font-size:12.5px;color:var(--text-secondary);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.crm-dialog-contact-name{font-weight:600;color:var(--text-primary)}.crm-dialog-bullet{color:#94a3b8}.crm-dialog-contact-phone{font-variant-numeric:tabular-nums}.crm-dialog-stage-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:var(--subtle-bg);border:1px solid var(--border);border-radius:var(--radius-md)}.crm-dialog-stage-label{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary)}.crm-field-card{background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-md);padding:12px 14px;display:flex;flex-direction:column;gap:8px;transition:border-color .12s,box-shadow .12s}.crm-field-card:focus-within{border-color:var(--brand-600);box-shadow:0 0 0 3px rgb(166 43 52/.08)}.crm-field-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-field-title{font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--text-primary);display:inline-flex;align-items:center;gap:6px;cursor:pointer}.crm-field-counter{font-size:11px;font-weight:600;color:#6b7280;font-variant-numeric:tabular-nums}.crm-currency-preview-badge{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:9999px;background:var(--success-bg);color:var(--success-text);font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums}.crm-currency-wrapper{display:flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:#ffffff}.crm-currency-prefix{height:36px;padding:0 12px;display:inline-flex;align-items:center;background:var(--subtle-bg);border-right:1px solid var(--border);font-size:12.5px;font-weight:700;color:var(--text-secondary);user-select:none}.crm-currency-input{flex:1;height:36px;border:0;outline:none;padding:0 12px;font-size:13.5px;font-weight:600;color:var(--text-primary);font-variant-numeric:tabular-nums;background:transparent}.crm-currency-input::placeholder{color:#9ca3af;font-weight:400}.crm-notes-textarea{width:100%;min-height:80px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12.5px;line-height:1.5;color:var(--text-primary);background:#ffffff;resize:vertical;outline:none;font-family:var(--font-family);transition:border-color .12s}.crm-notes-textarea:focus{border-color:var(--brand-600)}.crm-notes-textarea::placeholder{color:#9ca3af}.crm-field-hint{font-size:11px;line-height:1.4;color:var(--text-secondary)}.crm-dialog-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-meta-item{padding:10px 12px;background:var(--subtle-bg);border:1px solid var(--border-subtle);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:4px}.crm-meta-label{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary);gap:5px}.crm-meta-label,.crm-meta-value{display:inline-flex;align-items:center}.crm-meta-value{font-size:12.5px;font-weight:600;color:var(--text-primary);gap:8px;min-height:24px}.crm-dialog-chat-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:var(--brand-50);border:1px solid rgb(166 43 52/.18);border-radius:var(--radius-md)}.crm-dialog-chat-info{display:flex;align-items:center;gap:10px;color:var(--brand-700)}.crm-dialog-chat-info strong{display:block;font-size:12px;font-weight:700;color:var(--brand-700)}.crm-dialog-chat-info p{margin-top:1px;font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums}.crm-dialog-chat-link{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:var(--radius-sm);background:#ffffff;border:1px solid rgb(166 43 52/.25);font-size:11.5px;font-weight:600;color:var(--brand-700);white-space:nowrap;transition:background .12s,border-color .12s}.crm-dialog-chat-link:hover{background:var(--brand-100);border-color:var(--brand-600)}.crm-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;padding-top:14px;border-top:1px solid var(--border-subtle);flex-wrap:wrap}.crm-dialog-footer-actions{display:flex;align-items:center;gap:8px}.crm-dialog-note{font-size:11px;line-height:1.4;color:var(--text-secondary);flex:1;min-width:200px}.crm-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border-radius:var(--radius-md);border:0;background:var(--brand-600);color:#ffffff;font-size:12px;font-weight:600;cursor:pointer;transition:background .12s;box-shadow:0 2px 6px rgb(141 29 36/.2)}.crm-btn-primary:hover{background:var(--brand-700)}.crm-btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:#ffffff;color:var(--text-primary);font-size:12px;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s}.crm-btn-outline:hover{background:var(--subtle-bg);border-color:#cdd5df}.crm-saved-badge{gap:4px;font-size:11px;font-weight:600;color:var(--success-text);background:var(--success-bg);padding:3px 8px;border-radius:9999px}.crm-dialog-close,.crm-saved-badge{display:inline-flex;align-items:center}.crm-dialog-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);justify-content:center}.crm-dialog-close:hover{background:var(--subtle-bg);color:var(--text-primary)}@media (max-width:768px){.crm-board{max-height:none}.crm-column{width:82vw}.crm-toolbar-right{width:100%}.crm-dialog-meta-grid{grid-template-columns:1fr}.crm-dialog-footer{flex-direction:column;align-items:stretch}.crm-dialog-footer-actions{justify-content:flex-end}}