*{box-sizing:border-box}body{margin:0;background:#f3f4f5;color:#26323f;font:14px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}aside{position:fixed;inset:0 auto 0 0;width:204px;background:#262d36;color:#d0d6df;padding:28px 20px}aside b{font-size:20px}aside small{display:block;font-size:9px;letter-spacing:1px;color:#8591a2}nav{background:#3c4757;padding:10px 15px;border-radius:7px;margin-top:30px;color:#fff}aside p{position:absolute;bottom:20px;font-size:12px}main{margin-left:204px;padding:0 28px 30px}header{height:70px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #dce1e6}#who{margin-left:auto;color:#738094}.banner{margin:15px 0;color:#738094;font-size:12px}h1{font-size:23px;margin:0}h2{font-size:18px}.heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.muted,small{color:#7a8593}button,input,select,textarea{font:inherit;border:1px solid #dce1e6;border-radius:7px;background:#fff;padding:9px 13px;color:#344354}button{cursor:pointer}button:hover{border-color:#344354}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#344354;color:white;border-color:#344354}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a3b3ca;outline-offset:2px}.panel{background:white;border:1px solid #dce1e6;border-radius:10px;padding:28px}.login{max-width:430px;margin:60px auto}label{display:block;margin:16px 0}label input{width:100%;display:block;margin-top:6px}.filters{display:flex;gap:10px;margin-bottom:20px}.filters input{flex:1}.split{display:grid;grid-template-columns:310px minmax(0,1fr);background:white;border:1px solid #dce1e6;border-radius:10px;overflow:hidden}.split>div{background:#f8f9fa;border-right:1px solid #dce1e6}.queueitem{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #e1e5ea;border-radius:0;background:transparent;padding:18px}.queueitem.active{background:#e9eef3;box-shadow:inset 3px 0 #344354}.queueitem p{margin:7px 0}.queueitem small{font-size:11px}#detail{padding:25px;min-height:450px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.row .muted{margin-right:auto}.quote{font-size:19px;background:#f3f5f7;border-left:3px solid #536679;padding:19px;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.tag{padding:3px 8px;background:#edf0f3;border-radius:4px;font-size:12px}.detailmeta{margin:16px 0}.links{display:flex;gap:10px;margin:16px 0}a{color:#344354}.follow{border-top:1px solid #e1e5ea;margin-top:24px;padding-top:16px}.follow select,.follow textarea{width:100%;margin:6px 0 12px}.follow textarea{min-height:95px;resize:vertical}.history{padding:15px;background:#f8f9fa;border-radius:7px;font-size:12px;white-space:pre-wrap}.history p{border-bottom:1px solid #e1e5ea;padding-bottom:10px}#error{color:#a03f3f;white-space:pre-wrap}#notice{color:#377451}dialog{border:1px solid #dce1e6;border-radius:12px;max-width:480px;width:calc(100% - 30px);padding:25px;color:#26323f}dialog::backdrop{background:#15223966}#flowActions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}[hidden]{display:none!important}@media(max-width:800px){aside{position:static;width:100%;padding:15px}aside small,aside p,nav{display:none}main{margin:0;padding:0 15px 25px}.split{grid-template-columns:1fr}.split>div{border-right:0;border-bottom:1px solid #dce1e6;max-height:260px;overflow:auto}.filters{flex-wrap:wrap}#detail{padding:17px}header{font-size:12px}}

nav{padding:6px}nav button{display:block;width:100%;text-align:left;background:transparent;border:0;color:#d0d6df;padding:10px}nav button.active{background:#536174;color:white}.memberforms{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.memberforms select{width:100%;display:block;margin-top:6px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;border-bottom:1px solid #e0e5eb;padding:13px;font-size:13px}th{color:#738094;font-weight:500;background:#f8f9fa}td button{font-size:12px;padding:6px 10px;margin-right:7px}.assignment{background:#f6f8fa;border:1px solid #dce1e6;border-radius:8px;padding:15px;margin:16px 0}.assignment select{max-width:100%;width:100%;margin:8px 0}.assignment button{margin-top:5px}dialog form input{width:100%}@media(max-width:800px){nav{display:flex;margin-top:12px}nav button{width:auto}.memberforms{grid-template-columns:1fr}}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin:20px 0}.metric-card{background:#f2f3f5;border:1px solid #dddfe3;border-radius:10px;padding:16px}.metric-card strong{display:block;font-size:30px;margin-top:8px}.metric-card small{color:#596171}.insight-body h3{margin-top:28px}.insight-body th,.insight-body td{padding:12px;text-align:left;border-bottom:1px solid #e4e6e8}.insight-body table{width:100%;min-width:650px}.insight-body .filters{display:flex;flex-wrap:wrap}header{flex-wrap:wrap}@media(max-width:750px){.metric-grid{grid-template-columns:repeat(2,minmax(110px,1fr))}}
.insight-body td{max-width:260px;overflow-wrap:anywhere}.insight-body .filters label{min-width:140px;flex:1}dialog:has(.insight-body){width:min(1180px,95vw);max-width:95vw}.insight-body .tablewrap{margin:12px 0}dialog #flowActions{max-width:100%}
.insight-body td{white-space:normal}.insight-body th{white-space:normal}.insight-body .filters label{display:flex;flex-direction:column;gap:6px}.insight-body .filters button{align-self:flex-end;height:44px}.insight-body table{table-layout:fixed}.insight-body th:first-child{width:23%}
.insight-body .tablewrap{max-height:420px}.insight-body thead{position:sticky;top:0;background:#f5f6f8;z-index:1}

/* Business sections retain the graphite visual language. */
#navLeads{display:none!important}.task-card{padding:18px 0;border-bottom:1px solid #e0e5eb}.task-card h2{margin:0 0 6px}.task-create-form{max-width:600px}.task-create-form select,.business-content textarea{width:100%}.business-content>button{margin:5px}.business-content label{overflow-wrap:anywhere}.business-content input[type=checkbox]{display:inline-block;width:auto;margin-right:8px}.business-content .history{margin:12px 0}.business-content{min-width:0}.business-content.insight-body{overflow:hidden}header{height:auto;min-height:70px;padding:12px 0}nav{max-height:calc(100vh - 180px);overflow:auto}@media(max-width:800px){nav{display:flex;flex-wrap:wrap;max-height:none}nav button{white-space:nowrap}header{gap:8px}.business-content{padding:16px}.business-content .filters{flex-wrap:wrap}}

:root{--blue:#1677ff;--ink:#142e54;--line:#e1eaf5;--soft:#f0f7ff}body{background:#f2f8fe;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}aside{width:220px;background:#fff;color:#4f6b94;border-right:1px solid var(--line);padding:26px 20px}aside b{font-size:25px;color:var(--blue);letter-spacing:1px}aside small{color:#7b8fae;letter-spacing:0;font-size:12px;margin-top:4px}aside p{color:#8095b4}main{margin-left:220px;padding:0 30px 36px}header{border-color:var(--line);background:#f9fcff;min-height:68px;margin:0 -30px;padding:12px 30px}header>b{color:#617da7;font-size:13px}nav{background:none;padding:0;margin-top:30px;max-height:calc(100vh - 180px)}nav button{color:#4b638a;padding:12px 14px;margin:5px 0;border-radius:7px;display:flex;gap:12px;align-items:center;font-size:15px}nav button.active{color:var(--blue);background:#eaf4ff;box-shadow:inset 3px 0 var(--blue)}nav button:hover{background:#f2f7fd}.nav-icon{font-size:18px;width:22px;color:#6783ab;text-align:center}.banner{display:none}h1{font-size:27px;font-weight:700;letter-spacing:.3px}h2{font-size:18px}h3{font-size:16px}.heading{margin:28px 0 12px}.muted,small{color:#7b8daa}.panel{border:1px solid #edf2f9;box-shadow:0 3px 15px #3863a003;border-radius:10px;padding:22px}.business-content{margin-top:20px}button,input,select,textarea{border-color:#dce6f3;border-radius:6px;color:#456084;padding:9px 12px}button:hover{border-color:#1677ff;color:#1677ff;background:#f5faff}.primary{background:#1677ff;border-color:#1677ff;color:white;box-shadow:0 3px 6px #1677ff16}.primary:hover{background:#096ae9;color:white}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#84b8ff}a{color:#1677ff}th{background:#f4f7fb;color:#587296;font-weight:500}th,td{padding:16px 14px;border-color:#eaf0f8}td{white-space:normal}td button{border:0;background:transparent;color:#1677ff;padding:4px 6px}table{min-width:700px}.metric-grid{gap:18px;margin:20px 0}.metric-card{background:white;border-color:#edf3fa;display:flex;flex-direction:column;padding:22px;border-radius:9px}.metric-card strong{color:#0b2b59;font-size:30px;line-height:1.2}.metric-card small{font-size:14px}.metric-card:nth-child(2){border-top:3px solid #b9efdc}.metric-card:nth-child(3){border-top:3px solid #ffe0c6}.metric-card:nth-child(4){border-top:3px solid #e6d3ff}.b-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.b-toolbar input{flex:1;min-width:200px}.b-status{background:#f0f4fa;padding:5px 10px;border-radius:14px;color:#7188a8;font-size:12px;white-space:nowrap}.b-status.running{background:#e6faf1;color:#159b6d}.b-platform{display:inline-block;background:#202530;color:white;border-radius:4px;font-size:11px;margin-right:5px;padding:2px 7px}.b-platform.xhs{background:#ff3152}.b-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}.b-step{background:#f8fbff;border:1px solid var(--line);padding:18px;border-radius:8px}.b-step b{color:var(--blue);display:block;margin-bottom:6px}.split{border-color:var(--line);grid-template-columns:300px minmax(0,1fr);background:#fff}.split>div{background:#f9fcff;border-color:var(--line)}.queueitem.active{background:#e9f3ff;box-shadow:inset 3px 0 var(--blue)}.queueitem p{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.quote{border-color:var(--blue);background:#f5f9ff;font-size:17px}.assignment,.history{background:#f8fbff;border-color:var(--line)}.tag{color:#1677ff;background:#eaf4ff}.b-placeholder{height:100px;width:150px;display:grid;place-items:center;background:#f5f7fa;border:1px dashed #dce5ef;border-radius:6px;color:#96a8be;font-size:12px}.b-pager{display:flex;align-items:center;justify-content:space-between;padding-top:16px;color:#8194af}.b-tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:12px}.b-tabs button.active{color:#1677ff;border-color:#1677ff;background:#f0f7ff}.rule-recipient,.rule-condition{display:flex;gap:10px;align-items:center}.rule-recipient input[type=checkbox],.rule-condition input[type=checkbox]{width:auto;margin:0}.rule-recipient input[type=number],.rule-condition input[type=number]{width:85px;margin:0}.rule-recipient span,.rule-condition span{flex:1}.rule-recipient,.rule-condition{max-width:560px}fieldset{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:15px}legend{font-weight:600;padding:0 8px}.b-rule-editor{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.b-rule-editor>form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.b-rule-editor form fieldset,.b-rule-editor form p,.b-rule-editor form button{grid-column:1/-1}.b-rule-editor form label{margin:8px 0}.b-rule-editor form input,.b-rule-editor form select,.b-rule-editor form textarea{width:100%}.b-rule-editor form input[type=checkbox]{width:auto}.b-rule-sidebar{align-self:start;position:sticky;top:15px;background:#f7fbff;padding:20px;border:1px solid var(--line);border-radius:8px}.b-rule-sidebar .history{background:white;margin:12px 0}.b-rule-editor select{max-width:100%}.b-comment-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.b-comment-grid .history{white-space:normal}.b-comment-side{border:1px solid var(--line);padding:18px;align-self:start;border-radius:8px;background:#f9fcff}.b-comment-side input,.b-comment-side select{width:100%}.b-task-select{max-width:380px;min-width:220px}.b-empty{padding:40px;text-align:center;color:#8a9ab1}#notice:not(:empty){padding:12px;background:#eaf7ef;border-radius:6px}#error:not(:empty){padding:12px;background:#fff0f0;border-radius:6px}dialog:has(.recipient-editor){width:800px;max-width:95vw}dialog select{max-width:100%}.b-source-config{max-width:750px}.b-source-config form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.b-source-config textarea{min-height:80px}.b-source-config form>button{align-self:end}.b-chart{display:flex;gap:10px;align-items:end;height:170px;padding:18px 12px;border-bottom:1px solid var(--line);overflow:auto}.b-chart-col{min-width:45px;flex:1;text-align:center;font-size:11px;color:#8194af}.b-chart-bar{background:#73b0ff;min-height:2px;border-radius:4px 4px 0 0;margin:6px auto;width:70%}.b-rule-editor input[type=number]{min-width:0}.filters{flex-wrap:wrap}#filters input{min-width:150px}.b-selected{font-size:12px;color:#7890b0}@media(max-width:1100px){aside{width:190px}main{margin-left:190px;padding-left:20px;padding-right:20px}.b-rule-editor,.b-comment-grid{grid-template-columns:1fr}.b-rule-sidebar{position:static}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){aside{position:static;width:100%;padding:16px}aside small{display:block}aside p{display:none}nav{display:flex;max-height:none;margin:14px 0 0;gap:4px;overflow:auto;flex-wrap:nowrap}nav button{flex-shrink:0;width:auto;font-size:13px;padding:8px}main{margin:0;padding:0 14px 25px}header{margin:0 -14px;padding:12px 14px}.split{grid-template-columns:1fr}.metric-grid{gap:10px}.metric-card{padding:15px}.b-steps{grid-template-columns:1fr 1fr}.b-rule-editor>form,.b-source-config form{grid-template-columns:1fr}.nav-icon{display:none}.memberforms{grid-template-columns:1fr}.b-toolbar input{min-width:120px}h1{font-size:23px}}
#b-lead-table .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}#b-lead-table td:nth-child(2){max-width:320px;overflow-wrap:anywhere}#b-lead-table{margin-top:20px}#b-member-filter{margin-bottom:18px;min-width:300px}.rule-recipient input[type=number]{width:85px!important}#detail>.row{position:sticky;top:0;background:white;z-index:2;padding:8px 0}#detail .links{flex-wrap:wrap}@media(max-width:800px){#b-lead-table .metric-grid{grid-template-columns:1fr}#b-member-filter{min-width:0;width:100%}}


/* Scheme B design system — UI release 20261002. Shared component rules. */
:root{--blue:#1677ff;--ink:#142e54;--muted:#7689a5;--line:#e4ecf6;--canvas:#f2f7fc;--radius:10px;--control:40px;--space:8px}
body{background:var(--canvas);font-size:14px;line-height:1.6;color:var(--ink)}
body>aside{display:flex;flex-direction:column;padding:24px 14px 16px;width:220px;z-index:10}
body>aside>b,body>aside>small{padding-left:14px}body>aside>b{font-size:25px;letter-spacing:0}body>aside>small{font-size:12px;margin-top:2px}
body>aside>p{position:static;margin:20px 14px 0;font-size:11px;color:var(--muted)}
nav{flex:1;min-height:0;max-height:none;overflow:auto;margin-top:28px;padding:0;border-radius:0}
nav button{height:46px;margin:3px 0;padding:0 14px;border-radius:7px;font-size:14px;gap:12px;white-space:nowrap}nav button.active{background:#eaf4ff;box-shadow:inset 2px 0 var(--blue);font-weight:600}
.nav-icon{width:20px;height:20px;display:inline-flex;align-items:center;flex:none;color:currentColor}.nav-icon svg{width:20px;height:20px;stroke-width:1.7}
main{margin-left:220px;padding:0 28px 32px;min-width:0}header{margin:0 -28px;padding:12px 28px;min-height:68px;gap:12px;background:#ffffffc9}header>b{font-weight:500;color:var(--muted)}header button{min-height:32px;padding:5px 10px;font-size:12px;border-color:transparent;background:transparent}#who{font-size:12px}
h1{font-size:26px;line-height:1.4;letter-spacing:0;font-weight:650}h2{font-size:18px;line-height:1.5;margin:0 0 16px}h3{font-size:16px;line-height:1.5;margin:0 0 14px}p{margin:8px 0 16px}.heading{margin:28px 0 8px;gap:16px}.heading p{margin:6px 0 0}.heading+ .muted{margin:0 0 24px}.muted,small{color:var(--muted)}
.panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 6px #15355903}.business-content{margin-top:24px}.panel>h2:not(:first-child),.panel>h3:not(:first-child){margin-top:24px}
button,input,select,textarea{font:inherit;line-height:1.5;border:1px solid #d8e3f0;border-radius:6px;padding:9px 12px;color:#355077;min-height:var(--control);max-width:100%}button{white-space:nowrap;font-weight:500;transition:background .12s,border-color .12s}button:disabled{opacity:.45}input::placeholder,textarea::placeholder{color:#97a6bb}input[type=checkbox]{width:16px!important;height:16px;min-height:16px;margin:0 8px 0 0;accent-color:var(--blue);vertical-align:middle;flex:none}textarea{resize:vertical;min-height:100px}label{font-size:13px;font-weight:500;margin:0 0 20px;color:#506788}label input,label select,label textarea{display:block;width:100%;margin:8px 0 0}label:has(input[type=checkbox]){font-weight:400}label input[type=checkbox]{display:inline-block}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1677ff40;outline-offset:2px}.primary{color:white;background:var(--blue);border-color:var(--blue);box-shadow:none}.primary:hover{background:#086be8;color:white}.filters,.b-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters input,.b-toolbar input{min-width:160px}.filters select,.b-toolbar select{max-width:240px}.filters button,.b-toolbar button{flex:none}
.tablewrap{border:1px solid var(--line);border-radius:8px;overflow:auto;max-width:100%}table{width:100%;min-width:720px;white-space:normal;border-collapse:collapse}th{background:#f5f8fc;color:#677e9e;font-size:12px;font-weight:500;white-space:nowrap}th,td{padding:16px;border-bottom:1px solid #e9eff7;line-height:1.6;text-align:left}td{font-size:13px;vertical-align:middle;overflow-wrap:anywhere}td:first-child{font-weight:500;color:#203b62}td p{margin:0 0 5px}td small{font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fcff}td button{min-height:30px;padding:4px 5px;margin:0 6px 0 0;border:0;background:transparent;color:var(--blue);font-size:12px}td button:last-child{margin-right:0}td input{min-height:30px}.b-pager{min-height:48px;margin:12px 0 0;padding:0;gap:12px;font-size:12px}
.metric-grid{gap:16px;margin:0 0 24px;grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card,.metric-card:nth-child(n){border:1px solid var(--line);padding:22px 20px;position:relative;min-height:108px;justify-content:center;padding-left:84px;background:white}.metric-card:before{content:'↗';position:absolute;left:20px;top:27px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:25px;background:#eaf4ff;color:#1677ff}.metric-card:nth-child(2):before{content:'◎';background:#e7faf2;color:#17ae7f}.metric-card:nth-child(3):before{content:'▷';background:#fff2e7;color:#ed8a32}.metric-card:nth-child(4):before{content:'◇';background:#f1ebff;color:#9762ee}.metric-card small{font-size:13px;color:#6780a3}.metric-card strong{font-size:29px;line-height:1.2;margin-top:7px;font-variant-numeric:tabular-nums}
.ui-task-page{padding:0;border:0;background:transparent;box-shadow:none}.ui-task-table{background:white;padding:20px;border:1px solid var(--line);border-radius:var(--radius)}.b-steps{gap:16px;margin-top:24px;padding:24px;background:white;border:1px solid var(--line);border-radius:var(--radius)}.b-step{padding:16px;background:#fcfdff;border-radius:7px;font-size:13px}.b-step b{font-size:14px;margin-bottom:4px}.b-step small{font-size:12px}.task-create-form{max-width:760px;padding-top:28px}.task-create-form>button{margin-right:12px}.b-status,.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:5px;font-size:12px;line-height:1.5}.b-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.b-platform{font-size:11px;padding:3px 6px;border-radius:4px}.b-tabs{gap:24px;margin-top:20px;padding:0}.b-tabs button{border:0;border-radius:0;background:none;padding:10px 2px;border-bottom:2px solid transparent}.b-tabs button.active{background:none;border-color:var(--blue)}
#filters{background:white;padding:16px;border:1px solid var(--line);border-radius:8px;margin-top:24px}#b-lead-count{margin:8px 0;color:var(--muted)}#b-lead-table{padding:0;border:0;background:none;box-shadow:none}#b-lead-table>.tablewrap{background:white}#b-lead-table .metric-grid{margin-bottom:20px}#b-lead-table td:nth-child(2){min-width:220px;max-width:340px}#b-lead-table td:last-child{min-width:90px}
.split{gap:16px;border:0;background:transparent;overflow:visible;grid-template-columns:280px minmax(0,1fr)}.split>div{background:white;border:1px solid var(--line);border-radius:10px;padding:12px;align-self:start;max-height:calc(100vh - 110px);overflow:auto;position:sticky;top:16px}.queueitem{border:1px solid var(--line);border-radius:7px;margin-bottom:10px;padding:16px}.queueitem.active{border-color:#75b4ff;box-shadow:none}.queueitem b{font-size:14px}.queueitem small{font-size:12px}#detail{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0}#detail>.row{position:static;padding:0 0 16px;border-bottom:1px solid var(--line);margin-bottom:20px}#detail #name{display:inline-block;margin:0 12px 20px 0;font-size:23px}#detail .quote{font-size:15px;padding:16px;margin:0;line-height:1.8;border-radius:6px}.ui-evidence{border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:24px}.ui-evidence h3{margin-bottom:16px}.ui-evidence .assignment{border:0;background:none;padding:0;margin:16px 0 0;white-space:pre-line}.ui-evidence .b-placeholder{float:right;width:100px;height:72px;margin:0 0 12px 16px}.ui-evidence .links{margin-bottom:0}.ui-evidence button{margin:6px 8px 0 0}.links{align-items:center;gap:10px}.links a{display:inline-flex;padding:8px 12px;border:1px solid #d8e3f0;border-radius:6px;min-height:40px;text-decoration:none}.history{padding:16px;background:#f8fafd;border:1px solid var(--line);border-radius:7px;font-size:13px;line-height:1.8}.history p{padding:0 0 12px;margin:0 0 12px}.history p:last-child{border:0;padding:0;margin:0}#history{margin-bottom:24px;padding-left:24px;border-left:3px solid #b8d8ff}.follow{border:1px solid var(--line);padding:18px;border-radius:8px;margin:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.follow h3,.follow label:has(textarea),.follow>button{grid-column:1/-1}.follow label{margin-bottom:16px}.follow select,.follow textarea{margin:8px 0 0}.follow>button{justify-self:end}.assignment{padding:18px;background:#f9fbfe;margin:16px 0}.assignment p:last-child{margin-bottom:0}.assignment button{margin-right:8px}.assignment select{min-height:40px}
.b-rule-editor{background:transparent;border:0;box-shadow:none;padding:0;gap:20px;grid-template-columns:minmax(0,1fr) 290px}.b-rule-editor>form{padding:24px;border:1px solid var(--line);background:white;border-radius:10px;gap:0 20px}.b-rule-editor form label{margin:0 0 20px}.b-rule-editor form>button{margin:4px 0}.b-rule-sidebar{background:white;padding:22px;border-radius:10px}.b-rule-sidebar p{font-size:13px;color:var(--muted)}fieldset{background:#fbfdff;padding:18px;margin:0 0 24px;min-width:0}legend{font-size:14px}.rule-recipient,.rule-condition{gap:8px;min-height:40px}.rule-recipient input,.rule-condition input{min-height:32px}.b-source-config{max-width:1000px}.b-source-config form{gap:0 24px}.b-source-config form>button{align-self:start}.b-comment-grid{gap:20px;grid-template-columns:minmax(0,1fr) 280px}.b-comment-side{background:#fbfdff;position:sticky;top:20px;padding:20px}.b-comment-side .quote{font-size:14px;padding:12px;margin:16px 0}.b-comment-grid table{min-width:620px}.b-comment-grid td:nth-child(2){min-width:230px}.b-comment-grid td:last-child{min-width:100px}.b-comment-grid>div{min-width:0}.b-comment-grid>div>button{margin:16px 8px 0 0}
.memberforms{margin:24px 0;gap:20px}.memberforms .panel{padding:24px}#b-member-filter{width:min(420px,100%);margin-bottom:20px}.insight-body .metric-grid{margin:24px 0}.insight-body h3{padding-top:24px;border-top:1px solid var(--line);margin:28px 0 16px}.insight-body .filters label{margin:0}.insight-body .filters button{height:40px}.b-chart{height:200px;padding:24px 12px;background:#f9fcff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}.business-content>section:has(>.history){margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}dialog{padding:28px;border-color:var(--line);box-shadow:0 24px 80px #15355930}dialog::backdrop{background:#102d5055;backdrop-filter:blur(2px)}#flowActions>form{width:100%}#notice:empty,#error:empty{display:none}#notice:not(:empty),#error:not(:empty){margin:20px 0;padding:14px 18px;line-height:1.7}#queue:empty{padding:20px}.login{margin-top:64px}.login h1{font-size:24px}.login form{margin-top:24px}.login button{width:100%}
@media(min-width:1600px){main>section,main>#notice,main>#error{max-width:1520px;margin-left:auto;margin-right:auto}.follow{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:1200px){.metric-card,.metric-card:nth-child(n){padding:18px;min-height:100px}.metric-card:before{display:none}.b-rule-editor,.b-comment-grid{grid-template-columns:1fr}.b-rule-sidebar,.b-comment-side{position:static}.split{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:800px){body>aside{position:static;width:100%;padding:16px 14px 0}body>aside>b{font-size:22px;padding:0}body>aside>small{padding:0}body>aside>p{display:none}nav{display:flex;flex-direction:row;flex-wrap:nowrap;flex:initial;margin-top:16px;padding-bottom:10px;overflow-x:auto}nav button{height:38px;padding:0 12px;margin:0 4px 0 0;flex:none}.nav-icon{display:none}main{margin-left:0;padding:0 14px 24px}header{margin:0 -14px;padding:10px 14px;min-height:56px;gap:8px}header>b{display:none}#who{margin-left:0;margin-right:auto}.heading{margin-top:22px;flex-wrap:wrap}h1{font-size:23px}.panel{padding:16px}.business-content{margin-top:20px}.ui-task-page{padding:0}.ui-task-table{padding:14px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-card strong{font-size:25px}.metric-card small{font-size:12px}#b-lead-table .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card,.metric-card:nth-child(n){padding:12px;min-height:90px}.b-steps{grid-template-columns:1fr 1fr;padding:14px;gap:10px}.b-step{padding:12px}.split{grid-template-columns:1fr}.split>div{position:static;max-height:230px}.follow,.b-rule-editor>form,.b-source-config form{grid-template-columns:1fr}.follow label{grid-column:1}.b-rule-editor{padding:0}.b-rule-editor>form{padding:16px}.b-comment-side{padding:16px}.filters,.b-toolbar{gap:8px}.filters>*{max-width:100%}.filters input,.b-toolbar input{min-width:120px}.b-toolbar input[type=date]{flex:1;width:140px}.b-toolbar select{max-width:100%}#detail{padding:16px}#detail>.row{gap:6px}#detail>.row .muted{flex-basis:100%}.memberforms{grid-template-columns:1fr}th,td{padding:12px}.ui-evidence .b-placeholder{float:none;margin:0 0 12px}#b-lead-table td:nth-child(2){min-width:220px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Source actions: navigation, batch operations, and continuation have distinct rows. */
.ui-context-actions,.ui-footer-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:0 0 18px;margin-bottom:20px;border-bottom:1px solid var(--line)}.ui-context-actions button{border:0;background:none;color:var(--blue);padding:4px 8px;min-height:32px}.ui-footer-actions{border:0;border-top:1px solid var(--line);padding:20px 0 0;margin:20px 0 0;justify-content:flex-end}.ui-source-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:16px;background:#f7faff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}.ui-source-actions label{display:flex;gap:8px;align-items:center;margin:0;font-weight:400}.ui-source-actions label input{width:76px;margin:0}.ui-sources input[aria-label="筛选监控来源"]{width:min(380px,100%);margin-bottom:16px}.ui-sources>p:first-child{color:var(--muted);font-size:12px}.b-rule-editor .rule-condition input[type=number]{width:85px}.b-rule-editor .rule-condition select{width:auto;min-width:110px}.b-rule-editor .rule-condition{flex-wrap:wrap}
.ui-evidence{display:flow-root}.ui-evidence .quote{overflow:hidden}.ui-detail-operations{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.ui-detail-operations>.assignment:first-of-type{margin-top:0}
.heading{justify-content:flex-start}.heading>div:first-child{margin-right:auto}.ui-inline-date{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;flex:1;min-width:195px}.ui-inline-date input{margin:0!important;width:130px;min-width:0!important}.insight-body .filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.insight-body .filters label{min-width:0}.insight-body .filters select{width:100%;max-width:none}.ui-notifications>section{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.ui-notifications .ui-notification-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:white;padding:18px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.ui-notification-row>p{border:0;margin:0;padding:0;min-width:200px;flex:1}.ui-notification-row button{font-size:12px;min-height:34px}.ui-notifications>button{margin-bottom:16px}.ui-notifications>.history:last-child{border-bottom:0}@media(max-width:800px){.insight-body .filters{grid-template-columns:1fr 1fr}.ui-inline-date{min-width:100%;flex:none}.ui-inline-date input{flex:1}.ui-notification-row>p{min-width:100%}.heading>div:first-child{width:100%}}
/* Task setup UX: compact steps, two-panel recognition and grouped configuration. */
.ux-page{padding:0;border:0;background:transparent;box-shadow:none}.ux-steps{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:12px 0 24px;margin:0;gap:16px}.ux-steps li{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:14px}.ux-steps li span{display:grid;place-items:center;border:1px solid #cad8e9;border-radius:50%;height:34px;width:34px;flex:none;background:#f8fbff}.ux-steps li.current{color:var(--blue);font-weight:600}.ux-steps li.current span{background:var(--blue);border-color:var(--blue);color:white}.ux-steps li.complete span{background:#e5f0ff;color:var(--blue);border-color:#c5ddff}.ux-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.ux-main-side{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.ux-card{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0}.ux-card>h2{margin-bottom:24px}.ux-card .task-create-form{padding:0;max-width:none}.ux-card label{margin-bottom:18px}.ux-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ux-batch-form textarea[name=text]{min-height:210px;margin-bottom:0}.ux-input-count{font-size:12px;margin-top:-8px}.ux-days{max-width:190px}.ux-config-details{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:14px}.ux-config-details summary{cursor:pointer;color:#506788;font-size:13px}.ux-config-details[open] summary{margin-bottom:20px}.ux-config-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0 0 24px;background:#fff;padding:18px}.ux-config-group label:has([name=slots]),.ux-config-group label:has([name=skip_zero_comments]){grid-column:1/-1}.ux-config-group legend{font-size:15px}.ux-help{padding:14px 16px;border-radius:7px;background:#eef6ff;color:#5f7b9f;font-size:12px;margin:20px 0 0;white-space:pre-line}.ux-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px;margin-top:20px;background:white;border:1px solid var(--line);border-radius:8px;position:sticky;bottom:12px;z-index:3;box-shadow:0 3px 12px #142e5408}.ux-footer>.primary:last-child{margin-left:auto}.ux-footer button{margin:0}.ux-message{white-space:pre-line;font-size:13px;margin:14px 0 0;color:#506788}.ux-result-summary{background:#f3f8ff;border-radius:7px;padding:14px 16px;color:#426da9;font-weight:500}.ux-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.ux-result-actions button{min-height:32px;font-size:12px;padding:5px 10px}.ux-two table{min-width:0;table-layout:fixed}.ux-two th,.ux-two td{padding:10px;font-size:12px}.ux-two th:nth-child(1){width:45px}.ux-two th:nth-child(2){width:38px}.ux-two th:nth-child(4){width:115px}.ux-two .tablewrap{max-height:430px}.ux-two td{vertical-align:top;word-break:break-word}.ux-error{color:#b34343}.ux-success{color:#168461}.ux-card>p{white-space:pre-line}.ux-card>button{margin:12px 8px 0 0}.ux-page>.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ux-batch-form>button{width:100%}@media(max-width:1100px){.ux-main-side{grid-template-columns:1fr}.ux-two{grid-template-columns:1fr}}@media(max-width:800px){.ux-card{padding:18px}.ux-steps{gap:8px}.ux-steps li{flex-direction:column;gap:6px;font-size:12px;text-align:center}.ux-steps li span{width:28px;height:28px}.ux-fields,.ux-config-group{grid-template-columns:1fr}.ux-config-group label{grid-column:1}.ux-footer{position:static;padding:14px;gap:8px}.ux-footer>.primary:last-child{margin-left:0}.ux-footer button{flex:1}.ux-page>.metric-grid{gap:8px}.ux-two th:nth-child(4){width:92px}.ux-config-details{padding:10px}}
.ux-comments>.b-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;padding-bottom:20px;border-bottom:1px solid var(--line)}.ux-comments>.b-toolbar label{margin:0;min-width:0;display:block}.ux-comments>.b-toolbar input,.ux-comments>.b-toolbar select{width:100%;max-width:none;min-width:0}.ux-comments>.b-toolbar .ui-inline-date input{margin-top:8px!important}.ux-comments .b-comment-grid{grid-template-columns:minmax(0,1fr) 300px}.ux-selection{font-size:13px;color:#6780a3;margin:0 0 14px}.ux-follow-footer{grid-column:1/-1;display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:16px}.ux-note-count{display:block;text-align:right;font-weight:400;margin-top:5px}#ux-lead-metrics{margin-top:24px}#ux-lead-metrics+.filters{margin-top:0}#ux-lead-metrics .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.ui-detail-operations{min-width:0}.ux-main-side input[aria-label="搜索词语"]{width:100%}.ux-main-side table{min-width:500px}@media(max-width:1100px){.ux-comments .b-comment-grid{grid-template-columns:1fr}}@media(max-width:800px){.ux-comments>.b-toolbar{grid-template-columns:1fr 1fr}.ux-comments>.b-toolbar .ui-inline-date{min-width:0}.ux-comments>.b-toolbar button{grid-column:1/-1}#ux-lead-metrics .metric-grid{gap:8px}}
/* Management work areas share the same spacing and component sizes. */
.ux-drawer{margin:0 0 0 auto;max-height:100dvh;height:100dvh;width:min(480px,100%);border:0;border-radius:16px 0 0 16px;padding:24px;box-shadow:-12px 0 60px #10234a25}.ux-drawer>.panel{border:0;padding:0;box-shadow:none}.ux-drawer-close{float:right;margin-bottom:18px}.ux-drawer h2{clear:both}.ux-drawer form{display:grid;gap:16px}.b-rule-editor form>.ux-field-group{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0;padding:20px;border:1px solid var(--border,#dce6f2);border-radius:12px}.b-rule-editor .ux-footer{grid-column:1/-1}.ux-insight-tabs{margin:24px 0 16px;flex-wrap:wrap}.insight-body>.ux-card{margin-top:0}.ux-runtime-output{padding:20px;background:#f5f8fd;border:1px solid #dfE7f2;border-radius:12px;line-height:2;max-height:55vh;overflow:auto}.ux-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:440px}.ui-notifications>section>h2{margin-top:20px}#flowActions>form{gap:16px}#flowActions>form>button{margin-top:12px}@media(max-width:800px){.b-rule-editor form>.ux-field-group{grid-template-columns:1fr}.ux-drawer{border-radius:0}.ux-card pre{max-width:240px}}
/* Sales workspace, round two: stable columns and concentrated follow-up. */
.sales-table table{table-layout:fixed;min-width:980px}.sales-table th:nth-child(1){width:14%}.sales-table th:nth-child(2){width:25%}.sales-table th:nth-child(3){width:17%}.sales-table th:nth-child(4){width:10%}.sales-table th:nth-child(5){width:10%}.sales-table th:nth-child(6){width:13%}.sales-table th:nth-child(7){width:11%}.sales-table td{overflow-wrap:anywhere;vertical-align:middle}.sales-table td:first-child small{display:block;margin-top:6px;font-size:11px}.sales-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65}.sales-last-row{background:#f1f6ff}.sales-split{grid-template-columns:220px minmax(0,1fr);align-items:start;overflow:visible;background:transparent;border:0;gap:20px}.sales-split>div{border:1px solid #e0e8f3;border-radius:12px;max-height:75vh;overflow:auto;position:sticky;top:18px}.sales-split .queueitem{padding:16px}.sales-split .queueitem p{font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sales-detail{background:transparent;padding:0!important;min-width:0;scroll-margin-top:18px}.sales-detail-nav{background:white;padding:12px 16px;border:1px solid #e0e8f3;border-radius:12px;margin-bottom:18px}.sales-person{display:flex;align-items:center;gap:12px;margin:20px 0}.sales-person h2{margin:0}.sales-detail .ui-evidence{background:white;border:1px solid #e0e8f3;border-radius:14px;padding:22px;margin-bottom:20px}.sales-detail .quote{font-size:17px;line-height:1.8;margin:14px 0}.sales-copy-tools:empty{display:none}.sales-copy-tools,.sales-matches{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.sales-link{display:inline-flex;align-items:center;border:1px solid #d9e5fa;border-radius:8px;padding:8px 12px;color:#2164ed;background:#f4f8ff;text-decoration:none}.sales-detail .links{flex-wrap:wrap}.sales-hint{color:#7c8aa0;font-size:12px}.sales-follow-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:20px;align-items:start}.sales-timeline,.sales-follow-grid>.follow{background:white;border:1px solid #e0e8f3;border-radius:14px;padding:20px;margin:0}.sales-timeline h3,.sales-follow-grid h3{margin:0 0 16px}.sales-timeline .history{max-height:480px;overflow:auto;white-space:pre-wrap;background:transparent;padding:0}.sales-timeline .history p{border-left:2px solid #bfd4fc;padding:0 0 16px 12px;border-bottom:1px solid #eef2f8}.sales-follow-grid .follow{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sales-follow-grid .follow h3,.sales-follow-grid .follow label:has(textarea),.sales-follow-grid .follow label:has(input),.sales-follow-grid .ux-follow-footer,.sales-save-error{grid-column:1/-1}.sales-follow-grid .follow label{margin:0}.sales-follow-grid textarea{min-height:110px}.sales-detail .ux-follow-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0;padding-top:14px}.sales-save-state{font-size:12px;color:#6d7f99;flex-basis:100%}.sales-save-error:empty{display:none}.sales-save-error{color:#a42c35;white-space:pre-wrap}.sales-advanced{margin-top:20px;background:white;border:1px solid #e0e8f3;border-radius:12px;padding:16px 20px}.sales-advanced>summary{font-weight:600;cursor:pointer}.sales-advanced .ui-detail-operations{border:0;margin:14px 0 0;padding:0}.sales-bulk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;position:sticky;bottom:12px;background:white;border:1px solid #dce6f2;border-radius:12px;padding:12px;margin-top:16px;box-shadow:0 5px 25px #17325208}.sales-bulk-bar .ux-selection{margin:0 auto 0 0}.sales-keyword-side{position:sticky;top:18px}.sales-words .ux-main-side{grid-template-columns:minmax(0,1fr) 340px}.sales-detail pre{overflow-wrap:anywhere}.sales-invalid{color:#9b4650}.sales-word-count{display:block;margin-top:6px}@media(max-width:1200px){.sales-split{grid-template-columns:190px minmax(0,1fr)}.sales-follow-grid{grid-template-columns:1fr}.sales-keyword-side{position:static}}@media(max-width:800px){.sales-split{display:flex;flex-direction:column}.sales-split>div{display:none}.sales-detail{width:100%}.sales-detail-nav{position:sticky;top:0;z-index:2;gap:6px}.sales-detail-nav small{flex-basis:100%}.sales-follow-grid .follow{grid-template-columns:1fr}.sales-follow-grid .follow label{grid-column:1}.sales-detail .ui-evidence,.sales-timeline,.sales-follow-grid>.follow{padding:16px}.sales-words .ux-main-side{grid-template-columns:1fr}.sales-bulk-bar{position:static}.sales-person h2{font-size:20px}.sales-detail .links>a,.sales-detail .links>button{flex:1;text-align:center}.sales-table table{min-width:980px}}
/* Detail v3: allocate space to the operation, not a permanent second queue. */
#workspace.detail-open>#filters,#workspace.detail-open>#b-review-tabs,#workspace.detail-open>#sales-scope-tabs{display:none!important}
#workspace .detail-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.detail-workspace>div{display:none}.detail-workspace.detail-queue-open{grid-template-columns:200px minmax(0,1fr)}.detail-workspace.detail-queue-open>div{display:block}
#detail.sales-detail{padding:24px;width:100%;min-width:0}.detail-working-grid{display:grid;grid-template-columns:minmax(280px,2fr) minmax(460px,3fr);gap:24px;align-items:start}.detail-working-grid>*{min-width:0}.detail-working-grid .ui-evidence{margin:0 0 16px;padding:20px}.detail-working-grid .ui-evidence .b-placeholder{width:72px;height:56px}.detail-working-grid .quote{overflow-wrap:anywhere}.detail-action-column>.follow{margin:0;padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;background:#fff}.detail-action-column .follow label:has(textarea){grid-column:1/-1}.detail-action-column textarea{min-height:220px;resize:vertical;line-height:1.7}.detail-action-column .follow h3{font-size:20px;margin-bottom:24px}.detail-action-column .ux-follow-footer{flex-wrap:wrap;gap:12px;position:sticky;bottom:0;background:#fff;padding:16px 0 0;z-index:1}.detail-action-column .sales-save-state{flex-basis:100%;margin:0}.detail-action-column .ui-detail-operations{margin:0;border:1px solid var(--line);border-radius:10px;padding:24px}.detail-action-column .assignment{padding:16px;margin:16px 0;overflow-wrap:anywhere}.detail-action-column select{width:100%;min-width:0}.detail-action-column button{margin-top:12px;min-height:42px}.detail-action-hint{padding:16px;background:#edf5ff;border-radius:8px;line-height:1.7;margin:0 0 16px}.detail-history,.detail-evidence-column>.sales-advanced{border:1px solid var(--line);border-radius:8px;margin:16px 0;background:#fff;padding:0}.detail-history>summary,.detail-evidence-column>.sales-advanced>summary{padding:16px;cursor:pointer;font-weight:600}.detail-history .sales-timeline{border:0;padding:16px}.detail-history #history{max-height:420px;overflow:auto;margin-bottom:0}.detail-evidence-column .ui-detail-operations{margin:0;padding:16px}.detail-reason-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;padding:28px}.detail-reason-dialog textarea{box-sizing:border-box;resize:vertical;line-height:1.7}.detail-reason-dialog #flowActions{display:block}.detail-reason-dialog button{margin:16px 12px 0 0;min-height:44px}.detail-working-grid .links{flex-wrap:wrap}.detail-working-grid .links a{overflow-wrap:anywhere;max-width:100%}
@media(max-width:1280px){.detail-working-grid{grid-template-columns:minmax(0,1fr)}.detail-workspace.detail-queue-open .detail-working-grid{grid-template-columns:minmax(0,1fr)}.detail-evidence-column .ui-evidence{padding:16px}.detail-action-column>.follow{padding:24px}}
@media(max-width:800px){#detail.sales-detail{padding:16px}.detail-workspace.detail-queue-open{grid-template-columns:minmax(0,1fr)}.detail-workspace.detail-queue-open>div{display:block;max-height:240px;position:static;width:100%}.detail-action-column>.follow{padding:16px;grid-template-columns:minmax(0,1fr)}.detail-action-column .follow label{grid-column:1}.detail-action-column .ui-detail-operations{padding:16px}.detail-working-grid{gap:16px}.detail-reason-dialog{padding:20px}.detail-action-column textarea{min-height:200px}}
/* User-selected reference, 2026-10-02: card headers and generous primary workspace. */
#workspace.detail-open>.heading{display:none}#detail.reference-detail{background:transparent;border:0;padding:0}#detail.reference-detail>.sales-detail-nav{display:flex;align-items:center;flex-wrap:wrap;border:0;margin:0 0 24px;padding:0;background:transparent;gap:12px}.reference-title{display:flex;align-items:baseline;gap:16px;margin-right:auto}.reference-title h2{font-size:28px;line-height:1.4;margin:0;color:#152943}.reference-title span{color:#79879a;font-size:14px}.reference-detail #position{order:3;flex-basis:100%;font-size:12px}.reference-detail .detail-queue-toggle{order:2}.reference-detail .detail-working-grid{gap:20px;grid-template-columns:minmax(320px,2fr) minmax(480px,3fr)}.reference-detail .ui-evidence,.reference-detail .detail-history,.reference-detail .reference-ownership{background:#fff;border:1px solid #e7edf5;border-radius:8px;overflow:hidden}.reference-detail .detail-working-grid .ui-evidence{padding:0;margin:0 0 20px}.reference-detail .ui-evidence>h3,.reference-detail .detail-history>summary,.reference-ownership>summary{padding:20px 22px;margin:0;border-bottom:1px solid #edf1f6;font-size:18px;font-weight:600}.reference-detail .ui-evidence>h3:before,.reference-detail .detail-history>summary:before,.reference-ownership>summary:before{content:'▤';color:#287bff;margin-right:12px}.reference-evidence-body{padding:20px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px}.reference-detail .reference-evidence-body .b-placeholder{float:none;width:100%;height:180px;margin:0;display:flex;align-items:center;justify-content:center;color:#9ba7b6;background:linear-gradient(135deg,#edf0f4,#e5eaf0);border:0;border-radius:6px}.reference-meta{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px 12px;margin:0;font-size:13px;line-height:1.65}.reference-meta dt{color:#8190a5}.reference-meta dd{margin:0;overflow-wrap:anywhere;min-width:0}.reference-detail #name{font-size:14px;margin:0;line-height:1.65}.reference-detail #comment{border:0;background:none;padding:0;font-size:14px;margin:0;line-height:1.65;overflow-wrap:anywhere}.reference-detail .reference-links{padding:0 20px 12px;margin:0;gap:8px;display:flex;flex-wrap:wrap}.reference-detail .reference-links a.primary{background:#277aff;color:white;border-color:#277aff}.reference-detail .sales-copy-tools{padding:0 20px 16px}.reference-detail .sales-hint{padding:0 20px 16px;margin:0}.reference-source-more{margin:0;border-top:1px solid #edf1f6;padding:16px 20px}.reference-source-more summary{cursor:pointer;color:#71839b}.reference-detail .sales-matches{padding:12px 20px 0}.reference-detail .reference-history .sales-timeline{padding:20px}.reference-detail .reference-history #history{padding:0;border:0;background:none;border-radius:0;line-height:1.8}.reference-detail .reference-history:has(.reference-empty-hint) #history{text-align:center;color:#9ba6b5;padding-top:20px}.reference-empty-hint{color:#9ba6b5;font-size:13px;text-align:center;line-height:1.7}.reference-ownership{margin-top:20px}.reference-ownership>summary{cursor:pointer}.reference-ownership>.reference-meta{padding:20px 22px;grid-template-columns:100px minmax(0,1fr)}.reference-detail .detail-action-column>.follow{min-height:720px;border:1px solid #e7edf5;border-radius:8px;padding:24px 22px 0;grid-template-rows:auto auto auto auto 1fr auto auto auto;align-content:start}.reference-detail .follow h3{font-size:22px;margin:0 0 8px}.reference-detail .follow h3:before{content:'✎';color:#287bff;margin-right:12px}.reference-form-subtitle{grid-column:1/-1;color:#8391a7;font-size:13px;margin:0 0 26px}.reference-detail .follow label{font-size:14px}.reference-detail .follow #note{min-height:270px;height:100%;max-height:520px}.reference-detail .follow label:has(#note){display:flex;flex-direction:column;min-height:310px}.reference-detail .follow label:has(#b-appointment){grid-column:1/-1}.reference-detail .follow .sales-save-state,.reference-detail .sales-save-error{grid-column:1/-1;font-size:12px;margin:8px 0}.reference-detail .follow .sales-save-error:empty{display:none}.reference-detail .follow .reference-save-footer{display:flex;flex-direction:column;gap:12px;grid-column:1/-1;margin:18px -22px 0;padding:18px 22px 22px;border-top:1px solid #e6ecf4;box-shadow:0 -3px 12px #263b5105}.reference-save-footer>button{width:100%;margin:0;min-height:46px;justify-content:center}.reference-detail .reference-save-footer .sales-invalid{color:#253b59;background:white;border:1px solid #ccd9e8}
@media(max-width:1280px){.reference-detail .detail-working-grid{grid-template-columns:minmax(0,1fr)}.reference-detail .detail-action-column>.follow{min-height:660px}.reference-evidence-body{grid-template-columns:120px minmax(0,1fr)}.reference-detail .detail-queue-open .detail-working-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.reference-title{flex-basis:100%}.reference-title h2{font-size:24px}.reference-evidence-body{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:16px}.reference-detail .reference-evidence-body .b-placeholder{height:130px}.reference-meta{grid-template-columns:60px minmax(0,1fr);gap:10px;font-size:12px}.reference-detail .detail-action-column>.follow{padding:20px 16px 0;min-height:650px}.reference-detail .follow .reference-save-footer{margin:16px -16px 0;padding:16px}.reference-detail .follow #note{min-height:240px}.reference-detail .ui-evidence>h3,.reference-detail .detail-history>summary,.reference-ownership>summary{padding:16px;font-size:17px}}
#detail.reference-detail #name{display:block;font-size:14px;line-height:1.65;margin:0;font-weight:600}.reference-ownership>.sales-advanced{margin:0;border:0;border-top:1px solid #edf1f6;border-radius:0}.reference-ownership>.detail-history{margin:0;border:0;border-top:1px solid #edf1f6;border-radius:0}.reference-detail .detail-workspace.detail-queue-open .detail-working-grid{grid-template-columns:minmax(0,1fr)}
/* All-role workspace foundation: shared form, read-only and empty-state treatment. */
.role-scope{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0 0;padding:12px 16px;border:1px solid #deebfb;border-radius:8px;background:#eef5ff;color:#5c7493;font-size:13px}.role-scope strong{color:#286bcc}.role-readonly,.role-member-help{padding:14px 16px;background:#f2f6fb;border:1px solid #e5edf7;border-radius:8px;color:#627793;line-height:1.7;font-size:13px}.role-empty{padding:32px 20px;text-align:center;color:#8090a6;line-height:1.8}.role-page{min-width:0}.role-page .tablewrap:focus-visible{outline:2px solid #3380ef;outline-offset:3px}.role-page input:not([type=checkbox]),.role-page select{min-height:42px}.role-page textarea{min-height:140px;resize:vertical;line-height:1.7}.role-page fieldset{min-width:0}.role-page .ux-footer{flex-wrap:wrap;gap:12px}.role-page .b-rule-sidebar{min-width:0}.role-page [role=alert]:not(:empty){padding:12px 16px;border-radius:6px;background:#fff2f2;color:#a63838}.role-page .b-rule-editor{min-width:0}#flow{max-height:calc(100dvh - 40px);overflow:auto}#flowActions>form{min-width:0}#flowActions label{line-height:1.65}#flowActions input:not([type=checkbox]),#flowActions select{min-height:42px}#flowActions textarea{min-height:150px;line-height:1.7}.role-page .metric-card[hidden]{display:none!important}.ux-insight-tabs button[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #3180ec;outline-offset:3px}
@media(max-width:800px){.role-scope{margin-top:14px;padding:10px 12px}.role-scope span{flex-basis:100%}.role-page .ux-footer>button{flex:1;min-width:120px}#flow{width:calc(100vw - 24px);padding:18px}#flowActions .row{flex-wrap:wrap}.role-page .b-toolbar{grid-template-columns:minmax(0,1fr)}}
.b-rule-editor.role-rule-readonly{grid-template-columns:minmax(0,1fr)}.role-version-list{grid-column:1/-1;padding:24px;background:white;border:1px solid var(--line);border-radius:10px}.role-version-list>h2{margin:0 0 20px}.role-version-card{padding:20px!important;margin:12px 0;background:#f8faff;line-height:1.9;overflow-wrap:anywhere}.role-version-card>p:first-child{font-weight:600;font-size:16px}.b-rule-editor>.role-readonly{grid-column:1/-1}.b-rule-editor>form .ux-field-group{min-width:0}.role-rule-readonly .b-rule-sidebar{position:static;width:100%;max-width:none}.role-version-card button{margin-top:12px}.reference-detail .detail-action-column{min-width:0}
/* Member handoff: roomy settings, scrollable evidence, persistent action feedback. */
#flow:has(.role-handoff-form),#flow:has(.role-staffing-form){width:min(960px,calc(100vw - 40px));max-width:960px;padding:28px}
#flowActions:has(.role-handoff-form),#flowActions:has(.role-staffing-form){display:block}
.role-handoff-form,.role-staffing-form{width:100%;display:block!important}.role-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.role-form-grid label{margin-bottom:8px}
.role-handoff-form fieldset,.role-staffing-form fieldset{padding:20px;margin:20px 0 24px;background:#f9fbfe}
.role-handoff-form .tablewrap{max-height:360px}.role-handoff-form table{min-width:480px}.role-handoff-form th:first-child{width:120px}
.role-dialog-footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;position:sticky;bottom:-28px;padding:18px 0;margin-top:24px;background:white;border-top:1px solid var(--line);z-index:1}
.role-dialog-footer button{min-height:44px}.role-dialog-footer button:first-child{margin-right:auto}.role-handoff-result:empty{display:none}.role-handoff-result{margin-top:20px;padding:16px;border-radius:8px;line-height:1.8}
.role-operation-success{background:#edf9f2;color:#23754b}.role-operation-error{background:#fff2f2;color:#a63838}.role-checkbox{display:flex;align-items:center;gap:4px}
@media(max-width:800px){#flow:has(.role-handoff-form),#flow:has(.role-staffing-form){width:calc(100vw - 24px);padding:18px}.role-form-grid{grid-template-columns:1fr;gap:8px}.role-dialog-footer{bottom:-18px}.role-dialog-footer button{flex:1}.role-dialog-footer button:first-child{margin-right:0}.role-handoff-form fieldset,.role-staffing-form fieldset{padding:16px}}
/* Structured calendar controls preserve the stored calendar format. */
.role-calendar-editor{grid-column:1/-1;min-width:0}.b-rule-editor .role-calendar-editor fieldset{margin:0 0 20px;padding:16px}.role-weekdays{display:flex;gap:8px;flex-wrap:wrap}.b-rule-editor .role-weekdays label{display:inline-flex;align-items:center;margin:0;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:white}.b-rule-editor .role-weekdays label:has(:checked){background:#eef5ff;border-color:#9bc2ff;color:#226bd1}.b-rule-editor .role-weekdays input[type=checkbox]{margin:0 8px 0 0;width:16px}.role-time-slots{padding:20px;background:#f8faff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}.role-time-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;padding-bottom:12px}.b-rule-editor .role-time-row button{grid-column:auto;margin-bottom:8px}.role-calendar-exceptions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.role-calendar-exceptions>section{padding:18px;border:1px solid var(--line);border-radius:8px;min-width:0}.role-date-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:40px;margin-bottom:12px}.role-date-chip{display:inline-flex;align-items:center;gap:8px;padding:3px 8px;background:#eef5ff;border-radius:5px}.role-date-chip button{min-height:28px;padding:0 4px;border:0;background:none;color:#647fa2}.role-calendar-error:empty{display:none}.role-stat-definitions{margin-top:24px;padding:18px;border:1px solid var(--line);border-radius:8px}.role-stat-definitions summary{cursor:pointer;font-weight:600}
@media(max-width:800px){.role-calendar-exceptions{grid-template-columns:1fr}.role-time-row{grid-template-columns:1fr 1fr}.b-rule-editor .role-time-row button{grid-column:1/-1}.role-time-slots{padding:14px}}
.role-rule-details{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.role-rule-details summary{cursor:pointer;color:#286bcc;font-weight:500}.role-rule-details p{font-size:13px;margin:10px 0;color:#59708e}
.role-calendar-editor .role-weekdays label{display:inline-flex;align-items:center;margin:0;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:white}.role-calendar-editor .role-weekdays label:has(:checked){background:#eef5ff;border-color:#9bc2ff;color:#226bd1}.role-calendar-editor .role-weekdays input[type=checkbox]{margin:0 8px 0 0;width:16px}.role-calendar-editor .role-time-row button{grid-column:auto;margin-bottom:8px}.role-calendar-editor .role-calendar-exceptions:empty{display:none}.role-source-config .ux-main-side{grid-template-columns:minmax(0,1fr) 300px}.role-source-config .ux-card{min-width:0}.role-calendar-editor fieldset{min-width:0}.role-calendar-editor .role-time-row{min-width:0}.role-calendar-editor input[type=time]{min-width:0}
@media(max-width:1100px){.role-source-config .ux-main-side{grid-template-columns:1fr}}
@media(max-width:800px){.role-calendar-editor .role-time-row button{grid-column:1/-1}}
/* Monitoring workspace: context navigation, search, data, then bulk actions. */
.page-sources .ui-context-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:20px}.page-sources .ui-context-actions .primary{margin-left:auto}.page-source-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.page-source-tools input{flex:1;min-width:200px;margin:0!important}.page-sources .page-source-bulk{position:sticky;bottom:12px;margin:16px 0;padding:14px 16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid #d9e6f8;background:#fff;border-radius:8px;box-shadow:0 4px 18px #1838580a;z-index:2}.page-source-count{margin-right:auto;color:#547094;font-size:13px;white-space:nowrap}.page-sources .page-source-bulk label{display:flex;align-items:center;gap:8px;margin:0}.page-sources .page-source-bulk label input{width:85px;margin:0}.page-sources .page-source-bulk[hidden]{display:none!important}.page-sources .ui-footer-actions{border-top:0;margin-top:12px;padding-top:0}
@media(max-width:800px){.page-sources .ui-context-actions .primary{margin-left:0}.page-source-tools input{flex-basis:100%;min-width:0}.page-sources .page-source-bulk{position:static}.page-source-count{flex-basis:100%}.page-source-tools button,.page-sources .page-source-bulk button{flex:1}}
/* Comment extraction keeps source evidence beside a generous editing panel. */
.page-comment-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 16px}.page-comment-nav button{min-height:36px;padding:6px 9px;font-size:12px}.page-comment-nav span{color:#7d90a9;font-size:12px;white-space:nowrap}.page-comment-context{font-size:13px;color:#617898;line-height:1.7;overflow-wrap:anywhere}.page-comment-active{background:#edf5ff!important}.b-comment-side textarea{width:100%;min-height:110px;resize:vertical;line-height:1.8}.page-word-length{display:block;text-align:right;margin:-10px 0 16px}.b-comment-side [role=status]{font-size:13px;line-height:1.7;color:#617898}.b-comment-side .quote{max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.ux-comments .b-comment-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.7fr)}.b-comment-side form>.primary{width:100%}
@media(max-width:1100px){.ux-comments .b-comment-grid{grid-template-columns:1fr}.b-comment-side .quote{max-height:260px}}
.detail-review-form{display:flex;flex-direction:column;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin-top:20px;min-height:470px}.detail-review-form h3{margin:0;font-size:21px}.detail-review-form p{margin:0;line-height:1.8}.detail-review-form label{display:flex;flex-direction:column;gap:10px;flex:1}.detail-review-form textarea{min-height:220px;resize:vertical}.detail-review-count{align-self:flex-end;color:#8391a7}.detail-review-form [role=alert]{color:#b83232}.detail-review-form [role=alert]:empty{display:none}.detail-review-footer{display:flex;flex-wrap:wrap;gap:12px;padding-top:16px;border-top:1px solid var(--line)}.detail-review-footer button{flex:1;min-height:46px;margin:0}.detail-review-form .muted{font-size:13px}@media(max-width:600px){.detail-review-form{padding:18px}.detail-review-footer{flex-direction:column}}
.detail-jump-action{display:none}.reference-ownership>button{margin:16px 20px}.detail-action-column{scroll-margin-top:24px}@media(min-width:1100px) and (max-width:1280px){.reference-detail .detail-working-grid{grid-template-columns:minmax(300px,2fr) minmax(440px,3fr)}.reference-detail .reference-evidence-body{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px}.reference-detail .reference-meta{grid-template-columns:60px minmax(0,1fr);gap:12px 8px}.reference-detail .reference-evidence-body .b-placeholder{height:130px}.detail-workspace.detail-queue-open .reference-detail .detail-working-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:1099px){.detail-jump-action{display:inline-flex}}
.page-pool-check{width:56px;min-width:56px;text-align:center}.page-pool-check input{width:18px;height:18px;min-height:18px;accent-color:#287bff;cursor:pointer}.page-pool-scope{color:#77899f;line-height:1.7;flex:1;min-width:200px}.ux-footer:has(.page-pool-scope){flex-wrap:wrap}
#flow:has(.appointment-editor){width:min(760px,calc(100vw - 32px));max-width:760px;padding:28px}#flowActions:has(.appointment-editor){display:block}.appointment-editor{display:flex;flex-direction:column;gap:20px}.appointment-editor label{display:flex;flex-direction:column;gap:10px}.appointment-editor textarea{min-height:180px;resize:vertical}.appointment-actions{display:flex;gap:12px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--line)}.appointment-actions button{margin:0;min-height:44px}.appointment-editor [role=alert]{color:#b83232;margin:0}.appointment-editor [role=alert]:empty{display:none}@media(max-width:600px){#flow:has(.appointment-editor){padding:20px}.appointment-actions button{flex:1;min-width:120px}}

/* Task identity forms: aligned actions and persistent inline errors. */
.task-rename-form{display:grid;grid-template-columns:1fr auto;gap:12px;width:100%}
.task-rename-form label,.task-rename-form [role=alert]{grid-column:1/-1}
.task-rename-form [role=alert]:empty{display:none}
.task-rename-form [role=alert],.task-create-form [role=alert]{color:var(--danger,#b42318);line-height:1.6}
.task-rename-form .primary{justify-self:end}

.insight-filter-feedback:empty{display:none}.insight-filter-feedback{color:#b42318;margin:12px 0}.ux-insight-tabs button:focus-visible{outline:3px solid #93b9ff;outline-offset:2px}.insight-body .ux-card{min-width:0}.insight-body .b-chart{overflow-x:auto;gap:12px}.insight-body .b-chart-col{min-width:44px;flex:1}.insight-body .filters>button{min-width:110px}@media(max-width:520px){.insight-body .filters{grid-template-columns:1fr}.insight-body .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-body .metric-card{padding:12px}.insight-body .metric-card strong{font-size:26px}}

.ux-runs td{vertical-align:top;overflow-wrap:anywhere}.ux-runs th:first-child{width:24%}.ux-runs pre{max-width:none;min-width:160px;line-height:1.7;background:#f5f8fd;padding:12px;border-radius:8px}.ux-runs summary{color:#2468de;cursor:pointer}.ux-runs .ux-footer select{width:auto;min-width:150px}.ux-runs .tablewrap{max-height:65vh;overflow:auto}

.insight-body .b-chart-bar{width:min(100%,56px);margin-inline:auto}.ux-runs th:nth-child(2),.ux-runs td:nth-child(2){white-space:nowrap;min-width:76px}

.ux-member-drawer{width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:28px}.ux-member-drawer form{gap:20px}.ux-member-drawer input,.ux-member-drawer select{width:100%}.ux-member-drawer form>button{min-height:44px}.member-form-message:empty{display:none}.member-form-message{padding:12px 16px;border-radius:8px;background:#eff8ff;color:#155bc1;line-height:1.6}.member-form-message.is-error{color:#b42318;background:#fff3f1}.member-close-confirm{padding:20px;border:1px solid #e2b86a;background:#fffaf0;border-radius:10px;margin-top:24px}.member-close-confirm[hidden]{display:none}.member-close-confirm button{margin:6px 10px 0 0}@media(max-width:600px){.ux-member-drawer{width:100%;max-width:100%;padding:20px}.ux-member-drawer>.panel{padding:0}}

.ux-team-list{margin-top:28px;padding-top:20px;border-top:1px solid #e1eaf5}.ux-team-item{padding:12px 16px;border-radius:8px;background:#f5f8fd;overflow-wrap:anywhere}

dialog:has(.rule-preview-form){width:min(880px,calc(100vw - 32px));max-height:90dvh}.rule-preview-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule-preview-form .previewResult{padding:20px;border:1px solid #e1eaf5;background:#f7faff;border-radius:12px;margin-top:20px}.rule-preview-form .tablewrap{overflow:auto}.rule-preview-form table{min-width:400px}.rule-preview-form label{margin:0}.rule-preview-form select,.rule-preview-form input{width:100%}@media(max-width:600px){.rule-preview-fields{grid-template-columns:1fr}.rule-preview-form .previewResult{padding:14px}}

dialog:has(.recovery-status-panel){width:min(880px,calc(100vw - 32px));max-height:90dvh}.recovery-status-panel .metric-grid{grid-template-columns:1fr 1fr}.recovery-status-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.recovery-status-panel .tablewrap{overflow:auto}.versionError:not(:empty){color:#b42318;padding:12px;background:#fff3f1;border-radius:8px;line-height:1.6}@media(max-width:600px){.recovery-status-panel .metric-grid{grid-template-columns:1fr}.recovery-status-panel .metric-card strong{font-size:20px}}

.auth-message:empty{display:none}.auth-message{color:#b42318;background:#fff3f1;padding:12px 16px;border-radius:8px;margin:8px 0 0;line-height:1.6}.login input{width:100%;min-height:44px}.login form{display:grid;gap:18px}.login form label{margin:0}.login form>.muted{margin:0}.login{max-width:520px;width:100%;padding:28px}#passwordPanel button{min-height:44px}@media(max-width:600px){.login{padding:22px;margin-top:24px}}

#filters .page-filter-hint{flex-basis:100%;color:var(--muted,#72829a);line-height:1.6}#filters .page-filter-reset{margin-left:auto}@media(max-width:640px){#filters .page-filter-reset{margin-left:0}}

.page-claim-result{padding:20px;margin-bottom:20px;border:1px solid #bfd6f7;background:#f2f7ff;border-radius:10px}.page-claim-result p{margin:10px 0;overflow-wrap:anywhere}

.appointment-discard{padding:16px;border:1px solid #ead6a8;background:#fffaf0;border-radius:8px}.appointment-discard button{margin:8px 8px 0 0}

.role-settings-leave{padding:16px;border:1px solid #ead6a8;background:#fffaf0;border-radius:8px}.role-settings-leave button{margin:8px 8px 0 0}

/* Two-column experiment workspace keeps metric labels and phrases readable. */
.ux-keyword-experiment .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ux-keyword-experiment .metric-card{padding:16px}.ux-keyword-experiment table{table-layout:fixed;width:100%;min-width:360px}.ux-keyword-experiment th:first-child{width:36%}.ux-keyword-experiment th:nth-child(2){width:18%}.ux-keyword-experiment td{overflow-wrap:anywhere}.ux-keyword-experiment .tablewrap{overflow-x:auto}

/* Source groups and stable metadata columns: long URLs must not squeeze platform labels. */
.page-source-groups{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.page-source-groups button{min-width:104px}.page-source-groups button.active{background:#eaf3ff;border-color:#1677ff;color:#1677ff;font-weight:600}.page-source-tools select{width:150px;flex:none}.page-source-filter-summary{color:#6d809b;font-size:13px;margin:0 0 14px}.page-sources table{table-layout:fixed;min-width:1020px;width:100%}.page-sources th:nth-child(1){width:56px}.page-sources th:nth-child(3){width:96px}.page-sources th:nth-child(4){width:108px}.page-sources th:nth-child(5){width:96px}.page-sources th:nth-child(6){width:140px}.page-sources th:nth-child(7){width:190px}.page-sources td:nth-child(2){overflow-wrap:anywhere;word-break:break-word}.page-sources td:nth-child(n+3){white-space:nowrap}.b-platform{display:inline-flex;align-items:center;justify-content:center;min-width:56px;white-space:nowrap;word-break:keep-all;line-height:22px;box-sizing:border-box}.page-sources .b-platform{width:60px;min-width:60px;height:28px;padding:2px 6px;margin-right:0;white-space:nowrap}.page-sources .tablewrap{overflow-x:auto}@media(max-width:600px){.page-source-tools select{width:100%}.page-source-groups button{flex:1;min-width:100px}}

.comment-task-switcher{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-weight:600}.comment-task-switcher select{width:min(520px,100%);margin:0;min-width:0}@media(max-width:600px){.comment-task-switcher{align-items:stretch;flex-direction:column}}
/* Compact comments chrome; preserve readable, spacious evidence and extraction panels. */
main:has(.ux-comments) header{min-height:48px;padding-top:6px;padding-bottom:6px}
main:has(.ux-comments) .role-scope{margin-top:8px;padding:5px 10px;font-size:12px;line-height:20px}
#businessPanel:has(.ux-comments)>.heading{margin:12px 0 4px}
#businessPanel:has(.ux-comments)>.heading h1{font-size:22px;line-height:1.3;margin:0}
#businessPanel:has(.ux-comments)>p.muted{margin:0 0 8px;font-size:12px;line-height:1.5}
.ux-comments.business-content{padding:14px;margin-top:8px}
.comment-compact-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.comment-compact-top .comment-task-switcher{margin:0;gap:8px;font-size:13px;flex:1;min-width:230px}
.comment-compact-top .comment-task-switcher select{width:min(380px,100%);height:34px;min-height:34px;padding:4px 10px}
.comment-compact-top>button{min-height:32px;padding:4px 10px;font-size:12px}
.comment-compact-count{margin:0 0 0 auto;white-space:nowrap;font-size:12px}
.ux-comments>.b-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:0 0 12px}
.ux-comments>.b-toolbar>label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;white-space:nowrap;flex:1;min-width:150px}
.ux-comments>.b-toolbar>label:has(select){flex:0 1 180px}
.ux-comments>.b-toolbar input,.ux-comments>.b-toolbar select{height:34px;min-height:34px;margin:0!important;padding:4px 8px;font-size:13px}
.ux-comments>.b-toolbar>button{min-height:34px;height:34px;width:auto;margin:0;padding:4px 12px;font-size:13px;flex:none}
.comment-extra-filters{display:flex;align-items:center;gap:16px;flex-basis:100%;padding-top:4px}
.comment-extra-filters[hidden]{display:none!important}
.comment-extra-filters label{display:flex!important;align-items:center;gap:8px;white-space:nowrap;font-size:12px;margin:0!important}
.comment-extra-filters input{width:155px!important}
.ux-comments .b-comment-grid{gap:16px}
@media(max-width:800px){.comment-compact-top .comment-task-switcher{flex-direction:row;min-width:100%}.comment-compact-count{margin-left:0;white-space:normal}.ux-comments>.b-toolbar>label{flex-basis:calc(50% - 8px);min-width:130px;display:block}.comment-extra-filters{flex-wrap:wrap;gap:8px}.comment-extra-filters input{width:140px!important}.ux-comments.business-content{padding:10px}}

/* Site-wide first-screen density: navigation/filter chrome stays smaller than work panels. */
main:has(.role-scope) header{min-height:48px;padding-top:6px;padding-bottom:6px}
main .role-scope{margin-top:8px;padding:5px 10px;font-size:12px;line-height:20px}
main>.heading,#businessPanel>.heading,#workspace>.heading,#membersPanel>.heading{margin:14px 0 6px}
main .heading h1{font-size:22px;line-height:1.35;margin:0}
#businessPanel>p.muted,.heading .muted{font-size:12px;line-height:1.5;margin:4px 0 8px}
.business-content{margin-top:10px}
.metric-grid{gap:10px;margin:10px 0}
.metric-card,.metric-card:nth-child(n){min-height:0;padding:12px 16px;border-top:1px solid var(--line);gap:4px}
.metric-card:before{display:none!important}.metric-card strong{font-size:25px;margin-top:3px;line-height:1.2}.metric-card small{font-size:12px}
#ux-lead-metrics{margin-top:10px}#ux-lead-metrics .metric-grid{margin:8px 0 12px}
.b-toolbar{margin-bottom:12px;gap:8px}
#filters input,#filters select,#filters>button,.b-toolbar>input,.b-toolbar>select,.b-toolbar>button{min-height:34px;height:34px;margin-top:0;padding:4px 10px}
#filters{gap:8px;margin-top:8px;margin-bottom:10px;padding:12px}
.ui-context-actions{padding-bottom:10px;margin-bottom:12px;gap:8px}.ui-context-actions button{min-height:30px}
.page-source-tools{gap:8px;margin-bottom:10px}.page-source-tools input,.page-source-tools select,.page-source-tools button{height:34px;min-height:34px;padding:4px 10px}
.page-source-groups{margin-bottom:10px}.page-source-groups button{min-height:34px;padding:4px 10px}.page-source-filter-summary{margin-bottom:10px}
.insight-body>.filters{display:flex;flex-wrap:wrap;gap:8px;padding:10px;margin-bottom:10px}
.insight-body>.filters label{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px;margin:0;flex:1 1 220px;min-width:0}
.insight-body>.filters input,.insight-body>.filters select{height:34px;min-height:34px;margin:0;width:100%;min-width:0;padding:4px 8px}
.insight-body>.filters button{height:34px;min-height:34px;padding:4px 10px;align-self:center}
.insight-body .metric-grid{margin:10px 0}.ux-insight-tabs{margin:10px 0!important;padding-bottom:8px!important}
.b-platform{width:60px;min-width:60px;flex-shrink:0;text-align:center;white-space:nowrap}.b-status,.tag{white-space:nowrap}
th{word-break:keep-all}.ui-task-table td:last-child button,.sales-table td:last-child button{white-space:nowrap}
.ux-steps{margin:0 0 16px;padding:12px}.ux-steps li{padding:8px}.ui-footer-actions{margin-top:12px;padding-top:12px}
@media(max-width:800px){main .role-scope span{flex-basis:auto}.metric-card,.metric-card:nth-child(n){padding:10px 12px}.metric-card strong{font-size:23px}.insight-body>.filters label{flex-basis:100%}.page-source-tools input,.page-source-tools select,.page-source-tools button{height:38px;min-height:38px}}
/* Summary values are a compact strip, not another large dashboard above the work area. */
.metric-card,.metric-card:nth-child(n){flex-direction:row;align-items:center;justify-content:space-between;min-height:50px;padding:10px 14px;gap:10px}.metric-card strong{margin:0;font-size:24px}.metric-card small{line-height:1.4}
#workspace .b-tabs,#workspace .sales-tabs{margin:8px 0;padding-bottom:8px;min-height:0}
.insight-body.business-content{padding:14px}.insight-body>.ux-help{padding:6px 10px;margin:6px 0;font-size:12px;line-height:1.5}
.insight-body>.ux-card{padding:14px}.insight-body>.ux-card h3{margin:0 0 10px;font-size:15px}.insight-body>.ux-card>p{margin:8px 0;font-size:12px;line-height:1.6}
.insight-body>.metric-grid .metric-card{gap:4px;padding:10px;flex-direction:column;align-items:flex-start}.insight-body>.metric-grid .metric-card strong{font-size:23px}
@media(min-width:1200px){.insight-body>.metric-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:600px){.metric-card,.metric-card:nth-child(n){flex-direction:column;align-items:flex-start;gap:4px}}
.insight-body>.filters label{white-space:nowrap}.insight-body>.filters select,.insight-body>.filters input{flex:1;width:0;min-width:90px}.insight-body>.filters label:has(input[type=date]){flex-basis:235px}

/* Sources are a cross-task workspace, separate from task management. */
.source-workspace-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.source-workspace-tools input{flex:1;min-width:200px}.source-workspace-tools select{width:auto;max-width:240px}.source-workspace-tools input,.source-workspace-tools select,.source-workspace-tools button{height:34px;padding:5px 10px} .source-workspace-table{min-width:1280px;width:100%;table-layout:fixed}.source-workspace-table th,.source-workspace-table td{width:auto;padding:12px 10px;vertical-align:top;word-break:normal;overflow-wrap:normal}.source-workspace-table th{white-space:nowrap}.source-col-check{width:48px}.source-col-value{width:250px}.source-col-task{width:190px}.source-col-platform{width:84px}.source-col-kind{width:90px}.source-col-status{width:88px}.source-col-interval{width:100px}.source-col-result{width:250px}.source-col-expiry{width:170px}.source-value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.5}.source-workspace-table td button{white-space:normal;text-align:left}.source-workspace .tablewrap{overflow-x:auto}.source-workspace-table .source-run-summary{font-size:13px;line-height:1.5}.source-workspace-table details summary{cursor:pointer;color:#1677ff;font-size:12px}.source-workspace-table details p{margin:6px 0;font-size:12px}
.source-workspace-bulk{position:sticky;bottom:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:white;border:1px solid var(--line,#dce6f2);padding:10px;margin-top:12px;border-radius:10px}.source-workspace-bulk label{display:flex;align-items:center;gap:6px;margin:0}.source-workspace-bulk input[type=number]{width:76px}.source-workspace-bulk button{padding:6px 10px}.source-workspace-bulk[hidden]{display:none}.source-task-dialog{max-width:480px;width:90%}.source-task-dialog select{width:100%;margin-bottom:20px}
.pool-shortcuts{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0 12px}.pool-shortcuts>span{font-size:12px;color:#72849b;margin-right:6px}.pool-shortcuts button{padding:5px 12px;min-height:30px;font-size:12px}.pool-shortcuts button.active{background:#edf4ff;color:#1677ff;border-color:#8bb8ff}.pool-selection-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pool-selection-tools button{padding:6px 10px}.pool-selection-tools small{color:#72849b;font-size:12px}#pool-task-filter{max-width:220px}
#flowText{white-space:pre-line}
.time-wheel-field{display:flex;gap:8px;align-items:center;margin-top:6px}.time-wheel-field>button:first-child{flex:1;text-align:left;padding:10px 14px;min-height:42px;font-variant-numeric:tabular-nums}.time-wheel-dialog{width:360px;max-width:calc(100vw - 32px);padding:24px;border-radius:16px}.time-wheel-dialog h2{margin:0 0 8px}.time-wheel-dialog input[type=date]{width:100%;margin:12px 0}.time-wheels{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:center}.time-wheels b{display:block;margin-bottom:8px;font-size:13px;color:#71829a}.time-wheel{height:180px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;padding:72px 0;box-sizing:border-box;border:1px solid #dce6f2;border-radius:12px;scrollbar-width:none;background:linear-gradient(to bottom,#f6f8fc 40%,#eaf3ff 40%,#eaf3ff 60%,#f6f8fc 60%)}.time-wheel::-webkit-scrollbar{display:none}.time-wheel button{display:block;width:100%;height:36px;min-height:36px;padding:0;border:0;border-radius:0;background:transparent;scroll-snap-align:center;font-size:18px;color:#8a97aa;font-variant-numeric:tabular-nums}.time-wheel button.active{color:#1677ff;font-weight:700}.time-wheel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
/* Approved B: customer summary above two work areas, scoped away from list filters. */
#detail.layout-b>.sales-detail-nav{margin-bottom:16px;gap:8px}#detail.layout-b .reference-title h2{font-size:26px}#detail.layout-b #position{flex-basis:auto;order:0;margin-left:4px;font-size:14px}.layout-b-summary{display:flex;align-items:center;gap:20px;padding:22px 24px;border:1px solid #e2eaf5;border-radius:12px;background:#fff;margin-bottom:20px;min-width:0}.layout-b-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 64px;height:64px;border-radius:50%;background:#e3f0ff;color:#237aff;font-size:28px;font-weight:600}.layout-b-identity{min-width:170px;max-width:35%;overflow-wrap:anywhere}#detail.layout-b #name{font-size:24px;line-height:1.4;margin:0 0 10px;font-weight:700}.layout-b-badges{display:flex;gap:8px;align-items:center}.layout-b-summary-meta{display:flex;flex:1;flex-wrap:wrap;gap:18px 24px;margin:0;border-left:1px solid #e3eaf4;padding-left:24px}.layout-b-summary-meta>div{display:flex;flex-direction:column;gap:6px;min-width:100px}.layout-b-summary-meta dt{font-size:14px;color:#7b8da7}.layout-b-summary-meta dd{font-size:16px;margin:0;overflow-wrap:anywhere}
#detail.layout-b .detail-working-grid{grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr);gap:20px}#detail.layout-b .ui-evidence{border-radius:12px;margin-bottom:16px}#detail.layout-b .ui-evidence>h3{font-size:22px;padding:22px 24px;border:0}#detail.layout-b .ui-evidence>h3:before{display:none}.layout-b-comment{padding:0 24px}.layout-b-comment-meta{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#7b8da7;margin-bottom:10px}.layout-b-comment-meta p{margin:0}#detail.layout-b #comment{background:#f1f6fe;border-radius:10px;padding:20px;font-size:20px;line-height:1.8;color:#183452;margin:0;white-space:pre-wrap}#detail.layout-b #comment mark{background:transparent;color:#0864e6;font-weight:700}#detail.layout-b .sales-matches{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:18px 24px}#detail.layout-b .sales-matches strong{font-size:14px;color:#617994;margin-right:6px}#detail.layout-b .sales-matches .tag{font-size:16px;padding:7px 13px;border-radius:18px;line-height:1.4}
.layout-b-tools{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #e8eef6;margin:0 24px;padding:18px 0}#detail.layout-b .reference-links,#detail.layout-b .sales-copy-tools{display:flex;align-items:center;gap:8px;margin:0;padding:0;flex-wrap:wrap}#detail.layout-b .layout-b-tools a,#detail.layout-b .layout-b-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 14px;font-size:15px;line-height:22px;white-space:nowrap;margin:0;border-radius:7px}#detail.layout-b .sales-copy-tools{border-left:1px solid #e3eaf4;padding-left:12px}#detail.layout-b .reference-source-more{padding:16px 24px}#detail.layout-b .detail-history>summary,#detail.layout-b .reference-ownership>summary{font-size:18px;padding:18px 24px}#detail.layout-b .reference-meta{font-size:16px}
#detail.layout-b .detail-action-column>.follow{display:flex;flex-direction:column;gap:18px;padding:24px;min-height:0;border-radius:12px}#detail.layout-b .follow h3{font-size:22px;margin:0 0 2px}#detail.layout-b .follow h3:before{display:none}#detail.layout-b .follow label{font-size:16px;line-height:1.5;margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}#detail.layout-b .follow select{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;min-height:44px;line-height:24px;padding:9px 38px 9px 12px;font-size:16px;box-sizing:border-box;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23415e83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}#detail.layout-b .time-wheel-field{margin:0;gap:10px}#detail.layout-b .time-wheel-field button{margin:0;height:44px;min-height:44px;font-size:16px;line-height:24px;padding:9px 12px}#detail.layout-b .time-wheel-field button:first-child{white-space:nowrap;min-width:0}#detail.layout-b .time-wheel-field button:last-child{background:transparent;border:0;color:#1677ff;flex:none}#detail.layout-b .follow label:has(#note){min-height:0}#detail.layout-b .follow #note{height:180px;min-height:180px;max-height:none;font-size:16px;line-height:1.7;padding:12px;box-sizing:border-box}#detail.layout-b .follow .reference-save-footer{position:static;display:flex;gap:10px;margin:0;padding:0;border:0;box-shadow:none}#detail.layout-b .reference-save-footer>button{margin:0;height:46px;font-size:16px}#detail.layout-b .follow .sales-save-state{margin:0;font-size:13px}#workspace.detail-open>#pool-shortcuts{display:none}
@media(max-width:1099px){.layout-b-summary{gap:14px;padding:18px}.layout-b-summary-meta{gap:14px;padding-left:18px}#detail.layout-b .detail-working-grid{grid-template-columns:minmax(0,1fr)}#detail.layout-b .follow #note{min-height:220px}.layout-b-identity{max-width:50%}}
@media(max-width:600px){.layout-b-summary{flex-wrap:wrap}.layout-b-summary-meta{flex-basis:100%;border-left:0;border-top:1px solid #e3eaf4;padding:14px 0 0}.layout-b-identity{max-width:calc(100% - 84px)}#detail.layout-b #name{font-size:22px}#detail.layout-b .ui-evidence>h3{padding:18px}.layout-b-comment{padding:0 18px}.layout-b-comment-meta{flex-direction:column;gap:4px}#detail.layout-b #comment{font-size:18px;padding:14px}#detail.layout-b .sales-matches{padding:16px 18px}.layout-b-tools{margin:0 18px}#detail.layout-b .sales-copy-tools{border-left:0;padding-left:0}#detail.layout-b .detail-action-column>.follow{padding:18px}#detail.layout-b #position{flex-basis:100%}}

/* B compact desktop: reserve first-screen space for the actual follow-up controls. */
@media(min-width:1100px){
main:has(#detail.layout-b):has(#workspace.detail-open) .role-scope{display:none}
#workspace.detail-open>p.muted{display:none}
#detail.layout-b>.sales-detail-nav{margin-bottom:10px;min-height:36px}
#detail.layout-b>.sales-detail-nav button{min-height:36px;padding:6px 12px}
#detail.layout-b .reference-title h2{font-size:23px}
#detail.layout-b .layout-b-summary{padding:12px 18px;gap:16px;margin-bottom:12px}
#detail.layout-b .layout-b-avatar{flex-basis:46px;height:46px;font-size:23px}
#detail.layout-b #name{font-size:22px;margin-bottom:5px}
#detail.layout-b .layout-b-summary-meta{gap:12px 20px}
#detail.layout-b .layout-b-summary-meta>div{gap:3px}
#detail.layout-b .detail-working-grid{gap:16px}
#detail.layout-b .ui-evidence>h3{padding:14px 18px;font-size:20px}
#detail.layout-b .layout-b-comment{padding:0 18px}
#detail.layout-b #comment{padding:12px 14px;font-size:19px;line-height:1.6;max-height:160px;overflow:auto}
#detail.layout-b .sales-matches{padding:12px 18px;gap:6px}
#detail.layout-b .sales-matches .tag{padding:4px 10px}
#detail.layout-b .layout-b-tools{margin:0 18px;padding:12px 0;gap:8px}
#detail.layout-b .layout-b-tools a,#detail.layout-b .layout-b-tools button{min-height:38px;padding:7px 10px}
#detail.layout-b .reference-source-more{padding:10px 18px}
#detail.layout-b .detail-working-grid .ui-evidence{margin-bottom:10px}
#detail.layout-b .detail-history>summary,#detail.layout-b .reference-ownership>summary{padding:12px 18px;font-size:16px}
#detail.layout-b .detail-action-column>.follow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:16px 18px}
#detail.layout-b .follow>h3,#detail.layout-b .follow>label:has(#b-appointment),#detail.layout-b .follow>label:has(#note),#detail.layout-b .follow>.sales-save-state,#detail.layout-b .follow>.sales-save-error,#detail.layout-b .follow>.reference-save-footer{grid-column:1/-1}
#detail.layout-b .follow h3{font-size:20px;margin:0 0 2px}
#detail.layout-b .follow label{gap:5px;font-size:15px}
#detail.layout-b .follow #note{height:clamp(84px,14vh,140px);min-height:84px;resize:vertical}
#detail.layout-b .follow .reference-save-footer{flex-direction:row;align-items:center;gap:10px}
#detail.layout-b .reference-save-footer>button{height:40px;min-height:40px;width:auto;flex:1;padding:7px 12px}
#detail.layout-b .reference-save-footer>button.primary{flex:2}
}
@media(min-width:1100px){
#workspace.detail-open>#b-lead-count{display:none}
#detail.layout-b .detail-action-column>.follow{gap:8px 12px;padding:14px 18px}
#detail.layout-b .follow>.sales-save-state{display:none}
#detail.layout-b .follow #note{height:clamp(84px,12vh,120px)}
#detail.layout-b .layout-b-tools{align-items:center}
}
.followup-reminders{display:inline-flex;gap:4px;align-items:center}.followup-reminders[hidden]{display:none}.followup-reminders button{white-space:nowrap;padding:5px 8px;font-size:12px}.followup-reminders .reminder-late{color:#b54724;background:#fff4ef;border-color:#ffd7c4}select[name=reminder]{max-width:210px}

/* Compact collection result cells retain the main table space. */
.source-workspace-table td small{display:block;font-size:12px;line-height:1.5;color:#607895;margin-top:4px}.source-workspace-table td details{max-width:300px;white-space:normal}.source-workspace-table td details p{overflow-wrap:anywhere}
.list-page-hidden{display:none!important}.list-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 0;font-size:13px}.list-pagination label{display:flex;align-items:center;gap:6px;margin:0}.list-pagination select{width:88px;min-height:34px}.list-pagination input{width:72px;min-height:34px}.list-pagination button{min-height:34px;padding:6px 12px}
#plain-button-help{position:fixed;inset:auto;margin:0;max-width:min(340px,calc(100vw - 16px));padding:11px 14px;border:1px solid #d8e5f5;border-radius:8px;background:#183252;color:white;box-shadow:0 6px 22px #17325225;font-size:13px;line-height:1.7;white-space:normal;z-index:2147483647;pointer-events:none}#plain-button-help[hidden]{display:none}

.comment-inclusion-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.comment-inclusion-tabs button{min-height:34px;padding:6px 16px}.comment-inclusion-tabs button[aria-pressed=true]{background:#eaf3ff;border-color:#1677ff;color:#1677ff;font-weight:600}
.setup-navigation{padding:12px 14px;border:1px solid #dce8f7;border-radius:8px;background:#f7faff;margin-bottom:12px}.setup-navigation p{font-size:13px;margin:8px 0 0}.setup-step-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.setup-step-buttons button{padding:6px 12px;min-height:34px;font-size:14px}.setup-step-buttons button[aria-current=step]{background:#1677ff;color:white;border-color:#1677ff}.source-setup-links{margin:8px 0;gap:8px}.setup-navigation.ux-footer{margin-top:16px}
/* Setup navigation must not consume the rule editor's form column. */
.b-rule-editor{align-items:start;grid-template-columns:minmax(0,1fr) minmax(240px,290px)}
.b-rule-editor>.setup-navigation,.b-rule-editor>.role-version-list{grid-column:1/-1;min-width:0}
.b-rule-editor>.setup-navigation{margin:0;align-self:start}
.b-rule-editor>form{grid-column:1;min-width:0;align-self:start}
.b-rule-editor>.b-rule-sidebar{grid-column:2;min-width:0}
.b-rule-editor>form>.ux-field-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;margin-bottom:16px}
.b-rule-editor form label{min-width:0;overflow-wrap:anywhere}
.b-rule-editor form input,.b-rule-editor form select{box-sizing:border-box;min-height:40px;font-size:14px}
.b-rule-editor form input[type=checkbox]{min-height:0}
.b-rule-editor.role-rule-readonly>.b-rule-sidebar{grid-column:1/-1}
@media(max-width:1100px){.b-rule-editor{grid-template-columns:minmax(0,1fr)}.b-rule-editor>form,.b-rule-editor>.b-rule-sidebar{grid-column:1/-1}.b-rule-editor>.b-rule-sidebar{position:static}}
@media(max-width:600px){.b-rule-editor>form>.ux-field-group{grid-template-columns:minmax(0,1fr);padding:12px}.b-rule-editor>form{padding:12px}.setup-step-buttons{gap:6px}.setup-step-buttons button{padding:6px 8px}}

.setting-help-trigger{display:inline-flex;align-items:center;justify-content:center;width:24px;min-height:24px;padding:0;margin:4px 0 0 6px;border-radius:50%;font-size:13px;vertical-align:middle}.setting-help-trigger:focus-visible{outline:2px solid #2677ff;outline-offset:2px}

/* Scheme B keeps controls readable and the main workspace compact. */
.simple-settings{display:block!important}.simple-rule-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;max-width:1100px;padding:20px;border:1px solid var(--border,#dce7f5);border-radius:12px;background:white}
.simple-rule-form label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}.simple-rule-form input:not([type=checkbox]),.simple-rule-form select{width:100%;height:40px;padding:8px 12px;font-size:15px}.simple-rule-form fieldset,.simple-rule-form>p,.simple-rule-form>.simple-toolbar{grid-column:1/-1}.simple-recipients{padding:12px}.simple-recipients label{display:inline-flex;margin:8px 18px 0 0}.simple-recipients input{width:18px;height:18px}.simple-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}.simple-toolbar button{min-height:38px}.simple-toolbar select{min-width:170px;max-width:360px}.simple-help{font-size:13px;color:#657d9e}.simple-impact,.simple-notice{padding:12px;background:#eef5ff;border-radius:8px;line-height:1.6}.simple-team,.simple-saved{padding:16px;margin:14px 0;border:1px solid #dce7f5;border-radius:10px;background:#fff}.simple-saved button{margin-right:8px}.simple-settings .setup-navigation{min-height:0}.simple-rule-form .setting-help-trigger{min-height:24px;width:24px;margin-left:auto}.simple-settings>.setup-navigation{margin-bottom:14px}
@media(max-width:760px){.simple-rule-form{grid-template-columns:1fr;padding:14px;gap:12px!important}.simple-toolbar{align-items:stretch}.simple-toolbar button{flex:1 1 auto}}

.member-result-dialog{width:min(440px,calc(100vw - 32px));max-height:80dvh;border-radius:14px;padding:24px}.member-result-dialog p{line-height:1.7;overflow-wrap:anywhere}.member-result-dialog .row{justify-content:flex-end;gap:12px;margin-top:20px}

.member-result-close{float:right;border:0;padding:0 6px;font-size:24px;line-height:1.2}.member-result-dialog h2{margin-right:32px}

.commercial-group-dialog{width:min(480px,calc(100vw - 32px));max-height:90dvh;padding:24px;border-radius:14px}.commercial-group-dialog form{display:grid;gap:12px}.commercial-group-dialog p{line-height:1.65}.commercial-group-dialog .row{justify-content:flex-end;gap:10px}.commercial-group-dialog [role=alert]{color:#b42318;margin:0}.commercial-group-status{display:block;font-size:13px;color:#1663ca;margin-top:8px}.commercial-group-status:empty{display:none}

.collection-options-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-sizing:border-box;padding:24px;border:1px solid #dbe7f5;border-radius:16px;color:#173354;overflow:auto}
.collection-options-dialog::backdrop{background:rgba(20,42,70,.3)}
.collection-options-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.collection-options-header h3{margin:0;font-size:20px}.collection-options-header button{font-size:24px;padding:4px 12px}.collection-options-dialog>p{color:#627b99;font-size:14px;line-height:1.6}
.collection-options-list{display:grid;gap:12px}.collection-option{display:grid;gap:8px;width:100%;padding:16px;text-align:left;white-space:normal;background:#fff;border:1px solid #d6e3f3;border-radius:10px;color:#173354}.collection-option strong{font-size:16px}.collection-option span{font-size:14px;font-weight:400;line-height:1.7;color:#536e8c}.collection-option[aria-pressed=true],.collection-option:hover,.collection-option:focus-visible{background:#edf5ff;border-color:#1677ff}.collection-option:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
.action-feedback-dialog{width:min(580px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #dbe7f5;border-radius:16px;padding:24px;color:#173354}.action-feedback-dialog::backdrop{background:rgba(20,42,70,.32)}.action-feedback-dialog>p{line-height:1.8;white-space:pre-line}.action-feedback-dialog .row{display:flex;flex-wrap:wrap;gap:12px}.launch-blockers h2{font-size:18px}.launch-blockers p{line-height:1.7}
.setup-guide{position:sticky;top:8px;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;padding:16px 20px;background:#fff;border:2px solid #c6ddff;border-radius:12px;box-shadow:0 4px 18px #17335412;margin-bottom:16px}.setup-guide-intro strong{font-size:18px;color:#173354}.setup-guide-intro p{font-size:14px;line-height:1.6;margin:6px 0 0;color:#526f94}.setup-guide-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.setup-guide-actions .primary{min-height:46px;font-size:16px}.setup-guide-checklist{grid-column:1/-1;font-size:14px}.setup-guide-checklist summary{cursor:pointer;color:#1677ff}.setup-guide-checklist>div{max-height:35vh;overflow:auto}.setup-guide-checklist p{margin:8px 0}.setup-guide-checklist button{margin-left:12px}.setup-guide~.setup-navigation:not(.ux-footer){padding:10px 14px}.setup-guide~.setup-navigation.ux-footer{position:static;box-shadow:none}.setup-guide~.setup-navigation:not(.ux-footer)>p{display:none}@media(max-width:700px){.setup-guide{grid-template-columns:1fr;padding:12px;top:0}.setup-guide-actions .primary{flex:1}.setup-guide-intro p{font-size:13px}.setup-guide-checklist{grid-column:1}}
.setup-guide~.setup-navigation{display:none!important}
.business-content:has(>.setup-guide) .ux-footer{position:static;box-shadow:none}

.ux-comments>.sales-bulk-bar{position:static;margin:12px 0 18px;box-shadow:none}.ux-comments>.sales-bulk-bar button{white-space:nowrap}
/* Comment workbench: existing #1677ff blue, #142e54 ink and Chinese font stack.
   12px filter labels / 13px inputs, 36px desktop controls, 8–16px spacing.
   Full-width evidence table; the extraction editor is a deliberate modal action. */
.ux-comments.business-content{padding:16px;margin-top:10px}
.ux-comments .comment-compact-top{gap:10px;margin:0;padding-bottom:12px;border-bottom:1px solid var(--line)}
.ux-comments .comment-compact-top .comment-task-switcher{font-size:12px;min-width:0;flex:1 1 300px}
.ux-comments .comment-compact-top .comment-task-switcher select{height:36px;min-height:36px;font-size:13px;max-width:420px;width:100%;margin:0}
.ux-comments .comment-compact-top>button{font-size:12px;min-height:36px;padding:6px 10px}
.ux-comments .comment-compact-count{font-size:12px;margin:0;white-space:nowrap}
.ux-comments .comment-workspace-tools{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0 0;margin:0}
.ux-comments .comment-workspace-tools button{font-size:12px;min-height:28px;padding:2px 8px;background:transparent;border-color:transparent;color:#637c9d}
.ux-comments .comment-workspace-tools button:hover{color:var(--blue);background:#f1f6ff}
.ux-comments .comment-unified-filters{display:grid;gap:12px;padding:14px 0;margin:0;min-width:0;border-bottom:1px solid var(--line)}
.ux-comments .comment-filter-primary{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(160px,.7fr);gap:14px}
.ux-comments .comment-filter-fields,.ux-comments .comment-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ux-comments .comment-unified-filters label{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;min-width:0;font-size:12px;line-height:18px;color:#547094;font-weight:500}
.ux-comments .comment-unified-filters input:not([type=checkbox]),.ux-comments .comment-unified-filters select{box-sizing:border-box;width:100%;min-width:0;max-width:none;height:36px;min-height:36px;margin:0;padding:6px 10px;font-size:13px;line-height:22px;background:#fff;border:1px solid #d6e3f3;border-radius:6px}
.ux-comments .comment-filter-secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ux-comments .comment-filter-choices{display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-width:0}
.ux-comments .comment-filter-choices fieldset{display:flex;align-items:center;gap:6px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.ux-comments .comment-filter-choices legend{float:left;margin:0 6px 0 0;padding:0;font-size:12px;line-height:32px;font-weight:500;color:#547094}
.ux-comments .comment-filter-choices label{flex-direction:row;align-items:center;gap:6px;min-height:32px;padding:4px 8px;border:1px solid #e4ecf6;border-radius:6px;white-space:nowrap;cursor:pointer;box-sizing:border-box;font-size:12px;font-weight:400}
.ux-comments .comment-filter-choices label:has(:checked){background:#eef5ff;color:#1265d3;border-color:#9dc6ff}
.ux-comments .comment-filter-choices input[type=checkbox]{flex:none;width:14px!important;height:14px;min-height:14px;margin:0;accent-color:#1677ff}
.ux-comments .comment-filter-choices label:hover{border-color:#9dc6ff}
.ux-comments .comment-time-filter{max-width:620px;padding:10px 12px;background:#f7faff;border-radius:6px}
.ux-comments .comment-relative-range{display:grid;grid-template-columns:auto 100px 100px;align-items:center;gap:10px;min-height:36px;font-size:12px;color:#547094}
.ux-comments .comment-unified-filters [hidden]{display:none!important}
.ux-comments .comment-filter-actions{display:flex;align-items:center;gap:8px}
.ux-comments .comment-filter-actions button{box-sizing:border-box;height:34px;min-height:34px;margin:0;padding:5px 16px;white-space:nowrap;font-size:12px}
.ux-comments .comment-filter-actions .comment-filter-help{width:28px;height:28px;min-height:28px;padding:0;border-radius:50%;color:#637c9d}
.ux-comments .comment-time-summary{margin:0;color:#637c9d;font-size:12px;line-height:1.6}
.ux-comments .comment-time-summary:empty{display:none}
.ux-comments .comment-unified-filters details{margin:0;padding:0;min-width:0}
.ux-comments .comment-unified-filters details summary{cursor:pointer;color:#637c9d;font-size:12px;line-height:18px}
.ux-comments .comment-unified-filters details[open] summary{margin-bottom:10px}
.ux-comments .comment-unified-filters details .comment-filter-fields{max-width:620px}
.ux-comments .comment-unified-filters :is(input,select,button,summary):focus-visible{outline:2px solid #1677ff;outline-offset:2px}
.ux-comments>.sales-bulk-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:static;margin:12px 0;padding:10px 12px;background:#f8fbff;border:1px solid var(--line);border-radius:6px;box-shadow:none}
.ux-comments>.sales-bulk-bar .ux-selection{margin:0 auto 0 0;font-size:12px;min-width:90px}
.ux-comments>.sales-bulk-bar button{font-size:12px;min-height:34px;padding:5px 12px;margin:0;white-space:nowrap}
.ux-comments .comment-results-wide{display:block;min-width:0}
.ux-comments .comment-results-wide>div{min-width:0}
.ux-comments .comment-results-wide table{min-width:700px;table-layout:fixed}
.ux-comments .comment-results-wide th,.ux-comments .comment-results-wide td{padding:12px 10px;vertical-align:top;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.ux-comments .comment-results-wide th{padding-top:10px;padding-bottom:10px;font-size:12px}
.ux-comments .comment-results-wide th:nth-last-child(5){width:52px}
.ux-comments .comment-results-wide th:nth-last-child(3){width:120px}
.ux-comments .comment-results-wide th:nth-last-child(2){width:80px}
.ux-comments .comment-results-wide th:last-child{width:120px}
.ux-comments .comment-results-wide td p{margin:0 0 6px;line-height:1.65;color:#142e54}
.ux-comments .comment-results-wide td small{display:block;font-size:12px;line-height:1.5;margin-top:4px;color:#7689a5}
.ux-comments .comment-results-wide td:last-child button{display:block;font-size:12px;padding:2px 0;min-height:28px}
.ux-comments .comment-results-wide td .b-platform{font-size:11px;min-width:54px;line-height:24px;margin:0}
.ux-comments .list-pagination{padding:12px 0 0;font-size:12px;gap:6px}
.ux-comments .list-pagination button,.ux-comments .list-pagination input,.ux-comments .list-pagination select{font-size:12px;min-height:32px;height:32px;padding:4px 8px}
.comment-extraction-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:18px;border:1px solid var(--line);border-radius:12px;color:#142e54;overflow:auto}
.comment-extraction-dialog::backdrop{background:rgba(20,46,84,.28)}
.comment-extraction-dialog .comment-extraction-close{float:right;font-size:12px;min-height:32px;padding:4px 12px}
.comment-extraction-dialog .b-comment-side{clear:both;padding:12px 0 0;border:0;background:white;border-radius:0}
.comment-extraction-dialog .b-comment-side h3{font-size:17px;margin-bottom:12px}
.comment-extraction-dialog .b-comment-side .quote{font-size:14px;line-height:1.7;padding:12px;background:#f7faff;border:0;border-radius:6px;max-height:160px;overflow:auto;margin:10px 0}
.comment-extraction-dialog .b-comment-side :is(input,select,textarea){box-sizing:border-box;width:100%;font-size:13px}
.comment-extraction-dialog .b-comment-side textarea{min-height:100px}
.comment-word-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.comment-word-actions>button{flex:1 1 140px;min-height:38px;font-size:13px;padding:8px 12px}
.comment-extraction-dialog .page-word-length{font-size:12px;margin:-8px 0 12px}
@media(max-width:900px){.ux-comments .comment-filter-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-comments .comment-filter-primary>label:last-child{grid-column:1/-1;max-width:300px}.ux-comments .comment-filter-actions{margin-left:auto}.ux-comments .comment-compact-count{flex-basis:100%}}
@media(max-width:600px){.ux-comments.business-content{padding:12px}.ux-comments .comment-filter-primary{grid-template-columns:minmax(0,1fr);gap:10px}.ux-comments .comment-filter-primary>label:last-child{max-width:none}.ux-comments .comment-filter-choices{gap:10px}.ux-comments .comment-filter-secondary{align-items:start}.ux-comments .comment-filter-actions{margin-left:0}.ux-comments .comment-date-range{grid-template-columns:minmax(0,1fr)}.ux-comments .comment-relative-range{grid-template-columns:auto minmax(60px,1fr) minmax(60px,1fr)}.ux-comments .comment-unified-filters input:not([type=checkbox]),.ux-comments .comment-unified-filters select,.ux-comments .comment-filter-actions button{height:44px;min-height:44px}.ux-comments .comment-filter-choices label{min-height:44px}.ux-comments .comment-compact-top .comment-task-switcher{flex-basis:100%}.ux-comments>.sales-bulk-bar button{min-height:44px}.comment-extraction-dialog{max-height:calc(100dvh - 24px)}}

/* Keep page context legible without displacing the workbench. */
main:has(.ux-comments) .business-line-control{margin:0 -28px 8px;padding:8px 28px;font-size:12px;min-height:0}
main:has(.ux-comments) .business-line-control select{height:32px;min-height:32px;font-size:12px;padding:4px 8px;margin:0}
@media(max-width:600px){main:has(.ux-comments) .business-line-control{margin-left:-14px;margin-right:-14px;padding:8px 14px}main:has(.ux-comments) .business-line-control select{height:44px;min-height:44px}}

.ux-comments:not(:has(.comment-extraction-dialog[open])) .page-comment-active{background:transparent!important}
@media(max-width:600px){.ux-comments .comment-compact-top{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ux-comments .comment-compact-top .comment-task-switcher{grid-column:1/-1;order:-1}.ux-comments .comment-compact-top>button{justify-self:start}.ux-comments .comment-compact-count{grid-column:1/-1}}
/* Chosen time stays in one control; custom values are edited in a dialog. */
.ux-comments .comment-filter-primary{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr)}
.time-range-control{min-width:0}
.time-range-control select{width:100%;max-width:none;text-overflow:ellipsis}
.time-range-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dce6f3;border-radius:12px;padding:22px;color:#142e54}
.time-range-dialog::backdrop{background:rgba(20,46,84,.28)}
.time-range-dialog h2{margin:0 0 20px;font-size:18px}
.time-range-dialog form{display:grid;gap:16px}
.time-range-dialog .time-range-dates,.time-range-dialog .time-range-relative{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.time-range-dialog [hidden]{display:none!important}
.time-range-dialog label{display:grid;gap:6px;margin:0;font-size:13px}
.time-range-dialog :is(input,select){box-sizing:border-box;width:100%;min-width:0;margin:0;font-size:14px;min-height:40px}
.time-range-dialog p{margin:0;font-size:12px;line-height:1.7}
.time-range-dialog [role=alert]{color:#b42318}
.time-range-dialog [role=alert]:empty{display:none}
.time-range-dialog .time-range-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
.time-range-dialog .time-range-actions button{font-size:13px;min-height:40px}
@media(max-width:900px){.ux-comments .comment-filter-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-comments .comment-filter-primary>label:last-child{grid-column:auto;max-width:none}}
@media(max-width:600px){.ux-comments .comment-filter-primary{grid-template-columns:minmax(0,1fr)}.time-range-dialog .time-range-dates{grid-template-columns:minmax(0,1fr)}.time-range-dialog :is(input,select,button){min-height:44px}}
.calendar-time-dialog{width:min(680px,calc(100vw - 32px))}
.calendar-time-dialog .role-weekdays{margin:0 0 14px;padding:12px}
.calendar-time-dialog .role-weekdays label{display:inline-flex;gap:6px;align-items:center;margin:4px;padding:6px 8px;border:1px solid #dce6f3;border-radius:6px}
.calendar-time-dialog .role-weekdays input{width:16px!important;min-height:16px;margin:0}
.calendar-time-dialog .role-time-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
.calendar-time-dialog .role-time-row button{margin:0;min-height:40px;grid-column:auto}
.calendar-time-dialog .role-time-slots{padding:12px;margin:0 0 14px}
.calendar-time-dialog .role-calendar-exceptions{margin-bottom:14px}
.calendar-time-dialog .time-range-actions{margin-top:16px}
@media(max-width:600px){.calendar-time-dialog .role-calendar-exceptions{grid-template-columns:minmax(0,1fr)}}
/* Shared list filter scale: same contract as the compact comment workbench. */
.dense-filter-bar{--filter-height:36px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;margin:0 0 16px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;min-width:0}
.dense-filter-bar[hidden],.dense-filter-bar [hidden]{display:none!important}
.dense-filter-bar>label.dense-filter-field{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;flex:1 1 130px;min-width:0;max-width:260px;margin:0;font-size:12px!important;font-weight:600;line-height:1.4;color:#617b9f}
.dense-filter-bar>label.dense-filter-search{flex:2 1 200px;max-width:none}
.dense-filter-bar :is(input:not([type=checkbox]):not([type=hidden]),select){box-sizing:border-box;width:100%;min-width:0!important;max-width:100%;height:var(--filter-height)!important;min-height:var(--filter-height)!important;margin:0!important;padding:7px 10px;font-size:13px!important;line-height:1.4;border-radius:6px;text-overflow:ellipsis}
.dense-filter-bar button{min-height:var(--filter-height)!important;margin:0;padding:7px 12px;font-size:13px!important;line-height:1.4;white-space:nowrap}
.dense-filter-bar>.dense-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;flex:0 1 auto;min-width:0}
.dense-filter-bar .dense-filter-help{width:var(--filter-height);padding:0;border-radius:50%;color:#7a8da9;background:#fff}
.dense-filter-bar .dense-filter-inline-choices{display:flex;flex-wrap:wrap;align-items:center;gap:6px;align-self:flex-end;margin:0;padding:0;border:0}
.dense-filter-bar .dense-filter-inline-choices button{border-radius:6px;padding:7px 10px}
#filters.dense-filter-bar{gap:10px 12px;margin-bottom:14px}
.source-workspace-tools.dense-filter-bar{grid-template-columns:none;gap:10px 12px}
.source-workspace-tools.dense-filter-bar .dense-filter-search{flex:2 1 260px}
.insight-body>form.dense-filter-bar{grid-template-columns:none;gap:10px 12px}
.insight-body>form.dense-filter-bar .time-range-control{flex-basis:230px;max-width:320px}
.ui-task-table>.dense-filter-bar{margin-bottom:14px}
.sales-words .dense-filter-bar{margin-bottom:12px}
@media(max-width:900px){.dense-filter-bar>label.dense-filter-field{flex-basis:180px;max-width:none}.dense-filter-bar>.dense-filter-actions{margin-left:0}.dense-filter-bar>label.dense-filter-search{flex-basis:100%}}
@media(max-width:600px){.dense-filter-bar{--filter-height:44px;padding:10px;gap:10px}.dense-filter-bar>label.dense-filter-field{flex-basis:calc(50% - 10px)}.dense-filter-bar>label.dense-filter-search{flex-basis:100%}.dense-filter-bar>.dense-filter-actions{width:100%;justify-content:flex-end}.dense-filter-bar .time-range-control{flex-basis:100%!important}}
body .business-line-control{font-size:12px;padding-top:8px;padding-bottom:8px}
body .business-line-control select{height:36px;font-size:13px}
@media(max-width:600px){body .business-line-control select{height:44px}}
.request-loading-feedback{position:fixed;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);z-index:1000;width:max-content;max-width:min(430px,calc(100vw - 32px));padding:18px 24px;border:1px solid #cbdcf3;border-radius:10px;background:#f4f8ff;color:#23466f;box-shadow:0 12px 36px #19375a26;font-size:13px;line-height:1.7;white-space:pre-line;text-align:center;pointer-events:none}
.request-loading-feedback::before{content:'';display:block;width:22px;height:22px;margin:0 auto 10px;border:2px solid #d7e5f9;border-top-color:#1677ff;border-radius:50%;animation:request-loading-spin .8s linear infinite}
@keyframes request-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.request-loading-feedback::before{animation:none}}
.request-loading-feedback[hidden]{display:none}
body:has(.request-loading-feedback:not([hidden])) .ac-wait,body:has(.request-loading-feedback:not([hidden])) .insight-loading-message{visibility:hidden}
.sidebar-account{flex:none;display:flex;flex-direction:column;align-items:stretch;gap:5px;margin-top:auto;padding:14px 10px 0;border-top:1px solid #e3eaf3;color:#4f6380}
.sidebar-account #who{margin:0;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.sidebar-account #logout{align-self:flex-start;min-height:36px;padding:5px 0;border:0;background:transparent;color:#607898;font-size:12px;text-align:left}
.sidebar-account #logout:hover{color:#1677ff;text-decoration:underline}
body>aside>b,body>aside>small{flex-shrink:0}
body>aside>nav{padding-bottom:12px}
@media(max-width:800px){.sidebar-account{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:8px 0}.sidebar-account #logout{flex:none;align-self:center;min-height:40px}.sidebar-account #who{margin:0}body>aside>nav{padding-bottom:6px}}
.insight-loading-message{font-size:13px;color:#617d9f;line-height:1.6;padding:14px 0}

.insight-update-status{margin:10px 0;padding:10px 12px;border-radius:8px;background:#f4f8ff;color:#456587;font-size:13px;line-height:1.5}.insight-update-status:empty{display:none}
