:root{color:#11182e;background:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #11182e;--muted: #6e768c;--line: #e6e9f0;--soft-line: #eef0f5;--surface: #ffffff;--surface-soft: #f7f8fb;--violet: #5538ee;--violet-dark: #4424dc;--violet-soft: #f0edff;--blue-soft: #ebf2ff;--cyan-soft: #e7f8fa;--green: #13a675;--green-soft: #e9f8f2;--amber: #e99512;--amber-soft: #fff5df;--red: #e94d47;--red-soft: #fff0ee;--shadow: 0 16px 50px rgba(34, 38, 67, .16)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#fff}body{margin:0;min-width:320px;min-height:100vh;background:#fff;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;background:#fff}.topbar{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:235px 1fr minmax(410px,auto);align-items:stretch;height:58px;border-bottom:1px solid var(--line);background:#fffffff7;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.wordmark{display:flex;align-items:center;padding:0 24px;font-size:21px;font-weight:760;letter-spacing:-.035em;white-space:nowrap}.wordmark span{margin-left:5px;font-weight:650;letter-spacing:-.02em}.topnav{display:flex;align-items:stretch;gap:16px;overflow:hidden}.topnav a{position:relative;display:flex;align-items:center;padding:0 7px;color:#242a3c;font-size:14px;font-weight:650;white-space:nowrap}.topnav a:after{position:absolute;right:4px;bottom:-1px;left:4px;height:3px;border-radius:3px 3px 0 0;background:var(--violet);content:"";transform:scaleX(0);transition:transform .16s ease}.topnav a:hover,.topnav a.active{color:var(--violet)}.topnav a.active:after{transform:scaleX(1)}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-right:20px}.global-search{position:relative;display:flex;align-items:center;width:235px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff}.global-search:focus-within{border-color:#a89bff;box-shadow:0 0 0 3px #5538ee14}.global-search input{width:100%;border:0;outline:0;padding-left:7px;color:var(--ink);background:transparent;font-size:12px}.search-popover{position:absolute;top:41px;right:0;left:0;z-index:70;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow)}.search-popover button{display:flex;flex-direction:column;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--soft-line);background:#fff;text-align:left}.search-popover button:hover{background:var(--surface-soft)}.search-popover button span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:650}.search-popover button em{padding:2px 5px;border-radius:4px;color:var(--violet);background:var(--violet-soft);font-size:9px;font-style:normal;font-weight:650}.search-popover button small,.search-popover p{margin:3px 0 0;color:var(--muted);font-size:11px}.search-popover p{padding:12px}.month-label{color:#34394b;font-size:13px;white-space:nowrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:8px;color:#444a5f;background:transparent;font-size:23px}.icon-button:hover{background:var(--surface-soft)}.notification-button{position:relative}.notification-button b{position:absolute;top:1px;right:0;display:grid;min-width:15px;height:15px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:9px;color:#fff;background:var(--red);font-size:8px;line-height:1}.profile-chip{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}.profile-avatar{display:grid;width:29px;height:29px;place-items:center;border-radius:50%;color:#fff;background:var(--violet);font-size:12px}.logout-button{display:grid;width:27px;height:27px;place-items:center;border:0;border-radius:7px;color:var(--muted);background:transparent}.logout-button:hover{color:var(--red);background:var(--red-soft)}.app-main{position:relative;max-width:1600px;min-height:calc(100vh - 58px);margin:0 auto;padding:24px 24px 40px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-height:70px}.page-header h1{margin:0 0 7px;font-size:24px;font-weight:760;letter-spacing:-.035em}.page-header p{margin:0;color:var(--muted);font-size:13px}.page-actions,.inline-actions{display:flex;align-items:center;gap:10px}.inline-actions.end{justify-content:flex-end}.primary-button,.secondary-button,.voice-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:0 17px;border-radius:7px;font-size:13px;font-weight:700;transition:background .15s ease,border .15s ease,transform .1s ease}.primary-button:active,.secondary-button:active{transform:translateY(1px)}.primary-button{border:1px solid var(--violet);color:#fff;background:var(--violet);box-shadow:0 4px 12px #5538ee2b}.primary-button:hover{border-color:var(--violet-dark);background:var(--violet-dark)}.primary-button.full{width:100%}.secondary-button,.voice-button{border:1px solid #dfe2ea;color:#30364a;background:#fff}.secondary-button:hover,.voice-button:hover{border-color:#b8b1e8;color:var(--violet);background:#faf9ff}.voice-button.active{border-color:var(--red);color:var(--red);background:var(--red-soft)}.dashboard-toolbar,.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 15px}.segmented-control{display:inline-flex;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.segmented-control button{min-width:120px;height:35px;border:0;border-right:1px solid var(--line);color:#33394d;background:#fff;font-size:12px;font-weight:650}.segmented-control button:last-child{border-right:0}.segmented-control button b{margin-left:7px;padding:2px 6px;border-radius:10px;color:var(--muted);background:#f0f1f5;font-size:10px}.segmented-control button.active{color:#fff;background:var(--violet)}.segmented-control button.active b{color:#fff;background:#ffffff38}.toolbar-right{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px}.table-search{display:flex;align-items:center;width:180px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:#fff}.table-search.wide{width:min(420px,100%)}.table-search input{width:100%;border:0;outline:0;padding-left:7px;color:var(--ink);background:transparent;font-size:12px}.summary-strip{display:grid;grid-template-columns:.7fr 1.5fr 1.2fr 1.4fr 1fr;overflow:hidden;margin-bottom:18px;border:1px solid var(--line);border-radius:10px;background:#fff}.summary-metric{min-width:0;min-height:126px;padding:22px 20px;border-right:1px solid var(--line)}.summary-metric:last-child{border-right:0}.summary-label{display:block;margin-bottom:12px;color:#41475a;font-size:12px;font-weight:650}.summary-value-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.summary-value-row strong{overflow:hidden;color:#12172a;font-size:clamp(18px,1.55vw,23px);font-weight:730;letter-spacing:-.03em;white-space:nowrap}.summary-metric small{display:block;margin-top:15px;color:var(--muted);font-size:11px}.summary-metric small b{margin-left:4px}.positive-text{color:var(--green)!important}.danger-text{color:var(--red)!important}.sparkline{width:75px;height:42px}.metric-progress,.progress-track{overflow:hidden;height:5px;margin-top:16px;border-radius:8px;background:#e7e8ee}.metric-progress span,.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--violet)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:14px}.dashboard-grid>*{min-width:0}.portfolio-table-wrap,.data-panel{min-width:0;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.portfolio-table,.data-table{width:100%;border-collapse:collapse;table-layout:fixed}.portfolio-table{min-width:1090px}.portfolio-table th,.data-table th{height:42px;padding:0 10px;border-bottom:1px solid var(--line);color:#3c4255;background:#fafbfc;font-size:10px;font-weight:720;text-align:left;white-space:nowrap}.portfolio-table td,.data-table td{height:68px;padding:8px 10px;border-bottom:1px solid var(--soft-line);color:#282e41;font-size:10.5px;vertical-align:middle}.portfolio-table tbody tr{cursor:pointer;transition:background .12s ease}.portfolio-table tbody tr:hover,.data-table tbody tr:hover{background:#faf9ff}.portfolio-table tbody tr:last-child td,.data-table tbody tr:last-child td{border-bottom:0}.portfolio-table th:nth-child(1){width:180px}.portfolio-table th:nth-child(2){width:90px}.portfolio-table th:nth-child(3){width:115px}.portfolio-table th:nth-child(4){width:100px}.portfolio-table th:nth-child(5){width:105px}.portfolio-table th:nth-child(6){width:90px}.portfolio-table th:nth-child(7){width:115px}.portfolio-table th:nth-child(8){width:145px}.portfolio-table th:nth-child(9){width:75px}.portfolio-table th:nth-child(10){width:75px}.company-cell{display:flex;align-items:center;gap:10px}.company-cell strong{display:block;overflow:hidden;max-width:150px;margin-bottom:4px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.company-cell small,.action-cell small,.risk-cell small,.collection-cell small{display:block;color:var(--muted);font-size:9px}.company-icon{display:grid;flex:0 0 auto;width:33px;height:33px;place-items:center;border:1px solid #cfd6f7;border-radius:9px;color:var(--violet);background:#f4f5ff}.stage-pill,.service-tags span{display:inline-flex;align-items:center;min-height:21px;padding:3px 8px;border-radius:6px;color:#4964b5;background:var(--blue-soft);font-size:9.5px;font-weight:650;white-space:nowrap}.stage-pill{color:var(--violet);background:var(--violet-soft)}.service-tags{display:flex;flex-wrap:wrap;gap:5px}.service-tags.compact{gap:3px}.service-tags .violet{color:#6746c9;background:var(--violet-soft)}.service-tags .cyan{color:#07889a;background:var(--cyan-soft)}.service-tags .blue{color:#4169c8;background:var(--blue-soft)}.money-cell{font-size:11px!important;font-weight:650}.collection-cell>div:first-child{display:flex;align-items:baseline;gap:8px}.collection-cell b{font-size:10px}.collection-cell .progress-track{width:78px;margin-top:6px;height:3px}.collection-cell.small{min-width:100px}.status-pill{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:4px 9px;border-radius:12px;color:var(--green);background:var(--green-soft);font-size:9.5px;font-weight:700;white-space:nowrap}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.warning{color:var(--amber);background:var(--amber-soft)}.status-pill.danger{color:var(--red);background:var(--red-soft)}.action-cell span,.risk-cell span{display:-webkit-box;overflow:hidden;margin-bottom:4px;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}.risk-cell small{display:inline-block;padding:2px 5px;border-radius:4px}.risk-风险{color:var(--red)!important;background:var(--red-soft)}.risk-预警{color:var(--amber)!important;background:var(--amber-soft)}.risk-健康{color:var(--green)!important;background:var(--green-soft)}.owner-cell{display:flex;align-items:center;gap:5px}.owner-cell svg{flex:0 0 auto;color:#8b90a2}.date-cell{color:#666e83!important;white-space:nowrap}.analytics-rail{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.analytics-rail section{padding:18px 16px 20px;border-bottom:1px solid var(--line)}.analytics-rail section:last-child{border-bottom:0}.analytics-rail h3{margin:0 0 17px;font-size:12px;font-weight:730}.donut-row{display:flex;align-items:center;gap:8px}.donut-chart{position:relative;width:105px;height:105px;flex:0 0 auto}.donut-chart>span{position:absolute;top:50%;left:50%;color:var(--muted);font-size:9px;text-align:center;transform:translate(-50%,-50%)}.donut-chart>span b{display:block;color:var(--ink);font-size:15px}.legend-list{min-width:0;flex:1}.legend-list>div{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:5px;margin:7px 0;color:var(--muted);font-size:8.5px}.legend-list i{width:6px;height:6px;border-radius:2px}.legend-list b{color:#555d72}.service-distribution>div{margin:16px 0}.service-distribution label{display:flex;justify-content:space-between;margin-bottom:8px;color:#43495b;font-size:10px}.service-distribution>div>div{overflow:hidden;height:8px;border-radius:2px;background:#e8eaf0}.service-distribution>div>div span{display:block;height:100%;border-radius:inherit}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 0 0;color:var(--muted);font-size:11px}.table-footer>div{align-items:center;display:flex;gap:5px}.table-footer button,.table-footer select{min-width:28px;height:28px;border:1px solid var(--line);border-radius:5px;color:#555c70;background:#fff;font-size:10px}.table-footer button.active{border-color:var(--violet);color:#fff;background:var(--violet)}.table-footer select{min-width:80px;padding:0 8px}.table-footer>div>span{padding:0 7px;white-space:nowrap}.page-alert,.form-error{margin:10px 0;padding:10px 12px;border:1px solid #f6c2bd;border-radius:7px;color:#a02b28;background:var(--red-soft);font-size:12px}.loading-overlay{position:fixed;right:22px;bottom:22px;z-index:80;padding:10px 14px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;box-shadow:var(--shadow);font-size:12px}.loading-screen{display:grid;min-height:100vh;place-items:center;color:var(--muted)}.table-empty,.column-empty{padding:30px;color:var(--muted);font-size:12px;text-align:center}.list-toolbar{justify-content:flex-start;margin:8px 0 18px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.list-toolbar label{display:flex;align-items:center;gap:7px;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:#fff}.list-toolbar select{border:0;outline:0;color:#363b4f;background:transparent;font-size:12px}.customer-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-card{display:grid;grid-template-columns:auto minmax(0,1.4fr) minmax(110px,.6fr) minmax(150px,.8fr);align-items:center;gap:14px;padding:17px;border:1px solid var(--line);border-radius:10px;color:inherit;background:#fff;text-align:left;transition:border .15s ease,box-shadow .15s ease,transform .15s ease}.customer-card:hover{border-color:#c6bef7;box-shadow:0 8px 22px #28245614;transform:translateY(-1px)}.customer-card-main{min-width:0}.customer-card h3{overflow:hidden;margin:0 0 5px;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.customer-card p{margin:0 0 10px;color:var(--muted);font-size:11px}.customer-card-value,.customer-card-action{display:flex;min-width:0;flex-direction:column;gap:6px}.customer-card-value>span,.customer-card-action>span{color:var(--muted);font-size:10px}.customer-card-value>b{font-size:14px}.customer-card-action>b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-card-action small{color:var(--muted);font-size:9px}.pipeline-board{display:grid;grid-template-columns:repeat(6,minmax(210px,1fr));gap:10px;overflow-x:auto;padding-bottom:12px}.opportunity-tabs{width:fit-content;margin:0 0 14px}.pipeline-column{min-height:calc(100vh - 175px);padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.pipeline-column>header{display:flex;align-items:center;justify-content:space-between;color:#30364a;font-size:12px;font-weight:720}.pipeline-column>header b{display:grid;min-width:21px;height:21px;place-items:center;border-radius:11px;color:var(--muted);background:#e7e8ee;font-size:9px}.pipeline-column>small{display:block;margin:7px 0 12px;color:var(--muted);font-size:10px}.pipeline-stack{display:grid;gap:9px}.opportunity-card{position:relative;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 2px 7px #272a410a}.service-dot{position:absolute;top:15px;right:13px;width:7px;height:7px;border-radius:50%;background:var(--violet)}.service-dot.blue{background:#3977f6}.service-dot.cyan{background:#0ba6b7}.opportunity-card h3{margin:0 15px 6px 0;font-size:12px}.opportunity-card p{min-height:30px;margin:0 0 10px;color:var(--muted);font-size:10px}.opportunity-card>strong{font-size:14px}.opportunity-meta{display:flex;flex-direction:column;gap:5px;margin:10px 0;padding-top:9px;border-top:1px solid var(--soft-line);color:var(--muted);font-size:9px}.opportunity-card button{width:100%;height:29px;border:1px solid var(--line);border-radius:6px;color:var(--violet);background:#fff;font-size:9px;font-weight:650}.opportunity-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.opportunity-actions button:only-child{grid-column:span 2}.status-select{min-height:30px;min-width:92px;border:1px solid var(--line);border-radius:6px;color:#4d5468;background:#fff;font-size:10px}.opportunity-card button:hover{border-color:#bab0f5;background:#faf9ff}.mini-metrics,.payment-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:9px 0 18px}.mini-metrics>div,.payment-overview>div{display:flex;align-items:center;gap:12px;min-height:78px;padding:16px;border:1px solid var(--line);border-radius:9px;color:var(--violet);background:#fff}.mini-metrics span,.payment-overview span{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px}.mini-metrics b,.payment-overview b{color:var(--ink);font-size:18px}.payment-overview .warning{color:var(--red)}.data-table{min-width:900px}.data-table th,.data-table td{height:52px;padding:0 14px;font-size:11px}.data-table code{color:var(--violet);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.task-panel{margin-top:8px}.task-check{display:grid;width:31px;height:31px;place-items:center;border:0;border-radius:7px;color:var(--muted);background:transparent}.task-check:hover{color:var(--green);background:var(--green-soft)}.priority-pill{display:inline-flex;min-height:22px;align-items:center;padding:0 8px;border-radius:6px;color:#5d6478;background:var(--surface-soft);font-size:9px;font-weight:700}.priority-pill.high{color:var(--amber);background:var(--amber-soft)}.priority-pill.critical{color:var(--red);background:var(--red-soft)}.text-button{border:0;color:var(--violet);background:transparent;font-size:11px;font-weight:650}.delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card{padding:19px;border:1px solid var(--line);border-radius:10px;background:#fff}.project-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-card h3{margin:5px 0 14px;font-size:15px}.eyebrow{color:var(--muted);font-size:10px;text-transform:uppercase}.project-progress{margin:20px 0}.project-progress>div:first-child{display:flex;justify-content:space-between;font-size:11px}.project-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:13px;border-radius:8px;background:var(--surface-soft)}.project-card dt{margin-bottom:5px;color:var(--muted);font-size:9px}.project-card dd{margin:0;font-size:11px;font-weight:650}.project-card footer{display:flex;justify-content:flex-end;margin-top:14px}.insights-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.8fr);gap:16px}.insight-brief,.ai-chat-panel,.settings-section{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff}.insight-brief>header,.ai-chat-panel>header,.settings-section>header{display:flex;align-items:center;gap:11px;padding:18px 20px;border-bottom:1px solid var(--line);color:var(--violet)}.insight-brief h2,.ai-chat-panel h2,.settings-section h2{margin:0 0 4px;color:var(--ink);font-size:15px}.insight-brief header p,.ai-chat-panel header p,.settings-section header p{margin:0;color:var(--muted);font-size:10px}.brief-items{padding:0 20px}.brief-items article{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid var(--soft-line);color:var(--green)}.brief-items article.warning{color:var(--amber)}.brief-items article:last-child{border-bottom:0;color:var(--violet)}.brief-items h3{margin:0 0 7px;color:var(--ink);font-size:13px}.brief-items p{margin:0;color:#5f667a;font-size:11px;line-height:1.7}.ai-chat-panel{display:flex;min-height:610px;flex-direction:column}.chat-messages{display:flex;overflow-y:auto;min-height:310px;max-height:420px;flex:1;flex-direction:column;gap:10px;padding:18px;background:#fafbfc}.chat-message{max-width:86%;padding:11px 13px;border:1px solid var(--line);border-radius:9px 9px 9px 2px;color:#444b60;background:#fff;font-size:11px;line-height:1.65}.chat-message.user{align-self:flex-end;border-color:#d7d0ff;border-radius:9px 9px 2px;color:#3e3182;background:var(--violet-soft)}.chat-message.typing{color:var(--muted)}.suggestion-chips{display:flex;flex-wrap:wrap;gap:7px;padding:12px 15px 0}.suggestion-chips button{padding:6px 9px;border:1px solid var(--line);border-radius:6px;color:#5b6275;background:#fff;font-size:9px}.suggestion-chips button:hover{color:var(--violet);background:var(--violet-soft)}.chat-composer{display:flex;align-items:flex-end;gap:9px;padding:13px 15px 15px}.chat-composer textarea{min-height:58px;flex:1;resize:vertical}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-section{padding-bottom:18px}.settings-section.span-2{grid-column:span 2}.role-list{padding:6px 20px}.role-list>div{display:grid;grid-template-columns:80px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--soft-line);font-size:11px}.role-list>div:last-child{border-bottom:0}.role-list span{color:var(--muted)}.connection-status{margin:18px 20px 10px;padding:10px 12px;border-radius:7px;color:var(--green);background:var(--green-soft);font-size:11px}.connection-status.warning{color:#9a6812;background:var(--amber-soft)}.connection-status i{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:currentColor}.settings-note{margin:0 20px;color:var(--muted);font-size:10px;line-height:1.6}.security-form{display:grid;gap:10px;padding:18px 20px 0}.security-form label{display:grid;gap:5px;color:#5b6275;font-size:10px}.security-form input{min-height:36px}.member-table{padding:8px 20px 0}.member-table>div{display:grid;grid-template-columns:minmax(180px,1fr) 120px 58px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--soft-line)}.member-table span{display:flex;min-width:0;flex-direction:column;gap:3px}.member-table small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis}.member-table select{min-height:32px}.member-form{padding-top:16px}.settings-message{grid-column:span 2;margin:0;padding:11px 13px;border:1px solid var(--line);border-radius:8px;color:#4f566b;background:#fff;font-size:11px}.integration-status{display:flex;align-items:center;gap:18px;padding:16px 20px;border-bottom:1px solid var(--line)}.integration-status>div{display:flex;align-items:center;gap:9px;font-size:11px}.settings-form{padding:18px 20px 0}.schedule-note{display:flex;align-items:center;gap:9px;padding:11px;border-radius:7px;color:#5b6276;background:var(--surface-soft);font-size:10px}.modal-backdrop,.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;padding:24px;place-items:center;background:#11162b75;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-panel{width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid rgba(255,255,255,.5);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.modal-panel.wide{width:min(960px,100%)}.modal-panel>header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.modal-panel h2{margin:0 0 5px;font-size:18px}.modal-panel header p{margin:0;color:var(--muted);font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 22px}.form-grid label{display:flex;flex-direction:column;gap:7px;color:#464c60;font-size:11px;font-weight:620}.form-grid .span-2{grid-column:span 2}input,select,textarea{width:100%;border:1px solid #dfe2ea;border-radius:7px;outline:0;color:var(--ink);background:#fff}input,select{min-height:38px;padding:0 10px}textarea{padding:10px;resize:vertical;line-height:1.55}input:focus,select:focus,textarea:focus{border-color:#a89bff;box-shadow:0 0 0 3px #5538ee14}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.service-fieldset,.schedule-fieldset{display:grid;gap:9px;margin:0;padding:13px;border:1px solid var(--line);border-radius:9px}.service-fieldset legend,.schedule-fieldset legend{padding:0 6px;color:#464c60;font-size:11px;font-weight:700}.service-amount-row{display:grid;grid-template-columns:1fr 180px;align-items:center;gap:12px}.checkbox-label{display:flex!important;align-items:center;gap:9px!important;flex-direction:row!important}.checkbox-label input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--violet)}.schedule-row{display:grid;grid-template-columns:1fr 140px 150px auto;align-items:center;gap:8px}.compact-button{width:max-content;min-height:32px;margin-top:2px}.workstream-list{display:grid;gap:14px;padding:20px 22px}.workstream-list>section{overflow:hidden;border:1px solid var(--line);border-radius:9px}.workstream-list>section>header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;background:var(--surface-soft)}.workstream-list h3{margin:0;font-size:12px}.workstream-list header span{color:var(--muted);font-size:9px}.milestone-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(110px,1fr) 42px 125px 100px;align-items:center;gap:12px;padding:10px 13px;border-top:1px solid var(--soft-line)}.milestone-row>div:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.milestone-row b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.milestone-row small,.milestone-row>span{color:var(--muted);font-size:9px}.milestone-row .progress-track{margin:0}.milestone-row select,.milestone-date{min-height:31px;font-size:9px}.delivery-calendar-list{display:grid;gap:8px;padding:18px 22px 22px}.delivery-calendar-list>button{display:grid;grid-template-columns:105px 1fr auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-align:left}.delivery-calendar-list>button:hover{border-color:#c8c0f7;background:var(--violet-soft)}.delivery-calendar-list time,.delivery-calendar-list em{color:var(--muted);font-size:10px;font-style:normal}.delivery-calendar-list span{display:flex;flex-direction:column;gap:4px}.delivery-calendar-list small{color:var(--muted);font-size:9px}.followup-layout{display:grid;grid-template-columns:1.15fr .85fr;min-height:500px}.followup-layout>section{padding-bottom:20px;border-right:1px solid var(--line)}.followup-layout>section .form-grid{padding-bottom:12px}.followup-layout>section>.inline-actions,.followup-layout>section>.inline-message{margin:0 22px}.inline-message{color:var(--muted);font-size:10px}.ai-preview{padding:20px;background:#fafbfc}.ai-preview h3{margin:0 0 15px;font-size:13px}.empty-preview{display:grid;min-height:320px;place-items:center;align-content:center;color:#888fa2;text-align:center}.empty-preview p{max-width:220px;font-size:11px;line-height:1.6}.ai-preview dl{margin:0}.ai-preview dl>div{margin-bottom:13px;padding:11px;border:1px solid var(--line);border-radius:7px;background:#fff}.ai-preview dt{margin-bottom:6px;color:var(--muted);font-size:9px}.ai-preview dd{margin:0;font-size:11px;line-height:1.55}.proposal-list{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:10px}.proposal-list strong{font-size:10px}.proposal-list span{padding:7px 8px;border-radius:6px;color:#535a6f;background:#f0f1f5}.approval-note{margin:12px 0;color:var(--amber);font-size:10px}.drawer-backdrop{display:flex;justify-content:flex-end;padding:0}.account-drawer{width:min(440px,100%);height:100%;overflow-y:auto;background:#fff;box-shadow:-18px 0 50px #1a1d3233}.account-drawer>header{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;padding:22px;border-bottom:1px solid var(--line)}.account-edit-form{padding:0}.account-drawer h2{margin:0 0 5px;font-size:17px}.account-drawer header p{margin:0;color:var(--muted);font-size:10px}.account-drawer>section{padding:18px 22px;border-bottom:1px solid var(--line)}.account-drawer>section h3{margin:0 0 10px;font-size:12px}.account-drawer>section p{margin:0 0 6px;color:#474e63;font-size:11px;line-height:1.6}.account-drawer>section small{color:var(--muted);font-size:9px}.drawer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.drawer-section-heading h3{margin:0!important}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}.contact-form input{min-height:34px;font-size:10px}.contact-form button{min-height:34px}.contact-list,.activity-list,.document-list{display:grid;gap:7px}.contact-list>div,.activity-list>div,.document-list>a{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:7px;background:var(--surface-soft)}.contact-list b,.activity-list b,.document-list b{color:#343a4e;font-size:10px}.contact-list span,.activity-list span,.document-list span,.muted-copy{color:var(--muted)!important;font-size:9px!important}.document-upload{display:grid;grid-template-columns:1fr auto;gap:7px;margin-bottom:10px}.document-upload input{min-width:0;min-height:36px;padding:5px 7px;font-size:9px}.document-upload button{min-height:36px}.drawer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.drawer-stats div{display:flex;flex-direction:column;gap:7px;min-width:0}.drawer-stats span{color:var(--muted);font-size:9px}.drawer-stats strong{overflow:hidden;font-size:12px;text-overflow:ellipsis}.health-text.风险{color:var(--red)}.health-text.预警{color:var(--amber)}.health-text.健康{color:var(--green)}.risk-panel{background:#faf9ff}.account-drawer>footer{display:flex;justify-content:flex-end;gap:8px;padding:18px 22px}.auth-screen{display:grid;min-height:100vh;padding:24px;place-items:center;background:#f5f6fa}.auth-panel{width:min(430px,100%);padding:36px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 60px #2427421f}.auth-brand{margin-bottom:28px;font-size:18px;font-weight:760}.auth-brand span{color:var(--violet)}.auth-panel h1{margin:0 0 8px;font-size:24px}.auth-panel>p{margin:0 0 24px;color:var(--muted);font-size:12px}.auth-panel form{display:grid;gap:14px}.auth-panel label{display:flex;flex-direction:column;gap:7px;color:#444a5e;font-size:11px;font-weight:650}.mobile-nav{display:none}.settings-fab{position:fixed;right:16px;bottom:16px;z-index:45;display:grid;width:41px;height:41px;place-items:center;border:1px solid var(--line);border-radius:50%;color:#697086;background:#fff;box-shadow:0 8px 24px #1d21391f}.settings-fab:hover,.settings-fab.active{color:var(--violet);background:var(--violet-soft)}@media(max-width:1280px){.topbar{grid-template-columns:205px 1fr minmax(350px,auto)}.wordmark{padding-left:18px;font-size:18px}.topnav{gap:7px}.global-search{width:190px}.month-label{display:none}.summary-strip{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto}.customer-cards{grid-template-columns:1fr}}@media(max-width:980px){.topbar{grid-template-columns:1fr auto}.topnav,.global-search{display:none}.app-main{padding:20px 16px 90px}.dashboard-grid,.insights-layout{grid-template-columns:1fr}.analytics-rail{display:grid;grid-template-columns:1fr 1fr}.analytics-rail section{border-right:1px solid var(--line);border-bottom:0}.analytics-rail section:last-child{border-right:0}.summary-strip{grid-template-columns:repeat(5,190px)}.delivery-grid,.settings-grid{grid-template-columns:1fr}.settings-section.span-2{grid-column:span 1}.mobile-nav{position:fixed;right:10px;bottom:10px;left:10px;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden;height:64px;border:1px solid var(--line);border-radius:13px;background:#fffffff7;box-shadow:0 14px 40px #1b1f352e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-nav a{display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;color:#777e91;font-size:8px}.mobile-nav a.active{color:var(--violet);background:var(--violet-soft)}.settings-fab{right:14px;bottom:82px}}@media(max-width:680px){.topbar{height:54px}.wordmark{padding-left:14px;font-size:16px}.topbar-actions{gap:5px;padding-right:10px}.profile-chip>span:not(.profile-avatar),.logout-button{display:none}.page-header{flex-direction:column;min-height:0;margin-bottom:16px}.page-actions{width:100%}.page-actions button{flex:1}.dashboard-toolbar{align-items:stretch;flex-direction:column}.segmented-control{width:100%}.segmented-control button{min-width:0;flex:1}.toolbar-right{justify-content:space-between}.table-search{flex:1}.summary-strip{margin-right:-16px;margin-left:-16px;border-right:0;border-left:0;border-radius:0}.analytics-rail{grid-template-columns:1fr}.analytics-rail section{border-right:0;border-bottom:1px solid var(--line)}.customer-card{grid-template-columns:auto 1fr}.customer-card-value,.customer-card-action{grid-column:2}.mini-metrics,.payment-overview,.followup-layout{grid-template-columns:1fr}.followup-layout>section{border-right:0;border-bottom:1px solid var(--line)}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:span 1}.service-amount-row,.schedule-row,.milestone-row{grid-template-columns:1fr}.milestone-row{gap:7px}.contact-form{grid-template-columns:1fr}.member-table>div,.delivery-calendar-list>button{grid-template-columns:1fr}.account-drawer>header{grid-template-columns:auto 1fr auto}.account-drawer>header>.text-button{grid-column:span 2;justify-self:start}.modal-backdrop{padding:0}.modal-panel{width:100%;max-height:100vh;border-radius:0}.integration-status{align-items:flex-start;flex-direction:column}.project-card dl{grid-template-columns:1fr}}
