.crm-toolbar{grid-template-columns:minmax(0,1fr) minmax(9rem,.5fr) minmax(9rem,.5fr);gap:.75rem;margin-block:1.5rem 1rem;display:grid}.crm-dates{flex-wrap:wrap;align-items:end;gap:.75rem;margin-bottom:1rem;display:flex}.crm-dates label{min-width:0;color:var(--muted-foreground);gap:.35rem;font-size:.7rem;display:grid}.crm-dates label:first-child{width:11rem}.crm-table-wrap{border-block:1px solid var(--border);width:100%;overflow:auto}.crm-table{border-collapse:collapse;text-align:left;width:100%;min-width:960px;font-size:.75rem}.crm-table th{color:var(--muted-foreground);background:var(--surface-soft);padding:1rem .75rem;font-size:.66rem;font-weight:600}.crm-table td{border-top:1px solid var(--border);vertical-align:middle;padding:1rem .75rem}.crm-table tbody tr:hover{background:var(--accent)}.crm-table td time{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.68rem}.crm-table .crm-name{text-align:left;white-space:normal;justify-content:flex-start;height:auto;padding:0}.crm-name span{flex-direction:column;align-items:start;gap:.25rem;display:flex}.crm-name small{color:var(--muted-foreground);font-size:.65rem;font-weight:400}.crm-signature{flex-direction:column;gap:.3rem;display:flex}.crm-signature small{color:var(--muted-foreground);font-size:.65rem}.crm-pager{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:1rem;padding-block:1rem;font-size:.75rem;display:flex}.crm-pager>div{align-items:center;gap:.5rem;display:flex}.crm-profile{z-index:100;width:100%;overflow-y:auto;max-width:34rem!important}.crm-profile section{border-bottom:1px solid var(--border);padding-block:1.25rem}.crm-profile dl{grid-template-columns:1fr 1.5fr;gap:.65rem;font-size:.75rem;display:grid}.crm-profile dt{color:var(--muted-foreground)}.crm-profile dd{overflow-wrap:anywhere}.crm-profile form{gap:.8rem;display:grid}.crm-profile label{gap:.4rem;font-size:.75rem;display:grid}.crm-profile textarea{border:1px solid var(--border);background:var(--background);border-radius:6px;width:100%;min-height:5rem;padding:.75rem;font-size:.8rem}.crm-events{border-left:1px solid var(--border);margin-top:1rem;padding:0;list-style:none}.crm-events li{overflow-wrap:anywhere;padding:0 0 1.5rem 1rem}.crm-events time,.crm-events small{color:var(--muted-foreground);margin-top:.3rem;font-size:.7rem;display:block}.crm-events p{white-space:pre-wrap;margin-top:.5rem;font-size:.75rem}.crm-event-form{margin-top:1rem}.crm-checkbox{grid-template-columns:initial;align-items:start;gap:.5rem;line-height:1.5;display:flex!important}.crm-profile h3{font-family:var(--font-display);margin-bottom:.85rem;font-weight:600}.crm-empty{min-height:14rem;color:var(--muted-foreground);justify-content:center;align-items:center;gap:.75rem;display:flex}@media (width<=700px){.crm-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crm-toolbar .search-box{grid-column:1/-1;width:100%}.crm-dates{grid-template-columns:1fr 1fr;display:grid}.crm-dates label:first-child{grid-column:1/-1;width:100%}.crm-pager{flex-wrap:wrap}.crm-profile{padding:1.25rem}.crm-profile dl{grid-template-columns:1fr;gap:.25rem}.crm-profile dd{margin-bottom:.55rem}}.crm-management-bar{border-bottom:1px solid var(--border);align-items:center;gap:.4rem;min-width:0;padding-bottom:1rem;display:flex}.crm-management-bar button{white-space:nowrap;height:2.2rem;padding-inline:.6rem;font-size:.61rem}.crm-management-bar button svg{width:.85rem;height:.85rem}.crm-active-tab{color:var(--primary);background:var(--accent);white-space:nowrap;border-radius:4px;padding:.45rem .6rem;font-size:.7rem}.crm-counter{color:var(--muted-foreground);white-space:nowrap;margin-left:auto;font-size:.7rem}.crm-status-tabs{flex-wrap:wrap;align-items:center;gap:.2rem;margin-block:.7rem 1rem;display:flex}.crm-status-tabs>button{height:2rem;color:var(--muted-foreground);gap:.6rem;font-size:.63rem}.crm-status-tabs>button.active{color:var(--primary);background:var(--accent)}.crm-status-tabs>button span{opacity:.8;font-size:.6rem}.crm-workspace-controls{gap:.4rem;margin-left:auto;display:flex}.crm-workspace-controls select{max-width:11rem;height:2rem;font-size:.65rem}.crm-toolbar{grid-template-columns:minmax(0,1fr) 11rem 10rem auto}.crm-selection-bar{background:var(--accent);border-block:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem;font-size:.7rem;display:flex}.crm-selection-bar>span{color:var(--muted-foreground)}.crm-selection-bar button{height:2rem;font-size:.65rem}.crm-table{min-width:1080px}.crm-table th{white-space:nowrap;letter-spacing:0;font-size:.58rem}.crm-table th:first-child,.crm-table td:first-child{width:2.5rem}.crm-table th:nth-child(2){width:18%}.crm-table-wrap{max-height:65vh}.crm-table-wrap thead{z-index:1;position:sticky;top:0}.crm-table-wrap.is-compact td{height:2.4rem;padding:.4rem .65rem}.crm-table-wrap.is-compact th{padding:.7rem .65rem}.crm-table .crm-name{min-height:1.6rem;font-size:.72rem}.crm-table .crm-name strong{overflow-wrap:anywhere;max-width:16rem;font-weight:400}.crm-table .status-badge{border-radius:3px;padding:.12rem .35rem;font-size:.55rem}.crm-table tr.is-selected{background:var(--accent)}.crm-phone{white-space:nowrap;align-items:center;gap:.4rem;display:flex}.crm-phone a{color:var(--primary);text-underline-offset:3px;text-decoration:underline}.crm-phone button{width:1.5rem;height:1.5rem}.crm-phone button svg{width:.75rem;height:.75rem}.crm-file-dialog{z-index:100;width:calc(100% - 2rem);max-width:58rem;max-height:90vh;overflow-y:auto}.crm-file-body{gap:1rem;min-width:0;font-size:.8rem;display:grid}.crm-file-body label{gap:.35rem;min-width:0;font-size:.72rem;display:grid}.crm-file-steps{border-bottom:1px solid var(--border);padding:0;gap:1rem;padding-bottom:1rem;list-style:none;display:flex}.crm-file-steps li{color:var(--muted-foreground);align-items:center;gap:.5rem;font-size:.7rem;display:flex}.crm-file-steps li.active{color:var(--primary)}.crm-dropzone{border:1px dashed var(--primary);background:var(--accent);text-align:center;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-height:11rem;padding:1rem;position:relative;gap:.75rem!important;display:flex!important}.crm-dropzone>svg{color:var(--primary);width:2rem;height:2rem}.crm-dropzone span{color:var(--muted-foreground)}.crm-dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.crm-file-summary{align-items:center;gap:.75rem;display:flex}.crm-file-summary span{color:var(--muted-foreground)}.crm-mapping{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.crm-preview{border-block:1px solid var(--border);max-height:18rem;overflow:auto}.crm-preview td{overflow-wrap:anywhere;max-width:20rem;padding:.5rem}.crm-consent-import{border-block:1px solid var(--border);padding-block:.75rem}.crm-consent-import summary{cursor:pointer;color:var(--primary)}.crm-consent-import .crm-mapping{margin-block:1rem}.crm-validation-summary{flex-wrap:wrap;gap:1rem;display:flex}.crm-validation-summary div{gap:.25rem;display:grid}.crm-validation-summary strong{font-variant-numeric:tabular-nums;font-size:1.25rem}.crm-validation-summary span{color:var(--muted-foreground);font-size:.7rem}.crm-job-progress{gap:.5rem;display:grid}.crm-job-progress progress{width:100%;height:.5rem;accent-color:var(--primary)}.crm-job-progress span{color:var(--muted-foreground)}.crm-export-options{gap:.5rem;display:grid}.crm-export-options legend,.crm-export-columns legend{color:var(--muted-foreground);margin-bottom:.65rem}.crm-export-options label{border-bottom:1px solid var(--border);align-items:center;gap:.6rem;padding:.6rem;display:flex}.crm-export-options input{accent-color:var(--primary)}.crm-export-options b{color:var(--muted-foreground);margin-left:auto;font-weight:400}.crm-export-columns{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.crm-export-columns>label:first-of-type{grid-column:1/-1}.crm-format-switch{flex-wrap:wrap;gap:.5rem;display:flex}.crm-format-switch select{max-width:12rem}.crm-download-list{gap:.5rem;display:grid}.crm-download-name{text-overflow:ellipsis;white-space:nowrap;max-width:30rem;font-size:.68rem;overflow:hidden}.crm-history-item{border:1px solid var(--border);border-radius:6px;gap:.7rem;padding:1rem;display:grid}.crm-history-item header{align-items:center;gap:.75rem;display:flex}.crm-history-item header div{overflow-wrap:anywhere;flex:1;min-width:0}.crm-history-item strong,.crm-history-item small{display:block}.crm-history-item small,.crm-history-item p{color:var(--muted-foreground);font-size:.7rem}.crm-history-details{grid-template-columns:7rem 1fr;gap:.5rem;font-size:.7rem;display:grid}.crm-history-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:12rem;overflow:auto}@media (width<=1200px){.crm-management-bar{flex-wrap:wrap}.crm-counter{margin-right:0}.crm-management-bar>button:first-of-type{margin-right:auto}}@media (width<=700px){.crm-toolbar{grid-template-columns:1fr 1fr}.crm-toolbar .search-box{grid-column:1/-1}.crm-counter{margin-left:auto}.crm-workspace-controls{width:100%;margin-top:.5rem}.crm-mapping{grid-template-columns:1fr}.crm-file-steps{gap:.6rem}.crm-file-steps li{gap:.25rem;font-size:.6rem}.crm-file-dialog{padding:1rem}.crm-download-name{max-width:10rem}.crm-history-item{padding:.75rem}.crm-management-bar{gap:.5rem}}.inbox-layout{border:1px solid var(--border);background:var(--background);border-radius:8px;grid-template-columns:280px minmax(0,1fr);height:calc(100dvh - 150px);min-height:560px;display:grid;overflow:hidden}.inbox-layout:has(.inbox-contact){grid-template-columns:260px minmax(0,1fr) 250px}.inbox-list{border-right:1px solid var(--border);background:var(--card);flex-direction:column;gap:12px;min-width:0;min-height:0;padding:18px 14px;display:flex}.inbox-list-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.inbox-list-heading h2{font-family:var(--font-display);font-size:18px;font-weight:600}.inbox-list-heading h2 span{color:var(--primary);font-size:12px}.inbox-list-heading p{color:var(--muted-foreground);margin-top:4px;font-size:11px}.inbox-list-heading>svg{width:22px;color:var(--primary)}.inbox-search{position:relative}.inbox-search>svg{width:16px;color:var(--muted-foreground);position:absolute;top:12px;left:10px}.inbox-search input{padding-left:34px;font-size:12px}.inbox-conversations{flex:1;min-height:0;margin-inline:-14px;overflow-y:auto}.inbox-conversation{text-align:left;border-bottom:1px solid var(--border);align-items:flex-start;width:100%;min-height:110px;display:flex;white-space:normal!important;border-radius:0!important;justify-content:flex-start!important;gap:10px!important;height:auto!important;padding:14px!important}.inbox-conversation.selected{background:var(--accent)}.inbox-conversation-copy{flex:1;min-width:0;display:block}.inbox-conversation-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.inbox-conversation-copy small{color:var(--muted-foreground);font-size:10px}.inbox-conversation-copy p{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;margin-block:4px;font-size:12px;overflow:hidden}.inbox-conversation-copy em{color:var(--muted-foreground);font-size:9px;font-style:normal;font-weight:400}.inbox-conversation-meta{color:var(--muted-foreground);flex-direction:column;align-items:flex-end;gap:12px;font-size:10px;display:flex}.inbox-conversation-meta b{background:var(--primary);min-width:20px;height:20px;color:var(--primary-foreground);border-radius:50%;place-items:center;display:grid}.inbox-avatar{background:var(--secondary);width:34px;height:34px;color:var(--primary);border-radius:50%;flex-shrink:0;place-items:center;font-size:14px;font-weight:600;display:grid}.inbox-avatar.large{width:58px;height:58px;margin:20px auto 12px}.inbox-avatar.large svg{width:28px;height:28px}.inbox-sync{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:14px;font-size:11px;display:flex}.inbox-sync strong{font-weight:500}.inbox-sync span{color:var(--muted-foreground)}.inbox-sync progress{width:100%;accent-color:var(--primary)}.inbox-chat{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.inbox-chat-heading{border-bottom:1px solid var(--border);background:var(--surface-soft);align-items:center;gap:10px;min-height:74px;padding:14px 18px;display:flex}.inbox-chat-heading h2{overflow-wrap:anywhere;font-size:14px;font-weight:600}.inbox-chat-heading p{color:var(--muted-foreground);margin-top:4px;font-size:10px}.inbox-chat-heading>button:last-child{flex-shrink:0;margin-left:auto}.inbox-back{display:none!important}.inbox-welcome,.inbox-placeholder{text-align:center;color:var(--muted-foreground);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex}.inbox-welcome>span{background:var(--accent);width:76px;height:76px;color:var(--primary);border-radius:50%;place-items:center;display:grid}.inbox-welcome>span svg{width:34px;height:34px}.inbox-welcome h2{color:var(--foreground);font-family:var(--font-display);font-size:22px}.inbox-welcome p{max-width:280px;font-size:13px}.inbox-placeholder svg{width:28px;height:28px;color:var(--primary)}.inbox-placeholder strong{font-size:12px;font-weight:400}.inbox-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:12px;min-height:0;padding:20px;display:flex;overflow-y:auto}.inbox-day{text-align:center;color:var(--muted-foreground);margin:12px 0;font-size:10px}.inbox-bubble{border:1px solid var(--border);background:var(--card);overflow-wrap:anywhere;border-radius:8px;width:fit-content;max-width:86%;padding:10px 12px;animation:.2s ease-out inbox-arrive}.inbox-bubble.outgoing{background:var(--accent);margin-left:auto}.inbox-bubble>small{color:var(--muted-foreground);margin-bottom:6px;font-size:9px;display:block}.inbox-bubble>p{white-space:pre-wrap;font-size:13px;line-height:1.55}.inbox-bubble footer{color:var(--muted-foreground);justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;font-size:9px;display:flex}.inbox-bubble footer span{align-items:center;gap:4px;display:flex}.inbox-bubble footer svg{width:12px;height:12px}.inbox-bubble .inbox-message-error{color:var(--destructive);margin-top:6px;font-size:11px}.inbox-media img,.inbox-media video{border-radius:4px;max-width:100%;max-height:300px}.inbox-media audio{width:min(100%,260px)}.inbox-media a{color:var(--primary);font-size:12px;text-decoration:underline}.inbox-composer{border-top:1px solid var(--border);background:var(--surface-soft);padding:14px 18px;position:relative}.inbox-composer textarea,.inbox-contact textarea{resize:vertical;border:1px solid var(--border);background:var(--background);border-radius:6px;outline:none;width:100%;min-height:70px;max-height:160px;padding:10px;font-size:13px}.inbox-composer textarea:focus,.inbox-contact textarea:focus{border-color:var(--primary)}.inbox-composer-tools{align-items:center;gap:4px;margin-top:8px;display:flex}.inbox-composer-tools svg{width:18px;height:18px}.inbox-attach{cursor:pointer;width:36px;height:36px;color:var(--muted-foreground);border-radius:6px;place-items:center;display:grid}.inbox-attach:hover{background:var(--accent)}.inbox-attach.disabled{opacity:.4;cursor:not-allowed}.inbox-emojis{border:1px solid var(--border);background:var(--popover);border-radius:6px;flex-wrap:wrap;max-width:250px;padding:6px;display:flex;position:absolute;bottom:66px;left:16px}.inbox-attachment{align-items:center;gap:4px;font-size:11px;display:flex}.inbox-window{color:var(--muted-foreground);margin-bottom:10px;font-size:11px}.inbox-window a{color:var(--primary)}.inbox-contact{border-left:1px solid var(--border);background:var(--card);min-width:0;padding:18px 16px;overflow-y:auto}.inbox-contact header{justify-content:space-between;align-items:center;gap:6px;display:flex}.inbox-contact header h2{font-size:12px;font-weight:600}.inbox-contact header button{display:none}.inbox-contact h3{text-align:center;font-size:14px;font-weight:600}.inbox-contact>p{text-align:center;color:var(--muted-foreground);margin-top:4px;font-size:11px}.inbox-contact dl{margin-block:20px}.inbox-contact dt{color:var(--muted-foreground);margin-top:12px;font-size:10px}.inbox-contact dd{margin-top:3px;font-size:11px}.inbox-contact>label{margin-block:14px;font-size:11px;display:block}.inbox-contact>label input,.inbox-contact>label select,.inbox-contact>label textarea{margin-top:6px;font-size:12px}.inbox-contact>button{width:100%}.inbox-contact h4{margin-top:24px;font-size:12px;font-weight:600}.inbox-activity{border-top:1px solid var(--border);margin-top:8px;padding-block:10px;font-size:11px}.inbox-activity span{color:var(--muted-foreground);margin-top:4px;font-size:9px;display:block}.inbox-live{color:var(--muted-foreground);align-items:center;gap:6px;font-size:10px;display:flex}.inbox-live i{background:var(--muted-foreground);border-radius:50%;width:6px;height:6px}.inbox-live i.connected{background:var(--primary)}@keyframes inbox-arrive{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width<=1279px){.inbox-layout:has(.inbox-contact){grid-template-columns:260px minmax(0,1fr)}.inbox-contact{display:none}.inbox-layout.show-info .inbox-contact{z-index:40;width:min(300px,100%);display:block;position:absolute;inset:0 0 0 auto}.inbox-layout{position:relative}.inbox-contact header button{display:flex}}@media (width<=767px){:is(.inbox-layout,.inbox-layout:has(.inbox-contact)){grid-template-columns:minmax(0,1fr);height:calc(100dvh - 130px);min-height:480px}.inbox-list{border-right:0}.inbox-chat,.inbox-layout.has-chat .inbox-list{display:none}.inbox-layout.has-chat .inbox-chat{display:flex}.inbox-back{display:flex!important}.inbox-messages{padding:14px}.inbox-chat-heading{gap:8px;padding:10px}.inbox-composer{padding:12px}.inbox-bubble{max-width:92%}.inbox-live{max-width:100px;font-size:9px}.inbox-welcome h2{font-size:20px}}@media (prefers-reduced-motion:reduce){.inbox-bubble{animation:none}.inbox-messages{scroll-behavior:auto}}
