.sales-pipeline-enabled #view-deals>:not(#salesPipelineRoot):not(#crmRoot){display:none!important}
.sales-pipeline-enabled #crmRoot[hidden]{display:none!important}
.sales-pipeline-enabled #crmRoot>.crm-head,.sales-pipeline-enabled #crmRoot>.crm-tabs{display:none!important}
.sales-pipeline-enabled[data-huidi-view=deals] .main>.topbar,.sales-pipeline-enabled[data-huidi-view=deals] .main>.workflow,.sales-pipeline-enabled[data-huidi-view=deals] .main>.mode-strip{display:none!important}
.sp-root{--sp-blue:#2863ee;--sp-border:#e3e9f3;--sp-muted:#77869c;color:#1e2d47;padding:4px 0 20px;font-size:13px}
.sp-root button,.sp-root input,.sp-root select,.sp-root textarea{font:inherit}
.sp-root button:focus-visible,.sp-root input:focus-visible,.sp-root select:focus-visible,.sp-root textarea:focus-visible{outline:2px solid #2863ee;outline-offset:2px}
.sp-root button{cursor:pointer}.sp-root button:disabled{cursor:default;opacity:.5}
.sp-customer-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:0 0 4px;padding:0 0 10px}
.sp-customer-actions[hidden]{display:none}
.sp-customer-actions>div{display:flex;flex-wrap:wrap;gap:10px}
.sales-pipeline-enabled #crmRoot .crm-customer-layout .crm-subhead>.crm-quick{display:none}
.sales-pipeline-enabled #crmRoot .crm-deal-panel>.crm-subhead{margin-bottom:24px;align-items:flex-start}
.sales-pipeline-enabled #crmRoot .crm-deal-panel>.crm-subhead p{margin:8px 0 0;line-height:1.7}
.sales-pipeline-enabled #crmRoot .crm-deal-panel .crm-form-grid{gap:18px 16px}
.sales-pipeline-enabled #crmRoot .crm-deal-panel .crm-form-foot{flex-wrap:wrap;gap:12px;padding-top:4px}
.sales-pipeline-enabled #crmRoot .crm-deal-panel>h4{margin:28px 0 16px}
.sales-pipeline-enabled #crmRoot .crm-deal-panel .crm-timeline li{padding:10px 0 20px 16px;gap:12px;line-height:1.7}
.sales-pipeline-enabled #crmRoot .crm-deal-panel .crm-timeline small{margin-top:7px;line-height:1.7}
@media(max-width:600px){.sp-customer-actions{align-items:flex-start;flex-direction:column;gap:12px}.sp-customer-actions>div{width:100%;gap:8px}.sp-customer-actions .btn{flex:1 1 auto;min-height:38px}}
.sp-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 22px}
.sp-eyebrow{font-size:10px;color:#8796ac;letter-spacing:1.6px;font-weight:650}.sp-header h2{margin:6px 0;font-size:28px;letter-spacing:-.8px}.sp-header p{margin:0;color:var(--sp-muted);font-size:13px}.sp-header-actions{display:flex;gap:8px}.sp-header-actions .btn{min-height:38px;font-size:12px}
.sp-nav{display:flex;gap:25px;border-bottom:1px solid var(--sp-border);margin-bottom:18px;overflow:auto}.sp-nav button{background:none;border:0;border-bottom:3px solid transparent;padding:11px 2px;color:#697a93;font-weight:650;white-space:nowrap}.sp-nav button.active{border-color:var(--sp-blue);color:var(--sp-blue)}
.sp-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1.35fr)) repeat(2,minmax(0,.85fr));gap:12px;margin-bottom:18px}
.sp-metrics>article,.sp-metrics>button{padding:17px 19px;border:1px solid var(--sp-border);border-radius:13px;background:#fff;text-align:left;box-shadow:0 3px 12px rgba(43,70,115,.025);min-width:0}.sp-metrics>article>span,.sp-metrics>button>span{display:block;font-size:12px;color:#71809a;margin-bottom:8px}.sp-metrics strong{display:flex;flex-wrap:wrap;gap:2px 14px;color:#1e3154;font-size:21px;font-weight:750;letter-spacing:-.3px;min-height:30px}.sp-metrics strong span{white-space:nowrap}.sp-metrics small{display:block;color:#8a98ab;font-size:10px;margin-top:7px;line-height:1.5}.sp-metrics em{font-size:12px;font-style:normal;align-self:center;margin-left:3px;font-weight:400}.sp-metric-alert strong{color:#df5a4e}.sp-metric-intent strong{color:#12896e}
.sp-toolbar{background:white;border:1px solid var(--sp-border);border-radius:12px 12px 0 0;padding:13px 15px}.sp-quick-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.sp-quick-filters button{border:0;background:#f5f7fb;color:#6a7a94;border-radius:7px;padding:6px 9px;font-size:11px;display:flex;gap:6px;align-items:center}.sp-quick-filters button span{color:#909caf;font-size:10px}.sp-quick-filters button.active{background:#eaf0ff;color:#2358d5;font-weight:650}.sp-quick-filters button.active span{color:#4777e0}
.sp-filter-fields{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.sp-filter-fields label{display:grid;gap:5px;flex:1;min-width:115px;font-size:10px;color:#7a89a0}.sp-filter-fields .sp-search{flex:2.2;min-width:230px}.sp-root input,.sp-root select,.sp-root textarea{border:1px solid #dfe7f2;border-radius:7px;background:#fff;color:#263a5b;min-height:36px;padding:8px 10px;max-width:100%;width:100%}.sp-root textarea{resize:vertical;line-height:1.7}.sp-root input::placeholder{color:#9aa7b9}.sp-view-switch{display:flex;border:1px solid #e0e7f1;border-radius:7px;padding:3px;gap:2px;height:36px}.sp-view-switch button{border:0;background:none;color:#8090a6;padding:5px 9px;font-size:11px;border-radius:4px}.sp-view-switch button.active{background:#edf2ff;color:#2a61dc}.sp-reset{height:36px;border:0;background:transparent;color:#8190a5;font-size:11px}
.sp-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;align-items:start;margin-top:14px}.sp-layout.has-detail{grid-template-columns:minmax(0,1fr) minmax(420px,35%)}.sp-results{min-width:0;border:1px solid var(--sp-border);border-radius:12px;background:white;overflow:hidden}.sp-table-scroll{overflow:auto}.sp-table{width:100%;min-width:1240px;border-collapse:collapse;table-layout:fixed}.sp-table th{font-size:10px;color:#8290a5;background:#f8fafd;text-align:left;padding:13px 12px;white-space:nowrap;font-weight:600;border-bottom:1px solid var(--sp-border)}.sp-table td{padding:14px 12px;border-bottom:1px solid #edf1f7;vertical-align:top;line-height:1.6;font-size:12px}.sp-table th:first-child{width:235px}.sp-table th:nth-child(2){width:100px}.sp-table th:nth-child(3){width:145px}.sp-table th:nth-child(4){width:150px}.sp-table th:nth-child(5){width:145px}.sp-table th:nth-child(6){width:200px}.sp-table th:nth-child(7){width:200px}.sp-table th:last-child{width:66px}.sp-table tr[data-sp-open]{cursor:pointer}.sp-table tr:hover{background:#f8fbff}.sp-table tr.selected{background:#edf3ff}.sp-table td b{font-weight:600}.sp-table td small{display:block;color:#8a97ab;font-size:10px;margin-top:4px}.sp-table th:last-child,.sp-table td:last-child{position:sticky;right:0;background:white;box-shadow:-5px 0 9px rgba(30,63,109,.025)}.sp-table tr.selected td:last-child{background:#edf3ff}
.sp-customer{display:flex;gap:9px;align-items:flex-start;min-width:0}.sp-customer>div{min-width:0}.sp-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#eaf0ff;color:#3569e0;font-weight:750;font-size:11px}.sp-name{padding:0;border:0;background:none;text-align:left;font-weight:700!important;font-size:12px;line-height:1.5;color:#26364f}.sp-customer small{display:block}.sp-deal-title{display:block;color:#64748c;font-size:10px;margin-top:4px}.sp-owner{display:inline-block;font-size:11px;padding:4px 7px;background:#f5f7fc;border-radius:5px;overflow-wrap:anywhere}.sp-badge{display:inline-block;border-radius:5px;padding:3px 6px;font-size:10px;line-height:1.5;white-space:nowrap}.sp-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.sp-stage{background:#eaf0ff;color:#3c6ad8}.sp-health-normal{background:#eaf8f1;color:#2a8a66}.sp-health-risk{background:#fff5df;color:#bd8320}.sp-health-high{background:#fff0ef;color:#d56357}.sp-health-missing{background:#f0f3f7;color:#7c8b9d}.sp-intent{background:#e9f7f7;color:#16898c}.sp-contact-type{font-size:10px;color:#6a84b1}.sp-contact-type.inbound{color:#16896f}.sp-summary-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px}.sp-overdue{color:#d36756}.sp-muted{color:#8c99ac;font-size:11px}.sp-open-button{background:#fff;border:1px solid #e3e9f3;border-radius:6px;padding:5px 9px;color:#5277b8;font-size:10px!important}.sp-empty{text-align:center;padding:40px 18px;color:#8b99ae}.sp-empty b{display:block;color:#405575;font-size:15px}.sp-empty p{margin:8px 0 15px}.sp-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;color:#8b99af;font-size:11px}.sp-pager>div{display:flex;gap:6px;align-items:center}.sp-pager button{padding:7px 10px;border:1px solid #e1e8f2;border-radius:6px;background:#fff;color:#647995;font-size:10px}.sp-pager label{display:flex;align-items:center;gap:5px}.sp-pager select{width:90px;font-size:10px;min-height:29px;padding:5px}
.sp-drawer{border:1px solid #dce5f3;border-radius:13px;background:#fff;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 9px 28px rgba(36,63,105,.06);min-width:0;outline:none}.sp-drawer-head{position:relative;padding:19px 20px 14px;border-bottom:1px solid #edf1f7}.sp-drawer-head .sp-avatar{width:39px;height:39px;font-size:13px}.sp-drawer-head h3{font-size:16px;line-height:1.4;margin:1px 25px 4px 0}.sp-drawer-head small{color:#8a98ad;font-size:10px}.sp-drawer-head>p{font-size:11px;color:#657994;margin:12px 0 0}.sp-close{position:absolute;top:16px;right:14px;border:0;border-radius:50%;width:27px;height:27px;background:#f3f5f9;color:#8390a3;font-size:20px!important}.sp-drawer-body{padding:15px 20px 20px}.sp-detail-badges{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.sp-waiting{font-size:10px;color:#8c9aaf;margin-left:auto}.sp-risk-reasons{background:#fff6f3;color:#b97860;font-size:10px;line-height:1.6;padding:8px 10px;border-radius:6px;margin-top:10px}.sp-next-focus{padding:13px;background:#f4f7ff;border:1px solid #e4ebff;border-radius:9px;margin:13px 0}.sp-next-focus>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.sp-next-focus>div>small{font-size:10px;color:#7490b4}.sp-next-focus b{display:block;font-size:12px;line-height:1.7}.sp-next-focus>small{display:block;color:#8a9bb6;font-size:10px;margin-top:4px}.sp-next-focus button{background:none;border:0;font-size:10px;color:#648bdd;padding:0}.sp-drawer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:17px}.sp-drawer-actions button,.sp-inline-actions button,.sp-task button,.sp-detail-form button{border:1px solid #e0e7f3;background:white;border-radius:6px;padding:8px 5px;color:#527197;font-size:10px}.sp-drawer-actions button.primary,.sp-detail-form button.primary{background:#2863ee;color:#fff;border-color:#2863ee}.sp-detail-tabs{display:flex;justify-content:space-between;gap:7px;border-bottom:1px solid #e7edf6;margin-bottom:15px}.sp-detail-tabs button{background:none;border:0;border-bottom:2px solid transparent;font-size:10px;padding:9px 0;color:#8190a7;white-space:nowrap}.sp-detail-tabs button.active{color:#2863ee;border-color:#2863ee;font-weight:650}
.sp-detail-section{padding:0 0 15px;margin:0 0 17px;border-bottom:1px solid #edf1f7}.sp-detail-section:last-child{border-bottom:0}.sp-detail-section h4{font-size:12px;margin:0 0 12px}.sp-detail-section h4 small{font-size:10px;color:#9aa6b8;font-weight:400}.sp-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sp-section-heading h4{margin:0}.sp-section-heading button{background:none;border:0;color:#5b84d5;font-size:10px;padding:0}.sp-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}.sp-info-grid small{display:block;font-size:10px;color:#8a98ad;margin-bottom:4px}.sp-info-grid strong{display:block;font-size:11px;color:#3c526f;font-weight:600;overflow-wrap:anywhere}.sp-product{display:flex;gap:9px;align-items:center;padding:10px 0}.sp-product-mark,.sp-document-mark{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:7px;background:#f0f4fb;color:#8096b7;font-size:11px}.sp-product b,.sp-document-list b{display:block;font-size:11px}.sp-product small,.sp-document-list small{display:block;font-size:10px;color:#8a98ad;margin-top:4px}.sp-document-list>div{display:flex;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #edf1f7}.sp-document-list>div>div{flex:1;min-width:0}.sp-document-list button{border:0;background:none;color:#5b82c9;font-size:10px}.sp-inline-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.sp-inline-actions button{padding:6px 9px}.sp-note small{color:#8b9aad;font-size:10px}.sp-note p{font-size:11px;line-height:1.9;margin:6px 0 13px;color:#405875;white-space:pre-wrap;overflow-wrap:anywhere}.sp-timeline{list-style:none;padding:0;margin:0}.sp-timeline li{position:relative;display:flex;gap:12px;margin-left:4px;padding:0 0 20px 13px;border-left:1px solid #e0e8f7}.sp-timeline li>div{min-width:0;flex:1}.sp-timeline-dot{position:absolute;left:-4px;top:5px;width:7px;height:7px;border-radius:50%;background:#608dec}.sp-timeline-dot.inbound{background:#2aaf92}.sp-timeline-dot.note{background:#a2afc3}.sp-timeline-label{display:flex;justify-content:space-between;gap:8px}.sp-timeline-label b{font-size:10px;color:#627ba3}.sp-timeline-label time{font-size:9px;color:#95a4ba}.sp-timeline p{font-size:11px;color:#3d5372;line-height:1.8;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.sp-timeline small{font-size:9px;line-height:1.8;color:#95a1b4}.sp-timeline .sp-feedback{background:#f8fafc;padding:7px;border-radius:5px}.sp-text-button{background:none;border:0;color:#6284c7;font-size:10px!important;padding:4px 0}.sp-other-contact summary{font-size:10px;color:#8497b1;cursor:pointer;padding:9px 0}.sp-other-contact>div{margin-top:10px}.sp-stage-event{display:flex;justify-content:space-between;font-size:11px;margin:10px 0;gap:10px}.sp-stage-event small{color:#92a0b3;font-size:9px}.sp-task{border:1px solid #e4ebf6;background:#f8faff;border-radius:8px;padding:12px;margin-bottom:9px}.sp-task b{display:block;font-size:11px}.sp-task small{display:block;color:#8496b0;font-size:10px;margin:5px 0 8px}.sp-task>div{display:flex;gap:5px;flex-wrap:wrap}.sp-task button{padding:5px 7px;font-size:9px}.sp-task.completed{opacity:.65;background:#fafbfc}.sp-detail-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sp-detail-form .full{grid-column:1/-1}.sp-detail-form h4{margin:0 0 2px;font-size:13px}.sp-detail-form label{font-size:10px;color:#8190a5;display:grid;gap:5px;min-width:0}.sp-detail-form input,.sp-detail-form select,.sp-detail-form textarea{font-size:11px}.sp-form-hint{font-size:10px;color:#8b9aac;margin:0;line-height:1.8}.sp-form-error{font-size:11px;color:#d5685a;margin:0}.sp-form-error:empty{display:none}.sp-form-actions{display:flex;justify-content:flex-end;gap:6px}.sp-form-actions button{padding:8px 16px}.sp-work-note{font-size:11px;color:#8b9ab0;padding:0 0 13px}
.sp-board{display:flex;overflow:auto;gap:12px;padding:14px;min-height:330px}.sp-board-lane{min-width:238px;width:238px;background:#f6f8fc;border-radius:10px;padding:10px;flex-shrink:0}.sp-board-lane>header{display:flex;justify-content:space-between;align-items:center;padding:5px 2px 12px;font-size:11px;color:#657994}.sp-board-lane>header>span{background:#e8edf6;border-radius:5px;padding:2px 6px;font-size:10px}.sp-board-card{display:block;text-align:left;width:100%;border:1px solid #e3eaf5;background:white;border-radius:9px;padding:12px;margin-bottom:9px;box-shadow:0 2px 7px rgba(45,75,120,.025)}.sp-board-card.selected{border-color:#759bfa;background:#f2f6ff}.sp-board-card>div:first-child{display:flex;justify-content:space-between;gap:7px}.sp-board-card>div>b{font-size:11px}.sp-board-card>div>span:not(.sp-badge){font-size:9px;color:#8a9aae}.sp-board-card>small{font-size:9px;color:#91a1b8;display:block;margin:6px 0 10px}.sp-board-card>strong{display:flex;justify-content:space-between;font-size:15px;color:#36577e}.sp-board-card>strong>small{font-size:11px;color:#7f95b3}.sp-board-card p{font-size:10px;color:#8493a9;line-height:1.7;margin:9px 0}.sp-board-next{padding-top:10px;margin-top:10px;border-top:1px solid #edf1f6}.sp-board-next b{font-size:10px;font-weight:500;display:block}.sp-board-next small{display:block;font-size:9px;color:#96a3b7;margin-top:4px}.sp-board-empty{font-size:10px;color:#9aa7bb;text-align:center;padding:20px 0}
@media(min-width:1800px){.sp-table{min-width:1350px}.sp-table th:first-child{width:255px}.sp-table th:nth-child(4){width:170px}.sp-table th:nth-child(6){width:220px}.sp-table th:nth-child(7){width:240px}}
.sp-stage-event{display:grid;grid-template-columns:1fr auto}.sp-stage-event p{grid-column:1/-1;margin:0;line-height:1.7;color:#61758f;white-space:pre-wrap}.sp-stage-event p:empty{display:none}.sp-stage-event small{grid-row:1;grid-column:2}
.sp-owner{overflow-wrap:normal}
.sales-pipeline-enabled[data-huidi-view=deals] .workspace-r3-flowline{display:none!important}
.sp-source-caption{font-size:11px;color:#7e90a8;line-height:1.7;margin:0 0 12px}.sp-quote-hint{padding:10px 12px;background:#f6f9ff;border-radius:7px}.sp-quote-hint .sp-source-caption{margin-bottom:3px}.sp-detail-form input:disabled{background:#f2f5f9;color:#7f8ea4}
.sales-pipeline-enabled #crmRoot .crm-split>div>p{line-height:1.8;margin:10px 0 18px}.sales-pipeline-enabled #crmRoot .crm-quick{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:1200px){.sp-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-metric-alert,.sp-metric-intent{grid-column:auto}.sp-metrics strong{font-size:18px}.sp-filter-fields label{min-width:135px}}
@media(max-width:1100px){.sp-layout.has-detail{grid-template-columns:1fr}.sp-layout.has-detail>.sp-results{display:none}.sp-drawer{position:relative;top:0;max-height:none}.sp-layout.has-detail .sp-drawer-head{position:sticky;top:0;background:white;z-index:2}.sp-header h2{font-size:25px}}
@media(max-width:600px){.sp-header{flex-direction:column;align-items:flex-start;margin:6px 0 15px;gap:13px}.sp-header-actions{width:100%}.sp-header-actions .btn{flex:1;font-size:11px}.sp-eyebrow{font-size:8px}.sp-header h2{font-size:24px}.sp-header p{font-size:11px}.sp-nav{gap:20px;margin-bottom:14px}.sp-nav button{font-size:11px;padding:10px 0}.sp-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sp-metrics>article,.sp-metrics>button{padding:12px}.sp-metrics>article:first-child{grid-column:1/-1}.sp-metrics strong{font-size:18px;gap:3px 10px}.sp-metrics small{font-size:9px}.sp-metrics>article>span,.sp-metrics>button>span{font-size:10px}.sp-toolbar{padding:12px}.sp-quick-filters{gap:5px}.sp-quick-filters button{font-size:10px}.sp-filter-fields{gap:8px}.sp-filter-fields .sp-search{flex-basis:100%;min-width:0}.sp-filter-fields label{min-width:calc(50% - 10px)}.sp-pager{flex-direction:column;align-items:flex-start;gap:10px}.sp-pager>div{width:100%;justify-content:space-between}.sp-drawer-head{padding:15px}.sp-drawer-body{padding:13px 15px}.sp-drawer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-drawer-actions button{font-size:11px}.sp-detail-tabs button{font-size:10px}.sp-info-grid{gap:12px}.sp-detail-form{grid-template-columns:1fr}.sp-detail-form .full{grid-column:1}.sp-board{padding:10px}}
.sp-fx-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 16px;color:#6b7c9b;font-size:11px;line-height:1.6}
.sp-fx-note .btn{flex:none}
.sp-overview-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:none}
.sp-fx-caption{margin-left:auto;text-align:right;flex:1;min-width:240px}
.sp-drawer-name{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:13px}
.sp-drawer-name p{margin:0;min-width:0;overflow-wrap:anywhere;color:#61758f;font-size:12px}
.sp-drawer-name button{flex:none;padding:0;font-size:11px}
@media(max-width:600px){.sp-fx-note{align-items:flex-start;flex-wrap:wrap}.sp-overview-actions{width:100%}.sp-fx-caption{width:100%;text-align:left}}
