: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)}.mobileOnly{display:none}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}.negativeProfit{color:#c83f32!important}.tableSubText{display:block;margin-top:4px;color:var(--muted);white-space:nowrap}.orderItemsEditor{grid-column:1 / -1;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8faf8}.orderItemsHead,.orderItemsFooter{display:flex;align-items:center;justify-content:space-between;gap:12px}.orderItemsHead span{color:var(--muted);font-size:13px}.orderItemRow{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(130px,1fr) minmax(140px,1fr) auto;align-items:end;gap:12px;margin-top:14px;padding:14px;border:1px solid #dfe8e1;border-radius:8px;background:#fff}.orderItemRow label{display:grid;gap:6px;color:var(--muted);font-size:12px}.orderItemRow input,.orderItemRow select{width:100%}.orderProductPicker{grid-column:1 / -1;display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) minmax(240px,1.5fr);gap:12px;padding-bottom:12px;border-bottom:1px dashed #dfe8e1}.temporaryProductButton{grid-column:1 / -1;justify-self:stretch;min-height:38px;padding:8px 12px;border:1px dashed #91c5a5;border-radius:7px;color:#167746;background:#f2fbf5;font-size:13px;font-weight:700;text-align:left}.temporaryProductButton:hover{border-color:#58a578;background:#e7f7ed}.temporaryProductPanel{margin-top:14px;padding:14px;border:1px solid #efc56a;border-radius:8px;background:#fffaf0}.temporaryProductGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.temporaryProductGrid label{display:grid;gap:6px;color:var(--muted);font-size:12px}.temporaryProductGrid input,.temporaryProductGrid select{width:100%}.temporaryNotes{grid-column:span 2}.pendingCostNotice,.pendingCostReport{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border:1px solid #efc56a;border-radius:8px;color:#7a5110;background:#fff8e8}.pendingCostNotice span,.pendingCostReport p{margin:0;color:#8a6425}.pendingCostBadge{display:inline-block;padding:3px 8px;border-radius:12px;color:#9a5d00;background:#fff0cc;font-size:12px;font-weight:700}.pendingCostRow{background:#fffcf4}.orderItemSubtotal{display:grid;gap:6px}.orderItemSubtotal span{color:var(--muted);font-size:12px}.orderItemSubtotal strong{min-height:38px;display:flex;align-items:center;font-size:16px}.orderItemRow>.leadActionButton{min-height:38px;padding:0 14px}.orderItemsFooter{margin-top:14px}.catalogAdminGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.catalogForm{padding:18px}.catalogForm h3{margin:0 0 14px}.catalogForm .field{margin-bottom:10px}.supplierChips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.supplierChips button{display:flex;gap:8px;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:16px;background:#fff}.supplierChips small{color:var(--muted)}.importPreview{display:grid;gap:8px;margin-top:14px;padding:12px;border-radius:8px;background:#f4f8f5}.successText{color:#167746}.tableScroll{overflow-x:auto}.profitMetrics{grid-template-columns:repeat(5,minmax(0,1fr))}.netProfitMetric{border-color:#a7cfb6;background:#f2faf5}.netProfitMetric em{display:block;margin-top:7px;color:#397154;font-size:12px;font-style:normal}.profitCostGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:-8px 0 18px}.profitCostGrid article{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#fff}.profitCostGrid small,.profitCostGrid span{display:block;color:var(--muted)}.profitCostGrid strong{display:block;margin:6px 0;font-size:18px}.profitCostGrid span{font-size:11px}.profitBreakdownGrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:16px;margin-top:18px}.channelCostList{display:grid;gap:10px}.channelCostList>div{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;border-radius:7px;background:#f6f9f7}.profitStatusNotice{margin-top:16px;padding:12px 14px;border:1px solid #efc56a;border-radius:8px;color:#805b1c;background:#fff9ec;font-size:13px}.costToolbar{display:flex;align-items:end;gap:12px;margin-bottom:16px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.costToolbar .field{min-width:180px;margin:0}.costToolbar .successText{margin-left:auto}.costSection{margin-bottom:18px}.reportTabs{display:flex;gap:8px;margin:16px 0}.reportTabs button{padding:8px 14px;border:1px solid var(--line);border-radius:6px;background:#fff}.reportTabs button.active{color:#fff;border-color:var(--primary);background:var(--primary)}.legacyProfit{margin-top:18px;padding:16px}.legacyProfit p{margin:6px 0 0;color:var(--muted)}.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}.goalPanelActions{display:flex;align-items:center;gap:8px}.goalPanelActions input{height:34px;padding:0 9px;border:1px solid #d5e1d8;border-radius:7px;background:#fff;color:var(--ink)}.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)}.weeklyGoalGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:18px}.weeklyGoalGrid article{padding:12px;border:1px solid #e1e9e3;border-radius:8px;background:#fbfdfb}.weeklyGoalGrid header,.weeklyGoalGrid footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.weeklyGoalGrid header small,.weeklyGoalGrid footer{color:var(--muted);font-size:11px}.weeklyGoalGrid article>div:not(.weekGoalTrack){display:grid;gap:4px;margin-top:10px;color:#66786d;font-size:11px}.weeklyGoalGrid article>div b{color:#294738;font-size:12px}.weekGoalTrack,.employeeGoalTrack{height:6px;overflow:hidden;margin:10px 0 7px;border-radius:999px;background:#e6eee8}.weekGoalTrack i,.employeeGoalTrack i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d8e58,#72c470)}.weeklyGoalGrid footer b{color:var(--green)}.employeeGoalList{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #e6ece7}.employeeGoalList>strong{margin-bottom:2px;font-size:13px}.employeeGoalList article{display:grid;grid-template-columns:120px minmax(100px,1fr) auto 54px;gap:10px;align-items:center;color:#52645a;font-size:12px}.employeeGoalList article>span{color:var(--ink);font-weight:700}.employeeGoalList article>span small{display:block;margin-top:2px;color:var(--muted);font-size:10px;font-weight:400}.employeeGoalList article>b{white-space:nowrap}.employeeGoalList article>em{color:var(--green);font-style:normal;font-weight:800;text-align:right}.employeeGoalTrack{margin:0}.salesTargetModal{width:min(720px,100%)}.weeklyTargetEditor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #dfe8e2;border-radius:8px;background:#f8fbf9}.weeklyTargetEditorHead{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px}.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}.leadRemarkButton{display:block;max-width:220px;overflow:hidden;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#4f6257;font-size:13px;line-height:1.35;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.leadRemarkButton:hover{border-color:#c7dccd;background:#f3faf5;color:var(--green)}.leadRemarkButton.empty{border-style:dashed;border-color:#cfe0d3;color:var(--green)}.leadRemarkModal{width:min(620px,100%)}.leadRemarkForm{display:grid;gap:12px}.leadRemarkForm textarea{width:100%;min-height:150px;resize:vertical;padding:12px;border:1px solid #d5e1d8;border-radius:7px;outline:0;background:#fff;color:var(--ink);font:inherit;line-height:1.6}.leadRemarkForm textarea:focus{border-color:#7fb392;box-shadow:0 0 0 3px #2f8d5617}.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}.customerScreenshotAnalysis{display:flex;align-items:center;gap:8px}.customerScreenshotAnalysis .attachmentPreviewList{flex-wrap:nowrap;margin-top:0}.aiScreenshotButton{min-height:30px;flex:none;padding:4px 9px;border:1px solid #8fc5a4;border-radius:6px;background:#eef9f2;color:#1e7245;font-size:12px;font-weight:700}.aiScreenshotButton:hover{border-color:#58a578;background:#e2f4e9}.aiScreenshotButton:disabled{opacity:.6;cursor:wait}.aiAnalyzedBadge{flex:none;padding:5px 8px;border-radius:999px;background:#e5f5eb;color:#19703f;font-size:12px;font-weight:800}.aiViewButton{min-height:30px;flex:none;padding:4px 9px;border:1px solid #c7d8cc;border-radius:6px;background:#fff;color:#3c6450;font-size:12px;font-weight:700}.aiViewButton:hover{border-color:#8fbaa0;background:#f4f9f6}.customerAiModal{width:min(820px,calc(100vw - 32px))}.customerAiSummary{display:grid;gap:6px;padding:14px 16px;border:1px solid #cfe2d4;border-radius:8px;background:#f4faf6}.customerAiSummary.medium{border-color:#edd59b;background:#fffaf0}.customerAiSummary.high{border-color:#efc1ba;background:#fff7f6}.customerAiSummary span{color:#52685b;font-size:13px}.customerAiSummary p{margin:4px 0 0;color:#80531b}.customerAiReport{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.customerAiTranscript{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8faf8}.customerAiTranscript summary{cursor:pointer;color:#286b44;font-weight:700}.customerAiTranscript pre{max-height:280px;overflow:auto;margin:12px 0 0;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:12px;line-height:1.65}.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){.catalogAdminGrid,.profitMetrics{grid-template-columns:1fr}.orderItemRow{grid-template-columns:1fr 1fr}.orderProductPicker{grid-column:1 / -1;grid-template-columns:1fr}.temporaryProductGrid{grid-template-columns:1fr}.temporaryNotes{grid-column:auto}.pendingCostNotice,.pendingCostReport{flex-direction:column}.orderItemsHead,.orderItemsFooter{align-items:flex-start;flex-direction:column}.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}}@media (max-width: 768px){body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.desktopOnly{display:none!important}.mobileOnly{display:block}.sidebar{display:none}.main{width:100%;margin-left:0}.page{width:100%;max-width:none;padding:20px 14px 26px}.dashboardPage,.leadPoolPage,.customerPage,.analyticsPage,.salesReportPage,.aiInsightsPage{padding-top:20px}.pageHeader,.workbenchHero,.leadHero,.customerHero,.followupPage .followupHeader{gap:12px;margin-bottom:18px}.pageHeader h1,.workbenchHero h1,.leadHero h1,.customerHero h1,.followupPage .followupHeader h1{font-size:24px}.pageHeader p,.workbenchHero p,.leadHero p,.customerHero p,.followupPage .followupHeader p{font-size:13px;line-height:1.55}.pageHeader .headerActions,.workbenchHero>button,.leadHero>button,.customerHero>button,.followupHeader>button{flex:none}.primaryButton,.outlineButton,.leadActionButton,.textButton{min-height:44px}.mobileBottomNav{position:fixed;inset:auto 0 0;z-index:50;height:calc(64px + env(safe-area-inset-bottom));padding:5px 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dbe6de;background:#fff;box-shadow:0 -8px 24px #13372314}.mobileBottomNav button{min-width:0;display:grid;place-items:center;align-content:center;gap:3px;padding:4px 2px;border:0;background:transparent;color:#718177;font-size:11px}.mobileBottomNav button.active{color:var(--green)}.mobileBottomNav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobileMoreMask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0c23176b}.mobileMoreSheet{position:absolute;inset:auto 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#fff}.mobileMoreSheet header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.mobileMoreSheet header strong,.mobileMoreSheet header small{display:block}.mobileMoreSheet header small{margin-top:4px;color:var(--muted);font-size:12px}.mobileMoreSheet header button{width:36px;height:36px;border:0;border-radius:50%;background:#f0f5f1;color:#456153;font-size:22px}.mobileMoreGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mobileMoreGrid button{min-height:82px;display:grid;place-items:center;align-content:center;gap:8px;padding:10px 6px;border:1px solid #e0e9e2;border-radius:12px;background:#f9fbf9;color:#43594d;font-size:12px}.mobileMoreGrid button.active{border-color:#8fc2a0;background:#edf8f1;color:var(--green)}.mobileLogoutButton{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:14px;border:1px solid #efd1cc;border-radius:10px;background:#fff8f7;color:#c65346}.mobileFilterShell{margin-bottom:14px}.mobileFilterShell>.leadSearchInline{width:100%;max-width:none;min-width:0;height:46px;margin-bottom:9px}.mobileFilterShell>.leadSearchInline input{min-width:0;font-size:16px}.mobileFilterToggle{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid #d9e5dc;border-radius:10px;background:#fff;color:#3f5c4c}.mobileFilterToggle span{display:flex;align-items:center;gap:7px;font-weight:700}.mobileFilterToggle b{color:var(--green);font-size:12px}.mobileFilterPanel{display:grid;gap:10px;margin-top:8px;padding:13px;border:1px solid #dce7df;border-radius:12px;background:#fff}.mobileFilterPanel>select,.mobileFilterPanel input,.mobileFilterPanel .field select{width:100%;min-width:0;height:44px;padding:0 11px;border:1px solid #d7e2d9;border-radius:8px;background:#fff;font-size:16px}.mobileFilterPanel>small{color:#6d7d73;font-size:12px}.mobileTimeFields{display:grid;grid-template-columns:1fr;gap:9px}.mobileQuickPanel{margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.mobileSectionTitle{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:13px}.mobileSectionTitle small{color:var(--muted);font-size:11px}.mobileQuickGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 8px}.mobileQuickGrid button{min-height:72px;display:grid;place-items:center;align-content:center;gap:7px;padding:8px 4px;border:0;border-radius:12px;background:#f2f8f4;color:#286b44;font-size:12px}.dashboardMetrics,.leadMetrics,.customerMetrics,.analyticsMetrics,.aiMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profitMetrics,.profitCostGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.profitBreakdownGrid,.customerAiReport{grid-template-columns:1fr}.costToolbar{align-items:stretch;flex-direction:column}.costToolbar .field{width:100%;min-width:0}.costToolbar .successText{margin-left:0}.dashboardMetric,.leadMetric,.customerMetric,.analyticsMetric{min-height:104px;padding:14px 12px;gap:9px}.dashboardMetric strong,.leadMetric strong,.customerMetric strong,.analyticsMetric strong{font-size:19px;line-height:1.25}.riskGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.riskCard{min-height:100px;padding:12px}.riskCard strong{font-size:20px}.dashboardGrid.top,.dashboardGrid.bottom,.followupLayout{grid-template-columns:1fr}.dashboardPanel,.riskPanel,.panel{padding:15px}.goalPanel .panelTitle{align-items:stretch;flex-direction:column}.goalPanelActions{justify-content:space-between}.goalPanelActions input{min-width:0;flex:1;height:44px;font-size:16px}.goalNumbers{gap:14px;margin-top:20px}.goalNumbers p{min-width:0}.goalNumbers strong{font-size:17px;white-space:nowrap}.weeklyGoalGrid{grid-template-columns:1fr}.employeeGoalList article{grid-template-columns:86px minmax(70px,1fr) auto}.employeeGoalList article>em{grid-column:3}.employeeGoalList article>b{grid-column:2 / 4;grid-row:2;text-align:right}.weeklyTargetEditor{grid-template-columns:1fr;padding:12px}.weeklyTargetEditorHead{align-items:stretch;flex-direction:column}.miniTable thead{display:none}.miniTable tbody,.miniTable tr,.miniTable td{display:block}.miniTable tr{margin-bottom:10px;padding:10px 12px;border:1px solid #e1e9e3;border-radius:10px;background:#fbfdfb}.miniTable td{padding:3px 0;border:0;white-space:normal}.flowStrip{padding:0 12px}.mobileCardList{display:grid;gap:12px}.mobileBusinessCard{overflow:hidden;border:1px solid #dfe8e2;border-radius:14px;background:#fff;box-shadow:0 7px 20px #1b482d0d}.mobileBusinessCard header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px}.mobileBusinessCard header strong,.mobileBusinessCard header small{display:block}.mobileBusinessCard header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobileBusinessCard header small{margin-top:4px;color:var(--muted);font-size:11px}.mobileAvatar{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:11px;background:#e1f3e7;color:var(--green);font-weight:800}.mobileStatus{padding:4px 8px;border-radius:999px;background:#e8f5ec;color:#237348;font-size:11px;white-space:nowrap}.mobileStatus.hot{background:#fff0df;color:#bd7021}.mobileCardFacts{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px;margin:0 14px 12px;padding:12px;border-radius:10px;background:#f7faf8}.mobileCardFacts small,.mobileCardFacts b{display:block}.mobileCardFacts small{margin-bottom:3px;color:var(--muted);font-size:10px}.mobileCardFacts b{overflow:hidden;color:#33493d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobileBusinessCard footer{display:flex;overflow-x:auto;border-top:1px solid #edf2ef}.mobileBusinessCard footer button,.mobileBusinessCard footer a,.mobileBusinessCard footer>span{min-width:72px;min-height:46px;flex:1 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:0;border-right:1px solid #edf2ef;background:#fff;color:#3f6650;font-size:12px}.mobileBusinessCard footer .danger{color:#ca5448}.mobileBusinessCard footer .disabled{color:#a7b0aa;pointer-events:none}.mobileDoneAction{color:#27804e!important}.mobileEmptyState{min-height:150px;display:grid;place-items:center;padding:24px;border:1px dashed #cfdcd3;border-radius:12px;background:#fbfdfb;color:var(--muted);text-align:center}.leadListPanel{border:0;background:transparent}.listPager{min-height:64px;padding:12px 2px}.listPager>span{font-size:12px}.listPager div{justify-self:stretch;overflow-x:auto;flex-wrap:nowrap}.listPager button{flex:0 0 auto;min-width:42px;height:42px}.recordTabs{overflow-x:auto;padding-bottom:3px}.recordTabs button{min-height:42px;flex:0 0 auto}.timelineItem{padding:14px}.timelineActions{overflow-x:auto}.timelineActions>*{flex:0 0 auto}.planItem{align-items:flex-start;flex-wrap:wrap}.planActions{width:100%;margin-left:40px}.planActions button{min-height:38px}.board{grid-template-columns:1fr;overflow:visible}.boardColumn{min-height:0;padding:10px}.oppCard footer button{min-height:40px}.modalMask{z-index:70;align-items:stretch;padding:0}.modal{width:100%;min-height:100dvh;max-height:100dvh;padding:18px 16px calc(24px + env(safe-area-inset-bottom));border-radius:0}.modal:has(.customerDetailGrid){width:100%}.modalHead{position:sticky;top:-18px;z-index:12;margin:-18px -16px 14px;padding:16px;border-bottom:1px solid #e2ebe4;background:#fff}.modalHead .iconButton{min-width:42px;min-height:42px}.field input,.field select,.customerSelect input,.customerSelect select{min-height:44px;font-size:16px}.modalActions{flex-wrap:wrap}.modalActions>*{flex:1 1 120px}.customer360Modal{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.customer360Modal>.customerDetailGrid,.customer360Modal>.customerDetailSection,.customer360Modal>.customerDetailActions{display:none}.mobileCustomerSummary{padding:15px;border-radius:14px;background:linear-gradient(135deg,#e8f6ed,#f8fcf9)}.mobileCustomerSummary header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center}.mobileCustomerSummary header strong,.mobileCustomerSummary header small{display:block}.mobileCustomerSummary header small{margin-top:4px;color:#60756a;font-size:11px}.mobileCustomerSummary header>span{padding:4px 8px;border-radius:999px;background:#fff;color:var(--green);font-size:11px}.mobileCustomerSummary>div{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:15px}.mobileCustomerSummary>div b{min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.mobileCustomerSummary>div small{display:block;margin-top:3px;color:#6a7d71;font-size:9px;font-weight:400}.mobileDetailTabs{position:sticky;top:59px;z-index:10;display:flex;overflow-x:auto;margin:12px -16px 0;padding:0 10px;border-bottom:1px solid #e2ebe4;background:#fff}.mobileDetailTabs button{width:auto;min-width:90px;min-height:46px;flex:1 0 auto;justify-content:center;padding:0 8px;border:0;border-bottom:3px solid transparent;border-radius:0;background:#fff;color:#607168;font-size:12px}.mobileDetailTabs button.active,.mobileDetailTabs button:hover{border-bottom-color:var(--green);background:#fff;color:var(--green);font-weight:800}.mobileDetailContent{padding:14px 0}.mobileProfileList{overflow:hidden;border:1px solid #e0e9e2;border-radius:12px;background:#fff}.mobileProfileList p{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;margin:0;padding:13px 14px;border-bottom:1px solid #edf2ef}.mobileProfileList p:last-child{border-bottom:0}.mobileProfileList span{color:var(--muted);font-size:12px}.mobileProfileList b{text-align:right;word-break:break-word;font-size:13px}.mobileMoreDetail h3{margin:18px 0 10px}.customer360Modal .customerActionForm{margin:12px 0;padding:14px;border:1px solid #cfe2d4;border-radius:12px;background:#f7fbf8}.mobileCustomerActions{position:fixed;inset:auto 0 0;z-index:75;height:calc(68px + env(safe-area-inset-bottom));padding:5px 4px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dbe6de;background:#fff;box-shadow:0 -8px 20px #153a2414}.mobileCustomerActions button,.mobileCustomerActions a{min-width:0;display:grid;place-items:center;align-content:center;gap:3px;padding:3px 1px;border:0;background:transparent;color:#50675a;font-size:10px}.mobileCustomerActions .active{color:var(--green)}.mobileCustomerActions .disabled{color:#adb6b0;pointer-events:none}.salesReportTableWrap,.customerTableWrap,.leadTableWrap{-webkit-overflow-scrolling:touch}}
