:root{--navy:#132d43;--navy2:#0c2337;--ink:#1d3041;--muted:#7b8a98;--line:#e6ecee;--paper:#f5f7f8;--green:#145f51;--green2:#0e4d42;--soft:#e9f2ee;--amber:#df9c33;--amber-bg:#fff4e2;--shadow:0 7px 26px rgba(24,52,68,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:14px/1.6 "Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;background:var(--paper)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}[hidden]{display:none!important}:focus-visible{outline:3px solid #9ed3c6;outline-offset:2px}
.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(165deg,var(--navy),var(--navy2));color:#fff;min-height:100vh;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden}.sidebar:after{content:"";position:absolute;left:-30px;bottom:36px;width:315px;height:190px;background:linear-gradient(145deg,#22445c,transparent 70%);clip-path:polygon(0 100%,15% 55%,36% 70%,58% 20%,100% 83%,100% 100%);opacity:.35;pointer-events:none}.logo{height:92px;padding:22px 25px;display:flex;gap:12px;align-items:center;background:#0c2232;border-bottom:1px solid #ffffff13}.logo-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:50% 16% 50% 16%;background:#c7e4dc;color:#123543;font:900 21px "Songti SC",serif;transform:rotate(-18deg)}.logo strong{display:block;font-size:18px;letter-spacing:.1em}.logo small{display:block;color:#a6bfc7;font-size:10px;letter-spacing:.15em}.sidebar nav{padding:17px 0;display:grid;gap:4px;z-index:1}.sidebar nav button{width:100%;border:0;background:transparent;color:#c4d4db;text-align:left;padding:14px 27px;font-weight:700;display:flex;gap:18px;align-items:center;border-left:4px solid transparent}.sidebar nav button span{font-size:19px;width:19px;line-height:1}.sidebar nav button:hover,.sidebar nav button.active{background:#2c5262;color:#fff;border-left-color:#f0d1a0}.sidebar-bottom{margin-top:auto;padding:23px 28px 25px;color:#c0d0d9;z-index:1;font-size:12px;letter-spacing:.05em}.sidebar-bottom small{display:block;color:#829dab;margin-top:4px}.sidebar-bottom button{display:block;margin-top:15px;color:#b9d1d3;border:0;background:transparent;padding:0;font-size:12px}.workspace{min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:15px}.topbar-name{display:flex;align-items:center;gap:32px;min-width:0}.topbar-name b{font-size:22px;white-space:nowrap}.topbar-name span{font:italic 17px "KaiTi","STKaiti",serif;letter-spacing:.13em;color:#697783;white-space:nowrap}.topbar-tools{display:flex;align-items:center;gap:18px}.search-box{display:flex;align-items:center;gap:8px;border-radius:40px;background:#f2f4f5;padding:7px 15px;color:#83929e;min-width:255px}.search-box span{font-size:20px;line-height:1}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:12px;color:var(--ink)}.avatar{height:37px;width:37px;border-radius:50%;background:#e2ede9;display:grid;place-items:center;color:var(--green);font-family:"Songti SC",serif;font-weight:900}.user-name{min-width:74px}.user-name b{display:block;font-size:12px}.user-name small{display:block;font-size:11px;color:var(--muted)}
main{padding:18px;max-width:1700px;margin:auto}.desk-grid{display:grid;grid-template-columns:minmax(240px,300px) minmax(430px,1fr) minmax(285px,340px);gap:12px;align-items:stretch}.panel{background:#fff;border:1px solid #edf0f1;border-radius:13px;box-shadow:var(--shadow)}.queue-panel{padding:0 14px 20px;min-height:calc(100vh - 115px)}.queue-top{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:19px 5px 12px}.queue-top h2{font-size:18px;margin:0}.queue-tabs{display:flex;border-bottom:1px solid var(--line)}.queue-tabs button{background:none;border:0;padding:10px 14px;font-weight:800;color:#647384}.queue-tabs button.active{box-shadow:inset 0 -2px 0 var(--green);color:var(--ink)}.count{background:#e7ecf0;border-radius:14px;padding:1px 7px;margin-left:5px;font-size:11px}.queue-tabs .active .count{background:#f6b54c;color:#483419}.queue-items{padding-top:12px}.queue-item{display:block;border:0;background:#fff;border-bottom:1px solid #e8eff0;padding:16px 10px;text-align:left;width:100%;border-radius:8px;color:var(--ink)}.queue-item.active{background:linear-gradient(100deg,#ecf5f1,#f5faf7);border:1px solid #cfe2da;padding:15px 10px}.queue-item:hover{background:#f5f8f7}.queue-line{display:flex;justify-content:space-between;gap:6px;align-items:center}.queue-item b{font-size:16px}.queue-item em{font-style:normal;font-size:12px;color:#748392;margin-left:7px}.queue-meta{font-size:12px;color:#647589;margin:4px 0 0}.queue-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8794a1;margin-top:3px}.badge{border-radius:6px;background:#ffebc8;color:#8b5c1f;font-size:11px;font-weight:800;padding:2px 7px;white-space:nowrap}.badge.done{background:#eaf2ed;color:#2f725d}.badge.progress{background:#e7f1f3;color:#317085}.empty-state{padding:32px 12px;text-align:center;color:#81929c;font-size:13px}
.case-panel{padding:24px;min-height:calc(100vh - 115px)}.case-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.case-header h1{font-size:24px;margin:0 0 3px;letter-spacing:-.03em}.case-header p{color:#70808e;margin:0;font-size:13px}.case-actions{display:flex;gap:8px}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.18em;color:var(--green)}.tiny{font-size:11px;color:var(--muted)}.primary,.subtle,.outline,.text-btn{border-radius:8px;padding:9px 14px;font-weight:800;border:1px solid transparent;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green2)}.subtle{background:#eff3f2;color:#31574f}.outline{background:#fff;border-color:#dbe5e7;color:#324859}.outline:hover,.subtle:hover{filter:brightness(.96)}.text-btn{padding:4px;background:transparent;color:var(--green)}.small-btn{font-size:12px;padding:7px 10px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-top:25px;overflow:auto}.tabs button{border:0;border-bottom:3px solid transparent;background:none;color:#647485;font-weight:800;padding:10px 1px;white-space:nowrap}.tabs button.active{color:var(--green);border-color:var(--green)}.tab-content{padding-top:18px}.fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fact-card{border:1px solid #e3e9ed;border-radius:10px;padding:15px;min-height:178px;background:linear-gradient(155deg,#fff,#fafcfc)}.fact-title{display:flex;align-items:center;gap:8px;font-weight:800}.fact-title i{font-style:normal;font-size:19px}.fact-card:nth-child(1) .fact-title i,.fact-card:nth-child(3) .fact-title i{color:var(--green)}.fact-card:nth-child(2) .fact-title i{color:var(--amber)}.fact-card p{white-space:pre-line;font-size:12px;line-height:1.8;color:#384d5b;margin:10px 0 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15px;font-weight:900;margin:22px 0 8px}.section-title:first-child{margin-top:0}.section-title small{font-size:11px;color:var(--green);font-weight:600}.textarea{width:100%;border:1px solid #d8e2e6;border-radius:8px;padding:12px 14px;resize:vertical;min-height:74px;outline:0;color:var(--ink);background:#fff}.textarea:focus,.fields input:focus,.fields textarea:focus,.fields select:focus{border-color:#6aa899;box-shadow:0 0 0 3px #e0f2ec}.editor-row{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin-top:6px}.muted{color:var(--muted)}.record{display:flex;gap:12px;background:#f7f9fa;border-radius:9px;padding:13px;margin:8px 0}.record-icon{flex:none;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#e4efec;color:var(--green);font-weight:800}.record-head{font-weight:800;font-size:12px}.record-head small{font-weight:400;color:#81909e;margin-left:8px}.record p{font-size:12px;margin:4px 0 0;white-space:pre-line}.callout{padding:11px 13px;border-radius:8px;background:#fff4df;color:#996724;font-size:12px;line-height:1.6}.callout.green{background:#ecf4ef;color:#3c705e}.plain-list{margin:0;padding-left:20px;font-size:12px;line-height:1.8}.plain-list li{margin:4px 0}.divider{border-top:1px solid var(--line);margin:18px 0}.fields{display:grid;gap:13px}.fields.two{grid-template-columns:1fr 1fr}.fields .full{grid-column:span 2}.fields label{font-weight:800;font-size:12px;display:grid;gap:5px}.fields input,.fields textarea,.fields select{width:100%;border:1px solid #dbe4e8;border-radius:8px;padding:10px 11px;outline:0;background:#fff;color:var(--ink);font-weight:400}.fields textarea{resize:vertical}.fields .check{display:flex;align-items:center;gap:9px}.fields .check input{width:auto}.saved-note{font-size:11px;color:#6e9b84}.info-table{width:100%;border-collapse:collapse;font-size:13px}.info-table td{padding:12px;border-bottom:1px solid var(--line)}.info-table td:first-child{width:105px;color:#7e8c99}.full-panel{padding:25px;min-height:calc(100vh - 115px)}.full-panel h1{font-size:25px;margin:0 0 5px}.full-panel>p{color:var(--muted);margin:0 0 20px}.list-row{display:flex;align-items:center;justify-content:space-between;padding:15px;border:1px solid var(--line);border-radius:10px;margin:8px 0;background:#fff;gap:12px}.list-row b{display:block}.list-row small{color:var(--muted)}.workflow{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.step{border:1px solid #dce7e4;background:#f6faf8;border-radius:10px;padding:13px 8px;text-align:center;font-size:12px;font-weight:800}.step b{display:block;color:var(--green);font:900 19px "Songti SC",serif}.kb-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.kb-card{border:1px solid var(--line);border-radius:10px;padding:17px}.kb-card h3{margin:0 0 7px;font-size:14px}.kb-card p{font-size:12px;margin:0 0 8px;color:#5e707a}.kb-card small{color:var(--green)}
.right-col{display:grid;gap:10px;align-content:start}.right-panel{padding:18px}.right-panel h2{margin:0 0 12px;font-size:17px}.share-card{height:310px;max-width:220px;margin:8px auto 12px;border-radius:8px;overflow:hidden;position:relative;background:linear-gradient(157deg,#e9f3f8 0%,#cadfe8 40%,#658d9a 73%,#214a57 100%);box-shadow:0 9px 25px #21465727;padding:19px;color:#123b4a}.share-card:before{content:"";position:absolute;inset:52% -7% -8%;background:#345f70;clip-path:polygon(0 100%,9% 58%,25% 75%,42% 22%,58% 72%,75% 32%,100% 71%,100% 100%);opacity:.4}.share-card:after{content:"";position:absolute;inset:67% -5% -8%;background:#123b4c;clip-path:polygon(0 100%,17% 55%,35% 80%,61% 27%,100% 80%,100% 100%);opacity:.5}.share-brand,.share-title,.share-footer{position:relative;z-index:1}.share-brand{font-weight:900;font-size:12px}.share-title{font:bold 20px/1.35 "Songti SC",serif;margin-top:52px}.share-title small{display:block;font:12px/1.5 "Microsoft YaHei",sans-serif;margin-top:9px}.share-footer{position:absolute;bottom:15px;left:19px;right:19px;display:flex;justify-content:space-between;color:#fff;font-size:11px}.right-panel .primary.wide{width:100%;margin-top:11px}.assistant-box{border:1px solid #dce5e8;border-radius:9px;display:flex;align-items:center;padding:7px 8px;gap:6px}.assistant-box input{flex:1;width:0;border:0;outline:0;font-size:12px}.assistant-box button{width:29px;height:29px;border-radius:50%;border:0;background:var(--green);color:#fff}.assistant-answer{max-height:250px;overflow:auto;font-size:12px;line-height:1.75;white-space:pre-line;background:#f8faf9;border-radius:8px;padding:11px;color:#405966;margin-top:10px}.assistant-answer .sources{display:block;border-top:1px solid #dfebe5;margin-top:10px;padding-top:7px;color:var(--green);font-size:11px}.prompt-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.prompt-row button{font-size:11px;border:0;background:#f0f5f3;border-radius:20px;color:#427363;padding:5px 8px}
dialog{border:0;border-radius:15px;width:min(560px,calc(100vw - 28px));padding:25px;box-shadow:0 24px 75px #132f4550;color:var(--ink)}dialog::backdrop{background:#102b3e80}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:16px}.dialog-head h2{margin:2px 0}.icon-btn{border:0;border-radius:7px;background:#eff3f3;width:31px;height:31px;font-size:21px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.wide{width:100%}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(300px,1fr) minmax(380px,1fr);background:#fff}.auth-brand{background:linear-gradient(145deg,#112c41,#174f5c);color:#fff;padding:12vh 10%;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;inset:auto -10% -10%;height:38%;background:#6eaa9d;opacity:.3;clip-path:polygon(0 100%,22% 40%,42% 68%,65% 9%,100% 83%,100% 100%)}.auth-logo{font:900 42px "Songti SC",serif;letter-spacing:.1em}.auth-logo span{color:#bde3d3}.auth-brand p{font:italic 22px "KaiTi",serif;letter-spacing:.13em;color:#d1e3e1}.auth-panel{width:min(380px,80%);align-self:center;justify-self:center}.auth-panel h1{font:900 33px "Songti SC",serif;margin:10px 0 8px}.auth-panel p{color:var(--muted);margin:0 0 30px}.auth-panel label{display:grid;gap:7px;font-weight:800;margin-bottom:16px}.auth-panel input{padding:13px;border:1px solid #d7e3e4;border-radius:9px;outline:0}.auth-hint{font-size:12px;color:#9a6b42;margin-top:15px}#toast{position:fixed;bottom:20px;right:22px;background:#173e4d;color:#fff;padding:10px 16px;border-radius:8px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;z-index:30}#toast.show{opacity:1;transform:none}
@media(max-width:1390px){.desk-grid{grid-template-columns:240px minmax(0,1fr)}.right-col{grid-column:2;grid-template-columns:1fr 1fr}.share-card{height:250px}.topbar-name span{display:none}}@media(max-width:1000px){.fact-grid{grid-template-columns:1fr}.fact-card{min-height:0}}@media(max-width:800px){.shell{display:block}.sidebar{position:static;height:auto;min-height:0}.logo{height:auto;padding:12px 15px}.sidebar nav{display:flex;overflow:auto;padding:0 8px}.sidebar nav button{white-space:nowrap;width:auto;border-left:0;border-bottom:3px solid transparent;padding:10px}.sidebar nav button.active{border-bottom-color:#eacb96}.sidebar-bottom{display:none}.topbar{height:auto;padding:12px;flex-wrap:wrap}.topbar-tools{width:100%}.search-box{min-width:0;flex:1}.desk-grid{grid-template-columns:1fr}.queue-panel,.case-panel{min-height:0}.right-col{grid-column:1}.workflow{grid-template-columns:repeat(4,1fr)}.auth-page{grid-template-columns:1fr}.auth-brand{min-height:180px;padding:34px}.auth-panel{padding:35px 0}}@media(max-width:600px){main{padding:8px}.case-panel,.right-panel{padding:16px}.right-col{grid-template-columns:1fr}.fact-grid{grid-template-columns:1fr}.fields.two{grid-template-columns:1fr}.fields .full{grid-column:1}.tabs{gap:15px}.case-header{flex-wrap:wrap}.topbar-name b{font-size:17px}.workflow{grid-template-columns:repeat(2,1fr)}}
.notification{position:relative;border:0;background:none;color:#6d8190;font-size:24px;padding:0 4px}.notification i{position:absolute;right:1px;top:4px;width:7px;height:7px;border-radius:50%;background:#d85d42;border:1px solid white}
@media(max-width:800px){.desk-grid{grid-template-columns:minmax(0,1fr)}.desk-grid>*{min-width:0}.case-panel{overflow:hidden}.tabs{max-width:100%}.topbar-tools{min-width:0}.topbar-name{min-width:0}}
.flow-track{display:flex;gap:5px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:thin}.flow-track button{flex:0 0 auto;min-width:70px;border:1px solid #dce8e5;background:#f8fbf9;color:#6e817e;border-radius:8px;padding:7px 5px;font-size:11px;font-weight:800}.flow-track button b{display:block;font-size:13px}.flow-track button.active{background:#e2f1ec;border-color:#8dbdad;color:var(--green)}.flow-track button.done{background:#f1f7f2;color:#47866f}.flow-work{border:1px solid #e4ebe9;border-radius:10px;padding:17px;background:#fbfdfc}.flow-work-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.flow-work-head h2{font-size:17px;margin:0 0 12px}.flow-work .muted{font-size:12px;margin:0 0 12px}.flow-fields{display:grid;gap:13px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-grid>label:has(textarea){grid-column:span 2}.flow-subtitle{font-size:13px;font-weight:900;margin-top:3px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.fields .choice,.fields .flow-check{display:flex;align-items:flex-start;gap:8px;border:1px solid #e0e9e5;border-radius:8px;background:white;padding:9px;font-weight:600}.fields .choice input,.fields .flow-check input{width:auto;margin-top:3px}.choice small{display:block;color:var(--muted);font-weight:400}.flow-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:5px}.rule-result{border-radius:9px;background:#edf5f1;border:1px solid #d8e9df;padding:13px;margin-bottom:12px;font-size:12px}.rule-result p{margin:4px 0}.rule-result small{color:var(--green)}.rule-result.danger{background:#fff2e5;border-color:#f4d3ac}.phase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px}.phase-grid>div{background:#f3f8f5;border-radius:7px;padding:7px 9px;font-size:11px}.phase-grid b{color:var(--green);margin-right:7px}
@media(max-width:600px){.field-grid,.choice-grid,.phase-grid{grid-template-columns:1fr}.field-grid>label:has(textarea){grid-column:1}.flow-work{padding:12px}.flow-actions{justify-content:stretch}.flow-actions button{flex:1}}

::selection{background:#bfe2d6;color:#102d34}*{scrollbar-color:#9eb4b4 #eef2f1;scrollbar-width:thin}.ui-icon{width:19px;height:19px;display:block;flex:none}.planner-desk{grid-template-columns:minmax(230px,270px) minmax(620px,1fr) minmax(280px,320px)}.insight-surface{display:grid;gap:22px}.insight-summary{display:flex;justify-content:space-between;gap:28px;align-items:center;background:#102f3d;color:#fff;padding:22px 24px;border-radius:14px;box-shadow:0 10px 28px rgba(16,47,61,.18)}.insight-summary>div:first-child{max-width:670px}.insight-title{display:flex;align-items:center;gap:9px;font-weight:900;font-size:18px}.insight-title .ui-icon{color:#a8ded0}.insight-title em{font-style:normal;font-size:10px;font-weight:800;color:#0f493d;background:#cbe9df;padding:3px 7px;border-radius:5px}.insight-summary p{margin:9px 0 5px;color:#e8f2f1;font-size:13px;line-height:1.75}.insight-summary>div>small{color:#a9c5c6;font-size:10px}.readiness{min-width:120px;border-left:1px solid #ffffff26;padding-left:22px}.readiness span,.readiness small{display:block;color:#b9d0d1;font-size:11px}.readiness strong{display:block;font-size:34px;line-height:1.1;margin:5px 0;font-variant-numeric:tabular-nums}.insight-metrics{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line)}.insight-metrics>div{padding:14px 17px;border-right:1px solid var(--line)}.insight-metrics>div:last-child{border-right:0}.insight-metrics span{display:block;color:#6e7f8a;font-size:11px}.insight-metrics b{font-size:22px;font-variant-numeric:tabular-nums}.insight-metrics small{font-size:11px;margin-left:3px;color:#73858d}.insight-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(245px,.85fr);gap:24px}.insight-section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:10px}.insight-section-head h2,.interaction-head h2{font-size:16px;margin:0}.insight-section-head span,.interaction-head p{font-size:10px;color:#7d8d96;margin:0}.dimension-list{border-top:1px solid var(--line)}.dimension-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:16px;padding:12px 1px;border-bottom:1px solid var(--line)}.dimension-copy>div{display:flex;align-items:center;gap:8px}.dimension-copy b{font-size:13px}.dimension-copy p{margin:3px 0 0;color:#74858e;font-size:10px}.dimension-state{font-size:9px;padding:2px 6px;border-radius:4px;background:#edf1f2;color:#5d6e78}.dimension-state.stable{background:#e6f2ed;color:#296b58}.dimension-state.attention{background:#fff1d9;color:#8a5d19}.dimension-state.gap{background:#f8e6e3;color:#9a463d}.dimension-score{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px}.dimension-score>span{font-size:14px;font-weight:900;color:#244253;font-variant-numeric:tabular-nums}.dimension-track{height:5px;background:#edf1f2;overflow:hidden;border-radius:3px}.dimension-track i{display:block;height:100%;background:#2e7b69;border-radius:3px}.signal-list{display:grid;gap:7px}.signal{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.signal:last-child{border-bottom:0}.signal-icon{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:7px;background:#eef3f3;color:#55737b}.signal-icon .ui-icon{width:15px;height:15px}.signal.warning .signal-icon{background:#fff0d8;color:#9b671d}.signal.critical .signal-icon{background:#f8e2df;color:#a53e36}.signal.calm .signal-icon{background:#e5f2ec;color:#2f755d}.signal b{font-size:11px}.signal p{margin:2px 0 0;font-size:10px;line-height:1.55;color:#6b7e88}.interaction-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:9px}.interaction-head>span{font-size:10px;color:#527268;background:#edf4f1;padding:3px 7px;border-radius:5px}.agent-timeline{display:grid;gap:10px}.agent-turn{padding:14px 15px;background:#f7f9f9;border-radius:12px}.agent-turn-meta{display:flex;gap:9px;align-items:center}.agent-avatar{width:29px;height:29px;display:grid;place-items:center;background:#153b49;color:#fff;border-radius:8px;font-size:10px;font-weight:900}.agent-turn-meta b{display:block;font-size:11px}.agent-turn-meta small{display:block;font-size:9px;color:#829198}.agent-question{font-size:12px;font-weight:900;margin:10px 0 4px;color:#263f4c}.agent-answer{font-size:11px;color:#526873;line-height:1.7;margin:0}.agent-sources{font-size:9px;color:#397461;margin-top:7px}.interaction-empty,.insight-empty{text-align:center;padding:34px 20px;color:#71828b}.interaction-empty .ui-icon,.insight-empty .ui-icon{margin:0 auto 9px;color:#2f7666;width:25px;height:25px}.interaction-empty b,.insight-empty h2{display:block;margin:0 0 5px;color:#294451;font-size:14px}.interaction-empty p,.insight-empty p{max-width:430px;margin:auto;font-size:11px}.planner-sop{position:sticky;top:90px}.sop-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.sop-head>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#e4f0eb;color:#246a58}.sop-head h2{margin:0;font-size:16px}.sop-head p{font-size:10px;color:#7c8d95;margin:1px 0 0}.sop-list{display:grid}.sop-item{display:grid;grid-template-columns:27px 1fr;gap:9px;position:relative;padding:9px 0}.sop-item:after{content:"";position:absolute;left:13px;top:37px;bottom:-7px;width:1px;background:#dce5e4}.sop-item:last-child:after{display:none}.sop-item>span{width:27px;height:27px;border-radius:8px;background:#edf1f1;color:#6e7d82;display:grid;place-items:center;font-size:10px;font-weight:900;z-index:1}.sop-item>span .ui-icon{width:15px;height:15px}.sop-item.done>span{background:#dceee6;color:#246a54}.sop-item.current>span{background:#173f4c;color:#fff}.sop-item b{font-size:11px}.sop-item p{font-size:9px;color:#788990;line-height:1.5;margin:2px 0 0}.sop-notice{font-size:9px;line-height:1.55;color:#7a633c;background:#fff6e6;padding:9px 10px;border-radius:8px;margin:10px 0 12px}.planner-sop .outline.wide{margin-top:7px}.plan-insight{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#edf5f2;padding:12px 14px;border-radius:12px;margin-bottom:16px}.plan-insight>div{display:flex;align-items:flex-start;gap:9px}.plan-insight .ui-icon{color:#2c7563;margin-top:2px}.plan-insight b,.plan-insight small{display:block}.plan-insight small{color:#5c736f;font-size:10px;line-height:1.6;margin-top:2px}
@media(max-width:1360px){.planner-desk{grid-template-columns:240px minmax(560px,1fr)}.planner-desk .right-col{grid-column:2;grid-template-columns:1fr 1fr}.planner-desk .planner-sop{position:static}.insight-columns{grid-template-columns:1fr}}
@media(max-width:900px){.planner-desk{grid-template-columns:1fr}.planner-desk .right-col{grid-column:1;grid-template-columns:1fr}.insight-summary{align-items:flex-start}.insight-metrics{grid-template-columns:repeat(2,1fr)}.insight-metrics>div:nth-child(2){border-right:0}.insight-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.dimension-row{grid-template-columns:1fr 105px}}
@media(max-width:600px){.insight-summary{display:block;padding:18px}.readiness{border-left:0;border-top:1px solid #ffffff26;padding:13px 0 0;margin-top:13px}.insight-columns{gap:18px}.dimension-row{grid-template-columns:1fr}.dimension-score{grid-template-columns:28px 1fr}.plan-insight{align-items:flex-start;flex-direction:column}.planner-desk{display:block}.planner-desk>*{margin-bottom:10px}}
.tabs button,.queue-tabs button{border-bottom:0}.tabs button.active,.queue-tabs button.active{box-shadow:inset 0 -2px 0 var(--green)}
@media(max-width:800px){.sidebar nav button{border-bottom:0}.sidebar nav button.active{box-shadow:inset 0 -2px 0 #eacb96}}

/* 三角色操作流程 */
.role-flow{--role:#2f866b;display:grid;gap:16px}.role-flow.role-planner{--role:#3978a7}.role-flow.role-coach{--role:#c87932}.role-flow-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}.role-flow-heading h2{margin:0;font-size:22px}.role-status{font-size:11px;color:var(--role);background:color-mix(in srgb,var(--role) 10%,white);border:1px solid color-mix(in srgb,var(--role) 25%,white);padding:5px 9px;border-radius:999px;font-weight:800}.role-stage-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.role-stage-track button{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #dce7e5;background:#f8faf9;color:#687d80;border-radius:10px;padding:8px;text-align:left}.role-stage-track button b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;background:#e8eeee;font-size:10px}.role-stage-track button span{font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-stage-track button.active{border-color:var(--role);color:var(--role);box-shadow:0 0 0 2px color-mix(in srgb,var(--role) 10%,transparent)}.role-stage-track button.done b{background:var(--role);color:#fff}.role-guide{display:grid;grid-template-columns:1.1fr 1fr 1fr;background:#f5f8f7;border-radius:12px;padding:12px 14px;gap:0}.role-guide>div{padding:2px 13px;border-right:1px solid #dce5e3}.role-guide>div:first-child{padding-left:0}.role-guide>div:last-child{border-right:0}.role-guide small,.role-guide b,.role-guide span{display:block}.role-guide small{font-size:9px;color:var(--role);font-weight:900;margin-bottom:4px}.role-guide b,.role-guide span{font-size:11px;line-height:1.55}.role-pending,.role-risk{font-size:11px;line-height:1.65;padding:10px 12px;border-radius:9px}.role-pending{background:#fff6e7;color:#765d31;border:1px solid #f0dfbd}.role-pending b{margin-right:8px}.role-risk{background:#fbe9e6;color:#8d3931;border:1px solid #edc8c3;font-weight:800}.role-form{border:1px solid #e0e8e6;border-top:3px solid var(--role);border-radius:12px;padding:18px;background:#fff}.role-form-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.role-form-title small,.role-form-title span{color:#76898d;font-size:10px}.role-form-title h3{margin:2px 0 0;font-size:18px}.role-step-note{display:flex;align-items:baseline;gap:8px;margin:0 0 14px;padding:9px 11px;border-left:3px solid var(--role);border-radius:7px;background:#f5f8f7;font-size:10px;line-height:1.55;color:#667b80}.role-step-note b{flex:none;color:#294b55}.role-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.role-field-grid>label:has(textarea),.role-checks{grid-column:span 2}.role-checks{border:1px solid #dce5e3;border-radius:9px;padding:12px;margin:0}.role-checks legend{font-size:12px;font-weight:800;padding:0 4px}.role-checks label{display:inline-flex;align-items:center;gap:5px;margin:3px 13px 3px 0;font-size:11px}.role-checks input,.role-boolean input{width:auto}.role-boolean{display:flex!important;align-items:center;gap:8px;align-self:end;min-height:42px}.role-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.role-form input:focus,.role-form textarea:focus,.role-form select:focus{border-color:var(--role);box-shadow:0 0 0 3px color-mix(in srgb,var(--role) 11%,transparent)}
.role-overview{--role:#2f866b;border-top:3px solid var(--role)}.role-overview.role-planner{--role:#3978a7}.role-overview.role-coach{--role:#c87932}.role-overview-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.role-overview-head>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--role) 12%,white);color:var(--role);font-weight:900}.role-overview-head small{font-size:9px;color:var(--role);font-weight:900}.role-overview-head h2{margin:1px 0 0}.role-next{background:#f5f8f7;border-radius:10px;padding:11px;margin-bottom:10px}.role-next small,.role-next b{display:block}.role-next small{font-size:9px;color:var(--role)}.role-next b{font-size:13px;margin:3px 0}.role-next p{font-size:10px;color:#63777c;line-height:1.5;margin:0}.role-overview-risk{background:#fbe8e5;color:#8c3d35;border-radius:9px;padding:10px;font-size:10px;font-weight:800}.role-mini-steps{display:grid;gap:2px;margin:8px 0 14px}.role-mini-steps>div{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:6px;color:#78888d}.role-mini-steps span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#edf1f1;font-size:9px;font-weight:900}.role-mini-steps b{font-size:10px}.role-mini-steps .done,.role-mini-steps .current{color:#284851}.role-mini-steps .done span{background:color-mix(in srgb,var(--role) 14%,white);color:var(--role)}.role-mini-steps .current span{background:var(--role);color:#fff}.role-output-title{font-size:10px;font-weight:900;border-top:1px solid #e3e9e8;padding-top:11px}.role-output-list{padding-left:17px;margin:7px 0 12px;color:#62757b}.role-output-list li{font-size:10px;line-height:1.7}.role-overview .outline.wide{margin-top:7px}
.role-mini-steps small{display:block;margin-top:1px;color:#7b8c92;font-size:9px;line-height:1.45}

/* 远见桌宠助手 */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.pet-shell{--pet:#2f866b;--pet-soft:#e1f2eb;position:fixed;right:22px;bottom:18px;z-index:50;color:#203b45}.pet-shell.role-planner{--pet:#3978a7;--pet-soft:#e2eef7}.pet-shell.role-coach{--pet:#c87932;--pet-soft:#faeadb}.pet-launcher{position:relative;width:74px;height:74px;padding:0;border:0;background:transparent;filter:drop-shadow(0 8px 12px #173b4930);transition:transform 160ms ease}.pet-launcher:hover{transform:translateY(-3px)}.pet-launcher:active{transform:scale(.96)}.pet-launcher:focus-visible,.pet-panel button:focus-visible,.pet-panel input:focus-visible{outline:3px solid color-mix(in srgb,var(--pet) 40%,white);outline-offset:2px}.pet-launcher .pet-mascot{width:68px;height:68px}.pet-launcher-label{position:absolute;right:57px;bottom:17px;width:max-content;max-width:140px;border-radius:999px;padding:5px 9px;background:#fff;border:1px solid color-mix(in srgb,var(--pet) 25%,white);box-shadow:0 4px 14px #173b491c;font-size:10px;font-weight:900;color:var(--pet);opacity:0;transform:translateX(5px);transition:.16s;pointer-events:none}.pet-launcher:hover .pet-launcher-label,.pet-shell.is-thinking .pet-launcher-label,.pet-shell.is-success .pet-launcher-label,.pet-shell.is-error .pet-launcher-label{opacity:1;transform:none}.pet-launcher>i{position:absolute;right:4px;top:5px;width:11px;height:11px;border-radius:50%;background:#dc674f;border:2px solid white}.pet-mascot{overflow:visible}.pet-shadow{stroke:#193e4d26;stroke-width:6;stroke-linecap:round}.pet-body{fill:var(--pet)}.pet-face{fill:#fff7ec}.pet-mascot circle{fill:#27404a}.pet-smile{fill:none;stroke:#27404a;stroke-width:2;stroke-linecap:round}.pet-badge-bg{fill:#fff!important;stroke:var(--pet);stroke-width:2}.pet-badge{fill:none;stroke:var(--pet);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pet-panel{position:absolute;right:0;bottom:82px;width:360px;max-height:min(680px,calc(100vh - 120px));overflow:auto;background:#fff;border:1px solid #d8e4e2;border-radius:18px;box-shadow:0 22px 60px #13344138}.pet-panel header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:14px 14px 11px;border-bottom:1px solid #edf1f0}.pet-panel header>div{display:flex;align-items:center;min-width:0}.pet-panel header .pet-mascot{width:45px;height:45px;flex:none}.pet-panel header span{min-width:0}.pet-panel header b,.pet-panel header small{display:block}.pet-panel header b{font-size:13px}.pet-panel header small{font-size:9px;color:#75878d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:245px;margin-top:2px}.pet-panel header>button{width:30px;height:30px;border:0;border-radius:8px;background:#edf2f1;font-size:19px;color:#567078}.pet-guide{margin:12px 14px;background:var(--pet-soft);border-radius:12px;padding:12px}.pet-guide small,.pet-guide b,.pet-guide span{display:block}.pet-guide small{font-size:9px;color:var(--pet);font-weight:900}.pet-guide b{font-size:13px;margin:4px 0}.pet-guide p,.pet-guide span{font-size:10px;line-height:1.55;margin:0;color:#546c73}.pet-guide span{margin-top:7px;font-weight:800}.pet-safety{display:grid;gap:4px;margin:12px 14px;padding:11px;border-radius:10px;background:#fbe8e5;color:#883d35;border:1px solid #efc8c2;font-size:10px;line-height:1.5}.pet-safety b{font-size:12px}.pet-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 14px 12px}.pet-actions button{border:1px solid color-mix(in srgb,var(--pet) 25%,white);background:#fff;color:var(--pet);border-radius:8px;padding:7px 4px;font-size:10px;font-weight:900}.pet-actions button:first-child{background:var(--pet);color:#fff}.pet-actions button:disabled{opacity:.4}.pet-conversation{padding:0 14px;display:grid;gap:8px}.pet-history details{border-bottom:1px solid #e7edec;padding:7px 1px}.pet-history summary{font-size:10px;font-weight:800;cursor:pointer;color:#4c656c}.pet-history p{font-size:10px;line-height:1.6;color:#62767c;white-space:pre-line;max-height:105px;overflow:auto}.pet-result{background:#f7f9f9;border:1px solid #e2e8e7;border-radius:11px;padding:11px}.pet-result.danger{background:#fbe9e6;border-color:#efc9c3;color:#873a34}.pet-result-head{display:flex;justify-content:space-between;gap:8px}.pet-result-head b{font-size:11px}.pet-result-head span{font-size:9px;color:var(--pet);font-weight:900}.pet-result p,.pet-result li{font-size:10px;line-height:1.6;color:#50676e}.pet-result p{white-space:pre-line}.pet-result ul{padding-left:16px}.pet-products{display:grid;gap:5px}.pet-products>div{background:#fff;border-radius:7px;padding:7px}.pet-products b,.pet-products span{display:block}.pet-products b{font-size:10px}.pet-products span{font-size:9px;color:var(--pet);margin-top:2px}.pet-input{position:sticky;bottom:0;display:flex;gap:6px;padding:12px 14px 14px;background:#fff}.pet-input input{min-width:0;flex:1;border:1px solid #d8e3e1;border-radius:10px;padding:10px;font-size:11px}.pet-input button{width:38px;border:0;border-radius:10px;background:var(--pet);color:#fff;font-weight:900}.pet-thinking{display:flex;align-items:center;gap:4px;padding:9px;font-size:10px;color:#61777d}.pet-thinking i{width:5px;height:5px;border-radius:50%;background:var(--pet);animation:pet-dot .8s infinite alternate}.pet-thinking i:nth-child(2){animation-delay:.14s}.pet-thinking i:nth-child(3){animation-delay:.28s}.pet-thinking span{margin-left:4px}.pet-error{background:#fbe9e6;color:#8a3c35;padding:9px;border-radius:8px;font-size:10px}.pet-empty{padding:28px 20px;text-align:center}.pet-empty b{font-size:13px}.pet-empty p{font-size:10px;color:#6a7c82}.pet-shell.is-success .pet-launcher{animation:pet-success 180ms ease}.pet-shell.is-error .pet-launcher{animation:pet-error 180ms ease}
.pet-answer{font-size:11px!important;line-height:1.75!important;color:#2f4a55!important;margin:9px 0}.pet-more{margin-top:9px;border-top:1px solid #e2e9e7;padding-top:8px}.pet-more summary{cursor:pointer;color:var(--pet);font-size:10px;font-weight:900}.pet-more ul{margin:6px 0 0}.pet-more .pet-products{margin-top:7px}.pet-result-sources{margin-top:8px;color:#7d8d91;font-size:8px;line-height:1.5}
.pet-role-output{display:grid;gap:7px;margin-top:10px;padding:10px;border-radius:10px;background:var(--pet-soft);border:1px solid color-mix(in srgb,var(--pet) 18%,white)}.pet-role-output>small{color:var(--pet);font-size:9px;font-weight:900;letter-spacing:.04em}.pet-role-output>p{margin:0!important;color:#294851!important}.pet-reasoning article{display:grid;gap:5px;padding:8px;border-radius:8px;background:#fff}.pet-reasoning article+article{margin-top:2px}.pet-reasoning article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.pet-reasoning article b{font-size:10px}.pet-reasoning article em{font-size:8px;font-style:normal;color:var(--pet);white-space:nowrap}.pet-reasoning article p{margin:0!important;font-size:9px!important}.pet-reasoning article strong{display:inline-block;min-width:38px;color:var(--pet);font-size:8px}.pet-reasoning details summary,.pet-coach-output details summary{cursor:pointer;color:var(--pet);font-size:9px;font-weight:800}.pet-coach-output>div{padding:7px 8px;border-radius:8px;background:#fff}.pet-coach-output>div b,.pet-coach-output>div span{display:block}.pet-coach-output>div b{font-size:9px;color:var(--pet)}.pet-coach-output>div p{margin:3px 0!important}.pet-coach-output>div span{font-size:8px;line-height:1.55;color:#62767c}.pet-coach-output details p{margin:5px 0 0!important}
.pet-mascot{position:relative;display:inline-block;isolation:isolate;overflow:visible;flex:none}.pet-sprite-clip{position:absolute;inset:0;overflow:hidden}.pet-sprite-clip img{position:absolute;left:0;width:800%;height:1100%;max-width:none;user-select:none;pointer-events:none;top:calc(var(--sprite-row,0)*-100%);transform:translate3d(0,0,0);animation-iteration-count:infinite;animation-timing-function:steps(var(--sprite-frames,7),end)}.pet-animation-idle{--sprite-row:0;--sprite-frames:7}.pet-animation-idle img{animation-name:pet-sprite-7;animation-duration:3.6s}.pet-animation-waving{--sprite-row:3;--sprite-frames:4}.pet-animation-waving img{animation-name:pet-sprite-4;animation-duration:1.4s}.pet-animation-review{--sprite-row:8;--sprite-frames:6}.pet-animation-review img{animation-name:pet-sprite-6;animation-duration:1.8s}.pet-animation-jumping{--sprite-row:4;--sprite-frames:5}.pet-animation-jumping img{animation-name:pet-sprite-5;animation-duration:.9s;animation-iteration-count:2}.pet-animation-failed{--sprite-row:5;--sprite-frames:8}.pet-animation-failed img{animation-name:pet-sprite-8;animation-duration:1.5s;animation-iteration-count:2}.pet-role-badge{position:absolute;right:-2px;top:-1px;width:22px;height:22px;filter:drop-shadow(0 2px 3px #173b4930)}.pet-role-badge circle{fill:#fff;stroke:var(--pet);stroke-width:2}.pet-role-badge g{fill:none;stroke:var(--pet);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pet-launcher .pet-mascot{width:68px;height:74px}.pet-panel header .pet-mascot{width:42px;height:46px;margin-right:5px}.pet-attribution{padding:8px 14px 0;color:#8a999d;font-size:8px;text-align:center}.pet-attribution a{color:inherit;text-decoration:underline;text-underline-offset:2px}.pet-input{padding-top:8px}
@keyframes pet-sprite-4{to{transform:translate3d(-50%,0,0)}}@keyframes pet-sprite-5{to{transform:translate3d(-62.5%,0,0)}}@keyframes pet-sprite-6{to{transform:translate3d(-75%,0,0)}}@keyframes pet-sprite-7{to{transform:translate3d(-87.5%,0,0)}}@keyframes pet-sprite-8{to{transform:translate3d(-100%,0,0)}}
@keyframes pet-dot{to{transform:translateY(-3px);opacity:.45}}@keyframes pet-success{50%{transform:scale(1.07)}}@keyframes pet-error{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
.pet-target-banner{position:relative;margin:0 0 10px;padding:9px 12px 9px 34px;border:1px solid color-mix(in srgb,var(--green) 28%,white);border-radius:10px;background:#edf7f3;color:#285d50;font-size:11px;font-weight:800;box-shadow:0 5px 18px #153b4920}.pet-target-banner:before{content:"✦";position:absolute;left:12px;top:8px;color:var(--green);font-size:14px}.pet-target-highlight{position:relative;border-radius:12px;box-shadow:0 0 0 4px #79b9a55c,0 12px 28px #163d4a24!important;animation:pet-target-pulse 1.15s ease-in-out 2}.pet-target-highlight input:focus,.pet-target-highlight textarea:focus,.pet-target-highlight select:focus{box-shadow:0 0 0 3px #aadacb!important}@keyframes pet-target-pulse{50%{box-shadow:0 0 0 8px #79b9a52b,0 14px 32px #163d4a2b}}
@media(max-width:700px){.role-stage-track{display:flex;overflow-x:auto}.role-stage-track button{flex:0 0 112px}.role-guide{grid-template-columns:1fr;gap:9px}.role-guide>div{border-right:0;border-bottom:1px solid #dce5e3;padding:0 0 9px}.role-guide>div:last-child{border-bottom:0;padding-bottom:0}.role-field-grid{grid-template-columns:1fr}.role-field-grid>label:has(textarea),.role-checks{grid-column:1}.role-form-actions button{flex:1}.pet-shell{right:10px;bottom:10px}.pet-launcher{width:66px;height:66px}.pet-launcher .pet-mascot{width:62px;height:62px}.pet-panel{position:fixed;left:0;right:0;bottom:0;width:auto;max-height:82vh;border-radius:18px 18px 0 0}.pet-shell.open .pet-launcher{opacity:0;pointer-events:none}.pet-panel header small{max-width:calc(100vw - 130px)}}
@media(prefers-reduced-motion:reduce){.pet-launcher,.pet-launcher-label{transition:none}.pet-shell.is-success .pet-launcher,.pet-shell.is-error .pet-launcher,.pet-thinking i,.pet-target-highlight,.pet-sprite-clip img{animation:none}}

/* Desktop layout polish: use the full canvas and dock the assistant intentionally. */
main{width:100%;max-width:none;margin:0}
.desk-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr) minmax(285px,340px)}
.planner-desk{grid-template-columns:minmax(230px,270px) minmax(0,1fr) minmax(280px,320px)}
.queue-tabs button{display:flex;flex:1;align-items:center;justify-content:center;padding-inline:8px}
.queue-line>span{min-width:0}
.tabs{gap:clamp(10px,1.15vw,20px);overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex:0 0 auto;font-size:12px}
.pet-shell{right:18px}
.pet-panel{position:fixed;right:18px;top:auto;bottom:96px;width:340px;max-height:calc(100vh - 126px)}
.pet-shell.open .pet-launcher{opacity:0;pointer-events:none}
.pet-role-switch{padding:11px 14px 0}
.pet-role-switch>small{display:block;margin-bottom:6px;color:#71838a;font-size:9px;font-weight:800}
.pet-role-switch>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pet-role-switch button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:7px 5px;border:1px solid #dce6e4;border-radius:9px;background:#f7f9f9;color:#64787d}
.pet-role-switch button span{font-size:13px}
.pet-role-switch button b{font-size:10px;white-space:nowrap}
.pet-role-switch button.active{border-color:var(--pet);background:var(--pet-soft);color:var(--pet);box-shadow:0 0 0 1px color-mix(in srgb,var(--pet) 12%,transparent)}
.pet-role-switch button:disabled{opacity:.55}

@media(max-width:1390px){
  .desk-grid,.planner-desk{grid-template-columns:240px minmax(0,1fr)}
  .right-col,.planner-desk .right-col{grid-column:2;grid-template-columns:1fr}
  .planner-desk .planner-sop{position:static}
}

@media(max-width:800px){
  .desk-grid,.planner-desk{grid-template-columns:minmax(0,1fr)}
  .right-col,.planner-desk .right-col{grid-column:1}
  .pet-panel{left:0;right:0;top:auto;bottom:0;width:auto;max-height:82vh;border-radius:18px 18px 0 0}
}

/* V2：唯一客户中心、今天待办与顺序服务流程 */
.v2-desk{display:grid;grid-template-columns:minmax(245px,300px) minmax(0,1fr);gap:16px;align-items:start}.v2-desk .case-panel{min-width:0}.today-page{display:grid;gap:16px}.today-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border-radius:18px;background:linear-gradient(120deg,#123744,#1d5a61);color:#fff;box-shadow:0 14px 38px #173b4920}.today-hero h1{margin:5px 0 8px;font-size:28px}.today-hero p{margin:0;color:#d8e8e7}.today-count{min-width:128px;padding:16px 20px;border-left:1px solid #ffffff35}.today-count b,.today-count span{display:block}.today-count b{font-size:36px}.today-count span{font-size:11px;color:#d8e8e7}.today-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:16px;align-items:start}.today-grid>.panel,.today-grid>aside>.panel{padding:16px}.today-grid>aside{display:grid;gap:16px}.today-grid .section-title{margin-top:16px}.today-grid .section-title:first-child{margin-top:0}.today-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.today-task-list.compact{grid-template-columns:1fr}.today-task-list>.today-empty{grid-column:1/-1;display:grid;place-items:center;min-height:48px;padding:12px}.today-task{position:relative;display:grid;gap:6px;text-align:left;border:1px solid #dce6e4;border-radius:12px;background:#f8fbfa;padding:14px;color:#254550}.today-task:hover{border-color:#79aa9b;box-shadow:0 8px 24px #173b4912}.today-task>span{font-size:11px;color:#61777d}.today-task>b{font-size:14px}.today-task>small{font-size:9px;color:#7a8b90}.today-task>em{font-style:normal;font-size:9px;color:#9a6726;background:#fff0d3;border-radius:999px;padding:3px 7px;width:max-content}.today-task.danger{border-color:#e3a8a0;background:#fff5f3}.recent-list{display:grid;gap:7px}.recent-customer{border:1px solid #dfe8e6;border-radius:10px;background:#fff;padding:10px 12px;text-align:left;color:#31525b}.recent-customer:hover{border-color:#73a896;background:#f3f9f6}.recent-customer{display:grid;grid-template-columns:1fr auto;gap:2px 10px}.recent-customer b{font-size:11px}.recent-customer span,.recent-customer small{font-size:9px;color:#74878c}.recent-customer small{grid-column:2;grid-row:1/3}.module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 0 15px}.module-head h2{margin:3px 0 5px;font-size:23px}.module-head p{margin:0;color:#6c7f84;font-size:11px}.customer-tabs{margin-top:4px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e1e8e7;border-radius:12px;overflow:hidden;margin-bottom:18px}.summary-grid>div{padding:14px;border-right:1px solid #e1e8e7}.summary-grid>div:last-child{border-right:0}.summary-grid small,.summary-grid b{display:block}.summary-grid small{font-size:9px;color:#74868b}.summary-grid b{margin-top:5px;font-size:15px}.detail-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.profile-list{display:grid;gap:0;margin:0}.profile-list>div{display:grid;grid-template-columns:105px 1fr;gap:15px;padding:11px 0;border-bottom:1px solid #e7edec}.profile-list dt{font-size:10px;color:#75868c}.profile-list dd{margin:0;font-size:11px;line-height:1.65;color:#334f58}.service-card-list{display:grid;gap:8px}.service-card-list button{display:grid;grid-template-columns:1fr auto;gap:4px 10px;border:1px solid #dfe7e6;border-radius:10px;background:#fff;padding:11px;text-align:left}.service-card-list button>span{font-size:12px;font-weight:800;color:#294b55}.service-card-list button>small{grid-column:1/3;font-size:9px;color:#75878c}.timeline{display:grid}.timeline article{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #e7edec}.timeline article>i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e3f0eb;color:#256c56;font-style:normal;font-weight:900}.timeline article>div>div{display:flex;align-items:center;gap:8px}.timeline b{font-size:11px}.timeline span,.timeline small{font-size:9px;color:#809094}.timeline p{font-size:11px;line-height:1.65;color:#3d5961;margin:5px 0}.empty-service{display:grid;place-items:center;text-align:center;gap:8px;min-height:300px;border:1px dashed #cad9d6;border-radius:14px;background:#f8faf9;padding:30px}.empty-service b{font-size:18px}.empty-service p{max-width:520px;color:#73868b;font-size:11px;line-height:1.7}.v2-stage-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.v2-stage-track button{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #dce7e5;background:#f8faf9;color:#687d80;border-radius:10px;padding:8px;text-align:left}.v2-stage-track button b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;background:#e8eeee;font-size:10px}.v2-stage-track button span{font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis}.v2-stage-track button.active{border-color:var(--role);color:var(--role);box-shadow:0 0 0 2px color-mix(in srgb,var(--role) 10%,transparent)}.v2-stage-track button.done b{background:var(--role);color:#fff}.flow-complete{display:flex;align-items:center;gap:12px;border:1px solid #cce0da;border-radius:12px;background:#eef7f3;padding:14px}.flow-complete b,.flow-complete span{display:block}.flow-complete b{font-size:12px}.flow-complete span{flex:1;font-size:10px;color:#59716a}.draft-list{display:grid;gap:9px}.draft-list article{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border:1px solid #e0e8e6;border-left:3px solid #3978a7;border-radius:10px;padding:12px}.draft-list article>div:first-child{min-width:0}.draft-list b{font-size:12px}.draft-list p{max-height:95px;overflow:auto;font-size:10px;line-height:1.6;color:#5d7278}.draft-list article>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:210px}.pet-draft{margin:8px 0;border:1px solid color-mix(in srgb,var(--pet) 32%,white);border-radius:10px;background:var(--pet-soft);padding:10px}.pet-draft small,.pet-draft b,.pet-draft p{display:block}.pet-draft small{font-size:8px;color:var(--pet);font-weight:900}.pet-draft b{font-size:11px;margin-top:3px}.pet-draft p{font-size:9px;color:#60747a}.pet-draft button{width:100%;border:0;border-radius:8px;background:var(--pet);color:#fff;padding:7px;font-size:10px;font-weight:900}
.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}

/* 客户中心AI洞察：只展示可追溯证据，不使用机械评分。 */
.customer-insight-surface{display:grid;gap:18px}.customer-insight-hero{padding:20px 22px;border-radius:14px;background:linear-gradient(125deg,#123744,#1d5a61);color:#fff;box-shadow:0 10px 28px #173b4920}.customer-insight-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-insight-title>span{font-size:18px;font-weight:900}.customer-insight-title .badge{background:#dcefe8;color:#1f6957}.customer-insight-hero p{margin:9px 0 5px;color:#edf6f4;font-size:13px;line-height:1.75}.customer-insight-hero small{color:#bad1cf;font-size:9px;line-height:1.6}.customer-insight-metrics{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #e0e8e6;border-radius:12px}.customer-insight-metrics>div{padding:13px 15px;border-right:1px solid #e0e8e6}.customer-insight-metrics>div:last-child{border-right:0}.customer-insight-metrics small,.customer-insight-metrics b{display:block}.customer-insight-metrics small{color:#74868b;font-size:9px}.customer-insight-metrics b{margin-top:3px;color:#254b55;font-size:21px}.customer-insight-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.customer-insight-list{display:grid;border-top:1px solid #e4ebe9}.customer-insight-list article{display:grid;grid-template-columns:12px 1fr;gap:6px;padding:10px 1px;border-bottom:1px solid #e4ebe9}.customer-insight-list article>span{color:var(--green);font-weight:900}.customer-insight-list p{margin:0;color:#34515a;font-size:11px;line-height:1.65}.customer-insight-list small{display:block;margin-top:3px;color:#7a8d91;font-size:8px}.customer-insight-empty{padding:14px;border:1px dashed #cfddda;border-radius:10px;background:#fafcfc;color:#75878c;font-size:10px;line-height:1.6}.customer-insight-empty-state{display:grid;place-items:center;min-height:260px;padding:30px;text-align:center;border:1px dashed #cbdad7;border-radius:13px}.customer-insight-empty-state b{font-size:16px}.customer-insight-empty-state p{color:#71858a;font-size:11px}.customer-insight-empty-state.danger{border-color:#e5b8b1;background:#fff7f5}.customer-assessment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-assessment-insight{border:1px solid #dfe8e6;border-radius:12px;background:#fbfdfc;padding:13px}.customer-assessment-insight header>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-assessment-insight header b{font-size:12px;color:#294b55}.customer-assessment-insight header span{flex:none;padding:3px 6px;border-radius:999px;background:#e8f2ee;color:#2b6c5b;font-size:8px;font-weight:800}.customer-assessment-insight dl{display:grid;gap:7px;margin:11px 0 0}.customer-assessment-insight dl>div{display:grid;grid-template-columns:72px 1fr;gap:8px;padding-top:7px;border-top:1px solid #e5ecea}.customer-assessment-insight dt{color:#2d7462;font-size:8px;font-weight:900}.customer-assessment-insight dd{margin:0;color:#496168;font-size:9px;line-height:1.6}.customer-insight-risks{display:grid;gap:8px}.customer-insight-risk{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:10px;border-radius:10px;background:#f4f8f6}.customer-insight-risk i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#dfeee8;color:#246a58;font-style:normal;font-weight:900}.customer-insight-risk b{font-size:10px}.customer-insight-risk p{margin:3px 0 0;color:#61767c;font-size:9px;line-height:1.55}.customer-insight-risk.warning{background:#fff7e8}.customer-insight-risk.warning i{background:#fbe8c5;color:#93621e}.customer-insight-risk.critical{background:#fff0ed}.customer-insight-risk.critical i{background:#f4d9d4;color:#a33e35}.customer-insight-sources{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding-top:12px;border-top:1px solid #e2e9e7}.customer-insight-sources b{margin-right:3px;color:#526b71;font-size:9px}.customer-insight-sources span{padding:4px 7px;border-radius:999px;background:#edf4f1;color:#54746b;font-size:8px}
@media(max-width:1180px){.today-grid{grid-template-columns:1fr}.today-grid>aside{grid-template-columns:1fr 1fr}.summary-grid{grid-template-columns:repeat(2,1fr)}.summary-grid>div:nth-child(2){border-right:0}.summary-grid>div:nth-child(-n+2){border-bottom:1px solid #e1e8e7}.v2-stage-track{display:flex;overflow-x:auto}.v2-stage-track button{flex:0 0 138px}}
@media(max-width:800px){.v2-desk{grid-template-columns:1fr}.today-hero{align-items:flex-start;padding:20px}.today-count{border-left:0;border-top:1px solid #ffffff35}.today-task-list,.today-grid>aside,.detail-columns,.customer-insight-columns,.customer-assessment-grid{grid-template-columns:1fr}.summary-grid,.customer-insight-metrics{grid-template-columns:1fr}.summary-grid>div,.customer-insight-metrics>div{border-right:0;border-bottom:1px solid #e1e8e7}.customer-insight-metrics>div:last-child{border-bottom:0}.customer-insight-title{align-items:flex-start;flex-direction:column}.flow-complete{align-items:flex-start;flex-direction:column}.draft-list article{flex-direction:column}.draft-list article>div:last-child{min-width:0;justify-content:flex-start}}

/* v0.4 远见助手：当前会话、单一成果与对象级操作 */
.pet-panel{display:flex;flex-direction:column;overflow:hidden;width:380px;max-height:calc(100vh - 126px)}
.pet-panel>.pet-panel-head{position:static;flex:none;padding:12px 14px}
.pet-head-actions{display:flex!important;align-items:center;gap:5px;flex:none}
.pet-head-actions button{width:auto!important;height:30px;border:0;border-radius:8px;background:#edf2f1;color:#567078;padding:0 9px;font-size:9px;font-weight:800}
.pet-head-actions button:last-child{width:30px!important;padding:0;font-size:18px}
.pet-context{display:grid;gap:2px;margin:10px 14px 4px;padding:9px 11px;border-radius:9px;background:#f2f6f5;border:1px solid #e0e9e7}
.pet-context span{font-size:10px;font-weight:900;color:#35545c}
.pet-context small{font-size:8px;color:#75868b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pet-conversation{flex:1;min-height:160px;overflow:auto;padding:10px 14px 4px;align-content:start}
.pet-starter{display:grid;gap:7px;padding:12px;border:1px dashed #cddbd8;border-radius:11px;background:#fbfdfc}
.pet-starter b{font-size:10px;color:#60747a}
.pet-starter button,.pet-followups button{border:1px solid color-mix(in srgb,var(--pet) 18%,white);border-radius:9px;background:#fff;color:#46646b;padding:8px 9px;text-align:left;font-size:9px;line-height:1.5}
.pet-starter button:hover,.pet-followups button:hover{border-color:var(--pet);color:var(--pet);background:var(--pet-soft)}
.pet-turn{display:grid;gap:6px;margin-bottom:13px}
.pet-user-message{justify-self:end;max-width:88%;padding:8px 10px;border-radius:11px 11px 3px 11px;background:var(--pet);color:#fff;font-size:10px;line-height:1.55;white-space:pre-line}
.pet-assistant-message{display:grid;gap:7px;max-width:94%;padding:10px 11px;border:1px solid #e0e8e6;border-radius:3px 11px 11px;background:#f8faf9;color:#38545d}
.pet-assistant-message>p{margin:0;font-size:10px;line-height:1.7;white-space:pre-line}
.pet-assistant-message.danger{border-color:#efc8c2;background:#fbe8e5;color:#883d35}
.pet-clarifications{margin:0;padding-left:20px;font-size:9px;line-height:1.7}
.pet-followups{display:flex;flex-wrap:wrap;gap:5px;margin-left:6%}
.pet-followups button{padding:5px 8px;border-radius:999px}
.pet-sources{border-top:1px solid #e0e8e6;padding-top:6px}
.pet-sources summary{cursor:pointer;color:#6d8186;font-size:8px;font-weight:800}
.pet-sources p{margin:4px 0 0!important;color:#849397!important;font-size:8px!important}
.pet-artifact{display:grid;gap:8px;margin-top:2px;padding:10px;border:1px solid color-mix(in srgb,var(--pet) 22%,white);border-radius:10px;background:var(--pet-soft)}
.pet-panel .pet-artifact>header{position:static;display:flex;align-items:center;justify-content:space-between;padding:0;border:0;background:transparent}
.pet-panel .pet-artifact>header>div{display:block;min-width:0}
.pet-artifact header small,.pet-artifact header b{display:block}
.pet-artifact header small{color:var(--pet);font-size:7px;font-weight:900;letter-spacing:.08em}
.pet-artifact header b{font-size:11px;margin-top:1px}
.pet-artifact p,.pet-artifact li,.pet-artifact dd,.pet-artifact dt{font-size:9px;line-height:1.65}
.pet-artifact p{margin:0;white-space:pre-line}.pet-artifact ul,.pet-artifact ol{margin:0;padding-left:18px}
.pet-artifact details summary{cursor:pointer;color:var(--pet);font-size:8px;font-weight:900}
.pet-artifact-copy{padding:9px;border-radius:8px;background:#fff;color:#294851}
.pet-icon-action{display:grid;place-items:center;flex:none;width:27px!important;height:27px!important;padding:0!important;border:1px solid color-mix(in srgb,var(--pet) 28%,white)!important;border-radius:7px!important;background:#fff!important;color:var(--pet)!important;font-size:13px!important}
.pet-compare,.pet-insights{display:grid;gap:6px}.pet-compare article,.pet-insights article{padding:8px;border-radius:8px;background:#fff}
.pet-compare article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.pet-compare article p{margin:3px 0}.pet-compare article span{font-size:8px;color:var(--pet);font-weight:800}
.pet-insights article>p{display:grid;grid-template-columns:34px 1fr;gap:4px;margin:4px 0}.pet-insights strong{color:var(--pet);font-size:8px}
.pet-artifact dl{display:grid;gap:5px;margin:0}.pet-artifact dl>div{display:grid;grid-template-columns:56px 1fr;gap:6px;padding:6px 7px;border-radius:7px;background:#fff}.pet-artifact dt{color:var(--pet);font-weight:900}.pet-artifact dd{margin:0}
.pet-artifact-actions{display:flex;flex-wrap:wrap;gap:5px;border-top:1px solid color-mix(in srgb,var(--pet) 16%,white);padding-top:8px}
.pet-artifact-actions button,.pet-navigation{border:1px solid color-mix(in srgb,var(--pet) 28%,white);border-radius:7px;background:#fff;color:var(--pet);padding:6px 8px;font-size:8px;font-weight:900}
.pet-artifact-actions button:first-child,.pet-navigation{background:var(--pet);color:#fff}
.pet-draft-state{border-top:1px solid color-mix(in srgb,var(--pet) 16%,white);padding-top:8px;color:var(--pet);font-size:8px;font-weight:900}
.pet-llm-warning{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding:7px 8px;border-radius:7px;background:#fff2df;color:#8a5a1f;font-size:8px}.pet-llm-warning button{border:0;background:transparent;color:inherit;font-weight:900;text-decoration:underline}
.pet-editing{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 14px 0;padding:7px 9px;border-radius:8px;background:var(--pet-soft);color:var(--pet);font-size:9px;font-weight:800}
.pet-editing button{border:0;background:transparent;color:inherit;font-size:15px}
.pet-input{flex:none;border-top:1px solid #edf1f0;padding:10px 14px 12px}
.pet-input input{font-size:10px}.pet-input button{flex:none}
@media(max-width:800px){.pet-panel{width:auto;max-height:82vh}.pet-conversation{min-height:200px}}
