:root{--accent:#17665b;--accent-hover:#105348;--accent-soft:#e9f3ef;--bg:#f5f7f6;--card:#fff;--ink:#20332f;--muted:#596b65;--text-secondary:#596b65;--border:#dfe7e3;--green:#287353;--green-soft:#edf6f0;--blue:#365f9b;--blue-soft:#eff3fa;--purple:#705d91;--purple-soft:#f4f0f8;--red:#b54747;--red-soft:#fdf0ef;--amber:#936018;--amber-soft:#fff5e5;--radius:12px;--shadow:none;--sidebar-width:224px;font-family:"Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;color:var(--ink);font-size:14px;line-height:1.55;font-synthesis:none;--ui-focus:#17665b}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button{color:inherit}button,a{touch-action:manipulation}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:none}input,select,textarea{color:var(--ink)}input,select,textarea{width:100%;border:1px solid #e2e6ed;border-radius:7px;background:white;padding:9px 11px;outline:none;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:none}textarea{resize:vertical;min-height:96px}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}input[type=file]{font-size:13px;background:#f9fafb}input::placeholder,textarea::placeholder{color:#a5abb6}select{padding-right:24px}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:26px;font-weight:650;letter-spacing:-.5px;line-height:1.5}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:650}h4{font-size:14px;font-weight:650}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}table{width:100%;border-collapse:collapse}th{text-align:left;font-weight:500;white-space:nowrap;font-size:12px;color:#7f8897;background:#fafbfc}td,th{padding:15px 18px;border-bottom:1px solid #f0f1f4;vertical-align:middle}td{font-size:13px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcfd}small{font-size:12px}code{font-size:12px;background:#f2f4f7;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--border);margin:22px 0}.skip-link{position:fixed;top:-60px;left:16px;z-index:999;background:var(--ink);color:white;padding:10px 18px;border-radius:5px}.skip-link:focus{top:10px}.boot-screen{position:fixed;inset:0;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.brand-symbol{display:inline-flex;align-items:center;gap:3px;position:relative;width:31px;height:31px;flex-shrink:0;transform:skew(-9deg)}.brand-symbol i{width:7px;border:3px solid var(--accent);border-radius:8px;display:block;height:26px}.brand-symbol i:first-child{height:20px;align-self:flex-start;margin-top:3px;border-left-width:0;width:6px}.brand-symbol i:nth-child(2){height:26px}.brand-symbol i:nth-child(3){height:26px}.app-shell{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);position:fixed;inset:0 auto 0 0;background:var(--card);border-right:1px solid var(--border);z-index:30;display:flex;flex-direction:column;padding:28px 15px 14px}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);padding:0 8px}.brand b{font-size:16px;letter-spacing:-.3px;display:block}.brand small{display:block;color:#9ba2af;letter-spacing:1px;font-size:10px;line-height:1.7;margin-top:1px}.workspace-label{border:1px solid var(--border);padding:11px 10px;display:flex;align-items:center;gap:9px;border-radius:8px;margin:28px 4px 27px;font-size:12px;font-weight:600;background:linear-gradient(115deg,#fafbfd,#fff)}.workspace-label small{display:block;font-size:10px;color:#99a1ae;font-weight:400}.workspace-avatar{width:30px;height:30px;background:#f1eade;color:#9b8260;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:14px}.workspace-lock{margin-left:auto;color:#a6aeba}.nav-group-label{font-size:10px;color:#a2a9b6;letter-spacing:1.5px;margin:0 0 8px 14px}.nav-item{display:flex;align-items:center;padding:12px 14px;border-radius:7px;color:#727c8b;gap:12px;font-size:13px;margin:3px 0;transition:background .15s,color .15s;min-height:45px}.nav-item:hover{background:#f8f9fb;color:var(--ink)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-item svg{width:18px;height:18px}.nav-item .nav-count{margin-left:auto;min-width:20px;text-align:center;font-size:10px;background:#f1f3f6;border-radius:4px;padding:1px 5px;color:#8b93a1}.nav-item.active .nav-count{background:#ffdeca;color:var(--accent)}.nav-divider{border-top:1px solid var(--border);margin:21px 14px 19px}.sidebar-bottom{margin-top:auto;padding-top:28px}.local-badge{display:flex;align-items:center;gap:7px;padding:10px 14px 0;font-size:11px;color:#8b94a3}.status-dot{width:6px;height:6px;border-radius:50%;background:#54ad8d;display:inline-block;flex-shrink:0}.sidebar-bottom>p{font-size:10px;color:#aab0bb;margin:3px 0 20px 27px}.profile-button{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:8px;padding:10px;width:100%;background:#fff;text-align:left}.profile-copy{flex:1;min-width:0}.profile-copy strong{font-size:12px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy small{display:block;font-size:10px;color:#9aa2ad}.avatar{height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#eeeffc;color:#7676ae;font-weight:600;flex-shrink:0;font-size:12px}.avatar.orange{background:#fff0e7;color:#cc8258}.avatar.blue{background:#edf3ff;color:#7394c9}.avatar.green{background:#eaf6f1;color:#69a087}.avatar.purple{background:#f3edfa;color:#9a7abc}.avatar.small{width:27px;height:27px;font-size:11px}.app-body{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));min-width:0;display:flex;flex-direction:column}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff;border-bottom:1px solid var(--border);gap:20px;flex-shrink:0}.topbar-location{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:12px}.breadcrumb-home{color:#969dab}.breadcrumb-divider{color:#c3c9d2;font-size:11px}.topbar-location strong{font-weight:500;color:#596477}.topbar-tools{display:flex;align-items:center;gap:18px}.global-search{display:flex;align-items:center;gap:8px;max-width:300px;padding:5px 10px;background:#f6f7f9;border:1px solid #f0f2f5;border-radius:6px}.global-search svg{width:16px;height:16px;color:#9ba3b0}.global-search input{width:220px;border:0;background:transparent;padding:2px 0;font-size:11px;border-radius:0}.global-search input:focus{box-shadow:none}.global-search:focus-within{border-color:#efbda5}.global-search kbd{font-family:inherit;font-size:10px;color:#b1b6c0;background:#fff;border:1px solid #e8ebef;border-radius:3px;padding:0 4px}.topbar-separator{height:22px;width:1px;background:var(--border)}.icon-button{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;background:transparent;border:0;border-radius:7px;color:#8993a3}.icon-button:hover{background:#f3f5f8;color:var(--ink)}.icon-button svg{width:19px;height:19px}.reminder-button{position:relative}.reminder-dot{position:absolute;top:4px;right:6px;width:5px;height:5px;background:var(--accent);border:1px solid #fff;border-radius:50%}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e2e6ec;border-radius:6px;background:#fff;padding:9px 14px;font-weight:500;font-size:12px;line-height:1.6;white-space:nowrap;color:#5d687b;min-height:36px;transition:background .15s,border-color .15s,transform .15s}.button:hover{background:#f9fafc;border-color:#ccd2dc}.button svg{width:15px;height:15px}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button.compact{padding:7px 12px;min-height:32px;font-size:11px}.button.small{padding:5px 10px;min-height:28px;font-size:11px}.button.soft{border-color:#ffe0cf;background:var(--accent-soft);color:var(--accent)}.button.danger{color:var(--red);border-color:#edd4d3;background:#fff}.button.text{border-color:transparent;background:transparent;box-shadow:none;padding-left:4px;padding-right:4px;color:var(--text-secondary)}.button.text:hover{color:var(--accent)}.button.full{width:100%}.main-content{padding:29px 32px 22px;flex:1;outline:none;max-width:1800px;width:100%;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px;color:#939caa;margin-top:5px}.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.date-display{font-size:11px;color:#8c95a4;display:flex;align-items:center;gap:7px}.date-display svg{height:15px;width:15px}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 21px;border-bottom:1px solid #f1f3f6;min-height:66px}.card-header h2,.card-header h3{font-size:14px}.card-header p{font-size:11px;color:#9aa2ae;margin-top:3px}.card-body{padding:21px}.card.no-border-header .card-header{border:0;padding-bottom:5px}.card-footer{padding:13px 21px;border-top:1px solid var(--border);background:#fdfdfe;font-size:11px;color:#939bab}.section-gap{margin-top:22px}.muted{color:var(--muted)}.secondary{color:var(--text-secondary)}.accent{color:var(--accent)}.small-text{font-size:11px}.nowrap{white-space:nowrap}.text-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subline{display:block;color:#929baa;font-size:11px;margin-top:3px}.inline-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{padding:20px 21px 18px;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-label{font-size:12px;color:#838d9e}.stat-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--accent-soft);color:var(--accent)}.stat-icon svg{width:18px;height:18px}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon.green{background:var(--green-soft);color:var(--green)}.stat-icon.purple{background:var(--purple-soft);color:var(--purple)}.stat-value{font-size:33px;line-height:1.2;font-weight:650;letter-spacing:-1px;margin-top:10px;color:#263248;font-variant-numeric:tabular-nums}.stat-bottom{margin-top:13px;display:flex;align-items:center;gap:6px;color:#a0a7b2;font-size:10px}.stat-bottom .count-tag{color:var(--accent);font-size:10px;background:#fff4ec;padding:0 5px;border-radius:3px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:22px}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:22px;margin-top:22px}.number-badge{font-size:10px;background:var(--accent-soft);color:var(--accent);padding:1px 6px;border-radius:4px;vertical-align:middle;margin-left:7px;min-width:20px;display:inline-block;text-align:center}.link-button{background:none;border:0;padding:0;color:var(--accent);font-size:11px;cursor:pointer}.link-button:hover{text-decoration:underline}.customer-button{background:none;border:0;text-align:left;padding:0;color:#3e4b60;font-size:12px;font-weight:550;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.customer-button:hover{color:var(--accent)}.customer-cell{display:flex;align-items:center;gap:10px;min-width:115px}.customer-copy{min-width:0}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:4px;line-height:1.65;font-size:10px;font-weight:500;white-space:nowrap;background:#f1f3f6;color:#8a93a3}.badge.orange{background:var(--accent-soft);color:#d48452}.badge.blue{background:var(--blue-soft);color:#7391cc}.badge.green{background:var(--green-soft);color:#58a289}.badge.purple{background:var(--purple-soft);color:#9a7ac8}.badge.red{background:var(--red-soft);color:#c56f6b}.badge.amber{background:var(--amber-soft);color:#b58d4e}.badge-dot{height:4px;width:4px;background:currentColor;display:inline-block;border-radius:50%}.source-text{font-size:11px;color:#919aa8}.task-table td,.task-table th{padding:14px 20px}.task-table .product-cell{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#919aa8}.task-table .badge{font-size:9px}.deadline{color:var(--amber);font-size:10px;white-space:nowrap}.deadline.overdue{color:#cd7556}.funnel-body{padding:18px 23px 24px}.funnel-row{margin:13px 0 17px}.funnel-row-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8490a1;margin-bottom:7px}.funnel-row-top strong{font-weight:550;color:#58657a;font-variant-numeric:tabular-nums}.funnel-track{height:8px;background:#f4f5f8;border-radius:3px;overflow:hidden}.funnel-fill{height:100%;border-radius:3px;background:#ed895d;min-width:0}.funnel-row:nth-child(2) .funnel-fill{background:#efa377}.funnel-row:nth-child(3) .funnel-fill{background:#f3bc99}.funnel-row:nth-child(4) .funnel-fill{background:#f5d1b7}.funnel-note{border-top:1px dashed #eaedf2;padding-top:13px;margin-top:20px;font-size:10px;color:#a1a8b4;line-height:1.8}.team-mini-list{padding:4px 21px 10px}.team-mini-row{display:grid;grid-template-columns:125px 1fr 62px;gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid #f0f2f5}.team-mini-row:last-child{border:0}.team-mini-person{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.team-mini-person small{display:block;font-size:9px;color:#a1a8b4}.team-mini-meter{height:5px;border-radius:4px;background:#f2f4f8;overflow:hidden}.team-mini-meter span{display:block;height:100%;background:#b4c4e8;border-radius:4px}.team-mini-count{text-align:right;font-size:12px;color:#8b95a5}.team-mini-count strong{color:#58657a;font-size:13px;margin-right:4px;font-weight:550}.source-status-body{padding:18px 21px}.source-item{display:flex;gap:10px;padding:10px 0}.source-item-icon{height:28px;width:28px;display:flex;align-items:center;justify-content:center;background:#f4f7fb;border-radius:7px;color:#8ba0be;flex-shrink:0}.source-item-icon svg{height:15px;width:15px}.source-item h4{font-size:12px;font-weight:550}.source-item p{font-size:10px;color:#939caa;line-height:1.8;margin-top:3px}.source-item .badge{margin-left:auto;align-self:flex-start;font-size:9px}.notice{display:flex;gap:10px;border:1px solid #f4e8d7;border-radius:8px;background:#fffcf7;padding:12px 15px;font-size:11px;color:#a08660;line-height:1.8}.notice svg{width:17px;height:17px;flex-shrink:0;margin-top:1px}.notice strong{font-weight:550;color:#917449}.notice.info{background:#f7faff;border-color:#e4eaf7;color:#7e91b0}.notice.info strong{color:#6c83a9}.notice.neutral{background:#f8f9fb;border-color:#e9edf3;color:#8993a3}.notice-row{margin-bottom:20px}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 33px 20px;color:#a5adb9;font-size:10px}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 21px;background:#fff;border-bottom:1px solid var(--border)}.filter-search{position:relative;flex:1;min-width:180px;max-width:360px}.filter-search svg{position:absolute;left:11px;top:11px;height:15px;width:15px;color:#a0a8b5}.filter-search input{padding-left:33px;font-size:12px;height:37px}.filters select{width:auto;min-width:108px;font-size:11px;height:37px;color:#7c8798}.filters label:not(.filter-search){display:block}.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 21px;border-bottom:1px solid var(--border);min-height:55px}.table-tabs{display:flex;gap:25px;align-self:stretch}.table-tab{position:relative;border:0;background:transparent;color:#929aa8;padding:16px 0 14px;font-size:12px}.table-tab.active{color:var(--accent);font-weight:600}.table-tab.active:after{position:absolute;bottom:-1px;height:2px;background:var(--accent);left:0;right:0;content:""}.table-tab span{font-size:10px;background:#f3f4f7;border-radius:4px;padding:1px 5px;margin-left:4px}.table-tab.active span{background:var(--accent-soft)}.table-overflow{overflow-x:auto;-webkit-overflow-scrolling:touch}.lead-table{min-width:870px}.lead-table td{font-size:11px}.lead-table td:first-child{min-width:165px;max-width:225px}.lead-table .product-column{max-width:180px;min-width:100px}.lead-table .contact-column{max-width:155px}.owner-inline{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#8791a1}.owner-inline .avatar{width:23px;height:23px;font-size:9px}.table-pagination{border-top:1px solid var(--border);padding:13px 21px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#939cab;gap:15px}.pagination-buttons{display:flex;align-items:center;gap:7px}.pagination-current{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;border-radius:5px;background:var(--accent-soft);color:var(--accent);font-size:11px}.pagination-button{width:28px;height:28px;border:1px solid #e6e9ef;background:#fff;color:#8d98a8;border-radius:5px}.empty-state{padding:52px 25px;text-align:center;color:#9ba3b0}.empty-icon{margin:0 auto 13px;width:48px;height:48px;border-radius:14px;background:#f5f6f9;display:flex;align-items:center;justify-content:center;color:#afb8c5}.empty-icon svg{width:23px;height:23px}.empty-state h3{font-size:13px;color:#7d889b;font-weight:500}.empty-state p{font-size:11px;margin:5px auto 16px;max-width:380px}.empty-state.compact{padding:28px 20px}.loading-state{padding:60px 20px;display:flex;align-items:center;justify-content:center;gap:10px;color:#929bab;font-size:12px}.spinner{width:17px;height:17px;border:2px solid #ec6b3222;border-top-color:var(--accent);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg,#f0f2f6 20%,#f8f9fa 50%,#f0f2f6 80%);background-size:200% 100%;animation:skeleton 1.6s infinite;border-radius:5px;height:15px}@keyframes skeleton{to{background-position:-200% 0}}.kpi-skeleton{height:145px}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.member-card{padding:21px}.member-top{display:flex;justify-content:space-between;gap:12px}.member-identity{display:flex;gap:11px;align-items:center}.member-identity .avatar{height:38px;width:38px;font-size:15px}.member-identity h3{font-size:14px}.member-identity p{font-size:10px;color:#939bab}.member-quota{margin:23px 0 18px;padding-bottom:19px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:flex-end}.quota-value{font-size:29px;line-height:1;font-weight:650;letter-spacing:-1px;color:#748395}.quota-value small{font-size:13px;margin-left:3px}.quota-value.unknown{font-size:20px;color:#bc9c67;letter-spacing:0}.member-meta{font-size:11px;line-height:2.4;color:#949cac}.member-meta .between span:last-child{color:#65748b;text-align:right;max-width:70%}.member-reason{background:#f8f9fc;border-radius:6px;margin-top:13px;padding:10px 11px;font-size:10px;color:#98a0ac;min-height:50px;line-height:1.8}.member-actions{display:flex;gap:8px;margin-top:17px}.member-actions .button{flex:1}.count-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:21px}.mini-stat{padding:17px 20px;display:flex;gap:18px;align-items:center}.mini-stat strong{font-size:25px;font-weight:650;color:#52627b}.mini-stat p{font-size:11px;color:#939bab}.approval-list{padding:0 21px}.approval-row{display:flex;align-items:flex-start;gap:13px;padding:20px 0;border-bottom:1px solid var(--border)}.approval-row:last-child{border:0}.approval-symbol{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#fff3eb;color:#d89c77;flex-shrink:0}.approval-symbol svg{width:18px;height:18px}.approval-main{flex:1;min-width:0}.approval-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.approval-title h3{font-size:13px}.approval-main p{font-size:11px;color:#8f99a8;line-height:1.9;margin-top:7px}.approval-main .approval-meta{font-size:10px;margin-top:8px;display:flex;gap:14px;flex-wrap:wrap;color:#a2a9b5}.approval-actions{display:flex;gap:7px;align-items:center;margin-top:3px}.tab-bar{display:flex;gap:24px;border-bottom:1px solid var(--border);padding:0 21px;background:#fff;overflow-x:auto}.tab-button{border:0;border-bottom:2px solid transparent;background:transparent;color:#8e97a5;font-size:12px;padding:15px 0;white-space:nowrap}.tab-button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rule-card{padding:20px;background:#fff;border:1px solid var(--border);border-radius:10px}.rule-index{font-size:10px;color:#bc9a7a;letter-spacing:.5px}.rule-card h3{margin:7px 0 8px;font-size:13px}.rule-card p{font-size:11px;color:#8995a6;line-height:1.9}.rule-thresholds{display:flex;gap:20px;margin-top:12px;padding-top:13px;border-top:1px solid #f1f3f6}.rule-thresholds strong{font-size:22px;font-weight:600;color:#697b95;line-height:1.2}.rule-thresholds small{display:block;font-size:10px;color:#a0a8b4;margin-top:5px}.definition-list{display:grid;grid-template-columns:1fr;gap:0}.definition-row{display:grid;grid-template-columns:155px 1fr;gap:15px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}.definition-row:last-child{border:0}.definition-row dt{color:#65768d;font-weight:500}.definition-row dd{color:#96a0ae;margin:0;line-height:1.9}.toggle-line{display:flex;gap:18px;align-items:center;justify-content:space-between}.toggle-line h3{font-size:13px}.toggle-line p{font-size:11px;color:#98a1af;margin-top:4px}.switch{position:relative;display:inline-flex;width:38px;height:22px;flex-shrink:0}.switch input{position:absolute;opacity:0;width:38px;height:22px;margin:0;cursor:pointer;z-index:1}.switch-track{width:38px;height:22px;background:#dce1e9;border-radius:20px;transition:background .2s}.switch-track:after{content:"";position:absolute;width:16px;height:16px;top:3px;left:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0001;transition:transform .2s}.switch input:checked+.switch-track{background:var(--accent)}.switch input:checked+.switch-track:after{transform:translateX(16px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:3px}.audit-table{min-width:680px}.audit-detail{font-family:inherit;font-size:10px;line-height:1.8;white-space:pre-wrap;word-break:break-word;max-width:520px;margin:6px 0}.source-card{border:1px solid var(--border);border-radius:8px;padding:15px;margin-bottom:12px}.source-card:last-child{margin-bottom:0}.source-card h3{font-size:12px;overflow-wrap:anywhere}.source-card p{font-size:10px;color:#939cab;margin-top:7px;overflow-wrap:anywhere}.source-card .hash{font-family:monospace;font-size:10px;color:#a2a9b5}.import-preview{margin-top:18px}.import-preview table{min-width:500px}.import-preview td,.import-preview th{font-size:11px;padding:10px 12px}.step-label{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:16px}.step-number{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:10px}.data-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:20px}.followup-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.followup-column{border:1px solid var(--border);background:#f1f3f6;border-radius:10px;padding:14px;min-height:320px}.followup-column-header{display:flex;gap:8px;align-items:center;padding:1px 2px 14px;font-size:12px;font-weight:550}.followup-column-header .dot{width:6px;height:6px;border-radius:50%;background:#e4a588}.followup-column:nth-child(2) .dot{background:#ebc37a}.followup-column:nth-child(3) .dot{background:#90acdc}.followup-column-header .count{margin-left:auto;border-radius:4px;background:#e4e8ee;font-size:10px;padding:1px 6px;color:#7c899e}.followup-card{background:#fff;border:1px solid #e9edf2;border-radius:8px;padding:16px 15px;margin-bottom:11px}.followup-card h3{font-size:12px}.followup-card p{font-size:10px;color:#929eaf;margin-top:6px}.followup-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding-top:11px;border-top:1px solid #f0f3f6}.followup-card .customer-button{font-size:12px}.overlay{position:fixed;inset:0;background:#1a273d50;z-index:60;display:flex;justify-content:flex-end;backdrop-filter:none}.drawer{background:#fff;width:min(660px,100%);height:100%;display:flex;flex-direction:column;box-shadow:var(--work-shadow-drawer);animation:surface-in var(--work-motion-duration) var(--work-motion-easing);outline:0}.drawer-header{padding:25px 28px 18px;border-bottom:1px solid var(--border)}.drawer-title-row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.drawer-title-row h2{font-size:22px;margin-top:5px;overflow-wrap:anywhere}.drawer-meta{font-size:11px;color:#9ca4b2;margin-top:8px;display:flex;gap:13px;align-items:center;flex-wrap:wrap}.drawer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:21px}.drawer-body{overflow-y:auto;flex:1;padding:25px 28px 35px}.drawer .tab-bar{flex-shrink:0;padding:0 28px}.detail-section{margin-bottom:25px}.detail-section h3{font-size:13px;margin-bottom:14px;display:flex;gap:10px;align-items:center}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 23px}.detail-field dt{font-size:10px;color:#9aa4b3;margin-bottom:5px}.detail-field dd{font-size:12px;color:#53647c;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.9}.detail-field.wide{grid-column:1/-1}.detail-note{padding:15px 17px;background:#f8f9fc;border:1px solid #edf0f5;border-radius:8px;font-size:12px;line-height:1.9;color:#7e8c9f;white-space:pre-wrap;overflow-wrap:anywhere}.legacy-details{border:1px solid #e9edf4;border-radius:8px;overflow:hidden;background:#fcfdfe}.legacy-details summary{padding:12px 15px;cursor:pointer;font-size:12px;font-weight:500;color:#7a899f}.legacy-details .detail-note{border:0;border-top:1px solid #edf0f5;border-radius:0}.timeline{position:relative}.timeline-item{position:relative;padding:0 0 24px 25px;border-left:1px solid #e7eaf0;margin-left:5px}.timeline-item:last-child{border-color:transparent;padding-bottom:0}.timeline-item:before{content:"";position:absolute;height:9px;width:9px;background:#d7dfec;border:3px solid #fff;border-radius:50%;left:-5px;top:3px;box-sizing:content-box;transform:translateX(-3px)}.timeline-item:first-child:before{background:var(--accent)}.timeline-time{font-size:10px;color:#a0a9b7;margin-bottom:6px}.timeline-item h4{font-size:12px;font-weight:500}.timeline-item p{font-size:11px;color:#8996a9;line-height:1.9;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-feedback{padding:9px 12px;background:#f6f8fb;border-radius:6px;margin-top:10px;font-size:11px;color:#8494aa}.timeline-feedback strong{font-weight:500;display:block;font-size:10px;color:#9ba6b7;margin-bottom:3px}.modal-overlay{justify-content:center;align-items:center;z-index:80;padding:22px}.modal{background:#fff;max-height:calc(100dvh - 44px);width:min(550px,100%);border-radius:10px;box-shadow:var(--work-shadow-dialog);display:flex;flex-direction:column;animation:surface-in var(--work-motion-duration) var(--work-motion-easing);outline:0}.modal.wide{width:min(760px,100%)}.modal-header{padding:21px 24px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:17px}.modal-header p{font-size:11px;color:#97a1b1;margin-top:4px}.modal-body{padding:23px 24px;overflow-y:auto;flex:1}.modal-footer{padding:16px 24px;display:flex;justify-content:flex-end;align-items:center;gap:9px;border-top:1px solid var(--border);background:#fdfdfe;border-radius:0 0 13px 13px;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#738199;text-align:left}.field>span:first-child{font-size:11px;color:#7b899d;display:flex;gap:3px}.field .required{color:var(--accent);font-size:11px}.field input,.field select,.field textarea{font-size:12px}.field.wide{grid-column:1/-1}.field-hint{font-size:10px!important;color:#a0a9b6!important;line-height:1.7;display:block!important}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#8c98aa;line-height:1.9;cursor:pointer}.checkbox-label input{margin-top:3px;flex-shrink:0}.form-error{color:var(--red);background:var(--red-soft);border:1px solid #f6dedb;border-radius:6px;font-size:11px;padding:9px 12px;margin-top:16px}.form-section-label{font-size:12px;color:#5b6e89;margin:4px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--border)}.form-stack{display:flex;flex-direction:column;gap:17px}.modal-body .notice{margin-bottom:18px}.action-preview{background:#f9fafc;border:1px solid var(--border);border-radius:8px;padding:15px;font-size:11px;line-height:1.9;color:#8d98a9;white-space:pre-wrap;overflow-wrap:anywhere}.preview-changes{max-height:350px;overflow-y:auto;margin-top:16px}.preview-change{padding:12px 0;border-bottom:1px solid var(--border);font-size:11px;color:#7c8ca3}.preview-change:last-child{border:0}.preview-change h4{font-size:12px;font-weight:500;color:#5f728e}.preview-change p{margin-top:5px;line-height:1.8;overflow-wrap:anywhere}.toast-root{position:fixed;right:26px;bottom:25px;z-index:120;display:flex;flex-direction:column;gap:9px;max-width:min(430px,calc(100vw - 32px))}.toast{background:#263a50;color:#fff;border:1px solid #445466;border-radius:8px;box-shadow:var(--work-shadow-popover);padding:13px 18px;display:flex;gap:9px;align-items:flex-start;font-size:12px;animation:none}.toast.error{background:#9e544d;border-color:#b87972}.toast svg{width:16px;height:16px;margin-top:2px;flex-shrink:0}.toast button{border:0;background:none;color:#fff;padding:0 0 0 7px;font-size:16px;line-height:1.2;margin-left:auto}.mobile-only{display:none}.sidebar-shade{position:fixed;inset:0;background:#18263e70;border:0;z-index:29}.login-view{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{display:flex;flex-direction:column;min-height:100dvh;background:#faf5ef;padding:42px 9%;position:relative;overflow:hidden}.login-brand{display:flex;align-items:center;gap:12px;font-size:20px;color:#ec6b32;letter-spacing:-.5px}.login-brand b{color:#6e5d50;font-size:16px;font-weight:550;letter-spacing:1px;margin-left:8px}.login-story-body{margin:auto 0;padding:55px 0 30px;position:relative;z-index:1}.eyebrow{font-size:11px;letter-spacing:2px;color:#ba9b83}.login-story-body h1{font-size:clamp(32px,3.5vw,52px);line-height:1.55;color:#58483d;letter-spacing:1px;margin:22px 0}.login-story-body>p{color:#ac9684;font-size:12px;line-height:2.1}.login-footnote{font-size:10px;letter-spacing:2px;color:#b49f8e;z-index:1}.login-panel{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:340px;max-width:100%}.login-kicker{font-size:11px;color:#a0a8b5;letter-spacing:1px}.login-form h2{font-size:26px;font-weight:650;margin:8px 0;color:#344258}.login-form>.muted{font-size:11px;margin-bottom:34px}.login-form .field{margin-bottom:20px}.login-form .field>span:first-child{font-size:12px}.login-form input{height:43px;padding:11px 12px}.login-submit{width:100%;margin-top:8px;justify-content:space-between;padding:11px 16px;font-size:12px;height:43px}.login-help{margin-top:30px;border:1px solid #e9edf2;border-radius:8px;padding:15px 17px;background:#fafbfc;font-size:11px}.login-help strong{font-size:11px;font-weight:550;color:#8d98a8}.login-help p{font-size:10px;line-height:1.9;margin-top:5px;color:#a0a9b6}.login-help code{font-size:10px;color:#8593a5}.login-local{font-size:9px;color:#a5aeb9;display:flex;align-items:center;gap:7px;margin-top:21px}.login-local .status-dot{height:5px;width:5px}.login-illustration{height:216px;max-width:365px;position:relative;margin-top:35px}.illustration-orbit{position:absolute;left:35px;top:11px;border:1px solid #e7d4c330;width:280px;height:176px;border-radius:50%;transform:rotate(-26deg);background:#eee0d433}.illustration-card{position:absolute;background:#fff;border:1px solid #efdfd1;border-radius:11px;box-shadow:0 12px 28px #8f745412;width:192px;height:122px}.illustration-card-back{top:16px;left:85px;transform:rotate(10deg);padding:26px}.illustration-card-back span{display:block;height:5px;width:65%;background:#eddfd4;border-radius:4px;margin-bottom:13px}.illustration-card-back span:nth-child(2){width:95%;background:#f3e8df}.illustration-card-back span:nth-child(3){width:80%;background:#f3e8df}.illustration-card-front{top:57px;left:19px;transform:rotate(-8deg);padding:24px;display:flex;gap:12px}.illustration-avatar{height:32px;width:32px;background:#f9dece;border-radius:50%;flex-shrink:0}.illustration-lines{flex:1;padding-top:5px}.illustration-lines span{display:block;height:5px;background:#daccbf;border-radius:3px;width:73%;margin-bottom:10px}.illustration-lines span:nth-child(2){width:95%;background:#eee6df}.illustration-progress{position:absolute;left:24px;right:24px;bottom:25px;height:5px;background:#f5ede6;border-radius:4px}.illustration-progress i{display:block;height:5px;width:72%;background:#eca87d;border-radius:4px}.illustration-check{position:absolute;right:-10px;bottom:-10px;width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eaba98;color:#fff;border:5px solid #faf5ef;font-size:15px}.illustration-dot{position:absolute;background:#e8ba99;border-radius:50%}.dot-one{width:9px;height:9px;left:15px;top:29px}.dot-two{width:5px;height:5px;left:297px;top:141px;background:#d1b79e}@keyframes surface-in{from{opacity:.92}to{opacity:1}}
@media(min-width:1600px){.main-content{padding-top:35px}.stats-grid{gap:23px}.stat-card{padding:24px}.stat-value{font-size:37px}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.85fr) minmax(350px,1fr)}.task-table td,.task-table th{padding:16px 23px}.team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-header{padding:21px 24px}}
@media(max-width:1250px){:root{--sidebar-width:205px}.sidebar{padding-left:11px;padding-right:11px}.brand b{font-size:14px}.topbar{padding:0 24px}.main-content{padding:25px 24px 20px}.topbar-tools{gap:11px}.global-search{max-width:232px}.global-search input{width:164px;font-size:10px}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.4fr) minmax(265px,1fr);gap:18px}.stats-grid{gap:13px}.stat-card{padding:17px}.stat-label{font-size:11px}.stat-value{font-size:30px}.stat-icon{height:31px;width:31px}.task-table th,.task-table td{padding:13px 15px}.task-table .task-product{display:none}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-mini-row{grid-template-columns:105px 1fr 50px;gap:10px}.filters{padding:16px}.filters select{min-width:93px;max-width:135px}.followup-columns{gap:13px}.followup-column{padding:11px}.followup-card{padding:13px}.data-columns{grid-template-columns:1fr}.login-story{padding:35px 9%}}
@media(max-width:1000px){.topbar-location .breadcrumb-home,.topbar-location .breadcrumb-divider{display:none}.global-search{max-width:240px}.global-search input{width:155px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.dashboard-bottom{gap:18px}.funnel-body{display:grid;grid-template-columns:1fr 1fr;gap:5px 25px}.funnel-note{grid-column:1/-1;margin-top:2px}.source-status-body{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.source-status-body>.notice{grid-column:1/-1}.page-heading{margin-bottom:22px}.page-heading h1{font-size:23px}.date-display{display:none}.rule-grid{gap:12px}.rule-card{padding:17px}.followup-columns{grid-template-columns:1fr}.followup-column{min-height:120px}.followup-column-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.followup-card{margin:0}.followup-column-list>.empty-state{grid-column:1/-1}.login-story{padding:35px 10%}.login-story-body h1{font-size:34px}.login-panel{padding:30px}.count-strip{gap:10px}.mini-stat{padding:15px;gap:12px}.mini-stat strong{font-size:22px}}
@media(max-width:900px){.topbar-location{min-width:0;flex:1 1 auto;overflow:hidden}.topbar-location strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}.topbar-tools{flex:0 0 auto;gap:10px}.topbar-tools .topbar-separator{display:none}.global-search{max-width:210px}.global-search input{width:112px}}
@media(max-width:760px){:root{--sidebar-width:224px}.sidebar{transform:translateX(-100%);transition:transform .2s;z-index:40}.sidebar.is-open{transform:translateX(0)}.sidebar-shade{z-index:39}.app-body{margin-left:0;width:100%}.topbar{height:62px;padding:0 17px;gap:10px}.mobile-only{display:inline-flex}.topbar-location{gap:6px;font-size:12px}.topbar-tools{gap:9px}.topbar-tools .topbar-separator{display:none}.topbar-tools .global-search{max-width:190px}.global-search input{width:120px}.main-content{padding:23px 18px 18px}.page-heading{gap:14px}.page-heading h1{font-size:22px}.page-heading p{font-size:11px}.heading-actions .button{font-size:10px;padding:7px 10px}.stats-grid{gap:12px;margin-bottom:19px}.stat-card{padding:17px 18px}.stat-value{font-size:30px}.stat-bottom{font-size:9px;margin-top:11px}.stat-label{font-size:11px}.card-header{padding:17px 18px}.card-header h2,.card-header h3{font-size:13px}.dashboard-grid,.dashboard-bottom{gap:18px}.dashboard-bottom{margin-top:18px}.app-footer{padding:15px 18px;font-size:9px}.team-grid{gap:13px}.member-card{padding:17px}.team-mini-row{grid-template-columns:120px 1fr 65px}.table-toolbar{padding:0 17px}.table-tabs{gap:20px}.filters select{max-width:none;flex:1;min-width:95px}.filter-search{max-width:none;flex-basis:100%}.filters label{flex:1}.filters select{width:100%}.approval-row{flex-wrap:wrap}.approval-actions{margin-left:48px}.rule-grid{grid-template-columns:1fr 1fr}.definition-row{grid-template-columns:120px 1fr;font-size:10px}.drawer{width:min(640px,100%)}.drawer-header,.drawer-body{padding-left:23px;padding-right:23px}.drawer .tab-bar{padding:0 23px}.login-view{grid-template-columns:1fr;min-height:100dvh}.login-story{display:none}.login-panel{padding:50px 25px;min-height:100dvh;background:linear-gradient(180deg,#fff9f3,white 35%)}.login-form{width:370px}.login-form:before{content:"1688 客户管理";display:block;font-size:19px;font-weight:600;color:var(--accent);margin-bottom:46px}.login-form h2{font-size:27px}.modal-overlay{padding:15px}.modal{max-height:calc(100dvh - 30px)}.modal-header{padding:18px 21px 15px}.modal-body{padding:21px}.modal-footer{padding:14px 21px}.toast-root{right:16px;bottom:16px}.count-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.mini-stat{padding:13px;display:block}.mini-stat strong{font-size:23px}.mini-stat p{font-size:10px}.data-columns{gap:17px}}
@media(max-width:480px){.topbar-tools #global-search-form{display:none}.topbar-tools .button.compact{padding:6px 10px;font-size:10px}.topbar-tools .reminder-button{width:27px}.page-heading{align-items:flex-start;gap:12px}.page-heading .heading-actions{max-width:150px;justify-content:flex-end;gap:6px}.page-heading h1{font-size:21px}.page-heading p{font-size:10px;line-height:1.8;max-width:245px}.main-content{padding:20px 14px 16px}.stats-grid{gap:10px}.stat-card{padding:15px 14px}.stat-label{font-size:10px}.stat-icon{height:28px;width:28px;border-radius:7px}.stat-icon svg{height:15px;width:15px}.stat-value{font-size:29px;margin-top:11px}.stat-bottom{font-size:8px;gap:3px}.card-header{padding:16px}.card-header p{font-size:10px}.task-table th,.task-table td{padding:12px}.task-table .task-stage{display:none}.task-table .customer-cell{gap:7px;min-width:120px}.task-table .customer-button{font-size:11px}.task-table .subline{font-size:9px}.funnel-body{padding:13px 18px 20px;gap:0 18px}.source-status-body{padding:15px 18px;grid-template-columns:1fr}.source-item{padding:9px 0}.team-mini-list{padding:3px 17px 8px}.team-mini-row{grid-template-columns:105px 1fr 48px;gap:10px}.team-mini-count{font-size:10px}.team-mini-person{font-size:11px}.team-mini-person small{font-size:8px}.notice{padding:11px 13px;font-size:10px;gap:8px}.table-toolbar{padding:0 14px}.table-tabs{gap:16px}.table-tab{font-size:11px}.table-toolbar>.button{font-size:10px}.table-pagination{padding:12px 14px;font-size:10px;gap:8px}.pagination-buttons{gap:5px}.filters{padding:14px;gap:8px}.filters select{font-size:10px;height:35px;min-width:90px}.table-tabs span{font-size:9px}.team-grid{grid-template-columns:1fr}.member-card{padding:20px}.member-quota{margin:17px 0 13px;padding-bottom:14px}.rule-grid{grid-template-columns:1fr}.rule-card{padding:18px}.rule-thresholds{gap:30px}.definition-row{grid-template-columns:1fr;gap:4px}.definition-row dt{font-size:11px}.definition-row dd{font-size:10px}.followup-column-list{grid-template-columns:1fr}.followup-card{padding:15px}.approval-list{padding:0 16px}.approval-row{gap:10px;padding:17px 0}.approval-main{min-width:190px}.approval-main p{font-size:10px}.approval-main .approval-meta{font-size:9px;gap:10px}.approval-actions{margin-left:45px}.approval-title h3{font-size:12px}.card-body{padding:17px}.tab-bar{padding:0 17px;gap:22px}.tab-button{font-size:11px;padding:14px 0}.drawer-header{padding:20px 19px 16px}.drawer-title-row h2{font-size:20px}.drawer-body{padding:22px 19px}.drawer .tab-bar{padding:0 19px;gap:22px}.drawer-actions{gap:7px;margin-top:17px}.drawer-actions .button{font-size:10px;padding:7px 10px;min-height:31px}.drawer-meta{gap:10px;font-size:10px}.detail-grid{gap:17px}.detail-field dd{font-size:11px}.detail-field dt{font-size:10px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.modal-overlay{padding:10px}.modal{max-height:calc(100dvh - 20px);border-radius:10px}.modal-header{padding:17px 18px 14px}.modal-header h2{font-size:16px}.modal-body{padding:18px}.modal-footer{padding:13px 18px}.modal-footer .button{font-size:11px}.app-footer{font-size:8px;padding:12px 15px;gap:5px}.login-form:before{margin-bottom:39px}.login-panel{padding:35px 28px}.login-local{font-size:8px}.source-item .badge{font-size:8px}.count-strip{gap:9px}.mini-stat{padding:13px 10px}.mini-stat strong{font-size:21px}.mini-stat p{font-size:9px}.heading-actions .button svg{height:13px;width:13px}}
.followup-card p svg{width:12px;height:12px;vertical-align:-2px;margin-right:5px}.source-card p svg{height:11px;width:11px;vertical-align:-1px;margin-left:3px}.approval-meta .link-button{font-size:10px}.table-tab:focus-visible,.tab-button:focus-visible{outline-offset:-4px}.checkbox-label:has(input:checked){color:#738297}.funnel-row:nth-child(4) .funnel-fill{background:#c6b5de}.funnel-row:nth-child(5) .funnel-fill{background:#91c6b1}.funnel-row:nth-child(6) .funnel-fill{background:#c4ccd8}.member-identity,.member-identity>div{min-width:0}.member-identity h3,.member-identity p{overflow-wrap:anywhere}.followup-card .between .badge{flex-shrink:0}.followup-card .customer-button{min-width:0}.modal-header p{overflow-wrap:anywhere}
.policy-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.policy-heading h3{font-size:15px}.policy-heading p{font-size:11px;color:#909cac;margin-top:5px}.policy-source{font-size:10px;color:#9aa5b4;overflow-wrap:anywhere;margin:10px 0 18px;line-height:1.8}.approval-title .small-text{font-size:10px}
.login-network{margin-top:16px;border:1px solid #f0e0d4;border-radius:8px;padding:13px 16px;background:#fffaf6;color:#967f6e;font-size:11px;line-height:1.8}.login-network strong{font-size:11px;font-weight:550;color:#966c4e}.login-network p{font-size:10px;margin-top:5px}.network-entry{margin-top:7px;overflow-wrap:anywhere}.network-entry a,.footer-connection a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.footer-connection{display:flex;flex-wrap:wrap;align-items:center;gap:5px 17px;min-width:0;overflow-wrap:anywhere}.app-footer{align-items:flex-start;flex-wrap:wrap;gap:8px 20px}.app-footer #last-sync{white-space:nowrap}.login-local .status-dot{flex-shrink:0}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Customer work views: focused daily queues, stored filters and stage browsing. */
.customer-view-controls{padding:16px 20px;border-bottom:1px solid var(--border)}
.view-toolbar,.saved-view-tools,.layout-switch,.view-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.view-toolbar{justify-content:space-between}.view-select,.view-options label{display:flex;align-items:center;gap:8px;color:#46536a;font-size:12px;white-space:nowrap}
.view-select select,.view-options select{border:1px solid var(--border);background:#fff;border-radius:5px;padding:8px;color:#46536a;max-width:230px;font:inherit}
.view-options{margin-top:12px}.view-options small{color:#64748b;font-size:11px;margin-left:auto}
.quick-views{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.quick-view{display:flex;align-items:center;gap:8px;border:1px solid #e3e8ef;border-radius:5px;padding:8px 11px;background:#fff;color:#46536a;font-size:12px;cursor:pointer}
.quick-view span{color:#64748b;font-size:11px}.quick-view.active{border-color:#df8658;background:#fff4ed;color:#874921}.quick-view.active span{color:#874921}
.next-step{font-size:11px;font-weight:600}.next-step.overdue{color:#b63e35}.next-step.today{color:#315d99}.next-step.unplanned{color:#886626}
.view-result-summary{padding:12px 20px;color:#64748b;font-size:12px;border-bottom:1px solid var(--border)}
.customer-kanban{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;padding:18px;background:#f6f7f9;max-height:720px}
.kanban-lane{flex:0 0 260px;min-width:0;background:#edf0f4;border-radius:6px;padding:12px;max-height:675px;overflow-y:auto}
.kanban-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:13px;color:#46536a;font-weight:600}.kanban-heading span{font-size:11px;color:#64748b}
.kanban-cards{display:flex;flex-direction:column;gap:10px}.kanban-card{background:#fff;border:1px solid #e1e6ed;border-radius:5px;padding:13px;overflow-wrap:anywhere}
.kanban-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.kanban-card-top .customer-button{white-space:normal;text-align:left;overflow-wrap:anywhere}
.kanban-product{font-size:12px;line-height:1.65;margin:10px 0;color:#59687d}.kanban-tags{display:flex;gap:4px;flex-wrap:wrap}.kanban-owner{font-size:11px;margin:10px 0}.kanban-next{font-size:11px;color:#64748b;border-top:1px solid #edf0f4;padding-top:10px}.kanban-actions{display:flex;justify-content:space-between;margin-top:10px}.kanban-empty{font-size:12px;color:#64748b;padding:16px 4px}.board-more{width:100%;margin-top:12px;justify-content:center}
.lead-table td:last-child{white-space:nowrap}.quick-view:focus-visible,.customer-kanban:focus-visible{outline:2px solid #315d99;outline-offset:2px}
@media(max-width:760px){.customer-view-controls{padding:14px}.view-toolbar{align-items:flex-start}.saved-view-tools{width:100%}.view-select{flex:1;min-width:0}.view-select select{min-width:0;flex:1}.view-options small{width:100%;margin-left:0}.quick-view{padding:8px}.customer-kanban{padding:14px;max-height:650px}.kanban-lane{flex-basis:270px;max-height:605px}.view-options select{max-width:170px}}

/* vNext P0: role workbench, customer 360 and public-pool operations */
.priority-inline{margin-left:5px}.risk-list{padding:8px 20px 14px}.risk-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;border-bottom:1px solid var(--border);background:#fff;padding:13px 2px;text-align:left}.risk-row:last-child{border-bottom:0}.risk-row>span:first-child{display:flex;flex-direction:column;min-width:0}.risk-row strong{font-size:12px;color:#46536a;overflow-wrap:anywhere}.risk-row small{font-size:10px;color:#9ba3af;margin-top:3px}.risk-countdown{font-size:10px;font-weight:600;white-space:nowrap;color:#668aa9}.risk-countdown.warning{color:#b18442}.risk-countdown.overdue{color:#c45f5b}.risk-countdown.protected{color:#5c927d}.coverage-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--border);margin:18px 21px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.coverage-panel>div{background:#fff;padding:22px 14px;text-align:center}.coverage-panel strong{display:block;color:#4f5f78;font-size:26px;font-weight:650}.coverage-panel span{display:block;color:#929baa;font-size:10px;margin-top:5px}.pool-count-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.pool-risk-card{margin-bottom:0}.risk-table{min-width:760px;overflow-x:auto}.risk-table-head,.risk-table-row{display:grid;grid-template-columns:minmax(170px,1.5fr) 110px 150px 130px 85px;gap:16px;align-items:center;padding:12px 20px}.risk-table-head{background:#fafbfc;color:#7f8897;font-size:11px;border-bottom:1px solid var(--border)}.risk-table-row{font-size:11px;border-bottom:1px solid var(--border)}.risk-table-row:last-child{border-bottom:0}.funnel-summary{margin-bottom:22px}.funnel-inventory{max-width:1080px}.funnel-stage-list{padding:20px 24px 25px}.funnel-stage{display:grid;grid-template-columns:210px minmax(180px,1fr);gap:22px;align-items:center;padding:12px 0}.funnel-stage-label{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;font-size:12px;color:#8390a2}.funnel-stage-label strong{font-weight:600;color:#4f5c72}.stage-order{font-size:9px;color:#a7afbb}.funnel-stage-track{height:12px;background:#f4f5f8;border-radius:6px;overflow:hidden}.funnel-stage-track span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#ed895d,#f2ad83)}.identity-callout{background:linear-gradient(120deg,#fff8f2,#fff);border:1px solid #f5e4d8;border-radius:10px;padding:15px 17px;margin-bottom:18px}.identity-callout span,.identity-callout small{display:block;color:#9a8a7e;font-size:10px}.identity-callout strong{display:block;color:#4d586b;font-size:18px;margin:5px 0;overflow-wrap:anywhere}.drawer-identity-subtitle{font-size:10px;color:#9099a7;margin-top:5px;overflow-wrap:anywhere}.tag-list{display:flex;gap:6px;flex-wrap:wrap}.profile-tag{display:inline-flex;background:#eef3fb;color:#6d83a8;border-radius:4px;padding:3px 7px;font-size:10px}.pool-status-banner{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f7faff;border:1px solid #e4eaf7;border-radius:9px;padding:13px 15px;margin-bottom:18px}.pool-status-banner>div{display:flex;flex-direction:column}.pool-status-banner span,.pool-status-banner small{font-size:9px;color:#8997ad}.pool-status-banner strong{font-size:12px;color:#5f7599;margin-top:3px}.pool-status-banner.warning{background:#fffcf5;border-color:#f2e4c9}.pool-status-banner.overdue{background:#fff8f7;border-color:#f0d9d7}.pool-status-banner.protected{background:#f3faf7;border-color:#dceee6}.business-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-member-card{padding-bottom:18px}.team-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:7px;overflow:hidden;margin:17px 0}.team-metric-grid>div{background:#fff;padding:12px 7px;text-align:center}.team-metric-grid strong{display:block;font-size:18px;color:#52627b;font-weight:650}.team-metric-grid strong small{font-size:9px;color:#9da5b1;margin-left:2px}.team-metric-grid span{display:block;font-size:9px;color:#969fac;margin-top:4px}.pool-settings-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e4eaf7;background:#f8faff;border-radius:9px;padding:16px}.pool-settings-summary>div{display:flex;align-items:center;gap:12px}.pool-settings-summary h3{font-size:13px}.pool-settings-summary p,.pool-settings-summary small{display:block;color:#8492a9;font-size:10px;margin-top:4px}.pool-settings-summary>div:last-child{align-items:flex-end;flex-direction:column}.pool-settings-summary .inline-group{margin-top:8px}
@media(max-width:980px){.pool-count-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.business-team-grid{grid-template-columns:1fr}.risk-table{overflow-x:auto}.funnel-stage{grid-template-columns:170px 1fr}.pool-settings-summary{align-items:flex-start;flex-direction:column}.pool-settings-summary>div:last-child{align-items:flex-start}}
@media(max-width:760px){.risk-table{min-width:0}.risk-table-head{display:none}.risk-table-row{grid-template-columns:1fr auto;gap:7px 12px;padding:15px 17px}.risk-table-row>span:nth-child(2),.risk-table-row>span:nth-child(3){grid-column:1}.risk-table-row>span:nth-child(4),.risk-table-row>span:nth-child(5){grid-column:2;grid-row:auto}.funnel-stage{grid-template-columns:1fr;gap:8px}.coverage-panel{margin:14px 17px}.coverage-panel>div{padding:17px 8px}.coverage-panel strong{font-size:22px}.team-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pool-status-banner{grid-template-columns:1fr}.drawer-identity-subtitle{max-width:290px}}
@media(max-width:480px){.pool-count-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.risk-row{align-items:flex-start}.risk-countdown{white-space:normal;text-align:right;max-width:105px}.coverage-panel{grid-template-columns:1fr}.coverage-panel>div{display:flex;align-items:center;justify-content:space-between;padding:13px}.coverage-panel strong{font-size:20px}.identity-callout strong{font-size:16px}.pool-settings-summary{padding:13px}.pool-settings-summary>div:first-child{align-items:flex-start}}

/* Read-only source comparisons keep long source values inside the workspace. */
.duplicate-group{margin-bottom:20px}.duplicate-selectors{display:flex;gap:16px;padding:16px;flex-wrap:wrap}
.duplicate-selectors label{display:grid;gap:8px;flex:1;min-width:220px}.duplicate-selectors select{width:100%;max-width:100%;padding:10px;border:1px solid var(--border);border-radius:8px}
.duplicate-table{table-layout:fixed;min-width:700px;width:100%}.duplicate-table th:first-child{width:150px}.duplicate-table td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.duplicate-table pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}
.action-templates{display:flex;gap:8px;flex-wrap:wrap}#edit-conflict-comparison td{white-space:pre-wrap;overflow-wrap:anywhere}

/* Channel categories use the same filter as list, board and saved views. */
.channel-section{margin-bottom:22px}.channel-heading h2{font-size:15px;margin:0 0 7px;color:#334155}.channel-heading p,.channel-note{font-size:12px;line-height:1.7;color:#64748b;margin:0 0 12px}.channel-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.channel-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;padding:18px 20px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#46536a;cursor:pointer;font:inherit;min-width:0}.channel-card>span:first-child{font-weight:600;font-size:14px}.channel-card strong{font-size:27px;font-weight:650}.channel-card small{font-size:11px;font-weight:400;color:#64748b}.channel-card-hint{font-size:11px;line-height:1.6;color:#64748b}.channel-card.active{background:#fff4ed;border-color:#df8658;box-shadow:inset 0 0 0 1px #df8658;color:#874921}.channel-card:hover{border-color:#df8658}.channel-card:focus-visible{outline:2px solid #315d99;outline-offset:3px}.channel-note{margin:9px 0 0}
@media(max-width:760px){.channel-cards{grid-template-columns:1fr}.channel-card{padding:13px 16px;display:grid;grid-template-columns:1fr auto;gap:6px 12px}.channel-card strong{font-size:23px;grid-column:2;grid-row:1 / 3;align-self:center}.channel-card-hint{grid-column:1}}

.workflow-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:20px}.workflow-summary p{font-size:12px;color:#64748b;margin-top:7px}.workflow-filters{display:flex;gap:12px;flex-wrap:wrap;padding:18px}.workflow-filters .field{min-width:150px}.workflow-table{width:100%;font-size:12px}.workflow-table td{vertical-align:top;max-width:320px;white-space:normal;overflow-wrap:anywhere}.workflow-table p{white-space:pre-wrap;line-height:1.6}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px}.knowledge-card{border:1px solid var(--border);border-radius:8px;padding:18px;min-width:0}.knowledge-card h2{font-size:17px;margin:15px 0}.knowledge-card .between{font-size:11px;color:#64748b}.knowledge-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;min-height:70px}.knowledge-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.knowledge-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;padding:15px 0}.knowledge-version{border-bottom:1px solid var(--border);padding:16px 0}.knowledge-version summary{cursor:pointer;font-weight:600}.workflow-filters input,.workflow-filters select{max-width:100%}
@media(max-width:760px){.knowledge-grid{grid-template-columns:1fr}.workflow-summary{align-items:flex-start}.workflow-filters{display:grid;grid-template-columns:1fr}.workflow-table{min-width:750px}}
.sidebar{overflow:hidden}#main-nav{min-height:0;overflow-y:auto;flex:1 1 auto}.sidebar>.brand,.sidebar>.workspace-switch,.sidebar>.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:12px}

/* Operate-mode polish: preserve orange identity and all business behavior. */
:root {
  --accent: #17665b;
  --accent-hover: #105348;
  --accent-soft: #e9f3ef;
  --muted: #596b65;
  --text-secondary: #596b65;
  --border: #dfe7e3;
  --ui-secondary: #566274;
  --ui-focus: #17665b;
  --ui-control-radius: 6px;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --bg:#f5f7f6;
  --card:#fff;
  --ink:#20332f;
  --green:#287353;
  --green-soft:#edf6f0;
  --blue:#365f9b;
  --blue-soft:#eff3fa;
  --purple:#705d91;
  --purple-soft:#f4f0f8;
  --red:#b54747;
  --red-soft:#fdf0ef;
  --amber:#936018;
  --amber-soft:#fff5e5;
  --shadow:none;
  font-size:14px;
  line-height:1.55;
}
::selection { background: #f9d9c8; color: #243044; }
input, textarea { caret-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #626e7e; opacity: 1; }
.main-content { max-width: 1660px; width: 100%; align-self: center; }
.page-heading h1 { font-size: 28px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
.page-heading p { font-size: 13px; line-height: 1.8; color: var(--ui-secondary); max-width: 72ch; margin-top: 8px; }
.sidebar { background: #f9fafb; }
.nav-item { color: #566274; min-height: 40px; padding: 9px 13px; font-weight: 500; }
.nav-item.active { color: var(--accent); font-weight: 650; }
.nav-item:hover { background: #edf0f4; }
.nav-item.active:hover { background: var(--accent-soft); }
.nav-group-label, .brand small, .workspace-info span, .sidebar-bottom>p, .local-badge, .profile-role { color: #626e7e; }
.nav-divider { margin: 18px 14px 15px; }
.card { box-shadow: none; }
.card-header h2, .card-header h3 { font-size: 16px; font-weight: 600; }
.card-header p, .stat-bottom, .subline, .secondary, .source-text, .date-display, .card-footer, .table-pagination, .app-footer { color: var(--ui-secondary); }
.card-header p { font-size: 12px; line-height: 1.6; }
.stat-label { color: #566274; font-size: 13px; }
.stat-value, .mini-stat strong, .channel-card strong, .coverage-panel strong, .table-pagination, table { font-variant-numeric: tabular-nums; }
th { color: #475468; font-weight: 600; background: #f4f6f8; }
.lead-table td, .workflow-table td { font-size: 13px; line-height: 1.65; }
.lead-table .customer-button { font-size: 13px; font-weight: 600; }
.subline, .next-step, .source-text { font-size: 12px; line-height: 1.6; }
tbody tr:hover { background: #f7f9fb; }
.button { min-height: 36px; font-size: 13px; border-radius: var(--ui-control-radius); }
.button.small, .button.compact { min-height: 32px; font-size: 12px; }
.button.primary { box-shadow: none; }
.button.text { color: var(--accent); }
.button, .channel-card, .quick-view { transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:focus-visible, .channel-card:focus-visible, .quick-view:focus-visible, .nav-item:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ui-focus); outline-offset: 3px;
}
.channel-card { border-radius: 10px; padding: 16px 20px; gap: 7px; }
.channel-card strong { font-size: 32px; letter-spacing: -.02em; }
.channel-card.active { border-color: var(--accent); box-shadow: none; }
.channel-heading h2 { font-size: 16px; }
.channel-heading p, .channel-note, .channel-card-hint, .channel-card small { color: var(--ui-secondary); font-size: 12px; }
.channel-card.active .channel-card-hint, .channel-card.active small { color: #8a492e; }
.field>span { color: #475468; }
.field input, .field select, .field textarea, .filters input, .filters select { font-size: 13px; border-radius: var(--ui-control-radius); }
.knowledge-card { display: flex; flex-direction: column; border-radius: 10px; padding: 22px; }
.knowledge-actions { margin-top: auto; padding-top: 18px; }
.knowledge-card h2 { line-height: 1.5; }
.workflow-summary { background: #fffaf7; border-color: #f0d8ca; }
@media(max-width:760px) {
  .page-heading h1 { font-size: 24px; }
  .page-heading p { font-size: 13px; }
  .channel-card { padding: 14px 16px; }
  .channel-card strong { font-size: 26px; }
  .button, .button.small, .button.compact { min-height: 40px; }
  .nav-item { min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
  .button, .channel-card, .quick-view { transition: none; }
  .button:active:not(:disabled) { transform: none; }
}

/* Operational workspace: stable navigation and compact task headings. */
:root{--accent:#17665b;--accent-hover:#105348;--accent-soft:#e9f3ef;--bg:#f5f7f6;--radius:8px;--shadow:none;--ui-focus:#17665b;--card:#fff;--ink:#20332f;--muted:#596b65;--text-secondary:#596b65;--border:#dfe7e3;--green:#287353;--green-soft:#edf6f0;--blue:#365f9b;--blue-soft:#eff3fa;--purple:#705d91;--purple-soft:#f4f0f8;--red:#b54747;--red-soft:#fdf0ef;--amber:#936018;--amber-soft:#fff5e5;font-family:"Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;font-size:14px;line-height:1.55}
.app-body{background:var(--bg)}
.sidebar{background:#243044;border-right:1px solid #344155;box-shadow:none}
.sidebar .brand{color:#fff}.sidebar .brand small{color:#b9c3d2}
.sidebar .workspace-label{background:#2c394e;border-color:#415067;color:#fff}.sidebar .workspace-label small{color:#bbc5d3}
.sidebar .nav-item{color:#c6cfdb;border-radius:5px}.sidebar .nav-item:hover{background:#344155;color:#fff}
.sidebar .nav-item.active,.sidebar .nav-item.active:hover{background:#3d4655;color:#fff;box-shadow:inset 3px 0 0 #ed9c72}
.sidebar .nav-group-label,.sidebar .local-badge,.sidebar .sidebar-bottom>p{color:#b7c2d2}.sidebar .nav-divider{border-color:#415067}
.sidebar .profile-button{background:#2c394e;border-color:#415067;color:#fff}.sidebar .profile-copy small{color:#bbc5d3}
.topbar{background:#fff;border-bottom:1px solid var(--border)}
.page-heading{position:static;isolation:auto;overflow:visible;padding:0;min-height:52px;border-radius:0;background:none;box-shadow:none;color:var(--ink);align-items:center;animation:none}
.page-heading:before,.page-heading:after{display:none}.page-heading h1{font-size:24px;letter-spacing:0;color:var(--ink)}.page-heading p{color:var(--text-secondary);font-size:12px;max-width:75ch}.page-heading .date-display{color:var(--text-secondary)}
.page-heading .button{background:#fff;border-color:#d9dee7;color:#46546a;box-shadow:none}.page-heading .button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.stats-grid{gap:12px}.stat-card{border:1px solid var(--border);padding:18px 20px;box-shadow:none;background:#fff;animation:none}.stat-value{font-size:32px;letter-spacing:-.5px}.stat-icon{width:34px;height:34px;border-radius:6px}.stat-bottom{font-size:12px;line-height:1.6}
.card{box-shadow:none}.card-header{padding:18px 20px;background:#fff}.card-header h2:before{display:none}
.channel-card{border-radius:8px;border-color:var(--border);box-shadow:none;padding:18px 20px}.channel-card:before{display:none}.channel-card.active{background:var(--accent-soft);border-color:var(--accent);box-shadow:none}.channel-card strong{font-size:30px}.channel-card:hover{border-color:var(--accent)}
.button.primary{background:var(--accent);border-color:var(--accent);box-shadow:none}.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);box-shadow:none}
.kanban-lane{border-radius:8px;background:#eef1f5}.kanban-card{border-radius:6px;box-shadow:none}.workflow-summary{border-left:3px solid var(--accent);border-radius:6px;background:#fff}
.funnel-stage-track{border-radius:4px;overflow:hidden}.funnel-stage-track>span{background:var(--accent);border-radius:4px}
@media(max-width:1000px){.page-heading{flex-wrap:wrap}}
@media(max-width:760px){.page-heading{min-height:0;padding:0;gap:12px}.page-heading h1{font-size:22px}.page-heading .heading-actions{width:auto;justify-content:flex-start}.stat-card{padding:16px}.stat-value{font-size:28px}.channel-card{padding:16px}.card-header{padding:16px}}

.daily-workspace .page-heading{min-height:0;padding:0 0 22px;background:none;box-shadow:none;border-radius:0;color:var(--ink);overflow:visible;margin-bottom:0;animation:none}
.daily-workspace .page-heading:after{display:none}.daily-workspace .page-heading h1{font-size:28px;color:#243044}.daily-workspace .page-heading p{color:#566274;margin-top:6px}.daily-workspace .date-display{color:#626e7e}.daily-workspace .page-heading .button{color:#566274;background:#fff;border-color:#d8e0eb}.daily-workspace .page-heading :focus-visible{outline-color:var(--ui-focus)}
.daily-workspace .stats-grid{gap:0;background:#fff;border:1px solid #dde4ee;border-radius:12px;overflow:hidden;margin-bottom:22px;box-shadow:0 4px 16px #24304404}
.daily-workspace .stat-card{border:0;border-right:1px solid #e7ecf3;border-radius:0;background:#fff;box-shadow:none;padding:15px 20px;animation:none}.daily-workspace .stat-card:last-child{border-right:0}.daily-workspace .stat-card:first-child{background:#fff8f3}
.daily-workspace .stat-value{font-size:30px;margin-top:5px;line-height:1.2}.daily-workspace .stat-icon{width:29px;height:29px;border-radius:8px}.daily-workspace .stat-icon svg{width:17px;height:17px}.daily-workspace .stat-bottom{margin-top:7px;font-size:11px}.daily-workspace .stat-label{font-size:12px}
.daily-workspace .dashboard-grid{grid-template-columns:minmax(0,2.35fr) minmax(260px,1fr);gap:18px;align-items:start;margin-bottom:18px}.daily-workspace .priority-work{border-top:3px solid var(--accent);box-shadow:0 8px 24px #2430440b}.daily-workspace .priority-work .card-header{padding:20px 22px;background:#fff}.daily-workspace .priority-work h2{font-size:18px}.daily-workspace .priority-work h2:before{display:none}.daily-workspace .priority-work .card-header p{font-size:12px;margin-top:5px}.daily-workspace .task-table td{padding-top:18px;padding-bottom:18px}.daily-workspace .task-table .next-step{font-size:13px;font-weight:600;color:#243044}.daily-workspace .task-table .customer-button{font-size:13px}.daily-workspace .task-table .button{color:var(--accent);border-color:#edc6b5;background:#fff8f3}.daily-workspace .task-table .button:hover{background:#ffecdf}
.daily-workspace .dashboard-grid>.card:not(.priority-work){box-shadow:none}.daily-workspace .dashboard-grid>.card:not(.priority-work) .card-header{background:#f8fafc}.daily-workspace .dashboard-bottom{gap:18px;margin-top:18px}.daily-workspace .dashboard-bottom .card{box-shadow:none}.daily-workspace .workflow-summary{margin:0}.workspace-channels{margin-top:24px;border-top:1px solid #dce3ed;padding-top:22px}.workspace-channels .channel-section{margin-bottom:0}.workspace-channels .channel-card{padding:14px 18px;box-shadow:none;gap:4px}.workspace-channels .channel-card:before{display:none}.workspace-channels .channel-card strong{font-size:27px}.workspace-channels .channel-heading h2{font-size:14px}
@media(max-width:1150px){.daily-workspace .dashboard-grid{grid-template-columns:1fr}.daily-workspace .stat-card{padding:14px}.daily-workspace .stat-bottom{min-height:36px}}
@media(max-width:760px){.daily-workspace .page-heading{padding:0 0 18px;gap:12px}.daily-workspace .page-heading h1{font-size:24px}.daily-workspace .page-heading .heading-actions{width:auto}.daily-workspace .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-workspace .stat-card:nth-child(2){border-right:0}.daily-workspace .stat-card:nth-child(-n+2){border-bottom:1px solid #e7ecf3}.daily-workspace .stat-value{font-size:27px}.daily-workspace .stat-bottom{display:none}.daily-workspace .priority-work .card-header{padding:17px}.daily-workspace .priority-work h2{font-size:16px}.daily-workspace .task-table td{padding:13px 10px}.workspace-channels .channel-card strong{font-size:25px}}

.customer-brief,.followup-context{background:#f5f8fc;border:1px solid #dfe6ef;border-radius:12px;padding:18px;margin-bottom:24px}.brief-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.brief-facts>div{display:flex;flex-direction:column;gap:4px}.brief-facts span,.brief-plan>span{color:#626e7e;font-size:12px}.brief-facts strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.brief-wide{grid-column:1/-1}.brief-plan{display:flex;flex-direction:column;gap:6px;border-left:1px solid var(--accent);padding:10px 12px;background:#fff8f3;margin-top:16px;border-radius:0 6px 6px 0}.brief-plan strong{font-size:14px;overflow-wrap:anywhere}.recent-contact{margin-top:16px;font-size:12px}.recent-contact summary{cursor:pointer;color:#475468}.recent-contact p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px;line-height:1.8;max-height:170px;overflow:auto}
.side-overlay{justify-content:flex-end;padding:0}.modal.followup-sheet{height:100dvh;max-height:100dvh;width:600px;max-width:100%;border-radius:16px 0 0 16px}.followup-sheet .modal-header{padding:22px 24px;background:#f9fbfd}.followup-sheet .modal-body{padding:20px 24px}.followup-sheet .modal-footer{padding:16px 24px;background:#fff;border-top:1px solid var(--border)}.followup-sheet .field>span{font-size:13px}.followup-sheet textarea{min-height:85px}.followup-context{padding:15px;margin-bottom:20px}.followup-context .recent-contact p{max-height:110px}
.coverage-action{border:0;background:#fff8f3;text-align:center;padding:16px;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;color:var(--accent);border-radius:8px}.coverage-action:hover{background:#ffecdf}.coverage-action>span{font-size:12px}.coverage-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.coverage-panel .coverage-action strong{color:var(--accent)}
.workflow-filters{background:#f8fafc;border-bottom:1px solid var(--border);gap:16px;padding:20px}.workflow-table th{font-size:12px;padding:14px 18px}.workflow-table td{padding:17px 18px}.workflow-table .button{margin:3px}.workflow-table strong{font-weight:600}.knowledge-card{box-shadow:0 4px 16px #24304406}.knowledge-preview{color:#566274}.empty-state .button{margin:7px 4px 0}.drawer-body .detail-section h3{font-size:15px}.drawer-body .detail-field dd{font-size:13px;line-height:1.75}.drawer-body .detail-field dt{font-size:12px}.legacy-details summary{padding:10px 0}.tab-button{min-height:44px}
@media(max-width:760px){.modal.followup-sheet{border-radius:0;width:100%}.followup-sheet .modal-header,.followup-sheet .modal-body,.followup-sheet .modal-footer{padding:16px}.customer-brief,.followup-context{padding:14px}.coverage-action{padding:10px 5px}.coverage-action>span{font-size:11px}.workflow-filters{padding:16px}}

.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card{padding:24px}.project-card h2{margin:16px 0 8px}.project-products{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:16px}.project-blocker{margin:16px 0;font-size:13px;color:#875331;white-space:pre-wrap;overflow-wrap:anywhere}.project-entry-list{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.project-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.project-progress>div{background:#f3f6fa;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:8px}.project-progress span{font-size:12px;color:#626e7e}.project-progress strong{font-size:13px}.project-requirements,.project-version,.project-history{margin:20px 0;padding:18px;border:1px solid var(--border);border-radius:10px}.project-requirements summary,.project-version summary,.project-history summary{cursor:pointer;font-weight:600;margin-bottom:16px}.project-version .detail-grid{margin:16px 0}.project-history p{padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.project-summary{margin:18px 0!important}@media(max-width:760px){.project-grid{grid-template-columns:1fr}.project-progress{grid-template-columns:1fr}.project-card{padding:18px}.project-requirements,.project-version{padding:14px}}

.history-inventory{padding:12px 20px;background:#fff9f3;color:#82502c;font-size:12px;border-top:1px solid #f2e3d7}.legacy-cell{min-width:210px;max-width:280px;white-space:normal}.legacy-preview{font-size:12px;color:#566274;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.legacy-timeline{border:1px solid #eadbca;border-left:3px solid #b7802c;border-radius:10px;padding:18px;background:#fffaf4;margin-bottom:24px}.legacy-timeline .between{flex-wrap:wrap}.legacy-timeline>p{line-height:1.8;margin-top:10px}.legacy-full-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;margin:16px 0;padding:16px;background:#fff;border-radius:7px}

.followup-screenshots{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.followup-screenshots a{display:flex;flex-direction:column;gap:7px;width:160px;font-size:12px;overflow-wrap:anywhere}.followup-screenshots img{width:160px;height:120px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#f5f7fa}

/* Source-faithful inquiry product multi-select. */
.source-product-field { min-width:0; margin:0; padding:0; border:0; }
.source-product-field legend { margin-bottom:9px; padding:0; font-size:12px; color:var(--muted, #64748b); }
.source-product-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.source-product-option { display:flex; align-items:center; gap:10px; padding:12px; min-height:44px; border:1px solid #dce2ed; border-radius:8px; cursor:pointer; background:#fff; }
.source-product-option:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
.source-product-option:focus-within { outline:2px solid var(--ui-focus); outline-offset:2px; }
.source-product-option input[type="checkbox"] { width:17px; height:17px; margin:0; flex:0 0 17px; accent-color:var(--accent); }
.source-product-option span { overflow-wrap:anywhere; font-size:13px; color:#27334c; }
.source-product-field small { display:block; margin-top:8px; color:#64748b; font-size:12px; }
@media(max-width:600px) { .source-product-options { grid-template-columns:1fr; } }

.quality-summary { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px; margin:20px 0; border-left:4px solid #c45824; }
.quality-summary p { margin:6px 0 0; color:#61708b; }
.quality-tabs,.quality-actions { display:flex; gap:8px; flex-wrap:wrap; margin:16px 0; }
.quality-filters { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.quality-filters input,.quality-filters select { min-height:40px; padding:8px 12px; border:1px solid #dce2ed; border-radius:7px; background:white; color:#27334c; max-width:100%; }
.quality-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.quality-item { padding:22px; min-width:0; }
.quality-item small { display:block; color:#63718b; margin-top:6px; }
.quality-item-head { display:flex; justify-content:space-between; gap:10px; }
.quality-context { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.8; color:#42536e; }
.quality-number { font-size:20px; font-weight:700; color:#aa461b; }
.quality-warning { padding:8px 12px; background:#fff5e9; color:#8e4616; font-size:12px; border-radius:6px; }
.quality-raw { white-space:pre-wrap; overflow-wrap:anywhere; font-family:inherit; line-height:1.8; padding:16px; background:#f3f6fa; border-radius:8px; }
.quality-compare { width:100%; table-layout:fixed; }
.quality-compare th,.quality-compare td { white-space:pre-wrap; overflow-wrap:anywhere; padding:12px; border-bottom:1px solid #e4e9f0; vertical-align:top; }
.quality-compare th:first-child { width:22%; }.quality-compare small { display:block; font-size:11px; color:#99613d; }
.quality-different { background:#fff7ef; }
@media(max-width:760px){.quality-grid{grid-template-columns:1fr}.quality-summary{align-items:flex-start;flex-direction:column}.quality-filters>*{flex:1;min-width:140px}.quality-item{padding:16px}}

.quality-filters input { width:auto; flex:2 1 240px; }.quality-filters select { width:auto; flex:1 1 140px; }

/* Customer identity, follow-up contact and manual priority are separate fields. */
.lead-table .grade-column{width:86px;min-width:86px;text-align:center;padding-left:12px;padding-right:12px}
.customer-grade{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 7px;border-radius:9px;font-weight:700;font-size:12px;border:1px solid transparent;white-space:nowrap}
.customer-grade.grade-A{background:#fff0e9;color:#a13c13;border-color:#f2c3ab}.customer-grade.grade-B{background:#fff7e5;color:#875900;border-color:#eed79d}.customer-grade.grade-C{background:#edf3ff;color:#315a9d;border-color:#c8d8f3}.customer-grade.grade-D{background:#f0f3f7;color:#526174;border-color:#d8dfe8}.customer-grade.grade-unrated{background:#f5f6f8;color:#687488;font-weight:500;border-color:#e4e8ee;font-size:11px}
.lead-table .identity-column{min-width:165px;max-width:230px}.lead-table .identity-column .customer-button{white-space:normal;overflow-wrap:anywhere;text-align:left}
.lead-table .followup-contact-column{min-width:180px;max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.7;color:#475468}

/* Continuous customer work area: live data, compact controls, full-width list. */
.nav-section{margin:4px 0 9px}.nav-section>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;color:#a9b9cb;font-size:11px;cursor:pointer;user-select:none}.nav-section>summary::-webkit-details-marker{display:none}.nav-section>summary svg{width:13px;height:13px;transition:transform .15s}.nav-section:not([open])>summary svg{transform:rotate(-90deg)}.sidebar .nav-section .nav-item{padding-top:9px;padding-bottom:9px;margin-bottom:2px}.nav-section summary:focus-visible,.more-filters summary:focus-visible{outline:2px solid #df7a45;outline-offset:-2px;border-radius:5px}
.sidebar{padding-top:22px}.sidebar .brand{margin-bottom:20px}.sidebar .workspace-label{margin-bottom:14px;color:var(--ink)}.sidebar-bottom>p,.sidebar-bottom>.local-badge{display:none}.sidebar-bottom{padding-top:10px}.sidebar #main-nav{overflow-y:auto;min-height:0;flex:1}.sidebar>.workspace-label{flex-shrink:0}
@media(min-width:761px){body.nav-collapsed .sidebar{transform:translateX(-100%)}body.nav-collapsed .app-body{margin-left:0;width:100%}}
.customer-workspace{padding:24px 28px;max-width:none}.customer-workspace .page-heading{background:none;box-shadow:none;border:0;border-radius:0;min-height:0;margin:0 0 20px;padding:0;color:#25344b;display:flex;align-items:center}.customer-workspace .page-heading:before,.customer-workspace .page-heading:after{display:none}.customer-workspace .page-heading h1{font-size:24px;color:#25344b;line-height:1.4;letter-spacing:0;margin:0}.customer-workspace .page-heading p{color:#707d90;font-size:12px;margin-top:5px}.customer-workspace .page-heading .button{background:#fff;color:#4b5e78;border:1px solid #dce3ed;box-shadow:none}.customer-list-card{border-radius:10px;box-shadow:none;overflow:visible}.customer-workspace .customer-view-controls{position:relative;padding:0;border:0}.customer-workspace .work-view-row{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf0f5}.customer-workspace .quick-views{margin:0;display:flex;gap:5px;flex-wrap:wrap;flex:1}.customer-workspace .quick-view{border-color:transparent;background:none;padding:7px 9px;white-space:nowrap}.customer-workspace .quick-view.active{background:#fff3ea;border-color:#f0d1bd;color:#a44618}.customer-workspace .layout-switch{margin-left:auto;display:flex;white-space:nowrap}.customer-workspace .filters{padding:13px 16px;padding-right:178px;gap:8px;align-items:center;border:0}.customer-workspace .filter-search{min-width:200px;flex:1;max-width:420px}.customer-workspace .filters select{min-width:100px}.customer-workspace .more-filters{position:absolute;right:16px;top:calc(100% + 20px);z-index:5}.more-filters>summary{list-style:none;display:flex;gap:7px;align-items:center;font-size:12px;color:#52647e;cursor:pointer}.more-filters summary::-webkit-details-marker{display:none}.more-filters summary svg{width:13px;height:13px}.more-filter-body{position:absolute;right:0;top:30px;width:600px;max-width:calc(100vw - 54px);background:#fff;box-shadow:var(--work-shadow-popover);border:1px solid #dde4ee;border-radius:8px;padding:18px}.more-filter-body .saved-view-tools{display:flex;gap:8px;flex-wrap:wrap}.customer-workspace .view-options{margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:14px}.customer-workspace .view-options small{width:100%;font-size:11px;color:#7a8596}.customer-workspace .history-inventory{background:#fafbfd;border-top:1px solid #edf0f5;color:#778295;padding:8px 16px;font-size:11px}.customer-workspace .lead-table th{background:#f2f5f9;padding:12px 14px;white-space:nowrap}.customer-workspace .lead-table td{padding:14px;vertical-align:top}.lead-table td.grade-column,.lead-table th.grade-column{min-width:78px;width:78px;max-width:78px;padding-left:10px;padding-right:10px}.customer-workspace .lead-table .identity-column{min-width:150px;max-width:205px}.customer-workspace .lead-table .followup-contact-column{min-width:155px;max-width:205px}.lead-table .source-link{display:block;padding:3px 0;font-size:11px}.legacy-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.7;margin:0;max-height:5.1em}.lead-table .legacy-cell{min-width:190px;max-width:260px}.customer-workspace .table-overflow{border-radius:0 0 8px 8px}.customer-workspace .table-pagination{padding:12px 16px}.customer-workspace .table-overflow:focus-visible{outline:2px solid #d56d37}
@media(max-width:1100px){.customer-workspace{padding:20px}.customer-workspace .work-view-row{flex-wrap:wrap}.customer-workspace .quick-views{flex-basis:100%}.customer-workspace .layout-switch{margin-left:0}.customer-workspace .filters{padding-right:16px;padding-bottom:45px}.customer-workspace .more-filters{top:auto;bottom:-30px;left:16px;right:auto}.more-filter-body{left:0;right:auto}}
@media(max-width:600px){.customer-workspace{padding:18px 12px}.customer-workspace .page-heading{align-items:flex-start;gap:10px}.customer-workspace .page-heading h1{font-size:21px}.customer-workspace .page-heading p{max-width:220px}.customer-workspace .page-heading .heading-actions{max-width:120px}.customer-workspace .work-view-row{padding:10px}.customer-workspace .quick-view{padding:7px;font-size:11px}.customer-workspace .filters{padding-left:10px;padding-right:10px;flex-wrap:wrap}.customer-workspace .filter-search{flex-basis:100%;max-width:none;min-width:0}.customer-workspace .filters select{max-width:150px}.more-filter-body{width:calc(100vw - 50px);max-width:calc(100vw - 50px);padding:14px}.more-filter-body .view-select{flex-wrap:wrap}.more-filter-body select{max-width:190px}.customer-workspace .page-heading .button{font-size:11px}.customer-workspace .table-pagination{flex-wrap:wrap}.customer-workspace .history-inventory{padding:8px 10px}}

@media(max-width:1100px){.customer-workspace .more-filters{position:static;padding:10px 16px;border-bottom:1px solid #edf0f5}.customer-workspace .more-filter-body{position:static;width:100%;max-width:100%;margin-top:12px;box-shadow:none}.customer-workspace .filters{padding-bottom:13px}.customer-workspace .more-filters summary{width:fit-content}}
/* Sales business loop: compact records, clear evidence, wide tables scroll locally. */
.business-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;align-items:center}
.business-record{padding:16px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.business-record>p{margin-top:6px;line-height:1.7}.business-record>span{margin-left:10px;color:var(--text-secondary)}
.business-table{min-width:780px}.business-table td{vertical-align:top;overflow-wrap:anywhere}.business-table .subline{max-width:240px}
.business-section{border-top:1px solid var(--border);padding:16px 0;margin-top:12px}.business-section>summary{font-weight:600;cursor:pointer;margin-bottom:12px}
.business-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}
.business-metrics>div{border:1px solid var(--border);border-radius:8px;background:#fafbfc;padding:14px}
.business-metrics span{display:block;font-size:12px;color:var(--text-secondary)}.business-metrics strong{display:block;font-size:17px;margin-top:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.business-order-line,.business-checks{border:1px solid var(--border);border-radius:8px;padding:16px;min-width:0}.business-order-line legend{font-weight:600;padding:0 8px}
.business-order-line input[type=checkbox],.business-checks input[type=checkbox]{margin-right:8px;vertical-align:middle}
.business-checks label{display:block;margin:8px 0}.business-subrow{padding-top:12px;gap:12px}.matrix-version{display:grid;gap:6px;margin:4px 0 12px}.matrix-version .badge{justify-self:start}
.project-matrix{min-width:880px}.project-matrix td:first-child{min-width:150px}.business-tabs{margin-bottom:18px}.modal .notice{max-width:100%;grid-column:1/-1}
.lead-table-structured{table-layout:fixed;min-width:1603px;width:100%;border-collapse:separate;border-spacing:0}
.lead-table-structured col.grade-column{width:88px}.lead-table-structured col.inquiry-date-column{width:104px}.lead-table-structured col.identity-column{width:170px}.lead-table-structured col.followup-contact-column{width:160px}.lead-table-structured col.product-column{width:220px}.lead-table-structured col.stage-column{width:92px}.lead-table-structured col.owner-column{width:80px}.lead-table-structured col.next-column{width:145px}.lead-table-structured col.source-column{width:90px}.lead-table-structured col.legacy-cell{width:210px}.lead-table-structured col.actions-column{width:144px}
.lead-table-structured th,.lead-table-structured td{overflow-wrap:anywhere}.lead-table-structured .inquiry-date-column{white-space:nowrap;font-variant-numeric:tabular-nums}
.customer-type-tag{display:inline-block;background:#f4f5f7;border:1px solid #e4e7ed;color:#556174;border-radius:5px;padding:3px 7px;font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
.customer-table-scroll{max-height:72vh;overflow:auto;position:relative;border-radius:0 0 8px 8px}
.customer-table-scroll .lead-table-structured thead th{position:sticky;top:0;z-index:4}
.customer-table-scroll .lead-table-structured td.actions-column{white-space:nowrap;padding-left:8px;padding-right:8px}.lead-table-structured td.actions-column .button{margin-bottom:0}.lead-table-structured td.actions-column .button+.button{margin-left:4px}
@media(min-width:1100px){.customer-table-scroll .lead-table-structured :is(th,td).grade-column{position:sticky;left:0;z-index:2;background:#fff}.customer-table-scroll .lead-table-structured :is(th,td).inquiry-date-column{position:sticky;left:88px;z-index:2;background:#fff}.customer-table-scroll .lead-table-structured :is(th,td).identity-column{position:sticky;left:192px;z-index:2;background:#fff;box-shadow:2px 0 0 #e8ecf2}.customer-table-scroll .lead-table-structured :is(th,td).actions-column{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-2px 0 0 #e8ecf2}.customer-table-scroll .lead-table-structured thead :is(th.grade-column,th.inquiry-date-column,th.identity-column,th.actions-column){z-index:5;background:#f2f5f9}.customer-table-scroll .lead-table-structured tr:hover :is(td.grade-column,td.inquiry-date-column,td.identity-column,td.actions-column){background:#fff9f5}}
@media(max-width:760px){.business-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.business-metrics strong{font-size:15px}.business-record .between{flex-wrap:wrap}.business-order-line{padding:12px}.business-actions .button{min-height:36px}.customer-table-scroll{max-height:70vh}.business-subrow{align-items:flex-start;flex-wrap:wrap}.project-summary{flex-wrap:wrap}}

.lead-table-structured.pool-lead-table{min-width:1393px;width:100%}
.lead-table-structured col.legacy-cell,.lead-table-structured.pool-lead-table col.product-column{width:auto}

/* Dense customer lists: readable text without large button-driven row heights. */
.customer-table-scroll .lead-table-structured th{padding:9px 10px;font-size:14px;line-height:1.4;color:#334155}
.customer-table-scroll .lead-table-structured td{padding:8px 10px;font-size:15px;line-height:1.45;color:#243044;vertical-align:top}
.lead-table-structured .customer-button{font-size:15px;line-height:1.45;color:#20242b;font-weight:500}
.lead-table-structured :is(.subline,.next-step,.source-text,.owner-inline){font-size:13px;line-height:1.4}
.lead-table-structured :is(.subline,.owner-inline){color:#526174}
.lead-table-structured .owner-inline{gap:5px}.lead-table-structured .owner-inline .avatar{width:20px;height:20px}
.lead-table-structured .customer-grade{height:28px;font-size:13px}.lead-table-structured .grade-unrated{color:#526174}
.lead-table-structured .customer-type-tag{font-size:13px;line-height:1.4;padding:3px 6px;color:#42516a}
.lead-table-structured .badge{font-size:13px;line-height:1.4;padding:2px 5px;color:#526174}
.lead-table-structured .badge.orange{color:#963d18}.lead-table-structured .badge.blue{color:#34569c}.lead-table-structured .badge.green{color:#24634f}.lead-table-structured .badge.red{color:#a13730}.lead-table-structured .badge.amber{color:#755005}.lead-table-structured .badge.purple{color:#664592}
.lead-table-structured .legacy-preview{font-size:14px;line-height:1.4;color:#42516a;-webkit-line-clamp:2;max-height:2.8em}
.lead-table-structured .button.small{font-size:13px;line-height:1.4;min-height:30px;padding:3px 5px}
.lead-table-structured :is(.source-column,.legacy-cell) .button.small{min-height:26px;padding:2px 0}
.lead-table-structured .source-link{font-size:13px}
.lead-table-structured .history-summary-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.lead-table-structured .history-occurred{font-size:12px;color:#526174;white-space:nowrap}
.customer-workspace :is(.quick-view,.filters input,.filters select,.more-filters>summary){font-size:14px}
.customer-workspace .history-inventory{font-size:12px;color:#526174}
@media(max-width:760px){.lead-table-structured .button.small{min-height:32px}.lead-table-structured .source-column .button.small,.lead-table-structured .legacy-cell .button.small{min-height:28px}}

/* One demand cell, with the customer category expressed as a secondary label. */
.customer-workspace{background:#f6f7f9}
.customer-workspace .page-heading h1{font-weight:600;color:#20242b}
.customer-table-scroll .lead-table-structured th{font-weight:600;color:#394150;background:#f4f5f7}
.customer-table-scroll .lead-table-structured td{font-weight:400;color:#20242b}
.lead-table-structured .customer-demand{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.lead-table-structured .demand-copy{flex:0 1 auto;min-width:0;width:100%}
.lead-table-structured .demand-text{font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.lead-table-structured .customer-demand>.customer-type-tag{flex:0 0 auto;max-width:100%;padding:2px 7px;border-radius:4px;border:1px solid #e0e5ec;background:#f1f4f8;color:#566274;font-size:12px;font-weight:400;line-height:1.5;text-align:center}
.lead-table-structured .customer-demand>.type-unknown{background:#fafbfc;color:#687383}
