:root{--green: #247a4b;--green-dark: #183d2b;--ink: #1c2e24;--muted: #78877d;--line: #e3ebe5;--bg: #f6f8f6;--danger: #c95f50;font-family:Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.splash,.loginPage{min-height:100vh;display:grid;place-items:center}.loginPanel{width:min(420px,calc(100vw - 32px));padding:34px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 18px 50px #183d2b18}.brandMark{width:46px;height:46px;display:grid;place-items:center;border-radius:8px;background:#e2f4e9;color:var(--green)}.loginPanel h1{margin:18px 0 4px}.loginPanel p{margin:0 0 24px;color:var(--muted)}.appShell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:24px 16px;display:flex;flex-direction:column;background:var(--green-dark);color:#c8d9cc}.brand{display:flex;gap:10px;align-items:center;color:#fff;margin-bottom:28px}.brand span{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#63b969}.brand small{display:block;margin-top:2px;color:#9db9a5;font-weight:400}nav{display:grid;gap:5px}nav button{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#c8d9cc;text-align:left}nav button.active,nav button:hover{background:#2a6045;color:#fff}.userCard{margin-top:auto;padding:12px;border:1px solid #36684a;border-radius:8px}.userCard small{display:block;margin:4px 0 12px;color:#9db9a5}.userCard button{display:flex;align-items:center;gap:6px;padding:7px 0;border:0;background:transparent;color:#fff}.main{width:calc(100% - 248px);margin-left:248px}.page{max-width:1320px;margin:auto;padding:36px 42px}.pageHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.pageHeader small{color:var(--muted)}.pageHeader h1{margin:4px 0 0;font-size:26px}.headerActions,.modalActions{display:flex;align-items:center;gap:10px}.primaryButton,.outlineButton,.iconButton{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border-radius:7px;border:1px solid var(--green);background:var(--green);color:#fff;font-weight:700}.primaryButton:disabled,.outlineButton:disabled{opacity:.62;cursor:not-allowed}.outlineButton{border-color:#d4e1d7;background:#fff;color:#466553;font-weight:600}.iconButton{width:34px;min-height:34px;padding:0;border-color:#d4e1d7;background:#fff;color:#466553}.compact{min-height:30px;padding:4px 9px;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.metric,.panel{background:#fff;border:1px solid var(--line);border-radius:8px}.metric{padding:18px}.metric small{color:var(--muted)}.metric strong{display:block;margin-top:8px;font-size:24px}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:20px}.panel h2{margin:0 0 12px;font-size:16px}.emptyState{color:var(--muted)}.errorText{color:var(--danger)}.successText{margin:0;padding:9px 11px;border:1px solid #b7dbc6;border-radius:8px;background:#f2fbf5;color:var(--green);font-size:13px}.dashboardPage{padding-top:34px}.workbenchHero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.workbenchHero small{color:#5d7568}.workbenchHero h1{margin:6px 0 3px;font-size:30px;line-height:1.15;letter-spacing:0}.workbenchHero p{margin:0;color:#62776b}.scopeBar{min-height:60px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;padding:12px 14px;border:1px solid #dfe8e1;border-radius:8px;background:#fff}.scopeBar span{color:#536a5e;font-size:13px}.scopeBar select,.scopeBar input{height:34px;min-width:128px;padding:0 12px;border:1px solid #d5e1d8;border-radius:7px;background:#fff;color:var(--ink)}.scopeBar input[type=date]{min-width:150px}.scopeBar em{order:1;flex:1 1 240px;min-width:220px;margin-left:auto;color:#536a5e;font-size:12px;font-style:normal;line-height:1.5;text-align:right}.scopeTimeRow{order:2;flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:2px}.scopeTimeRow span{color:#536a5e;font-size:13px}.scopeTimeRow select,.scopeTimeRow input{flex:0 0 auto}.dashboardMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.dashboardMetric{display:flex;gap:13px;min-height:112px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.metricIcon{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:9px;font-weight:800}.metricIcon.green{background:#ddf4e7;color:#1f8a52}.metricIcon.orange{background:#fff0df;color:#d48325}.metricIcon.blue{background:#e5f1fb;color:#347fbd}.metricIcon.red{background:#fee9e5;color:#d86854}.dashboardMetric small{color:#718277}.dashboardMetric strong{display:block;margin:7px 0 5px;font-size:24px;line-height:1}.dashboardMetric em{color:var(--green);font-size:12px;font-style:normal}.dashboardMetric .red+div em{color:#d86854}.riskPanel{margin-bottom:18px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.riskGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.riskCard{min-height:98px;display:grid;gap:5px;align-content:center;padding:15px;border:1px solid #dfe8e2;border-radius:8px;background:#fbfdfb;color:var(--ink);text-align:left}.riskCard span{color:#687a70;font-size:12px}.riskCard strong{font-size:23px}.riskCard small{color:#687a70}.riskCard.red{border-color:#f1c5bf;background:#fff8f7}.riskCard.orange{border-color:#f2d7b6;background:#fffaf3}.riskCard.blue{border-color:#c7daea;background:#f6fbff}.riskCard.green{border-color:#c9e2d1;background:#f6fcf8}.analyticsPage{padding-top:34px}.analyticsHero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.analyticsHero small{color:#5d7568}.analyticsHero h1{margin:6px 0 4px;font-size:30px;line-height:1.12;letter-spacing:0}.analyticsHero p{margin:0;color:#62776b}.analyticsScope{margin-bottom:16px}.analyticsMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.analyticsMetric{display:flex;gap:13px;min-height:112px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.reportMetricButton{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.reportMetricButton:hover{border-color:#9fc9ae;box-shadow:0 10px 24px #1a563517;transform:translateY(-1px)}.reportDrillButton{display:inline-flex;justify-content:flex-end;min-width:32px;padding:2px 4px;border:0;border-bottom:1px dashed #88b899;background:transparent;color:#1c6f42;font:inherit;font-weight:800;cursor:pointer}.reportDrillButton:hover{color:#0f5631;background:#eef8f1}.analyticsMetric small{color:#718277}.analyticsMetric strong{display:block;margin:7px 0 5px;font-size:24px;line-height:1}.analyticsMetric strong small{display:inline;font-size:13px;font-weight:500}.analyticsMetric em{color:var(--green);font-size:12px;font-style:normal}.pasteImageBox{display:grid;gap:8px}.pasteImageDropzone{display:grid;place-items:center;min-height:88px;padding:16px;border:1px dashed #84b996;border-radius:8px;background:#f6fcf8;color:#1f6f42;text-align:center;cursor:text;outline:none}.pasteImageDropzone strong{font-size:15px}.pasteImageDropzone span{margin-top:5px;color:#6c8173;font-size:12px}.pasteImageDropzone:focus{border-color:#2b8550;background:#eef8f1;box-shadow:0 0 0 3px #2b85501f}.pasteImageToolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pasteImageToolbar span{color:#2d6d48;font-size:13px;font-weight:700}.pasteImageMessage{color:#1f7a46}.analyticsGrid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:18px}.analyticsPanel{min-height:276px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.analyticsBars{height:190px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:22px 20px 0;border-bottom:1px solid #dfe8e2;background:repeating-linear-gradient(to bottom,transparent 0 46px,#eef3ef 47px)}.analyticsBars div{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;width:12%;height:100%}.analyticsBars span{position:absolute;bottom:6px;z-index:1;white-space:nowrap;color:#167241;font-size:11px;font-weight:800}.analyticsBars i{display:block;width:100%;min-height:1px;border-radius:5px 5px 0 0;background:#44a36a}.analyticsBars small{position:absolute;transform:translateY(20px);color:#7f8d84;font-size:11px}.analyticsRanking{min-height:126px;margin-top:18px}.analyticsRanking>div{display:grid;grid-template-columns:24px 1fr 90px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1ed}.analyticsRanking b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#edf5ef;color:#287d4d;font-size:11px}.analyticsRanking span{font-size:13px}.analyticsRanking small{color:#168144;text-align:right;font-weight:800}.analyticsEmptyRank{display:grid;grid-template-columns:1fr 90px;align-items:center;min-height:102px;margin:0;padding:18px 0;border-bottom:1px solid #e4ece6;color:#1f3529}.analyticsEmptyRank span{white-space:pre-line}.analyticsFunnel{padding:26px 0 20px}.analyticsFunnel div{height:30px;margin:10px auto;border-radius:4px;background:#3f9f60;color:#fff;text-align:center;line-height:30px;font-size:12px}.analyticsFunnel div:nth-child(1){background:#f4f7f4;color:#758279;border:1px dashed #b9c8bd}.analyticsFunnel div:nth-child(2){background:#62bf7f}.analyticsFunnel div:nth-child(3){background:#3f9f60}.analyticsFunnel div:nth-child(4){background:#1f7348}.analyticsFunnel div.isEmpty{border:1px dashed #b9c8bd;background:#f4f7f4;color:#758279}.salesReportPage{max-width:1360px;padding-top:34px}.salesReportScope{flex-wrap:wrap}.segmentedControl{height:34px;display:inline-flex;align-items:center;padding:3px;border:1px solid #d5e1d8;border-radius:7px;background:#f8fbf8}.segmentedControl button{height:26px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:#536a5e;font-size:12px;font-weight:700;white-space:nowrap}.segmentedControl button.active{background:var(--green);color:#fff}.salesReportMetrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:18px}.salesReportMetrics .analyticsMetric strong{white-space:nowrap;font-size:clamp(18px,1.65vw,24px)}.salesReportPanel{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.reportDetailPanel{margin-bottom:18px;border-color:#b9dcc4;box-shadow:0 12px 26px #15543012}.salesReportTitle{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf2ef}.salesReportTitle h2{margin:0 0 4px;font-size:18px}.salesReportTitle small,.salesReportTitle span{color:#718277;font-size:12px}.salesReportTitle span{flex:none;font-weight:700}.salesReportTableWrap{width:100%;overflow-x:auto}.salesReportTable{width:100%;min-width:1440px;border-collapse:collapse;font-size:13px}.reportDetailTable{min-width:980px}.salesReportTable th,.salesReportTable td{padding:13px 16px;border-bottom:1px solid #edf2ef;color:#52645a;text-align:right;white-space:nowrap}.salesReportTable th{color:#315e46;font-weight:700;background:#fbfdfb}.salesReportTable th:nth-child(-n+3),.salesReportTable td:nth-child(-n+3){text-align:left}.reportDetailTable th,.reportDetailTable td{text-align:left}.salesReportTable tbody tr:hover{background:#fbfdfb}.salesReportTable tfoot td{background:#f4f8f5;color:#1f3529;font-weight:800}.salesNameBadge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#e6f3eb;color:#237347;font-weight:800}.aiInsightsPage{max-width:1360px;padding-top:34px}.aiScope{flex-wrap:wrap}.aiMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.aiInsightsGrid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}.aiPanel{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.aiSalesTable{min-width:980px}.aiAnomalyList{display:grid;gap:10px;padding:16px 20px 20px}.aiAnomalyList article{padding:12px;border:1px solid #f0dcc1;border-radius:8px;background:#fffaf3}.aiAnomalyList strong{display:block;margin-bottom:4px;color:#8a5a18}.aiAnomalyList span{color:#52645a;font-size:13px}.aiAnalysisList{display:grid;gap:12px;padding:16px 20px 20px}.aiAnalysisCard{padding:16px;border:1px solid #dfe8e2;border-radius:8px;background:#fbfdfb}.aiAnalysisCard.high{border-color:#f0c4bd;background:#fff8f7}.aiAnalysisCard.medium{border-color:#f2d7b6;background:#fffaf3}.aiAnalysisCard.low{border-color:#c9e2d1;background:#f6fcf8}.aiAnalysisCard header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.aiAnalysisCard header strong{display:block;margin-bottom:4px}.aiAnalysisCard header small{color:var(--muted)}.aiAnalysisCard header span{flex:none;padding:4px 9px;border-radius:999px;background:#e8f3ec;color:#247a4b;font-size:12px;font-weight:800}.aiAnalysisCard p{margin:12px 0;color:#425449}.aiAnalysisCard ul{margin:10px 0 0;padding-left:18px;color:#52645a}.aiAnalysisCard li{margin:4px 0}.aiAnalysisCard em{display:block;margin-top:8px;color:var(--danger);font-size:12px;font-style:normal}.aiCoachReport{margin-top:12px;padding-top:2px;color:#34463b;font-size:13px;line-height:1.65}.aiCoachReport p{margin:8px 0;color:#34463b}.aiCoachReport strong{color:#203529}.aiCoachReport .aiReportLead{padding:6px 0;font-weight:700}.aiCoachReport .aiReportLead.good{color:#236c45}.aiCoachReport .aiReportLead.warn{color:#915a12}.aiCoachReport section{margin-top:14px}.aiCoachReport h3{margin:0 0 6px;color:#1f3529;font-size:14px}.aiCoachReport ul{margin:0;padding-left:19px;color:#485b51}.aiCoachReport li{margin:5px 0}.aiCoachReport mark{padding:0 3px;border-radius:4px;background:#fff1bd;color:#7a4b00;font-weight:800}.aiChipList{display:flex;flex-wrap:wrap;gap:7px}.aiChipList b{padding:4px 8px;border-radius:999px;background:#edf5ef;color:#356448;font-size:12px;font-weight:700}.aiInlineNotice{margin:0 0 16px;padding:11px 13px;border:1px solid #cfe2d4;border-radius:8px;background:#f6fcf8;color:#24633f;font-size:13px;font-weight:700}.timelineActions{display:flex;align-items:center;gap:9px;margin-top:12px}.aiConfigPanel{margin-top:18px}.aiConfigPanel .statusPill{margin-top:0;white-space:nowrap}.aiConfigForm{grid-template-columns:repeat(2,minmax(0,1fr))}.aiConfigForm .field:first-child,.aiConfigActions{grid-column:1 / -1}.aiConfigActions{display:flex;align-items:center;gap:12px}.aiConfigActions span{color:var(--green);font-size:13px;font-weight:800}.dashboardGrid{display:grid;gap:18px;margin-bottom:18px}.dashboardGrid.top,.dashboardGrid.bottom{grid-template-columns:1.55fr 1fr}.dashboardPanel{min-height:174px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.goalPanel{min-height:202px}.todoPanel{min-height:202px;position:relative}.panelTitle{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.panelTitle h2{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}.panelTitle h2 b{display:inline-grid;place-items:center;min-width:26px;height:34px;padding:0 8px;border-radius:16px;background:#e9f5ee;color:var(--green);font-size:14px}.panelTitle small{display:block;margin-top:4px;color:#718277}.panelTitle a,.panelLink{color:var(--green);font-size:13px;font-weight:700}.panelLink{display:block;margin-top:10px;text-align:center}.goalNumbers{display:flex;justify-content:space-between;margin:34px 4px 16px}.goalNumbers p{margin:0;color:var(--muted);font-size:12px}.goalNumbers strong{display:block;margin-top:5px;color:var(--ink);font-size:20px}.goalTrack{height:10px;overflow:hidden;border-radius:999px;background:#e9f0ea}.goalTrack i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d8e58,#72c470)}.goalFooter{display:flex;justify-content:space-between;margin-top:7px;color:var(--muted);font-size:12px}.goalFooter b{color:var(--green)}.centerEmpty{display:grid;place-items:center;min-height:120px;color:#7d8d84;text-align:center}.centerEmpty.small{min-height:72px}.todoList{display:grid;gap:0}.todoRow{width:100%;display:flex;align-items:center;gap:10px;padding:10px 0;border:0;border-bottom:1px solid #edf2ee;background:transparent;text-align:left}.todoRow i{width:17px;height:17px;border:1px solid #bdc9be;border-radius:50%;flex:none}.todoRow span{font-weight:700}.todoRow small{display:block;margin-top:3px;color:var(--muted);font-weight:400}.todoRow b{margin-left:auto;padding:3px 7px;border-radius:4px;background:#fff0ec;color:#d75c4d;font-size:11px}.miniTable{width:100%;border-collapse:collapse;font-size:12px}.miniTable th{padding:8px 4px;border-bottom:1px solid var(--line);color:#7a8a80;font-weight:500;text-align:left}.miniTable td{padding:12px 4px;border-bottom:1px solid #eff3f0;color:#65746b}.miniTable td:first-child{color:var(--ink);font-weight:700}.miniTable tr:last-child td{border-bottom:0;text-align:center;color:#7d8d84;font-weight:500}.customerMiniList{margin:0;padding:0;list-style:none}.customerMiniList li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eff3f0}.customerMiniList li:last-child{border-bottom:0}.customerMiniList i{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:8px;background:#e3f2e6;color:#287c51;font-style:normal;font-weight:800}.customerMiniList span{font-weight:700}.customerMiniList small{display:block;margin-top:3px;color:var(--muted);font-weight:400}.customerMiniList em{margin-left:auto;color:var(--muted);font-size:12px;font-style:normal}.flowStrip{display:flex;align-items:center;gap:13px;min-height:55px;padding:0 20px;border-radius:8px;background:#edf7f1;color:#708178}.flowStrip small{margin-right:16px}.flowStrip span{padding:5px 13px;border:1px solid #d7e5da;border-radius:999px;background:#fff;color:#53665c;font-size:12px}.flowStrip span.active{border-color:var(--green);background:#e0f2e5;color:var(--green);font-weight:800}.flowStrip b{font-weight:400;color:#8ca096}.leadPoolPage{max-width:1300px;padding-top:40px}.leadHero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:30px}.leadHero small{color:#5e7168;font-size:12px}.leadHero h1{margin:7px 0 6px;font-size:30px;line-height:1.15;letter-spacing:0}.leadHero p{margin:0;color:#60746a;font-size:14px}.leadHero .outlineButton{margin-top:22px}.leadScope{min-height:60px;margin-bottom:16px}.leadSearchInline{flex:1 1 260px;min-width:230px;max-width:360px;height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #d5e1d8;border-radius:7px;background:#fff;color:#819187}.leadSearchInline input{width:100%;height:100%;padding:0;border:0;outline:0;background:transparent}.leadMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.leadMetric{min-height:112px;display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.leadMetric small{color:#718277}.leadMetric strong{display:block;margin:7px 0 5px;font-size:24px;line-height:1}.leadMetric em{color:var(--green);font-size:12px;font-style:normal}.leadMetric .red+div em{color:#d86854}.leadListPanel{overflow:visible;border:1px solid var(--line);border-radius:8px;background:#fff}.leadListTitle{margin:0;padding:20px 20px 12px}.leadListTitle h2{margin:0 0 4px;font-size:19px}.textButton{min-height:30px;padding:0;border:0;background:transparent;color:var(--green);font-weight:700}.tableTitleActions,.tableUtilityBar{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#718277;font-size:12px}.tableUtilityBar{margin:0 0 12px}.columnSettings{position:relative;display:inline-flex}.columnSettingsPanel{position:absolute;top:calc(100% + 8px);right:0;z-index:35;width:min(360px,calc(100vw - 44px));max-height:min(520px,calc(100vh - 180px));overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #dce7df;border-radius:8px;background:#fff;box-shadow:0 18px 38px #15271b24}.columnSettingsHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--ink)}.columnTeamSync{display:grid;gap:8px;padding:10px;margin-bottom:8px;border:1px solid #e1ebe5;border-radius:8px;background:#fbfdfb}.columnTeamSync label{display:flex;align-items:center;gap:8px;color:#42584b;font-size:13px;font-weight:800}.columnTeamSync input{width:15px;height:15px;accent-color:var(--green)}.columnTeamSync button{min-height:30px;border:1px solid #c7dccd;border-radius:7px;background:#fff;color:var(--green);font-size:12px;font-weight:800}.columnTeamSync small{color:#5e7168;font-size:12px}.columnSettingRow{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #edf2ef}.columnSettingRow label{display:flex;align-items:center;gap:8px;min-width:0;color:#42584b;font-size:13px;font-weight:700}.columnSettingRow label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.columnSettingRow input{width:15px;height:15px;accent-color:var(--green)}.columnSettingRow div{display:flex;gap:5px;flex:none}.columnSettingRow button{min-height:28px;padding:0 8px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#466553;font-size:12px;font-weight:700}.columnSettingRow button:disabled{opacity:.45;cursor:not-allowed}.leadTableWrap{width:100%;overflow-x:auto;border-top:0}.leadTable{width:100%;min-width:1060px;border-collapse:collapse}.leadTable th,.leadTable td{padding:14px 20px;border-bottom:1px solid #edf2ef;color:#52645a;text-align:left;white-space:nowrap}.leadTable th{color:#718077;font-size:13px;font-weight:500;background:#fff}.leadTable td:first-child{color:var(--ink);font-weight:800}.leadTable tbody tr:hover{background:#fbfdfb}.leadStatus{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:999px;background:#edf4ee;color:#557064;font-size:12px;font-weight:700}.leadStatus.hot{background:#fff1df;color:#bf7424}.leadActions{display:flex;align-items:center;gap:5px}.leadDoneText{min-height:36px;display:inline-flex;align-items:center;padding:0 8px;color:#63746b;font-size:12px;font-weight:700;white-space:nowrap}.leadActionButton{min-height:36px;padding:0 12px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#466553;font-size:12px;font-weight:700;white-space:nowrap}.leadActionButton:hover{border-color:#b8d0c0;background:#fbfdfb;color:var(--green)}.leadActionButton.danger{border-color:#f0c4bd;color:#d95a4d}.leadActionButton.danger:hover{border-color:#e6988c;background:#fff8f7;color:#c94436}.listPager{min-height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:14px 20px;color:#536a5e;font-size:13px}.listPager div{justify-self:end;display:flex;flex-wrap:wrap;gap:6px}.listPager button{min-width:36px;height:34px;padding:0 10px;border:1px solid #d7e2d9;border-radius:7px;background:#fff;color:#52645a;cursor:pointer}.listPager button:hover:not(:disabled){border-color:#9dbda8;color:var(--green)}.listPager button.active{border-color:var(--green);background:var(--green);color:#fff;font-weight:800}.listPager button:disabled{opacity:.45;cursor:not-allowed}.customerPage{max-width:1300px;padding-top:40px}.customerHero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:30px}.customerHero small{color:#5e7168;font-size:12px}.customerHero h1{margin:7px 0 6px;font-size:30px;line-height:1.15;letter-spacing:0}.customerHero p{margin:0;color:#60746a;font-size:14px}.customerHero .outlineButton{margin-top:22px}.customerScope{min-height:60px;margin-bottom:16px}.customerSearchInline{margin-left:0}.customerSearchInline+em{margin-left:0}.customerMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.customerMetric{min-height:112px;display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.customerMetric small{color:#718277}.customerMetric strong{display:block;margin:7px 0 5px;font-size:24px;line-height:1}.customerMetric em{color:var(--green);font-size:12px;font-style:normal}.customerMetric .red+div em{color:#536a5e}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.searchBox{width:min(420px,100%);display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #d8e3da;border-radius:7px;background:#fff}.searchBox input{width:100%;height:38px;border:0;outline:0;background:transparent}.dataTable{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.dataTable th,.dataTable td{padding:12px 14px;border-bottom:1px solid #eef2ef;text-align:left;vertical-align:middle}.dataTable th{color:#718077;font-weight:600;background:#fbfcfb}.dataTable tr:last-child td{border-bottom:0}.wide{min-width:880px}.compactTable td{padding:10px}.tableActions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.detailSummary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.detailSummary span{padding:7px 10px;border:1px solid #dfe8e2;border-radius:7px;background:#fbfdfb;color:#466553;font-size:13px;font-weight:700}.logDetail{max-width:360px;white-space:normal;word-break:break-word;color:#536a5e;font-size:12px}.customerTableShell{position:relative;width:100%;padding-right:178px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.customerTableWrap{width:100%;overflow-x:auto;background:#fff}.customerTable{min-width:2020px;border:0;border-radius:0;border-collapse:separate;border-spacing:0}.customerTable th,.customerTable td{white-space:nowrap}.customerTable th{color:#315e46}.customerTable thead th{height:49px}.customerTable tbody td{height:67px}.customerFrozenActions{position:absolute;top:0;right:0;bottom:0;z-index:6;width:178px;border-left:1px solid #dfe8e2;background:#fff;box-shadow:-12px 0 18px -16px #10201899}.customerFrozenHead{height:49px;display:flex;align-items:center;padding:12px 14px;border-bottom:1px solid #eef2ef;background:#fbfcfb;color:#315e46;font-weight:600}.customerFrozenRow{height:67px;display:flex;align-items:center;padding:12px 14px;border-bottom:1px solid #eef2ef;background:#fff}.customerActions{display:flex;align-items:center;gap:5px}.customerDetailGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:10px}.customerDetailGrid article{min-height:110px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.customerDetailGrid small{color:#60746a}.customerDetailGrid strong{display:block;margin:8px 0;font-size:24px}.customerDetailGrid span{color:#536a5e;font-size:12px}.customerDetailSection{margin-top:16px}.customerDetailSection h3{margin:0 0 10px;color:#2a3d33;font-size:14px}.customerDetailSection p{margin:0;color:#2a3d33;font-size:14px}.customerDetailList{display:grid;gap:8px}.customerDetailList article{padding:10px 12px;border:1px solid #edf2ef;border-radius:8px;background:#fbfdfb}.customerDetailList article strong{display:block;color:var(--ink);font-size:13px}.customerDetailList article span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.followupDate{display:inline-block;padding:2px 7px;border-radius:999px;background:#dff4e8;color:#147a45;font-size:13px;font-weight:800}.customerActionForm{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fbfdfb}.customerDetailActions{justify-content:flex-end;margin-top:26px}.attachmentPreviewList{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.attachmentPreviewPanel{margin-top:10px;padding:10px;border:1px solid #dce7df;border-radius:8px;background:#fbfdfb}.pendingPreviewPanel{border-style:dashed;background:#f7fbf8}.attachmentPreviewHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--ink);font-size:12px}.attachmentPreviewHeader span{color:var(--muted)}.selectedPreviewList{max-height:168px;overflow:auto}.attachmentThumbWrap,.attachmentFileWrap{position:relative;display:inline-flex}.attachmentThumb{width:72px;height:72px;overflow:hidden;padding:0;border:1px solid #d7e2d9;border-radius:7px;background:#fff}.attachmentThumb img{width:100%;height:100%;display:block;object-fit:cover}.attachmentDeleteButton{position:absolute;top:-6px;right:-6px;min-height:22px;padding:0 6px;border:1px solid #f0caca;border-radius:999px;background:#fff6f6;color:#b3261e;font-size:11px;font-weight:800;box-shadow:0 4px 10px #1624181a}.compactPreview{min-width:116px;max-width:116px;margin-top:0;gap:5px;flex-wrap:nowrap;overflow:hidden}.compactPreview .attachmentThumb{width:42px;height:42px;border-radius:6px}.compactPreview .attachmentFileButton{min-height:26px;padding:3px 7px;font-size:11px}.attachmentFileButton{min-height:30px;padding:5px 9px;border:1px solid #d7e2d9;border-radius:7px;background:#fff;color:var(--green);font-size:12px;font-weight:700}.imageViewerMask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:block;padding:62px 24px 24px;overflow:auto;background:#102018bf;text-align:center}.imageViewer{position:relative;display:inline-block;min-width:min-content;max-width:none;max-height:none}.imageViewer button{position:absolute;z-index:1;border:1px solid #d7e2d9;border-radius:7px;background:#fff;color:#2a3d33;font-weight:700}.imageViewerToolbar{position:fixed;top:14px;right:18px;z-index:2;display:flex;gap:8px}.imageViewerToolbar button{position:static;min-height:36px;padding:0 13px}.imageViewerNav{top:50%;width:42px;height:54px;transform:translateY(-50%);font-size:28px;line-height:1}.imageViewerNav.prev{left:12px}.imageViewerNav.next{right:12px}.imageViewerCount{position:fixed;left:50%;bottom:18px;transform:translate(-50%);padding:5px 10px;border-radius:999px;background:#102018cc;color:#fff;font-size:12px}.imageViewer img{width:auto;height:auto;max-width:none;max-height:none;display:block;margin:0 auto;border-radius:8px;background:#fff;object-fit:contain}.imageViewer img.fit{max-width:calc(100vw - 48px);max-height:calc(100vh - 92px)}.board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px;overflow:auto}.boardColumn{min-height:420px;padding:12px;border-radius:8px;background:#edf3ef}.boardColumn h2{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:14px}.boardColumn h2 span{color:var(--muted)}.oppCard{padding:13px;margin-bottom:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.oppCard small{display:block;margin-top:5px;color:var(--muted)}.oppCard footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}.oppCard footer button{font-size:12px}.cardMeta{display:grid;gap:8px;margin-top:10px}.cardMeta b{color:var(--green)}.cardMeta select{width:100%;height:32px;padding:0 8px;border:1px solid #d7e2d9;border-radius:7px;background:#fff;color:#466553}.timeline{display:grid;gap:12px}.timelineItem{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}.timelineItem b{display:inline-block;padding:3px 8px;border-radius:999px;background:#edf6ee;color:var(--green);font-size:12px}.timelineItem strong{display:block;margin-top:8px}.timelineItem p{color:#52645a}.timelineItem small{color:var(--muted)}.statusPill{display:inline-flex;width:fit-content;margin-top:8px;padding:3px 8px;border-radius:999px;background:#edf5ef;color:#287d4d;font-size:12px;font-weight:700}.attachmentList{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.attachmentList button{padding:5px 8px;border:1px solid #d7e2d9;border-radius:6px;color:var(--green);background:#fbfdfb;font-size:12px}.mutedCell{color:var(--muted);font-size:12px}.chatTextButton{white-space:nowrap}.chatTextViewer{display:grid;gap:14px}.chatTextViewer article{padding:12px;border:1px solid #dfe8e2;border-radius:8px;background:#fbfdfb}.chatTextViewer h3{margin:0 0 8px;color:#1f3529;font-size:15px}.chatTextViewer p{margin:0 0 10px;color:#31463a}.chatTextViewer pre{max-height:420px;overflow:auto;margin:0;padding:12px;border-radius:8px;background:#fff;color:#26382e;font-family:inherit;font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.chatTextViewer small{display:block;margin-top:8px;color:var(--muted)}.followupPage .followupHeader{margin-bottom:28px}.followupPage .followupHeader h1{margin-top:4px;font-size:28px;color:#10251b}.followupPage .followupHeader p{margin:8px 0 0;color:#60736a}.followupFilterBar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px;padding:12px 14px;border:1px solid #dfe9e1;border-radius:8px;background:#fff}.followupFilterBar label,.followupFilterBar span{color:#61746a;font-size:12px}.followupFilterBar select,.followupFilterBar input{height:34px;padding:0 12px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#31463a}.followupFilterBar .salesFilter{width:40px;min-width:40px;padding:0 8px}.followupFilterBar .scopeNote{margin-left:auto;white-space:nowrap}.followupFilterBar em{order:1;flex:1 1 240px;min-width:220px;margin-left:auto;color:#61746a;font-size:12px;font-style:normal;line-height:1.5;text-align:right}.recordTabs{display:flex;gap:8px;margin:0 0 16px}.recordTabs button{padding:8px 13px;border:1px solid #dce6de;border-radius:18px;background:#fff;color:#627168}.recordTabs button.active{border-color:var(--green);background:var(--green);color:#fff}.followupLayout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:20px}.panelHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panelHead h2{margin:0;font-size:16px}.panelHead small{color:var(--muted)}.followupPlan .planItem{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #eef2ef}.followupPlan .planItem i{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#e9f3ea;color:var(--green);font-style:normal;font-weight:700}.followupPlan .planItem span{display:grid;gap:3px}.followupPlan .planItem small{color:var(--muted)}.planActions{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.planActions button{min-height:28px;padding:3px 8px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#466553;font-size:12px;font-weight:700}.customerSelect{display:grid;gap:8px}.customerSelect input,.customerSelect select{width:100%;height:40px;padding:0 11px;border:1px solid #d7e2d9;border-radius:7px;outline:0;background:#fff}.modalMask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;background:#152b1f72}.modal{width:min(560px,100%);max-height:88vh;overflow:auto;padding:24px;border-radius:8px;background:#fff;box-shadow:0 18px 50px #0e211433}.modal:has(.customerDetailGrid){width:min(890px,calc(100vw - 48px))}.modalHead{display:flex;justify-content:space-between;gap:16px}.modal h2{margin:0;font-size:18px}.modal p{margin:4px 0 16px;color:var(--muted)}.formGrid{display:grid;gap:12px}.field span{display:block;margin-bottom:5px;color:#506057;font-size:12px}.field input,.field select{width:100%;height:40px;padding:0 11px;border:1px solid #d7e2d9;border-radius:7px;outline:0;background:#fff}.field input[type=file]{height:auto;min-height:40px;padding:8px 11px}.field input:focus,.field select:focus{border-color:var(--green)}.fieldHint{display:block;margin-top:6px;color:var(--muted);font-size:12px}.formError{margin:0;padding:9px 11px;border:1px solid #f0caca;border-radius:8px;background:#fff6f6;color:#b3261e;font-size:13px}@media (max-width: 900px){.sidebar{width:72px;padding:18px 8px}.brand strong,nav button:not(.active){font-size:0}nav button{justify-content:center}.userCard{display:none}.main{width:calc(100% - 72px);margin-left:72px}.metrics,.grid.two,.dashboardMetrics,.dashboardGrid.top,.dashboardGrid.bottom,.riskGrid{grid-template-columns:1fr}.analyticsHero{flex-direction:column;margin-bottom:22px}.analyticsMetrics,.analyticsGrid,.salesReportMetrics,.aiMetrics,.aiInsightsGrid{grid-template-columns:1fr}.leadHero{flex-direction:column;margin-bottom:22px}.leadHero .outlineButton{margin-top:0}.leadMetrics{grid-template-columns:1fr}.customerHero{flex-direction:column;margin-bottom:22px}.customerHero .outlineButton{margin-top:0}.customerMetrics{grid-template-columns:1fr}.customerSearchInline{margin-left:0}.listPager{grid-template-columns:1fr}.listPager div{justify-self:start}.scopeBar{align-items:stretch;flex-direction:column}.scopeBar em{margin-left:0}.aiConfigForm{grid-template-columns:1fr}.segmentedControl{width:100%;height:auto;flex-wrap:wrap}.segmentedControl button{flex:1 1 auto}.leadSearchInline{width:100%}.flowStrip{overflow:auto;white-space:nowrap}.page{padding:24px 18px}}
