.customer-view-overlay{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.2);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:overlayFadeIn .2s ease forwards}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.customer-view-panel{position:absolute;top:0;right:0;bottom:0;width:min(95vw,1680px);background:var(--bg-primary);border-left:1px solid var(--border-primary);display:flex;flex-direction:column;animation:panelSlideIn .25s cubic-bezier(.16,1,.3,1) forwards;box-shadow:var(--shadow-xl)}@keyframes panelSlideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.customer-view-header{gap:.625rem;padding:.75rem 1rem;background:var(--bg-primary);border-bottom:1px solid var(--border-primary)}.customer-view-back,.customer-view-header{display:flex;align-items:center;flex-shrink:0}.customer-view-back{justify-content:center;width:32px;height:32px;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.customer-view-back:hover{background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-nav-arrows{display:flex;align-items:center;gap:2px;flex-shrink:0}.customer-view-nav-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;transition:all .15s ease;padding:0;border-radius:6px}.customer-view-nav-btn:hover:not(:disabled){background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-nav-btn:disabled{opacity:.3;cursor:default}.customer-view-info{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.customer-view-name-row{display:flex;align-items:center;gap:.5rem;min-width:0}.customer-view-name{font-size:1rem;font-weight:600;color:var(--text-primary);background:none;-webkit-text-fill-color:var(--text-primary)}.customer-view-company{font-size:.8125rem;color:var(--text-secondary);font-weight:400}.customer-view-issue-flag{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:500;color:#e07020;padding:.375rem .75rem;border-radius:8px;background:rgba(224,112,32,.08);border:1px solid rgba(224,112,32,.18);white-space:nowrap;flex-shrink:0}.customer-view-issue-flag svg{width:14px;height:14px;fill:#e07020;stroke:#e07020}.customer-view-payment-failed-flag{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:500;color:#dc2626;padding:.375rem .75rem;border-radius:8px;background:rgba(220,38,38,.08);border:1px solid rgba(220,38,38,.18);white-space:nowrap;flex-shrink:0}.customer-view-payment-failed-flag svg{width:14px;height:14px;fill:none;stroke:#dc2626}.customer-view-plan{display:inline-flex;align-items:center;font-size:.75rem;font-weight:500;color:var(--text-muted);padding:.375rem .75rem;border-radius:8px;white-space:nowrap;flex-shrink:0}.customer-view-plan.plan-pro{background:rgba(124,58,237,.08);color:#7c3aed}.customer-view-plan.plan-plus{background:rgba(14,165,233,.08);color:#0284c7}.customer-view-plan.plan-starter{background:rgba(34,197,94,.08);color:#16a34a}.customer-view-plan.plan-personal{background:rgba(245,158,11,.08);color:#d97706}.customer-view-llm-cost{display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;color:#7c3aed;padding:.375rem .75rem;border-radius:8px;background:rgba(124,58,237,.07);border:1px solid rgba(124,58,237,.15);white-space:nowrap;flex-shrink:0;text-decoration:none;cursor:pointer;transition:all .15s ease}.customer-view-llm-cost:hover{background:rgba(124,58,237,.12);border-color:rgba(124,58,237,.25)}.customer-view-one-liner{font-size:.8125rem;color:var(--text-secondary);cursor:pointer;padding:.125rem 0;border-radius:3px;transition:background .15s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-view-one-liner:hover{background:var(--bg-tertiary)}.customer-view-one-liner.placeholder{color:var(--text-muted);font-style:italic}.customer-view-one-liner-input{font-size:.8125rem;color:var(--text-secondary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:.25rem .375rem;width:100%;outline:none;font-family:inherit}.customer-view-one-liner-input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-chin{display:flex;align-items:center;gap:1rem;padding:.5rem 1rem;border-bottom:1px solid var(--border-primary);flex-shrink:0;min-height:0}.customer-view-chin-oneliner-wrapper{flex:1 1;min-width:0}.customer-view-chin-oneliner{font-size:.9375rem;color:var(--text-secondary);cursor:pointer;padding:.25rem .375rem;border-radius:4px;transition:background .15s ease;display:block}.customer-view-chin-oneliner:hover{background:var(--bg-tertiary)}.customer-view-chin-oneliner.placeholder{color:var(--text-muted);font-style:italic}.customer-view-chin-oneliner-input{font-size:.9375rem;color:var(--text-secondary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:.25rem .375rem;width:100%;outline:none;font-family:inherit}.customer-view-chin-oneliner-input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-chin .list-filter-group{flex-shrink:0}.customer-view-chin .timeline-add-dropdown,.customer-view-stage-wrapper{margin-left:auto;flex-shrink:0}.customer-view-stage-wrapper{position:relative;margin-right:.5rem}.customer-view-stage-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;background:var(--stage-bg,rgba(20,184,166,.06));border:1px solid var(--stage-border,rgba(20,184,166,.18));border-radius:8px;font-size:.75rem;font-weight:500;color:var(--stage-text,#0d9488);white-space:nowrap;flex-shrink:0;cursor:pointer;font-family:inherit;transition:all .15s ease}.customer-view-stage-badge:hover{filter:brightness(.97)}.customer-view-stage-badge.active,.customer-view-stage-badge:hover{background:var(--stage-bg,rgba(20,184,166,.06));border-color:var(--stage-text,#0d9488)}.customer-view-stage-badge.active{box-shadow:0 0 0 2px var(--stage-border,rgba(20,184,166,.18))}.customer-view-stage-badge.no-stage{background:var(--bg-secondary,#f9fafb);border-color:var(--border-primary,#e5e7eb);color:var(--text-muted,#9ca3af)}.customer-view-stage-badge.no-stage:hover{background:var(--bg-tertiary,#f3f4f6);border-color:var(--border-primary,#d1d5db);color:var(--text-secondary,#6b7280)}.customer-view-stage-badge svg{width:14px;height:14px}.customer-view-stage-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:300;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:12px;box-shadow:var(--shadow-lg);padding:.75rem;min-width:380px;max-width:520px;animation:stagePopoverIn .15s ease forwards}@keyframes stagePopoverIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.customer-view-body{display:flex;flex:1 1;min-height:0;overflow:hidden}.customer-view-summary-section{width:300px;flex-shrink:0;padding:1rem 1.25rem;border-right:1px solid var(--border-color);overflow-y:auto;align-self:stretch;display:flex;flex-direction:column}.customer-view-summary-text{font-size:.85rem;color:var(--text-secondary);line-height:1.5;cursor:pointer;padding:.375rem .5rem;border-radius:6px;transition:background .15s ease;white-space:pre-wrap}.customer-view-summary-text:hover{background:var(--bg-tertiary)}.customer-view-summary-text.placeholder{color:var(--text-muted);font-style:italic}.customer-view-summary-textarea{font-size:.85rem;color:var(--text-secondary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:6px;padding:.375rem .5rem;width:100%;outline:none;font-family:inherit;line-height:1.5;resize:vertical;min-height:3rem}.customer-view-summary-textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-name.editable{cursor:pointer;border-radius:4px;padding:.0625rem .25rem;margin:-.0625rem -.25rem;transition:background .15s ease}.customer-view-name.editable:hover{background:var(--bg-tertiary)}.customer-view-name-input{font-size:1rem;font-weight:600;color:var(--text-primary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:.0625rem .25rem;width:100%;outline:none;font-family:inherit}.customer-view-name-input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-company.editable{cursor:pointer;border-radius:3px;padding:.0625rem .25rem;margin:-.0625rem -.25rem;transition:background .15s ease}.customer-view-company.editable:hover{background:var(--bg-tertiary)}.customer-view-company.placeholder{color:var(--text-muted);font-style:italic}.customer-view-company-input{font-size:.8125rem;color:var(--text-secondary);font-weight:400;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:.125rem .25rem;width:100%;outline:none;font-family:inherit}.customer-view-company-input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-tags{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-tags-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.375rem}.customer-view-emails{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-emails-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem}.customer-view-emails-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.customer-view-emails-add-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:none;border:1px solid var(--border-color);border-radius:4px;color:var(--text-muted);font-size:.875rem;cursor:pointer;transition:all .15s ease;font-family:inherit;line-height:1}.customer-view-emails-add-btn:hover{background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--text-muted)}.customer-view-emails-empty{font-size:.8125rem;color:var(--text-muted);font-style:italic;cursor:pointer;padding:.125rem 0}.customer-view-emails-empty:hover{color:var(--text-secondary)}.customer-view-email-item{display:flex;align-items:center;gap:.25rem;padding:.125rem 0}.customer-view-email-text{font-size:.8125rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1;min-width:0}.customer-view-email-outportal-user{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:none;border:none;color:var(--text-muted);cursor:pointer;border-radius:3px;flex-shrink:0;opacity:0;transition:all .15s ease;padding:0}.customer-view-email-item:hover .customer-view-email-outportal-user{opacity:.6}.customer-view-email-outportal-user:hover{opacity:1!important;color:var(--accent-primary)}.customer-view-email-outportal-user.active{opacity:1;color:var(--accent-primary)}.customer-view-email-remove{display:flex;align-items:center;justify-content:center;width:16px;height:16px;background:none;border:none;color:var(--text-muted);font-size:.75rem;cursor:pointer;border-radius:3px;flex-shrink:0;opacity:0;transition:all .15s ease;font-family:inherit;line-height:1}.customer-view-email-item:hover .customer-view-email-remove{opacity:1}.customer-view-email-remove:hover{background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-email-input{font-size:.8125rem;color:var(--text-secondary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:.25rem .375rem;width:100%;outline:none;font-family:inherit;margin-top:.25rem}.customer-view-email-input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.customer-view-open-issues{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-open-issues-header{display:flex;align-items:center;gap:.375rem;margin-bottom:.5rem}.customer-view-open-issues-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.customer-view-open-issues-count{font-size:.625rem;font-weight:600;color:#e07020;background:rgba(224,112,32,.1);border-radius:9999px;padding:.0625rem .375rem;line-height:1.4}.customer-view-issue-card{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-secondary);margin-bottom:.375rem;transition:border-color .15s ease}.customer-view-issue-card:hover{border-color:var(--text-muted);cursor:pointer}.customer-view-issue-card-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:.0625rem}.customer-view-issue-card-icon svg{width:13px;height:13px;fill:#e07020;stroke:#e07020}.customer-view-issue-card-content{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.customer-view-issue-card-title{font-size:.8125rem;font-weight:500;color:var(--text-primary);text-decoration:none;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.customer-view-issue-card-status{font-size:.6875rem;color:var(--text-muted);text-transform:capitalize;opacity:0;transition:opacity .15s ease}.customer-view-issue-card:hover .customer-view-issue-card-status{opacity:1}.customer-view-issue-card.solved{opacity:.75}.customer-view-issue-card-icon.solved svg{fill:#2e9e5e;stroke:#2e9e5e}.customer-view-solved-blockers-summary{cursor:pointer;list-style:none}.customer-view-solved-blockers-summary::-webkit-details-marker{display:none}.customer-view-solved-blockers-count{font-size:.625rem;font-weight:600;color:#2e9e5e;background:rgba(46,158,94,.1);border-radius:9999px;padding:.0625rem .375rem;line-height:1.4}.customer-view-owner{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-owner-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:.375rem}.customer-view-owner-picker{position:relative}.customer-view-owner-value{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;border-radius:6px;cursor:pointer;width:100%;background:none;border:1px solid transparent;font-family:inherit;text-align:left;transition:all .15s ease}.customer-view-owner-value:hover{background:var(--bg-tertiary);border-color:var(--border-primary)}.customer-view-owner-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0}.customer-view-owner-initials{display:inline-flex;align-items:center;justify-content:center;background:var(--bg-tertiary);color:var(--text-muted);font-size:.625rem;font-weight:600}.customer-view-owner-name{font-size:.8125rem;color:var(--text-primary);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-view-owner-placeholder{font-size:.8125rem;color:var(--text-muted);font-style:italic}.customer-view-owner-dropdown{position:absolute;top:100%;left:0;right:0;z-index:50;background:var(--bg-primary);border:1.5px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);padding:.25rem;margin-top:.25rem;max-height:260px;overflow-y:auto}.customer-view-owner-option{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;border-radius:6px;cursor:pointer;width:100%;background:none;border:none;font-family:inherit;text-align:left;transition:background .1s ease}.customer-view-owner-option.active,.customer-view-owner-option:hover{background:var(--bg-tertiary)}.customer-view-owner-option-avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;flex-shrink:0}.customer-view-owner-option-name{font-size:.8125rem;color:var(--text-primary)}.customer-view-owner-loading{padding:.5rem;font-size:.75rem;color:var(--text-muted);text-align:center}.customer-view-sidebar-footer{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:.375rem}.customer-view-sidebar-footer-row{display:flex;flex-direction:column;gap:.0625rem}.customer-view-sidebar-footer-label{font-size:.625rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);opacity:.7}.customer-view-sidebar-footer-value{font-size:.6875rem;color:var(--text-muted);font-family:var(--font-mono,ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace);word-break:break-all}.customer-view-signup-status{position:relative;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-signup-status-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:.375rem}.customer-view-signup-status-row{display:flex;align-items:center;gap:.5rem}.reviewer-avatars-popover .reviewer-avatar{width:22px;height:22px}.reviewer-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--bg-tertiary,#e5e7eb);color:var(--text-muted,#6b7280);font-size:.6rem;font-weight:700}.customer-view-signup-status-btn{display:flex;align-items:center;background:none;border:1px solid transparent;border-radius:4px;padding:.125rem .25rem;cursor:pointer;font-family:inherit;transition:background .1s ease,border-color .1s ease}.customer-view-signup-status-btn:hover{background:var(--bg-tertiary);border-color:var(--border-color)}.customer-view-details{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-details-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.375rem}.customer-view-details-grid{display:grid;grid-template-columns:auto 1fr;grid-gap:.125rem .75rem;gap:.125rem .75rem;align-items:baseline}.customer-view-details-key{font-size:.75rem;color:var(--text-muted);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.customer-view-property-category-select{min-width:8.5rem;max-width:14rem;margin-left:.55rem;border:1px solid var(--border-primary);border-radius:6px;background:var(--bg-primary);color:var(--text-secondary);font-size:.72rem;padding:.1rem .35rem}.customer-view-properties-category-heading{margin-top:.35rem;margin-bottom:.2rem;font-size:.7rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.customer-view-details-value{position:relative;min-width:0}.customer-view-details-value-btn{display:block;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:4px;padding:.125rem .375rem;font-family:inherit;font-size:.8125rem;color:var(--text-primary);cursor:pointer;word-break:break-word;transition:background .1s ease,border-color .1s ease}.customer-view-details-value-btn:hover{background:var(--bg-tertiary);border-color:var(--border-color)}.customer-view-details-value-btn .placeholder{color:var(--text-muted);opacity:.5}.customer-view-details-readonly{display:block;padding:.125rem .375rem;font-size:.8125rem;color:var(--text-secondary)}.customer-view-details-link{display:block;padding:.125rem .375rem;font-size:.8125rem;color:var(--link-color,#3b82f6);text-decoration:none;word-break:break-all}.customer-view-details-link:hover{text-decoration:underline}.customer-view-enrichment-section{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-enrichment-heading{display:flex;align-items:center;gap:.375rem;width:100%;padding:0;background:none;border:none;cursor:pointer;font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;transition:color .15s ease}.customer-view-enrichment-heading:hover{color:var(--text-secondary)}.customer-view-enrichment-heading svg{width:12px;height:12px;flex-shrink:0;opacity:.6}.customer-view-enrichment-heading:hover svg{opacity:1}.customer-view-outportal-apps{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-outportal-apps-header{display:flex;align-items:center;gap:.375rem;margin-bottom:.5rem}.customer-view-outportal-apps-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.customer-view-outportal-apps-count{font-size:.625rem;font-weight:600;color:#3b82f6;background:rgba(59,130,246,.1);border-radius:9999px;padding:.0625rem .375rem;line-height:1.4}.customer-view-outportal-apps-list{list-style:none;margin:0;padding:0}.customer-view-outportal-app-item{margin-bottom:.125rem}.customer-view-outportal-app-link{display:flex;align-items:flex-start;gap:.375rem;padding:.5rem .375rem;border-radius:6px;color:var(--text-primary);text-decoration:none;transition:background .1s ease}.customer-view-outportal-app-link:hover{background:var(--bg-secondary)}.customer-view-outportal-app-link svg{width:12px;height:12px;flex-shrink:0;opacity:.6;margin-top:.125rem}.customer-view-outportal-app-content{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.customer-view-outportal-app-name{font-size:.8125rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-view-outportal-app-prompt{font-size:.75rem;color:var(--text-muted);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-view-outportal-app-item:not(:has(.customer-view-outportal-app-link)) .customer-view-outportal-app-content{padding:.5rem .375rem}.customer-view-outportal-app-item:not(:has(.customer-view-outportal-app-link)) .customer-view-outportal-app-name{color:var(--text-muted)}.customer-view-brand-json>summary::-webkit-details-marker{display:none}.customer-view-brand-json>summary:before{content:"▶";display:inline-block;margin-right:.375rem;font-size:.5625rem;transition:transform .15s ease}.customer-view-brand-json[open]>summary:before{transform:rotate(90deg)}.json-tree-container{margin-top:.375rem;max-height:400px;overflow-y:auto;font-family:SF Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:.6875rem;line-height:1.5}.json-tree-node{margin:0}.json-tree-node>.json-tree-summary{cursor:pointer;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--text-muted)}.json-tree-node>.json-tree-summary::-webkit-details-marker{display:none}.json-tree-node>.json-tree-summary:before{content:"▶";display:inline-block;margin-right:.25rem;font-size:.5rem;transition:transform .15s ease}.json-tree-node[open]>.json-tree-summary:before{transform:rotate(90deg)}.json-tree-children{padding-left:1rem;border-left:1px solid var(--border-color);margin-left:.25rem}.json-tree-entry{padding:1px 0}.json-tree-key{color:#8b5cf6;margin-right:.375rem}.json-tree-index{color:var(--text-muted);margin-right:.375rem}.json-tree-string{color:#16a34a;word-break:break-word}.json-tree-number{color:#2563eb}.json-tree-bool{color:#d97706}.json-tree-null{font-style:italic}.json-tree-bracket,.json-tree-count,.json-tree-null{color:var(--text-muted)}.json-tree-count{font-style:italic;margin:0 .25rem;font-size:.625rem}.signup-status-inline{display:inline-flex;font-size:.75rem;font-weight:600;padding:1px 6px;border-radius:4px}.signup-status-inline-new{background:rgba(245,158,11,.1);color:#d97706}.signup-status-inline-reviewing{background:rgba(59,130,246,.1);color:#2563eb}.signup-status-inline-allgood{background:rgba(34,197,94,.1);color:#16a34a}.signup-status-inline-issues{background:rgba(239,68,68,.1);color:#dc2626}.customer-view-details-input{display:block;width:100%;background:var(--bg-primary);border:1.5px solid var(--border-primary);border-radius:4px;padding:.125rem .375rem;font-family:inherit;font-size:.8125rem;color:var(--text-primary);outline:none}.customer-view-details-input:focus{border-color:var(--accent-blue)}.customer-view-details-input::placeholder{color:var(--text-muted);font-style:italic}.customer-view-details-dropdown{position:absolute;top:100%;left:0;min-width:12rem;z-index:50;background:var(--bg-primary);border:1.5px solid var(--border-primary);border-radius:6px;box-shadow:var(--shadow-lg);padding:.25rem;margin-top:.125rem;overflow-y:auto}.customer-view-details-dropdown-item{display:block;width:100%;min-width:0;text-align:left;white-space:nowrap;background:none;border:none;border-radius:4px;padding:.25rem .5rem;font-family:inherit;font-size:.8125rem;color:var(--text-primary);cursor:pointer;transition:background .1s ease}.customer-view-details-dropdown-item:hover{background:var(--bg-tertiary)}.customer-view-details-dropdown-item.active{background:var(--bg-tertiary);font-weight:500}.customer-view-details-dropdown-item.clear{color:var(--text-muted);font-style:italic;border-top:1px solid var(--border-color);margin-top:.125rem;padding-top:.375rem;border-radius:0 0 4px 4px}.customer-view-properties{margin-top:.5rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-properties-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.customer-view-properties-header .customer-view-details-label{margin-bottom:0}.customer-view-properties-add-btn-header{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:none;border:1px solid var(--border-color);border-radius:4px;color:var(--text-muted);cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.customer-view-properties-add-btn-header:hover:not(:disabled){background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--text-muted)}.customer-view-properties-add-btn-header:disabled{opacity:.5;cursor:not-allowed}.customer-view-properties-add-btn-header svg{width:12px;height:12px}.customer-view-properties-add-wrap-header{position:relative}.customer-view-properties-add-wrap-header .customer-view-properties-picker{position:absolute;top:100%;right:0;margin-top:.25rem;min-width:180px;max-height:240px;overflow-y:auto;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);padding:.35rem;z-index:50}.customer-view-properties-value{display:flex;align-items:flex-start;gap:.25rem;min-width:0}.customer-view-properties-single-wrap{position:relative;min-width:0}.customer-view-properties-single-stack{display:flex;flex-direction:column;align-items:stretch;gap:.25rem;min-width:0;width:100%}.customer-view-properties-assignment-caption{margin:0;padding:0 .125rem;font-size:.6875rem;line-height:1.35;color:var(--text-muted);word-break:break-word}.customer-view-properties-assignment-caption--tag{display:block;margin-top:.12rem;padding:0;font-size:.65rem;line-height:1.3;max-width:14rem}.customer-view-properties-tag-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.customer-view-properties-tag-text>span:first-child{white-space:nowrap}.customer-view-properties-tag--stacked{width:100%;justify-content:space-between}.customer-view-properties-single-row{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;min-width:0}.customer-view-properties-single-row>.customer-view-details-value-btn{flex:1 1;min-width:0}.customer-view-properties-single-row>.customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open){width:0;min-width:0;overflow:visible;position:relative;align-self:center}.customer-view-properties-single-row>.customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open) .customer-view-property-assignment-note-toggle{position:absolute;left:0;top:50%;transform:translateY(-50%)}.customer-view-property-assignment-note{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0}.customer-view-property-assignment-note--block{flex-basis:100%;width:100%;position:static;min-width:0;align-items:stretch}.customer-view-property-assignment-note--block .customer-view-property-assignment-note-toggle{align-self:flex-end}.customer-view-property-assignment-note--block .customer-view-property-assignment-note-editor{max-width:min(40rem,100%);width:100%;align-self:stretch}.customer-view-property-assignment-note-toggle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .15s ease,background .15s ease,opacity .12s ease}.customer-view-property-assignment-note-toggle:hover{color:var(--accent-primary);background:var(--bg-tertiary)}.customer-view-property-assignment-note-toggle.has-description{color:var(--accent-primary)}.customer-view-property-assignment-note-toggle--pressed{color:var(--accent-primary);background:var(--bg-tertiary)}@media (hover:hover) and (pointer:fine){.customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open) .customer-view-property-assignment-note-toggle{opacity:0}.customer-view-properties-single-row:hover .customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open) .customer-view-property-assignment-note-toggle,.customer-view-properties-tag:hover .customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open) .customer-view-property-assignment-note-toggle,.customer-view-property-assignment-note:not(.customer-view-property-assignment-note--open):hover .customer-view-property-assignment-note-toggle{opacity:1}}.customer-view-property-assignment-note-toggle:focus-visible{opacity:1;outline:2px solid var(--accent-primary);outline-offset:2px}.customer-view-property-assignment-note--compact .customer-view-property-assignment-note-toggle{width:22px;height:22px}.customer-view-property-assignment-note-editor{margin-top:.35rem;width:100%;max-width:min(100%,18rem);box-sizing:border-box}.customer-view-property-assignment-note--open .customer-view-property-assignment-note-editor{max-width:min(40rem,100%)}.customer-view-property-assignment-note--compact{position:relative;width:22px;min-height:22px;flex-shrink:0;align-items:flex-start}.customer-view-property-assignment-note--compact .customer-view-property-assignment-note-editor{margin-top:.35rem;padding:0;max-width:min(20rem,calc(100vw - 2rem));background:transparent;border:none;box-shadow:none}.customer-view-property-assignment-note-popover{box-sizing:border-box;padding:.5rem;background:var(--bg-primary);border:1.5px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);max-width:min(22rem,calc(100vw - 1rem))}.customer-view-property-assignment-note-popover .customer-view-property-assignment-note-editor{margin-top:0;max-width:100%;width:100%}.customer-view-property-assignment-note-textarea{display:block;width:100%;box-sizing:border-box;margin:0 0 .4rem;padding:.4rem .5rem;border:1px solid var(--border-primary);border-radius:6px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;font-size:.8125rem;line-height:1.35;resize:vertical;min-height:2.5rem}.customer-view-property-assignment-note-textarea::placeholder{color:var(--text-muted)}.customer-view-property-assignment-note-actions{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.customer-view-property-assignment-note-cancel,.customer-view-property-assignment-note-clear,.customer-view-property-assignment-note-save{padding:.2rem .5rem;border-radius:4px;font-family:inherit;font-size:.75rem;cursor:pointer;border:1px solid var(--border-primary);background:var(--bg-secondary);color:var(--text-primary)}.customer-view-property-assignment-note-save{border-color:var(--accent-primary);background:var(--accent-primary);color:var(--bg-primary)}.customer-view-property-assignment-note-save:hover{filter:brightness(1.05)}.customer-view-property-assignment-note-cancel:hover,.customer-view-property-assignment-note-clear:hover{background:var(--bg-tertiary)}.customer-view-properties-tags-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0;width:100%}.customer-view-properties-multi-add-wrap{position:relative;flex-shrink:0}.customer-view-properties-multi-add-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px dashed var(--border-color);border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer;transition:border-color .15s ease,color .15s ease}.customer-view-properties-multi-add-btn:hover{border-color:var(--accent-primary);color:var(--accent-primary)}.customer-view-properties-multi-add-btn svg{width:10px;height:10px}.customer-view-properties-multi-tag-input{align-items:flex-start}.customer-view-properties-multi-tag-input-tags{flex:1 1;width:100%}.customer-view-properties-multi-tag-input-field-wrap{flex:1 1;min-width:120px;max-width:100%}.customer-view-properties-multi-tag-input-row{display:flex;align-items:center;gap:.35rem;flex:1 1;min-width:0;max-width:100%}.customer-view-properties-multi-tag-input-wrapper{position:relative;display:inline-flex;flex:1 1;min-width:0;max-width:100%;vertical-align:middle}.customer-view-properties-multi-tag-input-field{width:100%;min-width:100px;max-width:220px;padding:.25rem .5rem;border:1px dashed var(--border-color);border-radius:9999px;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-primary);outline:none;transition:border-color .15s ease,background .15s ease}.customer-view-properties-multi-tag-input-field:focus{border-color:var(--accent-primary);border-style:solid;background:var(--bg-primary)}.customer-view-properties-multi-tag-input-field::placeholder{color:var(--text-muted)}.customer-view-properties-multi-tag-suggestions{position:absolute;top:calc(100% + 4px);left:0;min-width:min(100vw - 2rem,220px);max-height:240px;overflow-y:auto;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);z-index:80;padding:.25rem}.customer-view-properties-multi-tag-suggestions-portal{position:fixed;top:auto;left:auto;z-index:unset;max-height:unset}.customer-view-properties-multi-tag-suggestions--upward{top:auto;bottom:calc(100% + 4px)}.customer-view-properties-multi-tag-suggestion{display:flex;align-items:center;gap:.35rem;width:100%;padding:.4rem .5rem;border:none;border-radius:4px;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-primary);text-align:left;cursor:pointer;transition:background .1s ease}.customer-view-properties-multi-tag-suggestion--selected,.customer-view-properties-multi-tag-suggestion:hover{background:var(--bg-secondary)}.customer-view-properties-multi-tag-suggestion--create{border-top:1px solid var(--border-light);color:var(--accent-primary);font-weight:500}.customer-view-properties-multi-tag-suggestion--create svg{width:12px;height:12px;flex-shrink:0}.customer-view-properties-multi-tag-new-value-block{display:flex;flex-direction:column;gap:.35rem;padding:.35rem 0;min-width:0;max-width:280px}.customer-view-properties-multi-tag-new-value-label{font-size:.75rem;color:var(--text-muted)}.customer-view-properties-multi-tag-desc-input{width:100%;padding:.35rem .5rem;border:1px solid var(--border-primary);border-radius:6px;background:var(--bg-primary);font-family:inherit;font-size:.8125rem;color:var(--text-primary);outline:none}.customer-view-properties-multi-tag-desc-input:focus{border-color:var(--accent-primary)}.customer-view-properties-multi-tag-new-value-actions{display:flex;flex-wrap:wrap;gap:.35rem}.customer-view-properties-multi-tag-desc-add{padding:.3rem .65rem;border:none;border-radius:6px;background:var(--accent-primary);color:var(--text-on-accent,#fff);font-family:inherit;font-size:.75rem;font-weight:500;cursor:pointer}.customer-view-properties-multi-tag-desc-add:hover:not(:disabled){filter:brightness(1.05)}.customer-view-properties-multi-tag-desc-add:disabled{opacity:.6;cursor:not-allowed}.customer-view-properties-multi-tag-desc-cancel{padding:.3rem .65rem;border:1px solid var(--border-primary);border-radius:6px;background:transparent;font-family:inherit;font-size:.75rem;color:var(--text-muted);cursor:pointer}.customer-view-properties-multi-tag-desc-cancel:hover:not(:disabled){background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-properties-dropdown{min-width:12rem;max-height:min(70vh,20rem);overflow-x:hidden;overflow-y:auto}.customer-view-properties-picker-empty{display:block;padding:.35rem .5rem;font-size:.8rem;color:var(--text-muted);font-style:italic}.customer-view-properties .customer-view-details-grid{margin-top:0}.customer-view-properties-tags{display:flex;flex-wrap:wrap;gap:.375rem;align-items:center;flex:1 1;min-width:0}.customer-view-properties-tag{position:relative;display:inline-flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding:.25rem .5rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:9999px;font-size:.8125rem;color:var(--text-primary);white-space:normal;overflow:visible}.customer-view-properties-tag-remove{display:inline-flex;align-items:center;justify-content:center;padding:0;width:16px;height:16px;border:none;border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .15s ease,background .15s ease}.customer-view-properties-tag-remove:hover{color:var(--text-primary);background:var(--bg-tertiary)}.customer-view-properties-add-wrap{position:relative;margin-top:.5rem}.customer-view-properties-add-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;border:1px dashed var(--border-color);border-radius:6px;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-muted);cursor:pointer;transition:border-color .15s ease,color .15s ease}.customer-view-properties-add-btn:hover{border-color:var(--accent-primary);color:var(--accent-primary)}.customer-view-properties-add-btn svg{width:12px;height:12px}.customer-view-properties-picker{min-width:180px;max-height:280px;overflow-y:auto;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);z-index:50;padding:.35rem}.customer-view-properties-picker-title{font-size:.7rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;padding:.25rem .35rem;margin-bottom:.25rem}.customer-view-properties-picker-back{display:block;width:100%;padding:.35rem .5rem;border:none;border-radius:4px;background:transparent;font-family:inherit;font-size:.8rem;color:var(--text-muted);cursor:pointer;text-align:left;margin-bottom:.25rem}.customer-view-properties-picker-back:hover{background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-properties-picker-item{display:block;width:100%;padding:.35rem .5rem;border:none;border-radius:4px;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-primary);cursor:pointer;text-align:left;transition:background .1s ease}.customer-view-properties-picker-item:hover{background:var(--bg-tertiary)}.customer-view-properties-picker-header{min-width:220px;max-height:320px}.customer-view-properties-picker-new-prop{margin-top:.25rem;border-top:1px solid var(--border-color);padding-top:.5rem;font-weight:500;color:var(--accent-primary)}.customer-view-properties-picker-new-prop:hover{color:var(--accent-primary)}.customer-view-properties-empty{margin:0 0 .5rem;font-size:.8125rem;color:var(--text-muted)}.customer-view-properties-create-form,.customer-view-properties-new-value-form{display:flex;flex-direction:column;gap:.35rem;padding:.15rem 0}.customer-view-properties-form-input{width:100%;box-sizing:border-box;padding:.35rem .5rem;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;font-size:.8125rem}.customer-view-properties-form-input::placeholder{color:var(--text-muted)}.customer-view-properties-form-checkbox{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--text-muted);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.customer-view-properties-form-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.15rem}.customer-view-properties-form-cancel,.customer-view-properties-form-submit{padding:.3rem .55rem;border-radius:6px;font-family:inherit;font-size:.75rem;cursor:pointer;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary)}.customer-view-properties-form-submit{background:var(--accent-primary);border-color:var(--accent-primary);color:var(--bg-primary)}.customer-view-properties-form-submit:hover{filter:brightness(1.05)}.customer-view-properties-form-cancel:hover{background:var(--bg-tertiary)}.customer-view-properties-new-value-section{margin-top:.25rem;padding-top:.35rem;border-top:1px solid var(--border-color)}.customer-view-properties-new-value-hint{display:block;margin-bottom:.25rem;padding:0;font-style:normal}.customer-view-properties-new-value-toggle{display:block;width:100%;padding:.35rem .5rem;border:none;border-radius:4px;background:transparent;font-family:inherit;font-size:.75rem;font-weight:500;color:var(--accent-primary);cursor:pointer;text-align:left}.customer-view-properties-new-value-toggle:hover{background:var(--bg-tertiary)}.customer-view-open-actions{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.customer-view-open-actions-header{display:flex;align-items:center;gap:.375rem;margin-bottom:.5rem}.customer-view-open-actions-label{font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.customer-view-open-actions-count{font-size:.625rem;font-weight:600;color:#3b82f6;background:rgba(59,130,246,.1);border-radius:9999px;padding:.0625rem .375rem;line-height:1.4}.customer-view-action-card{display:flex;align-items:flex-start;gap:.375rem;padding:.375rem .25rem;border-radius:6px;margin-bottom:.125rem;transition:background .1s ease}.customer-view-action-card:hover{background:var(--bg-secondary)}.customer-view-action-checkbox{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;margin:0;border:none;background:transparent;cursor:pointer;flex-shrink:0;border-radius:3px;transition:all .15s ease;color:var(--text-muted,#9ca3af);position:relative;top:2px}.customer-view-action-checkbox:hover{color:var(--text-secondary,#6b7280);background:var(--bg-tertiary,#f3f4f6)}.customer-view-action-checkbox.checked{color:#16a34a}.customer-view-action-checkbox svg{width:14px;height:14px}.customer-view-action-content{flex:1 1;min-width:0;cursor:pointer}.customer-view-action-title{font-size:.8125rem;font-weight:500;color:var(--text-primary);line-height:1.3;display:block;word-break:break-word}.customer-view-action-card:hover .customer-view-action-title{color:var(--accent-primary,#2563eb)}.customer-view-more-dropdown{position:relative;flex-shrink:0}.customer-view-more-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;border-radius:6px;font-size:1rem;font-weight:700;letter-spacing:1px;color:var(--text-muted);cursor:pointer;transition:all .15s ease;font-family:inherit;line-height:1}.customer-view-more-btn:hover{background:var(--bg-tertiary);color:var(--text-secondary)}.customer-view-more-menu{position:absolute;top:100%;right:0;margin-top:4px;min-width:160px;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:8px;box-shadow:var(--shadow-lg);z-index:50;padding:.25rem;display:flex;flex-direction:column}.customer-view-more-menu-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .6rem;background:transparent;border:none;border-radius:6px;font-size:.8rem;color:var(--text-secondary);cursor:pointer;transition:background .1s;text-decoration:none;font-family:inherit;white-space:nowrap;text-align:left;width:100%}.customer-view-more-menu-item:hover{background:var(--bg-tertiary);color:var(--text-primary)}.customer-view-more-menu-item svg{width:13px;height:13px;flex-shrink:0}.customer-view-more-menu-item-danger:hover{color:var(--accent-danger)}.merge-modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}.merge-modal{background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:12px;width:min(90vw,480px);max-height:70vh;display:flex;flex-direction:column;box-shadow:var(--shadow-xl)}.merge-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem .75rem;border-bottom:1px solid var(--border-primary)}.merge-modal-header h3{font-size:.9rem;font-weight:600;color:var(--text-primary);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-modal-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:6px;flex-shrink:0}.merge-modal-close:hover{background:var(--bg-tertiary);color:var(--text-secondary)}.merge-modal-search{margin:.75rem 1rem;padding:.5rem .75rem;border:1px solid var(--border-primary);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:.85rem;outline:none;font-family:inherit}.merge-modal-search:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.merge-modal-results{flex:1 1;overflow-y:auto;padding:0 .5rem;min-height:100px;max-height:300px}.merge-modal-empty{padding:1.5rem;text-align:center;color:var(--text-muted);font-size:.8rem}.merge-modal-item{display:flex;flex-direction:column;gap:.15rem;width:100%;padding:.6rem .75rem;background:transparent;border:none;border-radius:8px;cursor:pointer;transition:background .1s;text-align:left;font-family:inherit}.merge-modal-item:hover{background:var(--bg-tertiary)}.merge-modal-item:disabled{opacity:.5;cursor:not-allowed}.merge-modal-item-name{font-size:.85rem;font-weight:500;color:var(--text-primary)}.merge-modal-item-detail{font-size:.75rem;color:var(--text-muted)}.merge-modal-item-plan{display:inline-block;font-size:.65rem;padding:.1rem .35rem;border-radius:4px;font-weight:500;margin-top:.15rem}.merge-modal-hint{padding:.75rem 1rem;font-size:.75rem;color:var(--text-muted);border-top:1px solid var(--border-primary)}.enrichment-modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}.enrichment-modal{background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:12px;width:min(92vw,1100px);max-height:85vh;display:flex;flex-direction:column;box-shadow:var(--shadow-xl)}.enrichment-modal-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid var(--border-primary);flex-shrink:0}.enrichment-modal-header h3{font-size:.9rem;font-weight:600;color:var(--text-primary);margin:0;white-space:nowrap}.enrichment-modal-header-actions{display:flex;align-items:center;gap:.25rem}.enrichment-modal-search-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:6px;transition:all .15s ease}.enrichment-modal-search-toggle:hover{background:var(--bg-tertiary);color:var(--text-secondary)}.enrichment-modal-search-toggle svg{width:15px;height:15px}.enrichment-modal-search-wrapper{display:flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border:1px solid var(--border-primary);border-radius:8px;background:var(--bg-secondary);transition:border-color .15s ease,box-shadow .15s ease}.enrichment-modal-search-wrapper:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.1)}.enrichment-modal-search-wrapper>svg{width:14px;height:14px;color:var(--text-muted);flex-shrink:0}.enrichment-modal-search{width:180px;padding:0;border:none;background:transparent;color:var(--text-primary);font-size:.8rem;outline:none}.enrichment-modal-search-close{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:4px;flex-shrink:0;transition:all .15s ease}.enrichment-modal-search-close:hover{color:var(--text-secondary)}.enrichment-modal-search-close svg{width:12px;height:12px}.enrichment-modal-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:6px;flex-shrink:0;transition:all .15s ease}.enrichment-modal-close:hover{background:var(--bg-tertiary);color:var(--text-secondary)}.enrichment-modal-body{flex:1 1;overflow-y:auto;display:grid;grid-template-columns:280px 1fr;min-height:0}.enrichment-modal-sidebar{border-right:1px solid var(--border-primary)}.enrichment-modal-main,.enrichment-modal-sidebar{padding:.5rem 1rem 1rem;overflow-y:auto}.enrichment-modal-empty{padding:1.5rem;text-align:center;color:var(--text-muted);font-size:.8rem;grid-column:1/-1}.enrichment-entry{padding:.5rem 0;border-bottom:1px solid var(--border-light,var(--border-primary))}.enrichment-entry:last-child{border-bottom:none}.enrichment-entry-header{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.125rem}.enrichment-entry-label{font-size:.8rem;font-weight:600;color:var(--text-primary)}.enrichment-entry-provider{font-size:.6875rem;color:var(--text-muted);font-style:italic}.enrichment-entry-value{font-size:.8rem;color:var(--text-secondary);line-height:1.5;word-break:break-word;white-space:pre-wrap}.enrichment-highlight{background:rgba(250,204,21,.3);color:inherit;border-radius:2px;padding:0 1px}.enrichment-group{margin-bottom:.75rem}.enrichment-group:last-child{margin-bottom:0}.enrichment-group-title{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:.5rem 0 .25rem;border-bottom:1px solid var(--border-primary);margin-bottom:.25rem}.enrichment-thumb-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.enrichment-thumb-btn{display:flex;padding:0;background:transparent;border:1px solid var(--border-primary);border-radius:6px;cursor:pointer;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.enrichment-thumb-btn:hover{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(229,47,114,.12)}.enrichment-thumb{max-height:48px;max-width:120px;object-fit:contain;display:block}.enrichment-color-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.enrichment-color-swatch{display:flex;align-items:center;gap:.375rem}.enrichment-color-circle{display:inline-block;width:20px;height:20px;border-radius:50%;border:1px solid var(--border-primary);flex-shrink:0}.enrichment-color-label{font-size:.75rem;color:var(--text-secondary);font-family:SF Mono,SFMono-Regular,Menlo,Consolas,monospace}.enrichment-color-type{color:var(--text-muted);font-style:italic}.enrichment-markdown{font-size:.8rem;line-height:1.6;color:var(--text-secondary);margin-top:.25rem}.enrichment-markdown h1,.enrichment-markdown h2,.enrichment-markdown h3,.enrichment-markdown h4{font-size:.85rem;font-weight:600;color:var(--text-primary);margin:.75rem 0 .25rem}.enrichment-markdown h1{font-size:.95rem}.enrichment-markdown p{margin:.375rem 0}.enrichment-markdown a{color:var(--accent-primary);text-decoration:none}.enrichment-markdown a:hover{text-decoration:underline}.enrichment-markdown ol,.enrichment-markdown ul{padding-left:1.25rem;margin:.375rem 0}.enrichment-markdown li{margin:.125rem 0}.enrichment-markdown code{font-family:SF Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem;background:var(--bg-tertiary);padding:1px 4px;border-radius:3px}.enrichment-markdown pre{background:var(--bg-tertiary);padding:.5rem;border-radius:6px;overflow-x:auto;margin:.375rem 0}.enrichment-markdown pre code{background:none;padding:0}.enrichment-markdown img{max-width:100%;border-radius:4px}.enrichment-markdown blockquote{border-left:3px solid var(--border-primary);padding-left:.75rem;margin:.375rem 0;color:var(--text-muted)}.enrichment-location{display:flex;align-items:center;gap:.375rem;font-size:.8rem;color:var(--text-secondary)}.enrichment-location-flag{font-size:1.1rem;line-height:1}.enrichment-profile-list{display:flex;flex-direction:column;gap:.25rem;margin-top:.125rem}.enrichment-profile-link{font-size:.8rem;color:var(--accent-primary);text-decoration:none;word-break:break-all}.enrichment-profile-link:hover{text-decoration:underline}.enrichment-tag-list{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.25rem}.enrichment-tag{display:inline-block;font-size:.7rem;padding:.125rem .5rem;border-radius:999px;background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border-primary)}.enrichment-country-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.enrichment-country-row{display:inline-flex;align-items:center;gap:.25rem;font-size:.8rem;color:var(--text-secondary)}.enrichment-country-flag{font-size:1rem;line-height:1}.enrichment-country-count{font-weight:600}.enrichment-country-name{color:var(--text-muted);font-size:.75rem}.customer-view-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;transition:all .15s ease;flex-shrink:0;border-radius:6px}.customer-view-close:hover{background:rgba(239,68,68,.08);color:var(--accent-danger)}.customer-view-content{flex:1 1;overflow-y:auto;padding:1rem}.customer-view-messages-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-light)}.customer-view-messages-title{display:flex;align-items:center;gap:.375rem;font-size:.8rem;font-weight:500;color:var(--text-primary)}.customer-view-messages-title .slack-icon{display:none}.customer-view-messages-grid{display:flex;flex-direction:column;gap:.5rem}.customer-view-messages-grid .message-card{animation:none;opacity:1;transform:none}.customer-view-tabs{display:flex;gap:0;padding:0 1rem;background:var(--bg-secondary);border-bottom:1px solid var(--border-primary);flex-shrink:0}.customer-view-tab{display:flex;align-items:center;gap:.375rem;padding:.75rem 1rem;background:transparent;border:none;border-bottom:2px solid transparent;font-family:inherit;font-size:.8rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.customer-view-tab:hover:not(.active){color:var(--text-secondary)}.customer-view-tab.active{color:var(--accent-primary);border-bottom-color:var(--accent-primary)}.customer-view-tab svg{width:14px;height:14px}.tab-count{padding:.125rem .375rem;background:var(--bg-tertiary);border-radius:4px;font-size:.65rem;color:var(--text-muted)}.customer-view-tab.active .tab-count{background:var(--accent-primary-light);color:var(--accent-primary)}.customer-view-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-light);font-size:.8rem;font-weight:500;color:var(--text-secondary)}.section-count{font-size:.7rem;font-weight:500;color:var(--text-muted)}.customer-view-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:1.5rem;gap:1.5rem;align-items:start}.customer-view-column{display:flex;flex-direction:column;gap:1.5rem;min-width:0}.customer-view-section{background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:12px;padding:1rem}.customer-view-section .customer-view-section-header{margin-bottom:1rem}.customer-view-mobile-tabs,.customer-view-snap-dots,.customer-view-timeline-controls{display:none}.customer-timeline-page{display:flex;flex-direction:column;flex:1 1;min-width:0;min-height:0;overflow:hidden}.customer-view-main-pane-tabs{display:flex;flex-shrink:0;gap:0;padding:0 .75rem;background:var(--bg-primary);border-bottom:1px solid var(--border-primary)}.customer-view-main-pane-tab{padding:.625rem 1rem;margin-bottom:-1px;background:transparent;border:none;border-bottom:2px solid transparent;font-family:inherit;font-size:.8125rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:color .15s ease,border-color .15s ease}.customer-view-main-pane-tab:hover:not(.active){color:var(--text-secondary)}.customer-view-main-pane-tab.active{color:var(--accent-primary);border-bottom-color:var(--accent-primary)}.customer-view-properties-tab-body{flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.customer-view-properties.customer-view-properties--main{margin-top:0;padding:1rem 1.5rem 1.5rem;border-top:none;max-width:min(48rem,100%)}.customer-view-properties--main .customer-view-properties-header--main{display:flex;align-items:flex-start;justify-content:flex-end;gap:1rem;margin-bottom:1rem}.customer-view-properties.customer-view-properties--main .customer-view-details-grid{align-items:stretch;row-gap:.125rem;column-gap:0}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key,.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-value{padding-top:.5rem;padding-bottom:.5rem}.customer-view-properties.customer-view-properties--main .customer-view-details-key{display:flex;align-items:center;justify-content:space-between;gap:.5rem;white-space:normal}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(odd),.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(odd)+.customer-view-details-value,.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(odd)+.customer-view-details-value+.customer-view-properties-assignment-col{background-color:var(--bg-secondary)}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(2n),.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(2n)+.customer-view-details-value,.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:nth-of-type(2n)+.customer-view-details-value+.customer-view-properties-assignment-col{background-color:var(--bg-tertiary)}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key{padding-left:.5rem;border-top-left-radius:6px;border-bottom-left-radius:6px}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key+.customer-view-details-value{padding-right:.25rem}.customer-view-properties.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key+.customer-view-details-value+.customer-view-properties-assignment-col{padding-right:.5rem;border-top-right-radius:6px;border-bottom-right-radius:6px}.customer-view-properties-add-labeled-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.375rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:6px;font-family:inherit;font-size:.8125rem;font-weight:500;color:var(--text-primary);cursor:pointer;transition:background .15s ease,border-color .15s ease;flex-shrink:0}.customer-view-properties-add-labeled-btn:hover{background:var(--bg-tertiary);border-color:var(--text-muted)}.customer-view-properties-add-labeled-btn svg{width:14px;height:14px}.customer-view-properties--main .customer-view-details-grid{grid-template-columns:minmax(10rem,14rem) minmax(0,1fr) minmax(12rem,17rem);gap:.5rem 0;align-items:start}.customer-view-properties--main .customer-view-properties-assignment-col{display:flex;justify-content:flex-start;align-items:flex-start;min-width:0}.customer-view-properties-assignment-col-inner{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;min-width:0}.customer-view-properties-assignment-collapse-toggle{display:inline-flex;align-items:center;border:1px solid var(--border-primary);background:var(--bg-secondary);color:var(--text-muted);border-radius:6px;font-family:inherit;font-size:.6875rem;line-height:1.2;padding:.2rem .4rem;cursor:pointer}.customer-view-properties-assignment-collapse-toggle:hover{color:var(--text-primary);border-color:var(--text-muted)}.customer-view-properties-assignment-list{display:flex;flex-direction:column;gap:.28rem}.customer-view-properties-assignment-caption--column{padding:0;font-size:.72rem;line-height:1.35}.customer-view-properties--main .customer-view-details-value-btn{min-height:2.25rem;padding:.375rem .5rem}.customer-view-properties--main .customer-view-properties-dropdown{min-width:16rem;max-height:min(75vh,24rem)}.customer-view-properties--main .customer-view-properties-picker-header{min-width:220px;max-height:min(70vh,320px)}.customer-view-properties--main .customer-view-properties-empty{font-size:.9375rem;margin:.5rem 0 1rem}.customer-view-properties--main .customer-view-property-assignment-note-textarea{min-height:4.5rem}@media (max-width:600px){.customer-view-properties.customer-view-properties--main{max-width:none;padding:.75rem}.customer-view-properties--main .customer-view-details-grid{grid-template-columns:1fr;gap:.25rem 0}.customer-view-properties--main .customer-view-properties-assignment-col{margin-bottom:.3rem}.customer-view-properties--main .customer-view-details-key{margin-top:.5rem}.customer-view-properties--main .customer-view-details-grid>.customer-view-details-key:first-of-type{margin-top:0}}.customer-view-summary-oneliner{display:none}@media (max-width:1024px){.customer-view-grid{grid-template-columns:1fr}.customer-view-column{gap:1rem}}@media (max-width:768px){.customer-view-panel{width:100vw}.customer-view-header{padding:.5rem .75rem;gap:.375rem}.customer-view-back{width:28px;height:28px}.customer-view-back svg{width:14px;height:14px}.customer-view-info{flex:1 1;min-width:0;gap:0}.customer-view-name{font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-view-company{font-size:.7rem}.customer-view-nav-arrows{display:none}.customer-view-stage-wrapper .customer-view-stage-badge{padding:.2rem .5rem;font-size:.65rem}.customer-view-stage-wrapper .customer-view-stage-badge svg{width:10px;height:10px}.customer-view-issue-flag{font-size:.65rem;padding:.2rem .4rem}.customer-view-issue-flag svg{width:10px;height:10px}.customer-view-payment-failed-flag{font-size:.65rem;padding:.2rem .4rem}.customer-view-payment-failed-flag svg{width:10px;height:10px}.customer-view-llm-cost,.customer-view-plan{font-size:.6rem;padding:.15rem .4rem}.customer-view-more-btn{width:28px;height:28px;font-size:.75rem}.customer-view-close{width:28px;height:28px}.customer-view-close svg{width:14px;height:14px}.customer-view-stage-popover{right:auto;left:0;min-width:min(380px,calc(100vw - 2rem));max-width:calc(100vw - 2rem)}.customer-view-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.customer-view-tabs::-webkit-scrollbar{display:none}.customer-view-tab{padding:.625rem .75rem;font-size:.75rem;white-space:nowrap;flex-shrink:0}.customer-view-chin,.customer-view-mobile-tabs{display:none}.customer-view-body{flex-direction:row;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.customer-view-body::-webkit-scrollbar{display:none}.customer-view-summary-section{border-right:none;border-bottom:none;padding:.75rem}.customer-timeline-page,.customer-view-summary-section{min-width:100%;max-width:100%;flex-shrink:0;scroll-snap-align:start;overflow-y:auto}.customer-timeline-page{display:flex;flex-direction:column}.customer-timeline-page>.customer-timeline{flex:1 1;min-height:0}.customer-timeline-page>.customer-view-properties-tab-body{flex:1 1;min-height:0;display:flex;flex-direction:column;min-width:0}.customer-view-summary-oneliner{display:block;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-color)}.customer-view-summary-oneliner .customer-view-chin-oneliner{font-size:.875rem;white-space:normal;word-break:break-word}.customer-view-summary-oneliner .customer-view-chin-oneliner-input{font-size:16px!important}.customer-view-snap-dots{display:flex;justify-content:center;align-items:center;gap:6px;padding:4px 0;flex-shrink:0}.customer-view-snap-dot{width:6px;height:6px;border-radius:50%;background:var(--border-primary);border:none;padding:0;cursor:pointer;transition:all .2s ease}.customer-view-snap-dot.active{background:var(--text-primary);width:8px;height:8px}.customer-view-timeline-controls{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-bottom:1px solid var(--border-primary);flex-shrink:0}.customer-view-timeline-controls .timeline-add-dropdown{margin-left:auto;flex-shrink:0}.customer-view-content{padding:.75rem}.customer-view-grid{gap:1rem}.customer-view-section{padding:.75rem;border-radius:10px}.customer-view-messages-header{flex-direction:column;align-items:flex-start;gap:.375rem}.customer-view-messages-title{font-size:.85rem}.customer-view-email-remove{opacity:1}.customer-view-email-outportal-user{opacity:.6}.customer-view-email-outportal-user.active{opacity:1}.customer-view-more-menu{right:0;max-width:calc(100vw - 2rem)}}.tag-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:var(--accent-primary-light);border:1px solid rgba(229,47,114,.2);border-radius:6px;font-size:.75rem;font-weight:500;color:var(--accent-primary);white-space:nowrap;transition:all .15s ease}.tag-badge svg{width:10px;height:10px;opacity:.7}.tag-badge-clickable{cursor:pointer}.tag-badge-clickable:hover{background:rgba(229,47,114,.12);border-color:rgba(229,47,114,.3)}.tag-badge-neutral.tag-badge-clickable:hover{background:var(--bg-tertiary,rgba(0,0,0,.06));border-color:var(--border-secondary,rgba(0,0,0,.15))}.tag-badge-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:2px;margin-right:-4px;background:rgba(229,47,114,.15);border:none;border-radius:50%;color:var(--accent-primary);font-size:12px;line-height:1;cursor:pointer;transition:all .15s ease}.tag-badge-remove:hover{background:rgba(239,68,68,.15);color:var(--accent-danger)}.tag-badge-removable .tag-badge-remove{opacity:0;width:0;margin:0;padding:0;overflow:hidden;transition:all .15s ease}.tag-badge-removable:hover .tag-badge-remove{opacity:1;width:14px;margin-left:2px;margin-right:-4px}.tag-input-container{display:flex;align-items:flex-start;flex:1 1;min-width:0}.tag-input-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.tag-input-wrapper{position:relative}.tag-input{width:80px;padding:3px 6px;background:var(--bg-secondary);border:1px solid transparent;border-radius:6px;font-size:.75rem;color:var(--text-primary);outline:none;transition:all .15s ease}.tag-input:focus{background:var(--bg-primary);border-color:var(--accent-primary);width:120px}.tag-input::placeholder{color:var(--text-placeholder)}.tag-suggestions{position:absolute;top:calc(100% + 4px);left:0;min-width:180px;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:10px;box-shadow:var(--shadow-lg);overflow:hidden;z-index:100;animation:tagDropdownIn .15s ease}@keyframes tagDropdownIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tag-suggestion{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;background:transparent;border:none;font-size:.8rem;color:var(--text-primary);cursor:pointer;transition:all .1s ease;text-align:left}.tag-suggestion svg{width:12px;height:12px;color:var(--accent-primary);flex-shrink:0}.tag-suggestion-selected,.tag-suggestion:hover{background:var(--bg-secondary)}.tag-suggestion-create{border-top:1px solid var(--border-light);font-weight:500}.tag-suggestion-create,.tag-suggestion-create svg{color:var(--accent-primary)}.tag-add-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:transparent;border:1px dashed var(--border-primary);border-radius:6px;font-size:.75rem;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.tag-add-btn svg{width:10px;height:10px}.tag-add-btn:hover{border-color:var(--accent-primary);color:var(--accent-primary);background:var(--accent-primary-light)}.tag-badge-neutral{background:var(--bg-secondary);border-color:var(--border-primary);color:var(--text-secondary)}.tag-badge-neutral svg{color:var(--text-muted)}.tag-badge-neutral .tag-badge-remove{background:rgba(0,0,0,.08);color:var(--text-muted)}.tag-badge-neutral .tag-badge-remove:hover{background:rgba(239,68,68,.15);color:var(--accent-danger)}.tag-filter-banner{display:flex;align-items:center;gap:8px;padding:6px 10px;margin-bottom:.5rem;background:var(--accent-primary-light);border:1px solid rgba(229,47,114,.12);border-radius:8px;font-size:.7rem;color:var(--text-secondary)}.tag-filter-banner .tag-badge{font-size:.75rem;padding:3px 8px}.tag-filter-clear{margin-left:auto;padding:4px 10px;background:transparent;border:1px solid var(--border-primary);border-radius:6px;font-size:.75rem;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.tag-filter-clear:hover{border-color:rgba(239,68,68,.3);color:var(--accent-danger);background:rgba(239,68,68,.05)}.sync-btn{display:flex;align-items:center;gap:4px;padding:5px 8px;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:6px;color:var(--text-muted);font-size:.7rem;cursor:pointer;transition:all .15s ease}.sync-btn:hover:not(:disabled){background:var(--bg-tertiary);color:var(--text-secondary)}.sync-btn:disabled{opacity:.5;cursor:not-allowed}.sync-btn-text{display:none}@media (min-width:600px){.sync-btn-text{display:inline}}.sync-icon-spinning{animation:spin 1s linear infinite;will-change:transform}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.add-message-btn{display:flex;align-items:center;gap:4px;padding:5px 8px;background:var(--accent-primary);border:none;border-radius:6px;color:#fff;font-size:.7rem;font-weight:500;cursor:pointer;transition:all .15s ease}.add-message-btn:hover{background:var(--accent-primary-hover)}.add-message-btn-text{display:none}@media (min-width:600px){.add-message-btn-text{display:inline}}.add-message-modal{width:100%;max-width:480px;max-height:85vh;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:14px;display:flex;flex-direction:column;animation:modalSlideUp .25s cubic-bezier(.16,1,.3,1) forwards;box-shadow:var(--shadow-xl)}.add-message-form{padding:1.25rem;display:flex;flex-direction:column;gap:1.125rem}.add-message-field{display:flex;flex-direction:column;gap:.5rem}.add-message-field label{font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.add-message-type-selector{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:4px;gap:4px;background:var(--bg-secondary);border-radius:10px;padding:4px;border:1px solid var(--border-light)}.add-message-type-btn{padding:.5rem .625rem;background:transparent;border:none;border-radius:6px;font-family:inherit;font-size:.8rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.add-message-type-btn:hover:not(.add-message-type-btn-active){color:var(--text-secondary);background:var(--bg-primary)}.add-message-type-btn-active{background:var(--accent-primary);color:#fff}.add-message-textarea{width:100%;padding:.75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:10px;font-family:inherit;font-size:.875rem;line-height:1.5;color:var(--text-primary);resize:vertical;min-height:100px;outline:none;transition:all .15s ease}.add-message-textarea:focus{border-color:var(--accent-primary);background:var(--bg-primary)}.add-message-textarea::placeholder{color:var(--text-placeholder)}.add-message-customer-search{position:relative}.add-message-customer-search input{width:100%;padding:.625rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:10px;font-family:inherit;font-size:.85rem;color:var(--text-primary);outline:none;transition:all .15s ease}.add-message-customer-search input:focus{border-color:var(--accent-primary);background:var(--bg-primary)}.add-message-customer-search input::placeholder{color:var(--text-placeholder)}.add-message-customer-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:10px;box-shadow:var(--shadow-lg);z-index:10;overflow:hidden;animation:tagDropdownIn .15s ease}.add-message-customer-option{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;width:100%;padding:.625rem .875rem;background:transparent;border:none;cursor:pointer;transition:all .1s ease;text-align:left}.add-message-customer-option:hover{background:var(--bg-secondary)}.add-message-customer-name{font-size:.85rem;font-weight:500;color:var(--text-primary)}.add-message-customer-detail{font-size:.7rem;color:var(--text-muted)}.add-message-selected-customer{display:flex;align-items:center;justify-content:space-between;padding:.625rem .75rem;background:rgba(14,165,233,.06);border:1px solid rgba(14,165,233,.2);border-radius:10px;font-size:.85rem;font-weight:500;color:#0284c7}.add-message-clear-customer{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:rgba(14,165,233,.1);border:none;border-radius:50%;color:#0284c7;font-size:12px;cursor:pointer;transition:all .15s ease}.add-message-clear-customer:hover{background:rgba(239,68,68,.15);color:var(--accent-danger)}.add-message-actions{display:flex;justify-content:flex-end;gap:.625rem;padding-top:.5rem;border-top:1px solid var(--border-light);margin-top:.5rem}.add-message-actions .btn{padding:.625rem 1rem;font-size:.85rem}.add-message-actions .btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.add-message-input{width:100%;padding:.625rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:10px;font-family:inherit;font-size:.85rem;color:var(--text-primary);outline:none;transition:all .15s ease}.add-message-input:focus{border-color:var(--accent-primary);background:var(--bg-primary)}.add-message-input::placeholder{color:var(--text-placeholder)}.settings-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.settings-btn:hover{background:var(--bg-primary);color:var(--text-primary);border-color:var(--border-primary)}.settings-modal{width:100%;max-width:440px;max-height:85vh;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:14px;display:flex;flex-direction:column;animation:modalSlideUp .25s cubic-bezier(.16,1,.3,1) forwards;box-shadow:var(--shadow-xl)}.settings-loading{padding:3rem;display:flex;justify-content:center}.settings-form{padding:1.25rem;gap:1.25rem}.settings-field,.settings-form{display:flex;flex-direction:column}.settings-field{gap:.5rem}.settings-field label{font-size:.8rem;font-weight:600;color:var(--text-primary)}.settings-help{font-size:.75rem;color:var(--text-muted);line-height:1.5;margin:0}.settings-existing-key{display:flex;align-items:center;justify-content:space-between;padding:.625rem .75rem;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.2);border-radius:8px;margin-bottom:.5rem}.settings-masked-key{font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:.8rem;color:var(--text-secondary)}.settings-input-wrapper{position:relative;display:flex;align-items:center}.settings-input{width:100%;padding:.75rem 2.5rem .75rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:10px;font-family:inherit;font-size:.875rem;color:var(--text-primary);outline:none;transition:all .15s ease}.settings-input:focus{border-color:var(--accent-primary);background:var(--bg-primary)}.settings-input::placeholder{color:var(--text-placeholder)}.settings-toggle-visibility{position:absolute;right:.5rem;display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.settings-toggle-visibility:hover{background:var(--bg-secondary);color:var(--text-secondary)}.settings-error{font-size:.75rem;color:var(--accent-danger);margin:0}.settings-actions{display:flex;justify-content:flex-end;gap:.625rem;padding-top:.75rem;border-top:1px solid var(--border-light)}.settings-actions .btn{padding:.625rem 1rem;font-size:.85rem}.settings-checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400}.settings-checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent-primary);cursor:pointer;flex-shrink:0}.settings-field-label{font-size:.8rem;font-weight:600;color:var(--text-primary)}.settings-toggle-group{display:inline-flex;border:1px solid var(--border-primary);border-radius:6px;overflow:hidden}.settings-toggle-option{padding:6px 14px;font-size:.8rem;font-weight:500;background:var(--bg-secondary);color:var(--text-secondary);border:none;cursor:pointer;transition:background .15s,color .15s}.settings-toggle-option:not(:last-child){border-right:1px solid var(--border-primary)}.settings-toggle-option.active{background:var(--accent-primary);color:#fff}.settings-toggle-option:hover:not(.active){background:var(--bg-hover)}.settings-section-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding-bottom:.25rem}.settings-clear-confirm{display:flex;flex-direction:column;gap:.625rem;padding:.75rem;background:rgba(239,68,68,.06);border:1px solid rgba(239,68,68,.15);border-radius:8px}.settings-clear-warning{font-size:.75rem;color:var(--accent-danger);margin:0;line-height:1.5}.settings-clear-actions{display:flex;gap:.5rem;justify-content:flex-end}.settings-toggles{display:flex;flex-direction:column;gap:.25rem}.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;padding:.625rem 0}.settings-toggle-info{display:flex;flex-direction:column;gap:.125rem}.settings-toggle-label{font-size:.8rem;font-weight:500;color:var(--text-primary)}.settings-toggle-description{font-size:.7rem;color:var(--text-muted)}.toggle-switch{position:relative;width:36px;height:20px;flex-shrink:0;margin-left:1rem}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{cursor:pointer;inset:0;background:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:20px}.toggle-slider,.toggle-slider:before{position:absolute;transition:all .2s ease}.toggle-slider:before{content:"";height:14px;width:14px;left:2px;bottom:2px;background:var(--text-muted);border-radius:50%}.toggle-switch input:checked+.toggle-slider{background:var(--accent-primary);border-color:var(--accent-primary)}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(16px);background:#fff}.toggle-switch input:focus-visible+.toggle-slider{outline:2px solid var(--accent-primary);outline-offset:2px}.confirm-discard-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.25);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:2rem;animation:overlayFadeIn .2s ease forwards}.confirm-discard-dialog{background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:14px;padding:1.25rem;max-width:380px;width:100%;box-shadow:var(--shadow-xl);animation:modalSlideUp .2s cubic-bezier(.16,1,.3,1) forwards}.confirm-discard-dialog h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.confirm-discard-dialog p{font-size:.85rem;color:var(--text-secondary);margin-bottom:1.25rem;line-height:1.5}.confirm-discard-actions{display:flex;justify-content:flex-end;gap:.625rem}.confirm-discard-actions .btn{padding:.625rem 1rem;font-size:.85rem}@media (max-width:768px){.add-message-form,.settings-form{padding:1rem;gap:1rem}.add-message-modal,.settings-modal{max-width:calc(100vw - 2rem);border-radius:12px}}