:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#233f4c;background:#f3f6f8;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}.crm-app{--ink:#193b4b;--teal:#176c70;--line:#e3eaee;--muted:#768892;min-height:100vh;color:var(--ink);font-size:14px;line-height:1.6}.crm-app h1,.crm-app h2,.crm-app h3,.crm-app p{margin:0}.crm-app h1{font-size:28px;line-height:1.4;letter-spacing:-.7px;font-weight:650}.crm-app h2{font-size:18px;font-weight:650}.crm-app small{font-size:12px}.crm-app button,.crm-app input,.crm-app select,.crm-app textarea{font:inherit}.crm-app button{cursor:pointer;border:1px solid #d8e3e7;background:#fff;color:var(--ink);border-radius:7px;padding:9px 15px;line-height:1.5;transition:background .15s,border-color .15s}.crm-app button:hover:not(:disabled){background:#edf5f5;border-color:#a4c4c7}.crm-app button:disabled{opacity:.45;cursor:not-allowed}.crm-app button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.crm-app button.primary:hover:not(:disabled){background:#10585b}.crm-app button.text-button{background:transparent;border:0;padding:5px 8px;color:var(--teal)}.crm-app button.danger-outline{color:#a54743;border-color:#e8c9c6}.crm-app button.icon-button{border:0;font-size:24px;padding:0 9px}.crm-app :focus-visible{outline:3px solid #b1d6ce;outline-offset:3px}.crm-app input:not([type=checkbox]),.crm-app select,.crm-app textarea{width:100%;background:#fff;border:1px solid #d6e2e6;border-radius:6px;color:var(--ink);padding:10px 12px;min-height:42px}.crm-app input::placeholder{color:#9ca9af}.crm-app input[type=checkbox]{width:17px;height:17px;accent-color:var(--teal)}.crm-app input[type=file]{font-size:12px;padding:8px;max-width:100%}.crm-app textarea{resize:vertical}.crm-app label{display:flex;flex-direction:column;gap:7px;font-size:13px}.crm-app label small{color:var(--muted);font-size:12px;line-height:1.5}.crm-app label em{color:#ad5e44;font-style:normal}.crm-app a{color:var(--teal);text-decoration:none}.crm-app a:hover{text-decoration:underline}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;color:#64868f;margin-bottom:10px!important}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:600;letter-spacing:1px}.brand small{font-size:11px;font-weight:400;color:#9db5c1;letter-spacing:2px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#61a69b;border-radius:9px;font-size:20px;color:#fff;box-shadow:inset 0 0 0 1px #ffffff28}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#123647;color:#eff7fa;padding:32px 20px;display:flex;flex-direction:column;z-index:20}.tenant-label{color:#94acb7;font-size:12px;padding:20px 0 26px;border-bottom:1px solid #ffffff12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:22px;overflow-y:auto}.sidebar nav button{display:flex;gap:14px;text-align:left;color:#a9c0ca;background:transparent;border:0;padding:11px 15px;border-radius:6px;font-size:13px}.sidebar nav button>span{width:20px;font-size:19px;line-height:20px;text-align:center}.sidebar nav button.active{background:#25505e;color:#fff;box-shadow:inset 3px 0 #7ec8b5}.sidebar nav button:hover:not(:disabled){background:#204653;color:#fff}.sidebar-foot{margin-top:auto;padding:25px 10px 0;color:#7f9fab;font-size:11px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#76b7a4;margin-right:6px}.workspace{margin-left:218px;min-height:100vh}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{color:#8a9aa2;font-size:12px}.separator{margin:0 14px;color:#c9d4d9}.topbar strong{font-weight:500;font-size:13px}.account{display:flex;align-items:center;gap:11px;font-size:12px}.account small{display:block;font-size:10px;color:var(--muted)}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e4eeea;color:#528075;font-size:13px}.workspace main{max-width:1560px;margin:auto;padding:34px 38px 45px;min-height:calc(100vh - 142px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:9px}.page-heading .text-button{padding-left:0;font-size:12px;margin-bottom:9px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:18px;margin-bottom:26px}.crm-app .stat-card{padding:22px 24px;text-align:left;box-shadow:0 3px 10px #22495d03;border-color:var(--line)}.stat-card>span{display:block;color:#738b96;font-size:12px}.stat-card b{float:right;font-size:17px;font-weight:400;color:#8caeae}.stat-card strong{display:block;font-size:34px;font-weight:550;letter-spacing:-1px;margin:12px 0 5px}.stat-card small{color:#8b9ca5;font-size:10px}.home-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:25px 27px;margin-bottom:22px;min-width:0;box-shadow:0 3px 10px #22495d02}.panel>h2{margin-bottom:20px}.panel>h2 small{font-weight:400;color:var(--muted);margin-left:8px}.journey{display:flex;justify-content:space-between;gap:15px;padding:34px 0 30px}.journey div{position:relative;display:flex;flex-direction:column;gap:15px;font-size:12px;flex:1}.journey div:not(:last-child):after{content:"";height:1px;background:#dbe6e8;position:absolute;top:18px;left:44px;right:0}.journey b{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#edf5f1;border-radius:50%;color:#548c7e;font-weight:500;font-size:12px}.home-grid .panel>p.muted{font-size:11px}.quick-links button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #f0f3f5;border-radius:0;text-align:left;padding:16px 0}.list-panel{padding:0;overflow:hidden}.toolbar{display:flex;gap:12px;align-items:center;padding:19px 22px;flex-wrap:wrap}.search{display:flex;gap:8px;max-width:350px;flex:1;min-width:220px}.toolbar>select{max-width:160px}.result-count{margin-left:auto;font-size:12px}.table-scroll{overflow:auto}.crm-app table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.crm-app th{background:#f7f9fa;color:#82949d;font-weight:500;padding:13px 22px;white-space:nowrap;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}.crm-app td{padding:18px 22px;border-bottom:1px solid #edf1f3;max-width:290px;overflow-wrap:anywhere;vertical-align:middle}.crm-app tbody tr:hover{background:#fbfdfd}.crm-app .record-title{font-size:13px;font-weight:550;text-align:left;background:transparent;padding:0;border:0;color:var(--ink);line-height:1.6}.crm-app .record-title:hover{background:transparent;color:var(--teal)}.row-action{white-space:nowrap}.badge{display:inline-block;font-size:11px;font-weight:400;border-radius:4px;padding:3px 9px;background:#eef3f5;color:#6c838d;white-space:nowrap}.badge[data-status=following],.badge[data-status=active],.badge[data-status=approved],.badge[data-status=converted],.badge[data-status=done],.badge[data-status=customer]{color:#387a65;background:#edf6f0}.badge[data-status=pending_audit],.badge[data-status=pending_sales],.badge[data-status=pending],.badge[data-status=pending_region],.badge[data-status=todo]{background:#fff6e7;color:#a17b37}.badge[data-status=rejected],.badge[data-status=disabled]{background:#fcf0ee;color:#a3564b}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:17px 22px;font-size:12px;color:var(--muted)}.pagination button{padding:6px 12px;font-size:12px}.empty-state{padding:60px 25px;text-align:center}.empty-state>span{font-size:44px;color:#b2c9cc}.empty-state h3{font-size:15px;font-weight:500;margin:8px 0}.empty-state p{color:var(--muted);font-size:12px}.workspace-foot{padding:15px 38px;color:#99a8af;display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #e8eef0}.action-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.panel .action-bar{margin:22px 0 0}.detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.crm-app dl{display:grid;grid-template-columns:115px 1fr;gap:14px 20px;margin:0;font-size:13px}.crm-app dt{color:#82949d}.crm-app dd{margin:0;overflow-wrap:anywhere}.stage-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;color:#a4b3ba;font-size:13px}.stage-list li{display:flex;align-items:center;gap:13px}.stage-list li span{width:12px;height:12px;border:1px solid #d4e0e5;border-radius:50%;position:relative}.stage-list li:not(:last-child) span:after{content:"";position:absolute;top:12px;left:4px;width:1px;height:29px;background:#e5ecef}.stage-list .reached{color:#3e8074}.stage-list .reached span{background:#69a598;border-color:#69a598}.timeline-item{border-left:2px solid #e2efeb;padding:0 0 22px 22px;margin:20px 0}.timeline-item header{display:flex;gap:16px;align-items:center;font-size:11px;color:var(--muted);margin-bottom:9px}.timeline-item p{font-size:13px;margin:8px 0;white-space:pre-wrap}.hint{background:#f3f8f6;color:#6d8982;padding:10px 13px;border-radius:5px;font-size:12px;margin-top:15px!important}.empty-inline{font-size:12px;color:#95a4ab;padding:22px 0}.event{display:flex;align-items:flex-start;gap:18px;padding:13px 0;border-top:1px solid #edf1f3;font-size:12px}.event>span:nth-child(2){flex:1;color:var(--muted);white-space:pre-wrap}.event time{margin-left:auto;color:#91a1a9;font-size:11px;white-space:nowrap}.node-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:13px;margin-bottom:24px}.approval-node{padding:17px;border:1px solid #e0e9ed;border-radius:6px;display:flex;flex-direction:column;gap:7px}.approval-node small{color:var(--muted)}.approval-node strong{font-weight:500}.approval-node span{font-size:11px;color:var(--muted)}.approval-node.current{border-color:#9bc8bc;background:#f4faf7}.approval-node.approved span{color:#4b927b}.record-link{display:flex;justify-content:space-between;width:100%;text-align:left;margin:12px 0;font-size:12px!important}.record-link span{color:var(--muted);margin-left:12px}.file-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f3;padding:12px 0;font-size:12px;gap:12px;overflow-wrap:anywhere}.upload-box{padding:16px;margin-top:20px;border:1px dashed #c7dcda;border-radius:7px;background:#fafdfc}.upload-box button{margin-top:13px}.pre-wrap{white-space:pre-wrap;margin-top:20px!important;overflow-wrap:anywhere}.notice{padding:12px 16px;background:#eaf5ee;border:1px solid #cbe6d5;border-radius:6px;color:#387251;font-size:13px;margin-bottom:20px}.error{color:#a34e48!important;font-size:12px}.banner{padding:14px 16px;border:1px solid #edcfca;background:#fff6f4;border-radius:6px;margin-bottom:20px}.batch-results{padding:15px 22px;background:#f1f7f4;font-size:12px}.loading{position:fixed;bottom:22px;right:28px;background:#193b4bed;color:#fff;padding:10px 20px;border-radius:7px;font-size:12px;z-index:30;box-shadow:0 5px 20px #102b3520}.crm-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#102c3d75;z-index:100;display:flex;justify-content:center;align-items:center;padding:24px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.crm-modal{background:#fff;width:680px;max-width:100%;max-height:92vh;overflow-y:auto;border-radius:12px;box-shadow:0 24px 90px #112d3e35}.crm-modal>header{padding:22px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.crm-modal form{padding:25px 28px}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.crm-form-grid .wide{grid-column:1/-1}.crm-modal footer{display:flex;justify-content:flex-end;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.crm-modal .error{margin-top:18px}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.login-story{background:#123647;color:#eff8f8;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;bottom:-250px;right:-200px;width:650px;height:650px;border:1px solid #659c9b25;border-radius:50%;box-shadow:0 0 0 90px #6c9c9c06,0 0 0 180px #6c9c9c05;pointer-events:none}.login-story h1{font-size:38px;line-height:1.6;font-weight:500;margin:15px 0 24px}.login-story p:not(.eyebrow){color:#91b0b9;font-size:13px;line-height:2}.login-story .eyebrow{color:#81b4ad}.login-story>small{color:#6f929e;font-size:11px}.login-steps{display:flex;align-items:center;gap:14px;margin-top:45px;font-size:11px;color:#a3c2c6}.login-steps i{width:30px;height:1px;background:#426773}.login-panel{display:flex;align-items:center;justify-content:center;background:#fff;padding:50px}.login-panel>div{width:340px;max-width:100%}.login-panel h2{font-size:28px;margin:5px 0 10px}.login-panel p.muted{font-size:12px}.login-panel form{display:flex;flex-direction:column;gap:21px;margin:35px 0 23px}.login-panel form>.primary{margin-top:7px;height:45px}.password-gate{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:22px;text-align:center;padding:30px}.password-gate p{color:var(--muted)}@media (min-width:1500px){.workspace main{padding-top:45px}.page-heading{margin-bottom:36px}.stat-card{min-height:160px}}@media (max-width:1100px){.sidebar{width:180px;padding:28px 12px}.sidebar .brand{font-size:19px}.workspace{margin-left:180px}.workspace main{padding:25px 24px}.topbar{padding:0 24px}.detail-grid,.home-grid{grid-template-columns:1fr}.login-story{padding:40px}.login-story h1{font-size:31px}.crm-app td,.crm-app th{padding:15px}}@media (max-width:720px){.crm-app h1{font-size:23px}.sidebar{position:static;width:100%;padding:16px 18px 0;background:#123647}.sidebar .brand{font-size:20px}.sidebar .brand-mark{width:29px;height:29px;font-size:17px}.tenant-label{padding:10px 0 0;border:0;font-size:10px}.sidebar nav{flex-direction:row;margin-top:15px;padding-bottom:12px;overflow-x:auto;gap:5px;scrollbar-width:none}.sidebar nav button{flex-shrink:0;white-space:nowrap;font-size:12px;padding:8px 12px}.sidebar nav button>span{display:none}.sidebar nav button.active{box-shadow:none;background:#30616b}.sidebar-foot{display:none}.workspace{margin-left:0}.topbar{padding:14px 18px;height:auto;min-height:66px}.topbar>div:first-child{display:none}.account{width:100%;gap:10px}.account>button:first-of-type{margin-left:auto}.workspace main{padding:23px 16px 30px}.page-heading{align-items:flex-start;gap:15px;margin-bottom:20px}.page-heading>button{font-size:12px;padding:8px 11px;white-space:nowrap}.page-heading p:not(.eyebrow){font-size:11px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.crm-app .stat-card{padding:17px}.stat-card strong{font-size:29px}.panel{padding:20px 17px;margin-bottom:15px}.list-panel{padding:0}.toolbar{padding:14px;gap:10px}.search{max-width:none;flex:1 1 100%;min-width:0}.toolbar>select{max-width:135px;font-size:12px}.toolbar>button{font-size:12px}.table-scroll{overflow:visible}.crm-app table,.crm-app tbody,.crm-app tr,.crm-app td{display:block;width:100%;max-width:none}.crm-app thead{display:none}.crm-app tbody tr{padding:15px 17px;border-top:1px solid #e6ecef;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.crm-app td{padding:0;border:0;font-size:12px}.crm-app td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#91a1a9;margin-bottom:3px}.crm-app td:first-child{grid-column:1/-1}.crm-app td:first-child:before{display:none}.crm-app .record-title{font-size:14px;font-weight:600}.row-action{grid-column:1/-1;text-align:right}.row-action button{font-size:12px}.pagination{justify-content:center;gap:15px;padding:15px}.result-count{font-size:10px}.home-grid,.detail-grid{gap:0}.journey{gap:9px;padding:25px 0}.journey div{font-size:11px}.journey div:not(:last-child):after{left:39px}.crm-app dl{grid-template-columns:88px 1fr;gap:12px;font-size:12px}.event{display:grid;grid-template-columns:1fr auto;gap:5px;font-size:11px}.event>span:nth-child(2){grid-row:2;grid-column:1/-1}.event time{font-size:10px}.workspace-foot{padding:15px 18px}.workspace-foot span{display:none}.crm-modal-backdrop{padding:12px}.crm-modal{max-height:94vh;border-radius:10px}.crm-modal>header{padding:18px}.crm-modal form{padding:18px}.crm-form-grid{grid-template-columns:1fr;gap:17px}.crm-modal footer{position:sticky;bottom:-18px;background:#fff;padding:15px 0 0}.login-layout{display:flex;flex-direction:column}.login-story{padding:28px 25px;min-height:230px}.login-story h1{font-size:25px;line-height:1.5;margin:24px 0 0}.login-story .eyebrow,.login-story p:not(.eyebrow),.login-story>small,.login-steps{display:none}.login-panel{padding:35px 26px;flex:1}.login-panel>div{width:100%;max-width:400px}.login-panel h2{font-size:24px}.login-panel form{gap:18px;margin-top:27px}.loading{bottom:12px;right:12px}.action-bar{gap:8px}.action-bar button{font-size:12px}.file-row{align-items:flex-start}.node-grid{grid-template-columns:1fr}.approval-node{flex-direction:row;align-items:center;justify-content:space-between}.upload-box{padding:12px}}
