/* Shared readable application typography and management screens. */
:root{--navy:#142b3e;--navy-light:#1c3c52;--green:#147d92;--green-dark:#10677a;--mint:#e8f5f7;--text:#263d4b;--muted:#708491;--line:#e3eaf0;--bg:#f4f7fa;--orange:#aa731f;--red:#b85252;font-size:14px}
body{background:var(--bg)}h1{font-size:25px;letter-spacing:-.5px}h2{font-size:21px}h3{font-size:16px}.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-top:29px;background:linear-gradient(170deg,#162f43,#122739)}.brand-mark{background:#98d7e0;color:#163d50}.brand-name{font-size:18px}.brand-description{color:#93afc2;font-size:10px;letter-spacing:1.2px}.sidebar-label{font-size:12px;color:#849caf;margin:32px 14px 13px;letter-spacing:.5px}.nav-menu{gap:5px}.nav-item{font-size:14px;padding:11px 14px;color:#b7c9d8;gap:12px}.nav-item.active{background:#234a61;color:#edfaff;box-shadow:inset 3px 0 0 #75c7d4}.nav-item:hover{background:#1d4057}.nav-badge{background:#72c4d2;color:#14374c;font-size:11px}.sidebar-bottom{padding-top:16px}.storage-note{border-color:#315067;color:#9cb4c5;font-size:11px;padding:12px;margin:12px 4px}.storage-note strong{color:#bed2de;font-size:12px}.storage-note svg{color:#8fcbd2}.user-panel{border-color:#2b465b}.user-name{font-size:13px}.user-role{font-size:11px;color:#99b3c6}.user-panel .avatar{background:#36566e;color:#cfe6ee}.user-panel .icon-button{color:#acc4d4}.topbar{height:67px;min-height:67px;background:#ffffffeb;padding:0 30px}.breadcrumb{font-size:13px;gap:12px}.breadcrumb svg{width:13px;height:13px}.breadcrumb span:last-child{font-weight:550;color:#526a7a}.topbar-right{font-size:12px}.date-chip{font-size:12px}.env-pill{font-size:11px;line-height:1.4;padding:5px 9px}.env-pill.connected{color:#357263;background:#f0f7f2}.page{padding:27px 30px 30px}.page-title-row{margin-bottom:23px}.page-title-row p{font-size:13px;color:#748998;margin-top:8px}.button{font-size:13px;padding:9px 14px;border-radius:8px;min-height:39px;font-weight:550}.button.small{font-size:12px;min-height:32px;padding:6px 10px}.button.primary{box-shadow:0 2px 3px #1048620a}.icon-button{width:34px;height:34px}.section-card{border-radius:12px;box-shadow:0 1px 3px #142b3e03}.section-head{padding:19px 22px}.section-head h3{font-weight:600}.section-head p{font-size:12px;color:#7a8e9b;margin-top:6px}.section-head>svg{color:#8099aa}.section-body{padding:22px}.empty{min-height:235px}.empty h3{font-size:16px;color:#587083}.empty p{font-size:13px;max-width:360px}.empty svg{color:#95b7c6}.notice{font-size:13px;background:#edf6f8;border-color:#d7eaf0;color:#5b7d90}.notice.amber{color:#937334;background:#fffaf0;border-color:#f0e6d1}.stat-label{font-size:12px;color:#7d92a0}.stat-value{font-size:29px}.stat-detail{font-size:11px;color:#7b8e9b}.stat-card.highlight{background:#ecf6f8;border-color:#daebf0}.stat-value small{color:#7b92a0}.field label{font-size:13px;font-weight:550;color:#566f80}.field input,.field select,.field textarea,.input{font-size:14px;border-color:#dbe5eb;border-radius:7px;padding:10px 11px}.field small{font-size:11px;line-height:1.6;color:#7a8e9d}.field input:focus,.field select:focus,.field textarea:focus{border-color:#67adbf;box-shadow:0 0 0 3px #7abdc716}.field textarea{line-height:1.75}.modal{width:480px}.modal-header h2{font-size:18px}.modal-body{gap:19px}.modal-text{color:#627c8e}.subtle-text{font-size:12px;color:#7c909f}.table-main{font-size:14px;color:#314f64}.table-sub{font-size:12px;color:#7c919f}.table-user .avatar{width:33px;height:33px}.table-wrap table{font-size:13px}.table-wrap th{font-size:12px;padding:14px 20px;background:#f7f9fb;color:#748996}.table-wrap td{padding:16px 20px;border-color:#eaf0f4}.table-footer{font-size:12px;color:#8597a4}.pill{font-size:11px}.pill.green{color:#25768b;background:#eaf5f8}.pill.gray{color:#8295a0;background:#f1f5f7}.row-select{font-size:12px;border-color:#dce7ed;color:#617f93;padding:7px 9px}.number-card{padding:21px}.number-card-name h3{font-size:15px}.number-card-name p{font-size:13px;color:#7792a2}.number-card-icon{background:#edf5f8;color:#5b93a9}.number-card-detail label{font-size:12px;color:#8299a7}.number-card-detail span{font-size:13px;color:#516f80}.role-card h3{font-size:14px}.role-card p{font-size:12px;color:#8094a2}.role-card svg{color:#6e9cae}.policy-item h3{font-size:14px}.policy-item p{font-size:12px;color:#7d929f}.policy-icon{background:#edf5f8;color:#6a9caf}.definition-list>div{font-size:13px;padding:12px 0}.definition-list dt{color:#8195a3;flex-shrink:0}.definition-list dd{color:#4f6d81}.avatar.teal{background:#e1eff2;color:#598b9f}.avatar.blue{background:#e8eff9;color:#6b85ab}.avatar.lilac{background:#eeeaf6;color:#8c79aa}.avatar.sand{background:#f5f0e5;color:#a2936a}.searchbox{background:#f4f7fa}.searchbox input{font-size:13px}.searchbox svg{color:#8da3b0}.toast{font-size:13px;color:#3c7285;border-color:#dbe9ee}.toast.error{color:#ad5c54}

/* Existing inbox keeps its original transport and interaction behavior. */
.inbox-summary{font-size:12px;gap:20px}.inbox-summary strong{font-size:15px;color:#42758c}.inbox-workspace{grid-template-columns:285px minmax(330px,1fr) 258px;border-color:#dde7ee}.conversation-panel,.contact-panel{border-color:#e3ebf0}.conversation-tools{padding:17px 16px 0}.number-select{font-size:13px;color:#587c8f;padding:9px 10px;min-height:37px}.conversation-filters{gap:21px}.filter-tab{font-size:12px;padding-bottom:12px;color:#839dab}.conversation-list{padding:8px}.conversation-item{padding:15px 10px;gap:11px}.conversation-item.active{background:#edf5fa}.conversation-item:hover{background:#f4f8fb}.conversation-item .avatar{width:39px;height:39px;font-size:13px}.conversation-name{font-size:13px;color:#3b586b}.conversation-time{font-size:11px;color:#829ba9}.conversation-preview{font-size:12px;line-height:1.55;color:#8197a7}.number-tag{font-size:10px;color:#92a5b0;max-width:190px}.unread-badge{font-size:10px;padding:1px 5px;line-height:15px}.conversation-footer{font-size:10px;color:#94a8b6}.chat-panel{background:#f5f8fa}.chat-header{height:77px;min-height:77px;padding:15px 21px}.chat-heading h2{font-size:16px;color:#294d63}.chat-heading p{font-size:11px;color:#7f9aab;margin-top:5px}.messages{padding:20px 23px;gap:19px;background:radial-gradient(#91a8b51b .6px,transparent .6px);background-size:14px 14px}.message-bubble{font-size:14px;line-height:1.8;border-color:#e0e8ee;background:#fff;padding:11px 14px}.message.outbound .message-bubble{background:#e5f1f7;border-color:#dcebf1}.message-sender{font-size:11px;margin-bottom:5px;color:#8a9eaa}.message-meta{font-size:10px;gap:6px;color:#8ca1ad;margin-top:5px}.message-meta svg{color:#81a7b7}.message>.avatar{width:28px;height:28px;font-size:10px}.date-separator{font-size:11px;margin-bottom:9px}.date-separator span{background:#eaf0f5;color:#839aaa}.composer{padding:13px 20px}.composer-identity{font-size:11px;color:#8da2ae}.composer textarea{font-size:14px;height:65px;color:#486777}.composer textarea::placeholder{color:#9dafbb}.composer-footnote{font-size:10px;color:#91a7b6}.send-hint{font-size:10px;color:#94a8b6}.send-button{font-size:13px;min-height:34px;padding:6px 13px}.contact-panel{padding:25px 21px}.contact-profile h3{font-size:16px;color:#416077}.contact-profile .phone{font-size:12px;color:#859eae}.contact-labels .pill{font-size:10px}.contact-section-heading{margin-bottom:16px}.contact-section-heading h3{font-size:13px}.detail-row dt{font-size:11px;color:#93a7b2}.detail-row dd{font-size:12px;color:#587a8e;line-height:1.8}.contact-notes{font-size:12px;line-height:1.8;background:#f8fafc;color:#69889b}.retention-box{font-size:10px;background:#f0f6f9;color:#7d9bab}.retention-box strong{font-size:11px;color:#6a91a4}.message-attachment strong{font-size:13px}.message-attachment small{font-size:11px;color:#90a6b5}.message-attachment svg{color:#7da2b4}.pending-file{font-size:12px;background:#ecf6fa;color:#6a95a7}.archive-message{font-size:13px}.archive-time{font-size:12px}.archive-toolbar .field label{font-size:12px}.archive-toolbar .field input,.archive-toolbar .field select{font-size:13px;height:38px}.archive-toolbar .button{font-size:13px;height:38px}

/* Manager workspace. */
.crm-page{gap:0;scrollbar-gutter:stable}.crm-page .page-title-row{margin-bottom:18px}.crm-period-select{border:1px solid #dce6ed;background:#fff;border-radius:8px;min-height:39px;padding:8px 30px 8px 12px;font-size:13px;color:#507184}.crm-data-context{display:flex;justify-content:space-between;gap:15px;color:#8197a6;font-size:12px;margin-bottom:18px;line-height:1.6}.crm-data-context>span:first-child{display:flex;align-items:center;gap:7px}.crm-data-context svg{width:14px;height:14px;color:#84a5b7}.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.crm-kpi{min-width:0;border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px 21px;display:flex;flex-direction:column;text-align:left;box-shadow:0 1px 3px #142b3e03;color:var(--text)}button.crm-kpi{transition:border-color .15s,box-shadow .15s,transform .15s}button.crm-kpi:hover{border-color:#aacbda;box-shadow:0 5px 17px #21465f0a;transform:translateY(-1px)}.crm-kpi.blue{background:#edf7fb;border-color:#d5eaf2}.crm-kpi-top{display:flex;justify-content:space-between;align-items:center;color:#617f93;font-size:13px;gap:8px}.crm-kpi-icon{background:#f1f5f8;color:#7a9aad;border-radius:9px;display:flex;align-items:center;justify-content:center;width:31px;height:31px}.crm-kpi-icon svg{width:16px;height:16px}.crm-kpi-icon.blue{background:#dbeef6;color:#38829f}.crm-kpi-icon.amber{background:#fff4e2;color:#b88b45}.crm-kpi-value{font-size:34px;line-height:1;font-weight:620;letter-spacing:-1px;margin:13px 0 11px;color:#294b62;display:flex;justify-content:space-between;align-items:center}.crm-kpi-value.blue{color:#207999}.crm-kpi-value.amber{color:#b2843d}.crm-kpi-value>span svg{width:16px;height:16px;color:#93afbf}.crm-kpi p{font-size:11px;color:#8098a7;line-height:1.6}.crm-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px;margin-bottom:22px}.crm-dashboard-grid>.section-card{min-width:0}.crm-attention-list{padding:0 21px}.crm-attention-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid #eaf0f4;padding:16px 0}.crm-attention-row:last-child{border-bottom:0}.crm-person-button{display:flex;align-items:center;text-align:left;gap:10px;color:inherit;min-width:0;padding:0;background:none;border:0}.crm-attention-row .crm-person-button{flex:1}.crm-person-button>span{min-width:0;display:flex;flex-direction:column;gap:5px}.crm-person-button strong{font-size:14px;font-weight:550;color:#36586e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.crm-person-button small{color:#859dad;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:265px}.crm-person-button:hover strong{color:var(--green)}.crm-attention-row>.button{font-size:11px;padding:5px 8px;min-height:31px}.crm-risk-tags{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.crm-pill{font-size:11px;line-height:1.5;display:inline-flex;align-items:center;padding:3px 7px;border-radius:5px;white-space:nowrap;color:#859aa8;background:#f0f4f7}.crm-pill.blue,.crm-pill.stage-qualified{color:#4186a2;background:#eaf5fa}.crm-pill.success,.crm-pill.stage-won{color:#4a917e;background:#eaf5ef}.crm-pill.amber,.crm-pill.stage-sample{color:#b4863f;background:#fdf3e1}.crm-pill.danger{color:#b96c68;background:#fbefed}.crm-pill.stage-lead{color:#7b91a4;background:#edf3f7}.crm-pill.stage-quoted{color:#6487b6;background:#edf2fc}.crm-pill.stage-negotiating{color:#8e7aaa;background:#f2edf9}.crm-pill.stage-lost{color:#939fa7;background:#f1f3f5}.crm-mini-tasks{padding:5px 21px}.crm-mini-task{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid #eaf0f4}.crm-mini-task:last-child{border:0}.crm-mini-task>div{min-width:0;flex:1}.crm-text-button{background:none;border:0;padding:0;color:#365a70;font-size:14px;text-align:left;line-height:1.6;font-weight:550;overflow-wrap:anywhere}.crm-text-button:hover{color:#187991}.crm-mini-task p{font-size:11px;color:#899eac;margin:4px 0 6px}.crm-mini-task small{font-size:11px;color:#91a5b1;display:flex;align-items:center;gap:5px}.crm-mini-task small svg{width:12px;height:12px}.crm-task-check{width:21px;height:21px;border:1.5px solid #cedde6;border-radius:6px;background:white;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:transparent;padding:2px;margin-top:2px;transition:color .15s,border-color .15s}.crm-task-check svg{width:16px;height:16px}.crm-task-check:hover{border-color:#4f9aad;background:#ebf7fb;color:#4f9aad}.crm-card-footer{padding:15px 21px;border-top:1px solid #eaf0f4}.crm-card-footer .button{width:100%;font-size:12px}.crm-pipeline-card{margin-bottom:22px}.crm-pipeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:20px 22px 23px;gap:18px}.crm-pipeline-step{border:0;padding:0;background:none;display:flex;align-items:flex-start;flex-direction:column;text-align:left;color:#6d91a7}.crm-pipeline-step>span{font-size:10px;color:#a2b4c0;width:100%;display:flex;gap:9px;align-items:center}.crm-pipeline-step>span i{height:1px;background:#e5edf3;flex:1}.crm-pipeline-step strong{font-size:25px;color:#456b82;font-weight:550;line-height:1;margin:13px 0 8px}.crm-pipeline-step label{font-size:12px;color:#7b95a5;cursor:pointer}.crm-stage-meter{width:100%;height:4px;background:#eff4f8;border-radius:3px;margin-top:13px;overflow:hidden}.crm-stage-meter i{display:block;height:100%;background:#86b6cc;border-radius:3px;min-width:0;max-width:100%}.crm-pipeline-step:hover label,.crm-pipeline-step:hover strong{color:var(--green)}.crm-pipeline-step.stage-won .crm-stage-meter i{background:#96c3b3}.crm-pipeline-step.stage-sample .crm-stage-meter i{background:#d9bd8b}.crm-pipeline-step.stage-lost .crm-stage-meter i{background:#b6c3ce}.crm-insights-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px;margin-bottom:22px}.crm-legend{display:flex;gap:16px;font-size:11px;color:#8ba0ae}.crm-legend span{display:flex;gap:5px;align-items:center}.crm-legend i{width:7px;height:7px;display:inline-block;border-radius:50%;background:#86b8cf}.crm-legend i.outbound{background:#376f98}.crm-chart{padding:17px 20px 16px}.crm-trend-chart{width:100%;height:185px;display:block;stroke:none;overflow:visible}.crm-trend-chart .grid-line{stroke:#e7eef4;stroke-width:1;stroke-dasharray:3 4}.crm-trend-chart text{fill:#95a9b6;font-size:10px;stroke:none;font-family:inherit}.crm-trend-chart .line-inbound{stroke:#93c4d7;fill:none;stroke-width:2}.crm-trend-chart .line-outbound{stroke:#376f98;fill:none;stroke-width:2.3}.crm-trend-chart .point-inbound{stroke:#fff;stroke-width:1;fill:#93c4d7}.crm-trend-chart .point-outbound{stroke:#fff;stroke-width:1;fill:#376f98}.crm-ai-teaser{padding:22px 24px;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(135deg,#f5faff,#edf6fb)}.crm-ai-orb{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid #dceaf4;background:#f9fcff;border-radius:12px;color:#6998b8}.crm-ai-orb svg{width:21px;height:21px}.crm-ai-teaser h3{font-size:16px;color:#3e6880;margin:17px 0 9px;line-height:1.6}.crm-ai-teaser p{font-size:12px;color:#849ead;line-height:1.9;margin-bottom:20px}.crm-ai-teaser .button{font-size:12px;border-color:#d9e7ee;color:#5c839b;background:#ffffffc9}.crm-ai-teaser small{font-size:10px;color:#8ba5b4;margin-top:12px}.crm-card-footnote{padding:15px 22px;font-size:12px;color:#839cac;border-top:1px solid #e9f0f4;line-height:1.8}.crm-muted{color:#8ba0ae;font-size:12px;line-height:1.75}.crm-text-danger{color:#b76d63!important}.crm-value-summary{margin-top:22px}.crm-currency-grid{display:flex;flex-wrap:wrap;padding:20px 22px;gap:18px}.crm-currency-grid>div{min-width:190px;flex:1;padding:0 20px 0 0;border-right:1px solid #e9eff3;display:flex;flex-direction:column;gap:8px}.crm-currency-grid>div:last-child{border:0}.crm-currency-grid strong{font-size:14px;color:#5b8298;margin-bottom:5px}.crm-currency-grid span{color:#92a4af;display:flex;justify-content:space-between;font-size:12px;gap:15px}.crm-currency-grid b{font-weight:500;color:#5a7b90}.crm-definitions{margin-top:22px;border:1px solid #e2ebf2;border-radius:9px;background:#f8fafc;color:#8098a9;font-size:12px;overflow:hidden}.crm-definitions summary{padding:13px 17px;cursor:pointer;font-size:12px;display:flex;gap:8px;align-items:center;list-style:none}.crm-definitions summary svg{width:15px;height:15px}.crm-definitions summary:after{content:'+';margin-left:auto;color:#91a6b5;font-size:16px}.crm-definitions[open] summary:after{content:'−'}.crm-definitions>div{padding:4px 17px 16px}.crm-definitions p{line-height:1.85;font-size:12px;margin-bottom:8px;color:#8199aa}.crm-definitions p:last-child{margin:0}.crm-definitions strong{font-weight:550;color:#608199;margin-right:14px}.crm-definitions pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;color:#7692a5;font-family:inherit}

.crm-readable-scope{margin:0}.crm-readable-scope>div{display:flex;gap:18px;padding:10px 0;border-bottom:1px solid #e8eff5;font-size:12px;line-height:1.8}.crm-readable-scope dt{flex-shrink:0;min-width:64px;color:#8aa5b8}.crm-readable-scope dd{margin:0;color:#698da7;overflow-wrap:anywhere}.crm-scope-limits{padding-left:19px;margin:16px 0 0;color:#8aa5b8;font-size:11px;line-height:1.9}.crm-scope-limits li{padding-left:3px;margin-bottom:5px}.crm-token-usage{display:flex;flex-wrap:wrap;gap:8px 18px;color:#99afbf;font-size:11px;line-height:1.8;padding-top:16px}.crm-token-usage>span{width:100%;color:#7293aa}.crm-token-usage b{font-weight:400}.crm-team-ref-list{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px}.crm-team-ref-list>div{display:flex;gap:12px;font-size:11px;line-height:1.7;color:#89a7bb}.crm-team-ref-list b{font-weight:550;color:#6c96b1;white-space:nowrap}.crm-team-ref-list span{overflow-wrap:anywhere}

/* Customer records and task queues. */
.crm-filterbar{padding:18px 20px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-bottom:1px solid #e5edf3;background:#fcfdfe}.crm-filterbar .searchbox{flex:1;min-width:220px;max-width:340px;min-height:39px;padding:8px 11px;border-color:#e1eaf0;background:white}.crm-filterbar .searchbox input{font-size:13px}.crm-filterbar select,.crm-task-selects select{border:1px solid #e1e9f0;border-radius:7px;min-height:38px;background:white;padding:7px 25px 7px 10px;color:#7793a7;font-size:12px;max-width:165px;min-width:100px}.crm-filterbar .button{font-size:12px;padding:8px 12px;min-height:38px}.crm-list-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 21px;gap:16px;color:#8ea4b2;font-size:12px;border-bottom:1px solid #edf2f6}.crm-list-heading strong{color:#557e98;font-size:14px;margin-right:4px;font-weight:600}.crm-customer-table td{vertical-align:middle}.crm-customer-table .crm-risk-tags{max-width:115px;gap:5px}.crm-customer-table .table-sub{font-size:11px}.crm-customer-table .crm-person-button strong{font-size:13px;max-width:205px}.crm-customer-table .crm-person-button small{max-width:205px}.crm-customer-table .crm-person-button .avatar{width:32px;height:32px;font-size:11px}.crm-table-tags{display:flex;gap:5px;margin:7px 0 0 43px}.crm-table-tags span{font-size:10px;color:#97aabb;background:#f4f7fa;border-radius:3px;padding:1px 5px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.crm-detail-back{display:flex;justify-content:space-between;align-items:center;margin:-3px 0 15px;gap:12px}.crm-detail-back .button{padding-left:0;font-size:12px}.crm-detail-back>span{font-size:12px;color:#8ca4b5}.crm-customer-hero{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px;align-items:center}.crm-customer-identity{display:flex;align-items:center;gap:18px;min-width:0}.crm-customer-identity>div:last-child{min-width:0}.crm-customer-identity h1{font-size:23px;line-height:1.4;color:#31566f;overflow-wrap:anywhere}.crm-customer-identity p{font-size:12px;color:#8aa3b5;margin:7px 0 10px;display:flex;gap:17px;flex-wrap:wrap}.crm-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:22px;align-items:start}.crm-detail-main,.crm-detail-aside{display:flex;flex-direction:column;gap:21px;min-width:0}.crm-detail-form{padding:22px}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.crm-form-grid .full{grid-column:1/-1}.crm-form-grid .field{gap:8px;min-width:0}.crm-form-grid label{font-size:12px;color:#69869b}.crm-form-grid input,.crm-form-grid textarea,.crm-form-grid select{font-size:13px;color:#4c738c;background:#fff;max-width:100%;min-width:0}.crm-money-input{display:flex;gap:7px}.crm-money-input input:first-child{flex:1;width:100%;min-width:0}.crm-money-input input:last-child{width:78px;text-transform:uppercase;flex-shrink:0}.crm-form-footer{padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.crm-form-footer>span{font-size:11px;color:#8ea6b6;line-height:1.7}.crm-form-footer>.button{font-size:12px}.crm-activity-form{padding:21px;border-bottom:1px solid #e5edf3}.crm-activity-form textarea{width:100%;resize:vertical;min-height:100px;border:1px solid #dde7ef;border-radius:8px;padding:12px 13px;outline:none;font-size:13px;line-height:1.85;color:#55798f;background:#fbfdfe}.crm-activity-form textarea:focus{border-color:#82b5c8;box-shadow:0 0 0 3px #82b5c818}.crm-activity-form>div{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:12px}.crm-activity-form>div>span{font-size:11px;color:#8ea7b8;line-height:1.7}.crm-activity-form .button{font-size:12px;min-height:35px}.crm-timeline{padding:21px}.crm-timeline-item{display:flex;gap:13px;position:relative;padding-bottom:24px}.crm-timeline-item:last-child{padding-bottom:0}.crm-timeline-item:before{position:absolute;content:'';width:1px;background:#e0eaf2;left:12px;top:26px;bottom:0}.crm-timeline-item:last-child:before{display:none}.crm-timeline-dot{width:25px;height:25px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#8aaabe;background:#eef5fa;border-radius:50%}.crm-timeline-dot svg{width:12px;height:12px}.crm-timeline-item>div{min-width:0;flex:1}.crm-timeline-item header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:3px}.crm-timeline-item header strong{font-weight:550;font-size:12px;color:#6588a0}.crm-timeline-item time{font-size:10px;color:#9ab0c0}.crm-timeline-item p{font-size:13px;color:#7291a5;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.crm-timeline-empty{padding:15px 0;font-size:12px;color:#9bafbf;line-height:1.8}.crm-detail-aside .section-head{padding:17px 20px}.crm-detail-aside .section-head h3{font-size:14px}.crm-detail-aside .section-body{padding:8px 20px 20px}.crm-detail-aside .definition-list>div{font-size:12px;gap:20px}.crm-last-message{background:#f4f8fb;padding:13px;border-radius:8px;margin-top:18px}.crm-last-message>span{font-size:10px;color:#9bb0bf}.crm-last-message p{font-size:12px;line-height:1.85;color:#7c99ad;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto}.crm-customer-tasks{padding:0 20px}.crm-customer-task{padding:18px 0;border-bottom:1px solid #e7eff5}.crm-customer-task:last-child{border:0}.crm-customer-task>div{display:flex;align-items:flex-start;gap:9px}.crm-customer-task strong{font-weight:500;font-size:12px;color:#60879f;line-height:1.75}.crm-customer-task p{font-size:11px;margin:7px 0 8px 30px;color:#9aafbf}.crm-customer-task>.crm-text-button{font-size:11px;margin-left:30px;font-weight:400;color:#89a5b9}.crm-task-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e6eef4;padding:0 20px;flex-wrap:wrap}.crm-tabs{display:flex;gap:24px;align-items:center;min-width:0;overflow:auto}.crm-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:19px 0 16px;white-space:nowrap;color:#88a1b2;font-size:13px}.crm-tabs button.active{color:#287e9b;border-bottom-color:#398eaa;font-weight:600}.crm-task-selects{display:flex;gap:8px;padding:9px 0}.crm-task-list{padding:0 22px}.crm-task-row{display:flex;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid #e7eef4}.crm-task-row:last-child{border:0}.crm-task-main{flex:1;min-width:0}.crm-task-main>.crm-text-button{font-size:14px}.crm-task-main p{display:flex;gap:9px;align-items:center;font-size:11px;color:#8aa3b4;margin-top:5px;flex-wrap:wrap}.crm-inline-link{background:none;border:0;color:#7198ae;font-size:inherit;padding:0;text-align:left}.crm-inline-link:hover{text-decoration:underline}.crm-task-due{display:flex;gap:7px;align-items:center;font-size:12px;color:#8ca7b9;min-width:125px}.crm-task-due>svg{width:14px;height:14px}.crm-task-due small{display:block;font-size:10px;margin-top:3px}.crm-task-actions{display:flex;gap:5px;align-items:center}.crm-task-status{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:6px;flex-shrink:0;background:#edf5f8;color:#7fa3b6}.crm-task-status.completed{background:#edf6f1;color:#79ac94}.crm-task-status.cancelled{background:#f1f4f7;color:#9eb0bb}.crm-task-status svg{width:15px;height:15px}.crm-task-row.done .crm-task-main>.crm-text-button{color:#91a9b8}.crm-task-row.done .crm-task-due{color:#a6b7c3}

/* Manual AI analysis, with explicit outbound-data scope. */
.crm-ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.crm-ai-main{min-width:0;display:flex;flex-direction:column;gap:22px}.crm-ai-config{padding:23px}.crm-ai-config-heading{display:flex;gap:13px;align-items:center}.crm-ai-config-heading>div{flex:1;min-width:0}.crm-ai-config-heading h3{font-size:16px;color:#426c87;line-height:1.5}.crm-ai-config-heading p{font-size:12px;color:#8aa4b8;margin-top:5px;line-height:1.8;overflow-wrap:anywhere}.crm-ai-config-heading>.crm-pill{font-size:11px}.crm-ai-generate-controls{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:23px 0 20px;padding-top:22px;border-top:1px solid #e8eff5}.crm-ai-generate-controls>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#7594aa}.crm-ai-generate-controls .crm-period-select{min-width:180px;font-size:13px}.crm-ai-generate-controls .button{font-size:13px}.crm-checkbox-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer;line-height:1.7}.crm-checkbox-row input{width:16px;height:16px;margin:3px 0 0;flex-shrink:0;accent-color:#338ba4}.crm-checkbox-row span{display:flex;flex-direction:column;gap:4px}.crm-checkbox-row strong{font-size:13px;font-weight:500;color:#65869e}.crm-checkbox-row small{font-size:11px;line-height:1.7;color:#91a8ba}.crm-ai-scope{margin-top:17px;display:flex;gap:8px;align-items:flex-start;background:#f2f7fb;border:1px solid #e3edf5;padding:12px 13px;border-radius:8px;font-size:12px;color:#7e9eb4;line-height:1.85}.crm-ai-scope svg{width:15px;height:15px;margin-top:3px;color:#88adc4}.crm-ai-scope strong{font-weight:550;color:#9a7c45;overflow-wrap:anywhere}.crm-ai-scope.with-messages{color:#a78b60;background:#fffaf0;border-color:#f2e5ce}.crm-ai-scope.with-messages svg{color:#b99b68}.crm-ai-setup-hint{display:flex;align-items:flex-start;gap:8px;color:#8da6ba;font-size:12px;line-height:1.8;margin-top:17px}.crm-ai-setup-hint svg{width:16px;height:16px;margin-top:2px}.crm-ai-progress{display:flex;gap:14px;align-items:center;padding:21px;background:#edf6fb;border:1px solid #dbeaf5;border-radius:11px}.crm-ai-progress strong{font-size:13px;color:#658da6;font-weight:550}.crm-ai-progress p{font-size:12px;color:#8ba9bc;margin-top:5px;line-height:1.8}.crm-ai-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:43px 28px}.crm-ai-empty-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;color:#91b6cd;background:#eef6fb;border-radius:15px;border:1px solid #e2eef6;margin-bottom:19px}.crm-ai-empty-icon svg{width:26px;height:26px}.crm-ai-empty h3{font-size:18px;font-weight:550;color:#65869d;margin-bottom:12px}.crm-ai-empty>p{font-size:13px;color:#91a9bb;max-width:440px;line-height:1.9}.crm-ai-topics{display:flex;gap:21px;flex-wrap:wrap;justify-content:center;margin:25px 0 27px}.crm-ai-topics>span{display:flex;gap:6px;align-items:center;font-size:11px;color:#8eacbf}.crm-ai-topics svg{width:15px;height:15px}.crm-ai-empty>.button{font-size:12px;color:#799bb2;border-color:#e0eaf2}.crm-ai-history .section-head{padding:21px}.crm-ai-history .section-head h3{font-size:15px;color:#5f829b}.crm-ai-history .section-head p{font-size:11px;color:#97aec0}.crm-report-item{display:block;width:100%;text-align:left;padding:20px 21px;background:#fff;border:0;border-bottom:1px solid #e8eff5;color:#718fa5}.crm-report-item:last-child{border:0}.crm-report-item:hover{background:#f6fafe}.crm-report-item.active{background:#edf6fc;box-shadow:inset 3px 0 0 #66a8c5}.crm-report-item>div{display:flex;gap:10px;align-items:center;justify-content:space-between}.crm-report-item strong{font-size:13px;font-weight:550;color:#6386a0}.crm-report-item p{font-size:12px;color:#94adbf;line-height:1.8;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crm-report-item>span{font-size:10px;color:#a2b8c7}.crm-history-empty{font-size:12px;color:#a0b5c5;line-height:1.9;padding:29px 24px}.crm-report .section-head{align-items:flex-start}.crm-report .section-head h3{font-size:16px;color:#486f8b}.crm-report-content{padding:23px}.crm-report-scope{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px;color:#91adc1;margin-bottom:24px;flex-wrap:wrap}.crm-report-scope span{display:flex;gap:6px;align-items:center}.crm-report-scope svg{width:13px;height:13px}.crm-report-text{font:inherit;font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#4b708b;margin:0}.crm-report .crm-definitions pre{font-size:11px}.crm-report-sources{margin-top:25px;padding-top:19px;border-top:1px solid #e5eef5}.crm-report-sources>h4{font-size:12px;color:#7799b1;margin:0 0 13px;font-weight:550}.crm-source-chips{display:flex;gap:8px;flex-wrap:wrap}.crm-source-chips button{background:#f3f8fc;border:1px solid #e0ecf4;border-radius:6px;padding:7px 9px;font-size:11px;color:#7399b3;display:flex;align-items:center;gap:7px}.crm-source-chips button:hover{border-color:#9fc3d9;color:#4b86aa}.crm-source-chips button b{font-weight:600;color:#5188a9}.crm-source-chips button svg{width:12px;height:12px}.crm-settings-modal{width:535px}.crm-settings-intro{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;color:#809db2;padding:13px;background:#f0f7fc;border-radius:8px}.crm-settings-intro svg{width:17px;height:17px;margin-top:2px}.crm-settings-modal .field label{font-size:12px;color:#7696ac}.crm-settings-modal .field input{font-size:13px}.crm-settings-modal .field small{font-size:11px;color:#94aec0}

@media(min-width:1650px){.crm-page{padding-left:38px;padding-right:38px}.crm-kpis{gap:20px}.crm-dashboard-grid,.crm-insights-grid{grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr)}.crm-ai-layout{grid-template-columns:minmax(0,1fr) 325px}.crm-detail-grid{grid-template-columns:minmax(0,1fr) 330px}.crm-attention-row .crm-person-button strong{max-width:330px}.crm-inbox{grid-template-columns:310px minmax(400px,1fr) 280px}}
@media(max-width:1350px){.app-shell{grid-template-columns:202px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.page{padding:25px 24px}.inbox-workspace{grid-template-columns:260px minmax(300px,1fr)}.contact-panel{display:none}.contact-panel.open{display:block;position:absolute;top:180px;bottom:25px;right:24px;width:270px;z-index:15;box-shadow:-8px 0 30px #17334d14}.mobile-contact-toggle{display:flex}.crm-kpis{gap:12px}.crm-kpi{padding:17px}.crm-kpi-top{font-size:12px}.crm-kpi-value{font-size:31px}.crm-kpi p{font-size:10px}.crm-dashboard-grid,.crm-insights-grid{gap:17px;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}.crm-attention-row{gap:10px}.crm-attention-row .crm-person-button strong{max-width:180px;font-size:13px}.crm-attention-row .crm-person-button small{max-width:180px;font-size:10px}.crm-attention-row .crm-risk-tags{max-width:90px}.crm-attention-row .crm-person-button>.avatar{display:none}.crm-attention-row>.button{font-size:10px;padding:4px 7px;min-height:29px}.crm-attention-list{padding:0 18px}.crm-mini-tasks{padding:3px 18px}.crm-pipeline{gap:14px;padding:20px}.crm-detail-grid{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.crm-detail-form{padding:20px}.crm-form-grid{gap:19px 15px}.crm-ai-layout{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.crm-ai-config,.crm-report-content{padding:21px}.crm-task-row{gap:13px}.crm-task-due{min-width:108px;font-size:11px}.crm-legend{font-size:10px;gap:10px}.crm-insights-grid .section-head{padding:17px}.crm-insights-grid .section-head h3{font-size:15px}.crm-insights-grid .section-head p{font-size:11px}.crm-table th,.crm-table td{padding-left:17px;padding-right:17px}}
@media(max-width:1100px){.app-shell{grid-template-columns:80px minmax(0,1fr)}.sidebar{padding:25px 11px 18px}.brand{justify-content:center;padding:0}.brand-text,.sidebar-label,.nav-item span,.storage-note,.user-info{display:none}.nav-menu{margin-top:35px;gap:8px}.nav-item{justify-content:center;padding:12px}.nav-item svg{width:20px;height:20px}.nav-item.active{box-shadow:none;background:#264d66}.user-panel{justify-content:center;flex-direction:column;padding-top:17px}.user-panel>.icon-button{display:flex}.crm-dashboard-grid,.crm-insights-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.crm-task-toolbar{padding:0 18px;gap:0}.crm-tabs{gap:20px}.crm-tabs button{font-size:12px}.crm-task-selects{gap:7px}.crm-task-selects select{max-width:130px;font-size:11px}.crm-task-main p{font-size:10px}.crm-task-list{padding:0 20px}.crm-customer-hero .title-actions{gap:6px}.crm-customer-hero .title-actions .button{font-size:11px;padding:8px 10px}.crm-customer-identity h1{font-size:21px}.crm-customer-identity p{font-size:11px;gap:8px}.crm-customer-identity>.avatar{width:52px;height:52px;font-size:19px}.crm-customer-identity{gap:13px}.crm-ai-layout{grid-template-columns:minmax(0,1fr) 235px}.crm-ai-config-heading h3{font-size:15px}.crm-ai-config-heading p{font-size:11px}.crm-ai-config-heading>.crm-pill{display:none}.crm-ai-generate-controls .crm-period-select{min-width:150px}.crm-ai-generate-controls .button{font-size:12px}.crm-ai-config{padding:19px}.crm-report-content{padding:20px}.crm-ai-empty{padding:35px 23px}.crm-ai-topics{gap:14px}.inbox-workspace{grid-template-columns:255px minmax(290px,1fr)}.inbox-page .page-title-row p{font-size:12px}.contact-panel.open{top:179px}}
@media(max-width:900px){.page{padding:22px 20px}.topbar{padding:0 20px}.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crm-kpi{padding:18px 20px}.crm-kpi-top{font-size:13px}.crm-kpi p{font-size:11px}.crm-dashboard-grid{grid-template-columns:1fr}.crm-dashboard-grid>.section-card{min-width:0}.crm-attention-row .crm-person-button>.avatar{display:flex}.crm-attention-row .crm-person-button strong{max-width:250px;font-size:14px}.crm-attention-row .crm-person-button small{max-width:250px;font-size:11px}.crm-attention-row .crm-risk-tags{max-width:initial}.crm-attention-row>.button{font-size:12px;padding:6px 10px;min-height:32px}.crm-mini-tasks{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.crm-mini-task{padding:17px 0}.crm-mini-task:last-child{border-bottom:1px solid #eaf0f4}.crm-card-footer{border-top:0;padding-top:10px}.crm-card-footer .button{width:auto}.crm-pipeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}.crm-pipeline-step>span{display:none}.crm-pipeline-step strong{margin-top:0}.crm-insights-grid{grid-template-columns:1fr}.crm-ai-teaser{padding:21px 24px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:5px 15px}.crm-ai-teaser>.crm-ai-orb{grid-column:1;grid-row:1/3}.crm-ai-teaser h3{grid-column:2;font-size:15px;margin:0}.crm-ai-teaser p{grid-column:2;font-size:11px;margin:0}.crm-ai-teaser>.button{grid-column:3;grid-row:1/3;font-size:11px}.crm-ai-teaser>small{grid-column:2/4;margin-top:4px}.crm-detail-grid{grid-template-columns:1fr}.crm-detail-aside{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:18px}.crm-form-grid{gap:21px}.crm-ai-layout{grid-template-columns:1fr}.crm-ai-history>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.crm-report-item{border-right:1px solid #e6eef5}.crm-history-empty{grid-column:1/-1}.crm-ai-config-heading>.crm-pill{display:inline-flex}.crm-ai-config{padding:23px}.crm-ai-generate-controls .crm-period-select{min-width:180px}.crm-ai-config-heading h3{font-size:16px}.crm-ai-config-heading p{font-size:12px}.crm-task-row{flex-wrap:wrap;gap:11px}.crm-task-main{min-width:calc(100% - 50px);flex:1}.crm-task-due{margin-left:33px;flex:1;font-size:11px}.crm-task-actions{margin-left:auto}.crm-task-row>.crm-pill{font-size:10px}.inbox-workspace{grid-template-columns:225px minmax(260px,1fr)}.conversation-tools{padding:13px 12px 0}.conversation-filters{gap:17px}.conversation-name{font-size:12px}.conversation-preview{font-size:11px}.conversation-time{font-size:10px}.conversation-item .avatar{width:33px;height:33px;font-size:11px}.chat-header{padding:12px}.chat-heading h2{font-size:14px}.chat-heading p{font-size:10px}.chat-actions .icon-button{width:28px;height:28px;padding:6px}.messages{padding:17px 14px}.message-bubble{font-size:13px}.composer{padding:12px 14px}.composer textarea{font-size:13px}.contact-panel.open{right:20px;bottom:22px;top:176px}.send-hint{display:none}.crm-data-context{font-size:11px}}
@media(max-width:720px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;width:235px;padding:28px 17px 20px;top:0;bottom:0;left:0;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.brand{justify-content:flex-start;padding:0 10px}.brand-text,.sidebar-label,.nav-item span,.storage-note,.user-info{display:block}.sidebar-label{margin:28px 13px 12px}.nav-menu{margin-top:0;gap:4px;overflow:auto}.nav-item{justify-content:flex-start;padding:11px 14px;font-size:14px}.nav-item.active{box-shadow:inset 3px 0 0 #75c7d4}.user-panel{flex-direction:row;justify-content:flex-start;padding:17px 7px 0}.sidebar-bottom{padding-top:10px}.storage-note{margin:8px 4px 14px}.topbar{height:57px;min-height:57px;padding:0 13px}.breadcrumb{font-size:12px}.env-pill{font-size:9px;padding:4px 6px}.page{padding:22px 15px}.page-title-row{align-items:flex-start;gap:13px}.page-title-row h1{font-size:22px}.page-title-row p{font-size:12px;line-height:1.7;max-width:330px}.title-actions{gap:6px}.title-actions>.button{font-size:11px;padding:7px 9px;min-height:34px}.crm-period-select{font-size:11px;padding:7px 18px 7px 9px;min-height:34px}.crm-page .page-title-row{flex-wrap:wrap}.crm-page .page-title-row>.title-actions{margin-top:2px}.crm-data-context{font-size:10px;display:block;line-height:1.8;margin-bottom:15px}.crm-data-context>span:last-child{display:block;margin-top:3px;margin-left:21px;color:#9bb1c1}.crm-kpis{gap:10px;margin-bottom:18px}.crm-kpi{padding:15px 14px}.crm-kpi-top{font-size:11px;gap:6px}.crm-kpi-icon{width:26px;height:26px;border-radius:7px}.crm-kpi-icon svg{width:14px;height:14px}.crm-kpi-value{font-size:30px;margin:11px 0 9px}.crm-kpi p{font-size:10px;line-height:1.7}.crm-kpi-value>span svg{width:14px;height:14px}.crm-dashboard-grid,.crm-insights-grid{gap:18px;margin-bottom:18px}.section-head{padding:17px 16px;gap:10px}.section-head h3{font-size:15px}.section-head p{font-size:11px;line-height:1.7}.section-head>.button{font-size:10px;padding:5px 7px}.crm-attention-list{padding:0 16px}.crm-attention-row{gap:9px;flex-wrap:wrap;padding:16px 0}.crm-attention-row .crm-person-button{width:calc(100% - 80px);flex:1}.crm-attention-row .crm-person-button strong{font-size:13px;max-width:210px}.crm-attention-row .crm-person-button small{font-size:10px;max-width:210px}.crm-attention-row .crm-person-button>.avatar{width:32px;height:32px;font-size:10px}.crm-attention-row .crm-risk-tags{order:3;width:100%;margin-left:42px;gap:5px}.crm-attention-row .crm-risk-tags:empty{display:none}.crm-attention-row>.button{font-size:10px;padding:5px 8px;min-height:29px}.crm-pill{font-size:10px;padding:3px 6px}.crm-mini-tasks{display:block;padding:0 16px}.crm-mini-task{padding:17px 0}.crm-mini-task:last-child{border:0}.crm-mini-task p,.crm-mini-task small{font-size:11px}.crm-text-button{font-size:13px}.crm-mini-task .crm-text-button{font-size:13px}.crm-card-footer{padding:3px 16px 16px}.crm-card-footer .button{width:100%;font-size:12px}.crm-pipeline-card{margin-bottom:18px}.crm-pipeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 12px;padding:20px 16px}.crm-pipeline-step strong{font-size:24px}.crm-pipeline-step label{font-size:11px}.crm-stage-meter{margin-top:10px;height:3px}.crm-legend{font-size:10px;gap:9px;flex-wrap:wrap;justify-content:flex-end}.crm-legend span{white-space:nowrap}.crm-chart{padding:15px 13px}.crm-trend-chart{height:170px}.crm-ai-teaser{padding:20px;grid-template-columns:35px minmax(0,1fr);gap:5px 12px}.crm-ai-teaser>.crm-ai-orb{width:35px;height:35px}.crm-ai-teaser h3{font-size:14px}.crm-ai-teaser p{font-size:11px}.crm-ai-teaser>.button{grid-column:2;grid-row:auto;justify-self:start;margin-top:9px;font-size:11px}.crm-ai-teaser>small{grid-column:2;margin-top:5px;line-height:1.8;font-size:10px}.crm-table th{font-size:11px;padding:13px 16px}.crm-table td{font-size:12px;padding:15px 16px}.crm-table .table-main{font-size:12px}.crm-card-footnote{padding:13px 16px;font-size:11px}.crm-definitions{margin-top:18px}.crm-definitions summary{font-size:11px;padding:12px 14px}.crm-definitions p{font-size:11px}.crm-definitions>div{padding:0 14px 14px}.crm-currency-grid{padding:18px 16px;gap:20px}.crm-currency-grid>div{min-width:135px}.crm-currency-grid strong{font-size:13px}.crm-currency-grid span{font-size:11px}.crm-filterbar{padding:15px;gap:9px}.crm-filterbar .searchbox{min-width:100%;max-width:none;min-height:38px}.crm-filterbar select{min-width:calc(50% - 5px);max-width:none;flex:1;font-size:12px;height:37px}.crm-filterbar .button{flex:1;min-height:37px;font-size:12px}.crm-list-heading{padding:14px 16px;font-size:11px;align-items:flex-start;line-height:1.7}.crm-list-heading>span:last-child{text-align:right;max-width:60%}.crm-customer-table .crm-person-button strong{font-size:13px}.crm-customer-table .crm-person-button small{font-size:11px}.table-footer{font-size:11px;line-height:1.6;padding:13px 16px}.pagination .button{font-size:11px;padding:6px 8px;min-height:30px}.crm-detail-back{gap:8px;margin-bottom:13px}.crm-detail-back .button{font-size:11px}.crm-detail-back>span{font-size:10px;text-align:right}.crm-customer-hero{flex-wrap:wrap;gap:17px;margin-bottom:21px}.crm-customer-identity{gap:13px;width:100%}.crm-customer-identity>.avatar{width:49px;height:49px;font-size:18px}.crm-customer-identity h1{font-size:20px}.crm-customer-identity p{font-size:11px;gap:4px 12px;margin-top:5px}.crm-customer-hero>.title-actions{width:100%;justify-content:flex-end}.crm-customer-hero>.title-actions .button{font-size:12px;padding:8px 12px}.crm-detail-grid{gap:18px}.crm-detail-main,.crm-detail-aside{gap:18px}.crm-detail-aside{display:flex;flex-direction:column}.crm-form-grid{grid-template-columns:1fr;gap:19px}.crm-form-grid .full{grid-column:auto}.crm-detail-form{padding:19px 17px}.crm-form-grid label{font-size:12px}.crm-form-grid input,.crm-form-grid select,.crm-form-grid textarea{font-size:14px;min-height:41px}.crm-form-footer{flex-wrap:wrap;justify-content:flex-end;gap:13px;padding-top:19px}.crm-form-footer>span{width:100%;font-size:11px}.crm-form-footer>.button{font-size:12px}.crm-activity-form{padding:18px 17px}.crm-activity-form textarea{min-height:110px;font-size:13px;padding:11px}.crm-activity-form>div{gap:12px;align-items:flex-start}.crm-activity-form>div>span{font-size:10px;max-width:48%}.crm-activity-form .button{font-size:11px;padding:7px 10px}.crm-timeline{padding:19px 17px}.crm-timeline-item time{font-size:9px}.crm-timeline-item p{font-size:12px}.crm-timeline-item header strong{font-size:12px}.crm-detail-aside .section-body{padding:4px 17px 18px}.crm-detail-aside .definition-list>div{font-size:12px}.crm-customer-tasks{padding:0 17px}.crm-customer-task strong{font-size:13px}.crm-task-toolbar{padding:0 15px}.crm-tabs{gap:23px;max-width:100%;width:100%}.crm-tabs button{font-size:12px;padding:16px 0 13px}.crm-task-selects{padding:12px 0;gap:9px;width:100%;border-top:1px solid #ecf2f6;margin-top:0}.crm-task-selects select{max-width:none;min-width:0;flex:1;font-size:12px}.crm-task-list{padding:0 16px}.crm-task-row{padding:20px 0;gap:10px}.crm-task-main{min-width:calc(100% - 40px)}.crm-task-main>.crm-text-button{font-size:14px}.crm-task-main p{font-size:10px;gap:6px;line-height:1.8}.crm-task-due{margin-left:31px;min-width:100px;font-size:11px}.crm-task-due>svg{width:13px;height:13px}.crm-task-row>.crm-pill{font-size:9px}.crm-task-actions .button{font-size:10px;padding:5px 8px;min-height:28px}.crm-task-actions .icon-button{width:29px;height:29px;padding:6px}.crm-task-actions .icon-button svg{width:16px;height:16px}.crm-ai-layout,.crm-ai-main{gap:18px}.crm-ai-config{padding:19px 17px}.crm-ai-config-heading{gap:11px}.crm-ai-config-heading .crm-ai-orb{width:35px;height:35px;border-radius:10px}.crm-ai-config-heading h3{font-size:14px}.crm-ai-config-heading p{font-size:11px;margin-top:4px}.crm-ai-config-heading>.crm-pill{font-size:9px}.crm-ai-generate-controls{margin:20px 0 18px;padding-top:18px;gap:12px}.crm-ai-generate-controls>label{font-size:11px}.crm-ai-generate-controls .crm-period-select{min-width:140px;font-size:12px;height:36px}.crm-ai-generate-controls .button{font-size:11px;padding:8px 10px;min-height:36px}.crm-checkbox-row{gap:9px}.crm-checkbox-row strong{font-size:12px}.crm-checkbox-row small{font-size:10px}.crm-ai-scope{font-size:11px;line-height:1.9;padding:11px;gap:7px;margin-top:15px}.crm-ai-scope svg{width:14px;height:14px}.crm-ai-setup-hint{font-size:11px}.crm-ai-empty{padding:34px 23px}.crm-ai-empty h3{font-size:17px}.crm-ai-empty>p{font-size:12px}.crm-ai-topics{gap:12px;margin:21px 0 24px}.crm-ai-topics>span{font-size:10px;gap:5px}.crm-ai-topics svg{width:13px;height:13px}.crm-ai-history>div{grid-template-columns:1fr}.crm-report-item{padding:18px 20px;border-right:0}.crm-report-item strong{font-size:13px}.crm-report-item p{font-size:12px}.crm-report-item>span{font-size:10px}.crm-report .section-head{flex-wrap:wrap;gap:12px}.crm-report .section-head h3{font-size:15px}.crm-report .section-head>.crm-pill{font-size:10px}.crm-report-content{padding:20px 17px}.crm-report-scope{font-size:10px;gap:10px;margin-bottom:19px}.crm-report-text{font-size:13px;line-height:2}.crm-report-sources{margin-top:22px}.crm-source-chips{gap:7px}.crm-source-chips button{font-size:10px;padding:6px 8px}.crm-settings-modal .field input{font-size:14px}.crm-settings-intro{font-size:11px}.inbox-page{padding:20px 12px 12px}.inbox-page .page-title-row{align-items:center;margin-bottom:18px}.inbox-page .page-title-row p{font-size:11px}.inbox-summary{font-size:11px}.inbox-summary strong{font-size:13px}.inbox-workspace{display:flex}.conversation-panel{width:100%}.conversation-tools{padding:16px 15px 0}.conversation-filters{gap:28px}.filter-tab{font-size:12px}.conversation-list{padding:9px}.conversation-item{padding:16px 11px}.conversation-item .avatar{width:40px;height:40px;font-size:13px}.conversation-name{font-size:14px}.conversation-time{font-size:11px}.conversation-preview{font-size:12px}.number-tag{font-size:11px}.chat-header{height:67px;min-height:67px;padding:11px 9px;gap:8px}.chat-heading h2{font-size:14px}.chat-heading p{font-size:10px}.messages{padding:17px 12px;gap:18px}.message-bubble{font-size:14px;line-height:1.8;padding:10px 12px}.message-meta{font-size:9px}.message-sender{font-size:10px}.composer{padding:12px}.composer textarea{font-size:14px;height:60px}.composer-identity{font-size:10px}.composer-footnote{font-size:9px}.send-button{font-size:12px;min-height:33px}.contact-panel.open{top:67px;bottom:0;right:0;width:min(280px,88%);padding:21px}.login-brand-panel{background:var(--navy)}.login-form h2{font-size:24px}.login-form .subtitle{font-size:13px}.login-form .field label{font-size:13px}.login-note{font-size:11px}.login-divider{font-size:11px}.demo-actions .button{font-size:12px}}
@media(max-height:800px) and (min-width:721px){.sidebar{padding-top:24px}.sidebar-label{margin-top:23px}.nav-item{padding-top:10px;padding-bottom:10px}.nav-menu{gap:3px}.storage-note{margin-top:8px;margin-bottom:13px;padding:10px}.user-panel{padding-top:13px}.sidebar-bottom{padding-top:9px}}
@media(prefers-reduced-motion:reduce){button.crm-kpi:hover{transform:none}}

/* Authenticated customer avatars, inline images, and customer-local clocks. */
.avatar{position:relative;overflow:hidden}.avatar-initials{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;font:inherit;color:inherit}.avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar>img[hidden],.image-preview-surface>img[hidden]{display:none!important}.avatar-unavailable .avatar-initials{opacity:1}
.customer-locale{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;margin:9px 0 11px;font-size:12px;color:#6d8ba0;line-height:1.7}.customer-country,.customer-clock{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.customer-country>svg,.customer-clock>svg{width:13px;height:13px;color:#88a7b9}.customer-country-name{color:#567d95}.country-provenance{font-size:10px;color:#99acb8;font-weight:400;line-height:1.6}.customer-clock time{font-variant-numeric:tabular-nums;white-space:nowrap;color:#668aa1}.customer-time-unset{color:#a78b57;font-size:12px}.customer-zone-name{display:block;font-size:10px;line-height:1.7;color:#9aaebb;overflow-wrap:anywhere;margin-top:4px}.customer-locale.compact{font-size:10px;margin:5px 0 0;gap:3px 11px;line-height:1.55}.customer-locale.compact .country-provenance{font-size:9px}.customer-locale.compact .customer-country,.customer-locale.compact .customer-clock{gap:4px}.customer-locale.compact svg{width:11px;height:11px}.customer-locale.compact .customer-time-unset{font-size:10px}.chat-header{height:auto;min-height:102px}.chat-header>.chat-actions{align-self:flex-start;margin-top:2px}.chat-header>.avatar{align-self:flex-start;margin-top:5px}.chat-header>.back-to-list{align-self:flex-start;margin-top:4px}.contact-panel .detail-row dd .country-provenance{display:block;margin-top:3px}.customer-local-time-row time{font-size:12px;font-variant-numeric:tabular-nums;color:#618499;white-space:normal}.customer-time-edit{display:flex;align-items:center;gap:4px;background:none;border:0;padding:0;color:#6095ae;font-size:11px;margin-top:6px}.customer-time-edit>svg{width:11px;height:11px}.customer-time-edit:hover{text-decoration:underline}.crm-customer-identity .customer-locale{margin:8px 0 11px;font-size:12px;gap:6px 15px}.crm-customer-identity .customer-locale .country-provenance{font-size:10px}.crm-detail-aside .definition-list .country-provenance{display:block}.crm-detail-aside .definition-list time{font-variant-numeric:tabular-nums;white-space:normal}.time-zone-current{display:flex;align-items:flex-start;gap:7px;margin:2px 0 0;font-size:12px;color:#7f9caf;line-height:1.75}.time-zone-current>svg{width:14px;height:14px;margin-top:3px;color:#8badc1}.time-zone-current .customer-zone-name{font-size:10px;margin-top:2px}.time-zone-current .customer-time-unset{font-size:11px}.crm-form-grid select[name="timeZone"]{text-overflow:ellipsis}
.message-image-card{width:280px;max-width:min(100%,65vw);margin:1px 0 9px;white-space:normal;overflow:hidden;border-radius:7px;background:#ffffff70}.message-image-button{display:flex;align-items:center;justify-content:center;position:relative;border:1px solid #dfe9ed;border-radius:7px;padding:0;background:#edf2f4;overflow:hidden;width:100%;min-height:165px;color:#7995a5;cursor:zoom-in}.message-image-preview{width:100%;height:210px;object-fit:contain;display:block;background:repeating-conic-gradient(#f2f5f7 0% 25%,#e9eef1 0% 50%) 50% / 16px 16px}.image-enlarge-hint{display:flex;align-items:center;gap:4px;position:absolute;bottom:8px;right:8px;background:#173545ad;backdrop-filter:blur(3px);color:#fff;font-size:10px;border-radius:5px;padding:4px 6px;opacity:0;transition:opacity .15s;pointer-events:none}.image-enlarge-hint>svg{width:12px;height:12px}.message-image-button:hover .image-enlarge-hint,.message-image-button:focus-visible .image-enlarge-hint{opacity:1}.message-image-file{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px 2px;font-size:10px;color:#7b98a9;line-height:1.65}.message-image-file>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:235px}.message-image-file small{font-size:9px;color:#9bb0bb;display:block;line-height:1.5}.message-image-file>a{color:#7294a6;display:flex;align-items:center;justify-content:center;width:26px;height:27px;flex-shrink:0;border-radius:5px}.message-image-file>a:hover{background:#e2edf2;color:#39748e}.message-image-file>a>svg{width:16px;height:16px}.image-preview-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;gap:9px;color:#8ba1ad;min-height:175px;width:100%;font-size:12px;line-height:1.7;text-align:center}.image-preview-fallback>svg{width:30px;height:30px;color:#9cafb9}.image-preview-fallback small{font-size:10px;color:#a6b6be}.preview-failed .image-enlarge-hint{display:none}.image-preview-modal{width:920px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px)}.image-preview-modal .modal-header{padding:18px 22px}.image-preview-modal .modal-header h2{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 45px)}.image-preview-modal .modal-body{padding:0;background:#eff3f5;gap:0}.image-viewer{display:flex;align-items:center;justify-content:center;min-height:230px;max-height:calc(100dvh - 190px);overflow:auto;background:repeating-conic-gradient(#f3f5f7 0% 25%,#eaf0f3 0% 50%) 50% / 20px 20px}.image-viewer>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 215px);object-fit:contain}.image-viewer .image-preview-fallback{min-height:270px;padding:45px 25px;background:#f6f9fb}.image-viewer .image-preview-fallback strong{font-size:15px;font-weight:500;color:#7590a0}.image-viewer .image-preview-fallback p{font-size:12px;color:#96aab6}.image-viewer-caption{font-size:13px;color:#6d8c9f;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:15px 22px;border-top:1px solid #e0e9ee;background:#fbfcfd;max-height:150px;overflow:auto}.image-preview-modal .modal-actions{padding:14px 22px;background:#fff}.image-viewer-size{font-size:12px;color:#9aadb9;margin-right:auto}
@media(max-width:1350px) and (min-width:721px){.contact-panel.open{top:180px}}
@media(max-width:900px){.chat-header{min-height:108px;padding:12px}.customer-locale.compact{gap:4px 9px}.customer-locale.compact .country-provenance{font-size:9px}}
@media(max-width:720px){.chat-header{height:auto;min-height:112px;padding:11px 9px;gap:7px}.chat-header>.avatar{margin-top:4px}.chat-header>.chat-actions{margin-top:1px}.chat-heading h2{font-size:13px}.chat-heading p{font-size:9px;line-height:1.6;flex-wrap:wrap;gap:4px}.customer-locale.compact{font-size:9px;gap:4px;margin-top:5px;line-height:1.6;display:flex;flex-direction:column;align-items:flex-start}.customer-locale.compact .customer-country{gap:4px}.customer-locale.compact .customer-country-name{font-size:10px}.customer-locale.compact .country-provenance{font-size:8px}.customer-locale.compact .customer-clock{gap:4px;font-size:10px}.customer-locale.compact .customer-clock time{font-size:9px;white-space:normal}.customer-locale.compact .customer-time-unset{font-size:9px}.contact-panel.open{top:112px}.crm-customer-identity .customer-locale{font-size:11px;gap:6px;margin:7px 0 10px}.crm-customer-identity .customer-locale .customer-country{width:100%;gap:5px}.crm-customer-identity .customer-locale .country-provenance{font-size:9px}.crm-customer-identity .customer-locale .customer-clock{font-size:11px}.crm-customer-identity .customer-locale>span>svg{width:12px;height:12px}.time-zone-current{font-size:12px;line-height:1.8}.crm-form-grid select[name="timeZone"]{font-size:13px}.message-image-card{width:250px;max-width:59vw;margin-bottom:8px}.message-image-preview{height:185px}.message-image-button{min-height:150px}.message-image-file{font-size:10px;padding-top:7px}.message-image-file small{font-size:9px}.image-enlarge-hint{opacity:1;font-size:9px;padding:3px 5px;bottom:7px;right:7px}.image-preview-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);border-radius:12px}.modal-overlay:has(.image-preview-modal){padding:12px}.image-preview-modal .modal-header{padding:14px 15px}.image-preview-modal .modal-header h2{font-size:13px}.image-viewer{min-height:200px;max-height:calc(100dvh - 160px)}.image-viewer>img{max-height:calc(100dvh - 205px)}.image-viewer-caption{font-size:12px;padding:13px 15px;max-height:130px}.image-preview-modal .modal-actions{padding:12px 15px;gap:7px}.image-preview-modal .modal-actions>.button{font-size:11px;min-height:34px;padding:7px 10px}.image-viewer-size{font-size:10px}.image-viewer .image-preview-fallback{min-height:250px}}

/* On-demand, aggregate-only connector diagnostics. */
.connector-diagnostics{margin-top:0;background:#f8fbfd}.connector-diagnostics>div>p{font-size:11px;line-height:1.8}.connector-diagnostics>div>.button{margin:5px 0 2px;font-size:12px}.connector-diagnostics-state{display:flex;gap:5px 14px;flex-wrap:wrap;padding:15px 0 11px;font-size:11px;color:#7494a9;line-height:1.8}.connector-diagnostics-counts{display:grid;grid-template-columns:1fr 1fr;gap:0 17px;margin:0}.connector-diagnostics-counts>div{display:flex;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid #e6eef4;font-size:11px;line-height:1.8}.connector-diagnostics-counts dt{color:#8ba4b5}.connector-diagnostics-counts dd{margin:0;color:#477a97;font-size:13px;font-variant-numeric:tabular-nums;font-weight:550}.connector-diagnostics-times{margin:13px 0 0}.connector-diagnostics-times>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:11px;line-height:1.8}.connector-diagnostics-times dt{color:#8ba4b5;white-space:nowrap}.connector-diagnostics-times dd{margin:0;color:#6d91a8;text-align:right}.connector-diagnostics-stamp{font-size:10px!important;color:#9cafbb!important;margin-top:12px!important;line-height:1.8!important}.connector-diagnostics-error{font-size:12px;color:#b7806b;line-height:1.8;margin-top:13px}@media(max-width:720px){.connector-diagnostics-counts{column-gap:14px}.connector-diagnostics-counts>div{font-size:10px;gap:7px}.connector-diagnostics-times>div{font-size:10px}.connector-diagnostics-state{font-size:10px}}
