:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#363636;background:#f4f4f4;font-synthesis:none;font-size:14px;--ink:#363636;--muted:#7f7f7f;--line:#e5e5e5;--paper:#ffffff;--green:#6d6d6d;--soft:#ededed}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{border:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:18px;font-weight:600}h3{font-size:15px;font-weight:600}p{line-height:1.8}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;color:#7a7a7a;margin-bottom:12px}.small{font-size:12px}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:#2f2f2f;color:#dfdfdf;padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;margin:0 8px 28px}.brandmark{display:grid;grid-template-columns:repeat(2,7px);gap:3px;background:#d2d2d2;padding:10px;border-radius:10px}.brandmark i{display:block;background:#424242;width:7px;height:7px}.brand strong{font-size:18px;color:white;letter-spacing:1px}.brand small{display:block;font-size:10px;color:#adadad;letter-spacing:2px;margin-top:5px}.navcaption{font-size:10px;color:#9c9c9c;letter-spacing:1.8px;margin:20px 12px 8px}.navitem{display:flex;align-items:center;gap:12px;color:#c9c9c9;width:100%;border-radius:8px;background:transparent;text-align:left;padding:12px;margin:3px 0}.navitem:hover{background:#3f3f3f}.navitem.active{background:#e3e3e3;color:#383838;font-weight:650}.navicon{display:inline-flex;align-items:center;justify-content:center;width:21px;font-size:17px}.sidefoot{margin-top:auto;padding:24px 10px 0;font-size:12px;color:#a8a8a8;line-height:1.7}.sidefoot strong{display:block;color:#dddddd;font-weight:500}.dot{display:inline-block;width:7px;height:7px;background:#ababab;border-radius:50%;margin-right:6px}.main{min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);background:#fbfbfb;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.breadcrumb{font-size:13px;color:#929292}.breadcrumb strong{font-weight:500;color:#454545}.topright{display:flex;gap:16px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:#e6e6e6;display:grid;place-items:center;color:#626262}.user-name{font-size:12px}.topright select{max-width:180px;background:transparent;border:1px solid var(--line);padding:8px;border-radius:6px}.content{max-width:1540px;margin:auto;padding:34px 40px 48px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.pagehead p{margin-top:8px;font-size:13px;color:var(--muted)}.primary,.secondary,.ghost{padding:10px 16px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;white-space:nowrap}.primary{background:var(--ink);color:white}.primary:hover{background:#4d4d4d}.secondary{background:white;border:1px solid #e0e0e0;color:#4d4d4d}.ghost{background:transparent;color:#7c7c7c;padding:7px 10px}.hero{background:#ececec;border:1px solid #e2e2e2;border-radius:13px;padding:27px 30px;display:grid;grid-template-columns:1fr 270px;gap:20px;position:relative;overflow:hidden;margin-bottom:25px}.hero h2{font-size:24px;line-height:1.5;color:#414141;font-weight:550;margin-bottom:10px}.hero p{max-width:610px;color:#777777;font-size:13px}.hero .eyebrow{color:#7d7d7d;margin-bottom:8px}.heroflow{display:flex;align-items:center;gap:10px;justify-content:center;position:relative}.flowcenter,.flowmini{border:1px solid #cacaca;background:#f5f5f5;border-radius:12px;text-align:center;padding:16px;color:#595959}.flowcenter{font-size:17px;box-shadow:0 6px 15px #4e4e4e08}.flowmini{font-size:12px;padding:12px;margin:8px 0}.flowline{color:#909090}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);padding:19px 22px;border-radius:10px}.statlabel{display:flex;justify-content:space-between;color:#828282;font-size:12px}.stat strong{display:block;font-size:30px;line-height:1.4;font-weight:550;color:#3d3d3d;margin-top:8px;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:#9e9e9e}.sectiontitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:16px}.sectiontitle span{font-size:12px;color:#949494}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.module{border:1px solid var(--line);border-radius:10px;padding:22px;background:white;display:flex;flex-direction:column;min-height:180px;transition:transform .15s,border-color .15s}.module:hover{border-color:#c4c4c4;transform:translateY(-2px)}.module-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.module-icon{width:39px;height:39px;background:#f0f0f0;border-radius:10px;display:grid;place-items:center;color:#7c7c7c;font-size:17px}.module-top .badge{margin-left:auto}.module p{font-size:12px;color:#8d8d8d;line-height:1.8;margin-bottom:20px;flex:1}.module-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#929292}.module-bottom button,.module-bottom a{background:none;color:#5c5c5c;padding:0;font-size:12px}.badge{display:inline-flex;border-radius:5px;padding:4px 7px;font-size:10px;white-space:nowrap;font-weight:500;background:#f1f1f1;color:#959595}.badge.external,.badge.ready{background:#eeeeee;color:#737373}.badge.pending{background:#f1f1f1;color:#8b8b8b}.badge.hold{background:#ededed;color:#8a8a8a}.badge.planned{background:#f1f1f1;color:#969696}.lowergrid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;margin-bottom:22px}.panel .sectiontitle{margin-bottom:20px}.taskrow{padding:15px 0;border-top:1px solid #efefef;display:flex;gap:14px;align-items:center}.taskrow:first-of-type{border-top:0}.taskbody{flex:1;min-width:0}.taskbody strong{font-weight:500;font-size:13px}.taskbody small{display:block;color:#9b9b9b;margin-top:6px;font-size:11px}.empty{text-align:center;padding:38px 20px;color:#969696}.empty strong{display:block;color:#6a6a6a;margin-bottom:7px;font-size:14px;font-weight:500}.empty p{font-size:12px;margin:0 auto 16px;max-width:480px}.integration-step{display:flex;gap:13px;padding:15px 0;border-top:1px solid #efefef}.stepnum{width:24px;height:24px;flex:none;background:#f0f0f0;border-radius:50%;display:grid;place-items:center;color:#8e8e8e;font-size:11px}.integration-step strong{font-size:12px;font-weight:500}.integration-step p{font-size:11px;color:#9a9a9a;margin-top:4px}.tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:23px;padding-bottom:12px;flex-wrap:wrap}.tabs button{border-radius:6px;padding:8px 14px;background:transparent;color:#909090}.tabs .active{background:#eaeaea;color:#4b4b4b}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.filters input{flex:1;min-width:170px}.filters select,.filters input{padding:10px;border:1px solid var(--line);border-radius:7px;background:white;color:#5f5f5f}.tasklist .taskrow{cursor:pointer}.tasklist .taskrow:hover{background:#fafafa}.notice{background:#f3f3f3;border:1px solid #e3e3e3;color:#7d7d7d;padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:22px}.agentgroup{margin-bottom:30px}.agentcards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.agent{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.agenthead{display:flex;align-items:center;gap:12px;margin-bottom:14px}.agentface{width:40px;height:40px;border-radius:50%;background:#ececec;color:#787878;display:grid;place-items:center;font-size:16px}.agent p{font-size:12px;color:#919191;min-height:45px;margin-bottom:13px}.agent small{display:block;font-size:11px;color:#9d9d9d;margin-top:12px}.projectcard{cursor:pointer}.projectcard:hover{border-color:#919191}.projectcard.activeproject{border-color:#a0a0a0;background:#fcfcfc}.projectcard .module-icon{width:50px;height:50px;font-size:24px}.progresssteps{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.progresssteps span{padding:7px 10px;background:#f2f2f2;border-radius:6px;font-size:11px;color:#919191}.progresssteps .current{background:#525252;color:white}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:16px}.field label{display:block;font-size:12px;margin-bottom:7px;color:#6b6b6b}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #e0e0e0;border-radius:7px;background:#ffffff;color:#464646}.field textarea{min-height:92px;resize:vertical}.field small{display:block;margin-top:6px;font-size:11px;color:#9a9a9a}.dialoghead{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.error{font-size:12px;color:#5c5c5c;margin-bottom:14px;line-height:1.7}.checkrow{display:flex;gap:20px;flex-wrap:wrap}.checkrow label{font-size:12px;color:#717171;display:flex;gap:7px;align-items:center}.inlinecode{font-family:ui-monospace,monospace;background:#f3f3f3;padding:15px;border:1px solid var(--line);border-radius:6px;word-break:break-all;margin:12px 0}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;max-width:650px;width:calc(100% - 32px);box-shadow:0 30px 100px #22222240;color:#444444}dialog::backdrop{background:#26262660;backdrop-filter:blur(3px)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#363636;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 4px 20px #25252526;display:none;z-index:100;font-size:13px}#toast.show{display:block}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#363636;color:#e0e0e0;padding:65px 12%;display:flex;flex-direction:column;justify-content:center;position:relative}.login-story .brand{margin:0 0 65px}.login-story h1{font-size:44px;line-height:1.5;font-weight:500;letter-spacing:2px}.login-story p{color:#aeaeae;font-size:14px;margin:20px 0 35px;max-width:430px}.login-labels{display:flex;gap:10px;flex-wrap:wrap}.login-labels span{border:1px solid #565656;padding:8px 12px;font-size:11px;border-radius:5px;color:#c0c0c0}.login-formwrap{display:flex;justify-content:center;align-items:center;padding:40px;background:#f6f6f6}.login-form{max-width:375px;width:100%}.login-form h2{font-size:26px;margin-bottom:12px}.login-form>p{font-size:13px;color:#919191;margin-bottom:30px}.login-form .primary{width:100%;margin-top:5px;padding:13px}.login-foot{border-top:1px solid var(--line);padding-top:20px;margin-top:30px;color:#9d9d9d;font-size:11px;line-height:1.8}.loading{height:100vh;display:grid;place-items:center;color:#888888}.knowledge-list{display:grid;gap:0}.file-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f0f0f0;padding:13px 0;font-size:12px}.file-row:last-child{border-bottom:0}.file-row span:first-child{word-break:break-word}.file-row small{white-space:nowrap;color:#9c9c9c}.auditrow{display:grid;grid-template-columns:145px 90px 120px 1fr;gap:15px;border-top:1px solid #f0f0f0;padding:13px 0;font-size:12px;line-height:1.7}.auditrow span{word-break:break-word}.mobile-brand{display:none}.versionpill{font-size:10px;padding:5px 8px;background:#ececec;border-radius:5px;color:#8d8d8d}.members{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.member{border:1px solid var(--line);padding:18px;border-radius:8px}.member p{font-size:12px;color:#959595;margin:8px 0}.checkbox{width:auto!important}.warntext{color:#8a8a8a}.nowrap{white-space:nowrap}@media(min-width:1500px){.content{padding:40px 55px}.topbar{padding:0 55px}.cards{gap:20px}}@media(max-width:1150px){.shell{grid-template-columns:200px 1fr}.sidebar{padding:25px 14px}.content{padding:28px 25px}.topbar{padding:0 25px}.cards{grid-template-columns:repeat(2,1fr)}.agentcards{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.heroflow{display:none}.stat{padding:16px}.lowergrid{grid-template-columns:1fr}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:17px 16px 10px}.sidebar .brand{margin:0 0 12px}.sidebar nav{display:flex;overflow:auto;gap:5px}.navcaption,.sidefoot{display:none}.navitem{width:auto;flex-shrink:0;padding:9px 11px;font-size:12px}.navicon{display:none}.topbar{height:64px;padding:0 16px}.breadcrumb,.user-name{display:none}.topright{width:100%;gap:12px;justify-content:space-between}.content{padding:23px 16px}.pagehead{align-items:flex-start;margin-bottom:20px}.pagehead h1{font-size:24px}.pagehead p{font-size:12px}.pagehead .primary{font-size:12px;padding:9px 11px}.hero{padding:23px}.hero h2{font-size:21px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat strong{font-size:27px}.cards,.agentcards,.members{grid-template-columns:repeat(2,1fr);gap:10px}.module{padding:16px;min-height:190px}.module-top{gap:8px;flex-wrap:wrap}.module-icon{width:32px;height:32px}.module-top .badge{margin-left:0}.agent{padding:15px}.agenthead{gap:8px}.agentface{width:32px;height:32px;font-size:13px}.agenthead h3{font-size:13px}.panel{padding:18px}.login{display:block}.login-story{padding:27px}.login-story .brand{margin:0 0 22px}.login-story h1{font-size:27px}.login-story p{display:none}.login-labels{margin-top:15px}.login-formwrap{padding:35px 24px}.login-form h2{font-size:24px}.grid2{grid-template-columns:1fr}.auditrow{grid-template-columns:1fr 1fr;gap:7px}.topright select{max-width:160px}.filters select{max-width:130px}dialog{padding:22px}.taskrow{gap:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(min-width:761px){.sidebar{overflow-y:auto}.sidebar nav{flex-shrink:0}}

/* Conversation-first workspace. Quiet monochrome surfaces and soft depth. */
:root{font-family:"SF Pro Display","PingFang SC","Microsoft YaHei UI",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:#242424;background:#f3f3f3;--ink:#222;--muted:#858585;--line:#e9e9e9;--soft:#f5f5f5;-webkit-font-smoothing:antialiased}
body{font-weight:400}h1,h2,h3{letter-spacing:-.04em;font-weight:550}h1{font-size:30px}button{transition:background .15s,box-shadow .15s,transform .15s}button:focus-visible,a:focus-visible{outline:2px solid #666;outline-offset:3px}button:hover{filter:brightness(.97)}.primary{background:linear-gradient(145deg,#3a3a3a,#181818);box-shadow:0 3px 7px #0002,inset 0 1px 0 #ffffff25;color:#fff;border-radius:11px}.primary:hover{background:#333}.secondary{color:#333;border:1px solid #e3e3e3;background:linear-gradient(#fff,#fafafa);border-radius:11px;box-shadow:0 2px 4px #00000006}.ghost{color:#7a7a7a;border-radius:9px}.badge,.badge.pending,.badge.planned,.badge.hold,.badge.external,.badge.ready{background:#f1f1f1;color:#707070;border:1px solid #e7e7e7}.workspace{display:grid;grid-template-columns:94px minmax(0,1fr);height:100dvh;overflow:hidden;padding:12px;gap:12px}.rail{border:1px solid #fff;border-radius:23px;background:linear-gradient(145deg,#fff,#eaeaea);box-shadow:4px 6px 18px #00000009,inset 0 1px 0 #fff;display:flex;align-items:center;flex-direction:column;padding:25px 7px 16px;min-height:0}.workspace-mark{font-family:Arial,sans-serif;font-size:28px;font-weight:800;letter-spacing:-4px;width:48px;height:46px;display:flex;align-items:center;justify-content:center;margin-bottom:40px}.workspace-mark span{font-size:25px;align-self:flex-end;line-height:30px;letter-spacing:0;margin-left:3px;color:#929292}.rail nav{width:100%;display:grid;gap:16px}.rail-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;color:#939393;border-radius:15px;padding:13px 0;width:100%;font-size:11px;letter-spacing:.02em}.rail-item svg{width:24px;height:24px}.rail-item.selected{color:#252525;background:linear-gradient(135deg,#fff,#f7f7f7);box-shadow:0 4px 10px #0000000e,inset 0 0 0 1px #fff}.rail-item.selected:after{content:'';position:absolute;left:-7px;top:26px;width:3px;height:16px;border-radius:4px;background:#333}.rail-bottom{margin-top:auto;width:100%;display:grid;justify-items:center;gap:21px}.self-face{width:39px;height:39px;border:2px solid white;border-radius:13px;background:linear-gradient(145deg,#bbb,#444);box-shadow:0 4px 8px #0002;color:#fff;font-size:12px}.workspace-main{min-width:0;min-height:0;background:#fff;border-radius:23px;border:1px solid #e7e7e7;box-shadow:0 8px 30px #00000006;overflow:auto}.workspace-content{padding:38px 44px 55px;max-width:1500px;margin:auto}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.workspace-head h1{margin:8px 0 12px;font-size:32px;font-weight:500}.workspace-head p:not(.overline){color:#8d8d8d;font-size:13px}.overline{font-size:10px;letter-spacing:2px;color:#aaa;font-weight:500}.row{display:flex;align-items:center;gap:12px}.row strong{font-weight:550}.row time{margin-left:auto;font-size:10px;color:#aaa;white-space:nowrap}.chat-content{height:100%}.messenger{display:grid;grid-template-columns:288px minmax(0,1fr);height:100%;min-height:0}.conversations{min-height:0;background:#f8f8f8;border-right:1px solid #ededed;display:flex;flex-direction:column}.conversations>header{padding:30px 22px 16px}.conversations h1{font-size:25px;font-weight:550;flex:1;display:flex;align-items:center;gap:10px}.small-count{font-size:12px;font-weight:400;color:#999}.conversations header p{color:#aaa;font-size:11px;margin:7px 0 19px}.circle-button{width:30px;height:30px;border:1px solid #e4e4e4;border-radius:9px;background:#fff;box-shadow:0 2px 5px #00000006;font-size:21px;color:#666}.searchbox{width:100%;border:1px solid #e7e7e7;background:#efefef;border-radius:9px;padding:10px 12px;font-size:12px;box-shadow:inset 0 1px 2px #00000003}.searchbox::placeholder{color:#aaa}.room-list{overflow:auto;padding:0 10px;flex:1}.room-row{display:flex;position:relative;width:100%;padding:16px 12px;gap:12px;border-radius:12px;align-items:center;background:transparent;text-align:left;margin:3px 0}.room-row.selected{background:#e8e8e8;box-shadow:inset 0 1px 2px #00000004}.room-copy{flex:1;min-width:0}.room-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-copy small{display:block;color:#9a9a9a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px;margin-top:7px;font-size:11px}.personface,.groupface{flex:none;width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#f9f9f9,#ddd);border:1px solid #fff;box-shadow:0 3px 7px #00000010,inset 0 1px 0 #fff;font-size:13px;font-weight:500;color:#666;position:relative}.personface.ai{border-radius:14px;background:linear-gradient(145deg,#fff,#ededed);color:#444}.personface i{position:absolute;font-size:7px;bottom:-3px;right:-3px;padding:2px 3px;background:#494949;color:#fff;border:2px solid #fff;border-radius:5px;font-style:normal;letter-spacing:0}.personface.large{width:58px;height:58px;font-size:18px;border-radius:18px}.groupface{font-size:26px}.conversations footer{padding:18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee}.conversations footer span{font-size:9px;color:#aaa}.conversations footer button{font-size:11px}.unread{background:#444;color:#fff;font-size:9px;border-radius:10px;min-width:16px;height:16px;display:grid;place-items:center;position:absolute;top:10px;right:8px}#nav-unread:not(:empty){position:absolute;top:8px;right:12px;border-radius:8px;background:#333;color:white;font-size:9px;min-width:14px;font-style:normal}.list-empty{text-align:center;color:#b1b1b1;padding:55px 15px;font-size:12px;line-height:2}.conversation{display:flex;flex-direction:column;min-height:0;min-width:0;background:radial-gradient(ellipse at top right,#fafafa,#fff 65%)}.chat-welcome{margin:auto;text-align:center;padding:35px 30px;max-width:780px;width:100%}.welcome-orbit{display:flex;justify-content:center;align-items:center;margin:0 0 40px;gap:12px}.welcome-orbit span{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(150deg,#fff,#e7e7e7);border:1px solid #fff;box-shadow:6px 9px 18px #0000000a,inset 0 1px 0 #fff;color:#888;font-size:11px;transform:rotate(-9deg)}.welcome-orbit span:nth-child(2){transform:translateY(-11px) rotate(5deg);color:#eee;background:linear-gradient(130deg,#5b5b5b,#252525);border-color:#555}.welcome-orbit span:last-child{transform:rotate(12deg)}.chat-welcome h1{font-weight:400;font-size:37px;line-height:1.5;margin:16px 0;letter-spacing:-1px}.chat-welcome h1 em{font-style:normal;color:#a7a7a7;font-weight:300}.chat-welcome>p:not(.overline){font-size:12px;line-height:2;color:#999}.welcome-actions{display:flex;gap:12px;justify-content:center;margin:27px 0 35px}.suggest-people{display:flex;gap:25px;justify-content:center;border-top:1px solid #f0f0f0;padding-top:28px;max-width:500px;margin:auto}.suggest-people button{display:flex;flex-direction:column;align-items:center;gap:9px;background:transparent;min-width:68px}.suggest-people strong{font-size:11px;font-weight:500;color:#666}.suggest-people small{font-size:9px;color:#aaa}.chat-header{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:0 27px;flex:none;gap:15px}.chat-header h2{font-size:16px;font-weight:550}.chat-header p{font-size:10px;color:#aaa;margin-top:5px}.chat-header button{font-size:11px}.message-scroll{flex:1;min-height:120px;overflow:auto;padding:22px 32px;background:#fcfcfc}.conversation-date{text-align:center;font-size:10px;color:#b5b5b5;margin:2px 0 30px}.message{display:flex;gap:11px;margin-bottom:20px;align-items:flex-start}.message>div{max-width:70%;min-width:0}.message .personface{width:32px;height:32px;border-radius:10px;font-size:10px;margin-top:19px}.message-meta{font-size:10px;color:#999;display:flex;gap:13px;margin-bottom:7px;align-items:center}.message-meta time{color:#bbb;font-size:9px}.bubble{padding:12px 16px;border-radius:3px 14px 14px 14px;background:#fff;border:1px solid #eaeaea;box-shadow:0 2px 4px #00000003;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.message.mine{flex-direction:row-reverse}.mine .message-meta{justify-content:flex-end}.mine .bubble{background:#ececec;border-color:#e5e5e5;border-radius:14px 3px 14px 14px}.message-save{font-size:9px;background:none;color:#b2b2b2;margin-top:6px;padding:0;opacity:.7}.message-save:hover{opacity:1}.mine .message-save{float:right}.chat-start{text-align:center;color:#b1b1b1;margin-top:80px;font-size:12px}.composer{position:relative;padding:15px 26px 17px;border-top:1px solid #eee;background:#fff;flex:none}.composer-tools{display:flex;align-items:center;gap:8px;color:#aaa;font-size:10px;flex-wrap:wrap}.composer-tools>span{margin-right:auto}.composer-tools label{font-size:10px;display:flex;align-items:center;gap:8px}.composer-tools select{max-width:140px;border:1px solid #e8e8e8;padding:5px;background:#fafafa;border-radius:6px;color:#777;font-size:10px}.composer-tools button{font-size:10px;padding:5px}.composer textarea{border:0;resize:none;width:100%;height:82px;background:transparent;outline:none;padding:15px 0 8px;line-height:1.8;font-size:13px;color:#333}.composer textarea::placeholder{color:#bbb}.composer-bottom{display:flex;gap:18px;align-items:center;justify-content:space-between}.composer-bottom small{font-size:9px;color:#aaa;max-width:530px;line-height:1.7}.composer-bottom button{font-size:12px;padding:9px 18px}.composer .error{margin:5px 0 0;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.contact-toolbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:28px}.contact-toolbar .searchbox{max-width:280px}.segmented{display:flex;gap:5px;background:#f4f4f4;padding:4px;border-radius:11px}.segmented button{padding:7px 18px;color:#999;background:none;border-radius:8px;font-size:12px}.segmented .active{background:#fff;color:#333;box-shadow:0 2px 5px #0000000a}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.contact-card{padding:25px 24px 0;text-align:left;background:linear-gradient(160deg,#fff,#fcfcfc);border:1px solid #e9e9e9;border-radius:18px;box-shadow:0 5px 16px #00000004;min-height:240px;display:flex;flex-direction:column}.contact-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #00000008}.contact-card h2{margin-top:23px;font-size:18px}.contact-card>p{font-size:11px;line-height:1.8;color:#999;margin:10px 0 19px;flex:1}.contact-card .contact-title{margin:6px 0 0;color:#6e6e6e;font-size:12px;flex:0}.contact-type{margin-left:auto;color:#b0b0b0;font-size:9px;letter-spacing:1px}.contact-card footer{border-top:1px solid #eee;padding:15px 0;display:flex;align-items:center;gap:6px;font-size:9px;color:#999}.contact-card footer>span:last-child{margin-left:auto}.status-dot{width:5px;height:5px;background:#aaa;border-radius:50%;display:inline-block}.profile-cover{text-align:center;padding:15px 20px 25px}.profile-cover h2{margin:17px 0 5px}.profile-cover p{color:#888;font-size:12px;margin-bottom:7px}.profile-cover code{display:block;color:#aaa;font-size:10px;margin-top:15px}.profile-cover small{display:block;color:#bbb;margin-top:7px;font-size:10px}.member-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:330px;overflow:auto}.member-picker label{display:flex;align-items:center;gap:10px;border:1px solid #eee;border-radius:10px;padding:10px;cursor:pointer}.member-picker small{display:block;color:#aaa;font-size:9px;margin-top:4px}.member-picker strong{font-size:12px;font-weight:500}.member-picker .personface{width:32px;height:32px;font-size:10px}.checkline{display:flex;align-items:center;gap:8px;margin:18px 0;color:#777;font-size:12px}input[type=checkbox],input[type=radio]{accent-color:#333}.identity-row{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid #eee}.identity-row p{font-size:11px;color:#999}.identity-row code{font-size:10px;color:#aaa}.hub-banner{background:linear-gradient(125deg,#fafafa,#ededed);border:1px solid #e7e7e7;box-shadow:inset 0 1px 0 #fff,0 6px 20px #00000003;padding:30px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.hub-banner h2{font-size:23px;font-weight:450;margin:14px 0 6px}.hub-banner p{font-size:12px;color:#999}.hub-glyph{font-size:70px;color:#ccc;text-shadow:2px 3px #fff;margin-right:40px}.hub-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:40px}.hub-shortcuts button{border:1px solid #e8e8e8;background:#fff;border-radius:14px;text-align:left;padding:22px;box-shadow:0 3px 10px #00000003}.hub-shortcuts h3{font-size:14px;font-weight:500}.hub-shortcuts p{font-size:11px;color:#aaa;margin-top:7px}.hub-shortcuts span{float:right;color:#aaa}.record-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.record-card{text-align:left;background:#fff;border:1px solid #e9e9e9;border-radius:14px;padding:21px}.record-card h3{font-size:15px;margin:18px 0 10px}.record-card p{font-size:12px;color:#999;white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:hidden}.record-card small{color:#aaa;font-size:10px}.record-card footer{border-top:1px solid #f0f0f0;margin-top:20px;padding-top:13px;color:#aaa;font-size:10px}.record-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;padding:24px 0}.settings-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:45px}.settings-nav{display:flex;flex-direction:column;gap:8px;align-self:start}.settings-nav button{background:transparent;color:#999;text-align:left;padding:13px 17px;border-radius:10px;font-size:12px}.settings-nav button.active{background:#f1f1f1;color:#333;box-shadow:inset 0 1px 3px #00000003}.settings-nav button:last-child{margin-top:24px;border-top:1px solid #eee}.settings-panel{border-left:1px solid #eee;padding-left:40px;max-width:850px;min-width:0}.profile-heading{margin-bottom:32px}.profile-heading p{font-size:12px;color:#999;margin:5px 0}.profile-heading code{font-size:10px;color:#aaa}.field input,.field select,.field textarea{border-color:#e2e2e2;color:#333;border-radius:10px;padding:12px;background:#fcfcfc}.field label{color:#777;font-size:12px}.field small{color:#aaa;line-height:1.7}.password-box{border-top:1px solid #eee;margin-top:35px;padding-top:22px}summary{cursor:pointer;color:#888;font-size:12px;margin-bottom:20px}.settings-agents{margin-top:25px}.settings-agents button{display:flex;align-items:center;gap:15px;width:100%;background:#fff;border-bottom:1px solid #eee;padding:17px 0;text-align:left}.settings-agents strong{font-size:13px;font-weight:500}.settings-agents small{font-size:11px;color:#999;display:block;margin-top:5px}.settings-agents button>span:last-child{margin-left:auto;font-size:11px;color:#aaa}.settings-panel>p{font-size:12px;line-height:1.9;margin:12px 0}.model-list{margin-top:25px}.model-list button{width:100%;display:flex;flex-direction:column;gap:10px;border:1px solid #e6e6e6;background:#fafafa;border-radius:12px;padding:20px;text-align:left;margin-bottom:12px}.model-list span,.model-list small{color:#999;font-size:12px}dialog{color:#333;border:1px solid #eee;border-radius:22px;box-shadow:0 25px 100px #0003;max-height:90dvh;overflow:auto}dialog::backdrop{background:#0003;backdrop-filter:blur(5px)}.error{color:#555;background:#f5f5f5;border-radius:6px}.error:empty{display:none}.error:not(:empty){padding:8px}#toast{background:#292929;border:1px solid #444;border-radius:12px;box-shadow:0 6px 20px #0002}.login-story{background:linear-gradient(140deg,#373737,#191919)}.login-story h1{font-weight:400;letter-spacing:-1px}.login-formwrap{background:#f7f7f7}.login-story p{color:#a3a3a3}.login-labels span{border-color:#555;color:#ccc}.brandmark{background:#ddd}.brandmark i{background:#444}.brand small{color:#aaa}.eyebrow{color:#999}.notice{background:#f7f7f7;color:#888;border-color:#e9e9e9}.load-older{display:block;margin:0 auto 20px;font-size:11px}.record-list>.empty{grid-column:1/-1}.content{padding:0}.settings-panel .welcome-actions{justify-content:flex-start}
@media(min-width:1550px){.messenger{grid-template-columns:330px minmax(0,1fr)}.room-copy small{max-width:205px}.chat-welcome h1{font-size:43px}}
@media(max-width:1100px){.contact-grid{grid-template-columns:repeat(2,1fr)}.workspace-content{padding:30px}.messenger{grid-template-columns:235px minmax(0,1fr)}.room-copy small{max-width:120px}.composer-tools>span{display:none}.chat-welcome h1{font-size:31px}.suggest-people{gap:10px}.settings-layout{gap:20px;grid-template-columns:130px minmax(0,1fr)}.settings-panel{padding-left:22px}.workspace-head{align-items:flex-start}.workspace-head>.row{flex-direction:column;align-items:stretch}}
@media(max-width:760px){.workspace{padding:0;gap:0;grid-template-columns:64px minmax(0,1fr)}.rail{border-radius:0;padding:20px 4px 12px}.rail-item{font-size:9px;padding:12px 0}.rail-item svg{width:22px}.workspace-mark{font-size:25px;margin-bottom:25px}.workspace-main{border-radius:0}.workspace-content{padding:24px 18px}.messenger{grid-template-columns:1fr;grid-template-rows:150px minmax(0,1fr)}.conversations>header{padding:13px 15px 7px;display:flex;align-items:center;gap:12px}.conversations h1{font-size:19px}.conversations>header>p{display:none}.conversations>header .row{min-width:85px}.conversations footer{display:none}.room-list{display:flex;flex:1;overflow:auto;min-height:0}.room-row{width:210px;flex:none;padding:10px;max-height:70px}.room-copy small{max-width:130px}.conversation{border-top:1px solid #ddd}.chat-welcome{padding:20px}.welcome-orbit{display:none}.chat-welcome h1{font-size:25px}.suggest-people{gap:2px;padding-top:15px}.suggest-people button{min-width:55px}.suggest-people small{display:none}.welcome-actions{margin:18px 0}.chat-header{height:67px;padding:0 16px}.chat-header .personface,.chat-header .groupface{display:none}.chat-header button{font-size:10px;padding:4px}.message-scroll{padding:16px}.composer{padding:10px 15px}.composer textarea{height:65px}.composer-bottom small{font-size:8px}.composer-tools label{font-size:9px}.contact-grid,.record-list{grid-template-columns:1fr}.contact-toolbar{flex-direction:column}.segmented button{padding:7px 12px}.contact-toolbar .searchbox{max-width:none}.workspace-head h1{font-size:25px}.workspace-head{flex-direction:column;align-items:stretch}.workspace-head>.row{flex-direction:row}.hub-shortcuts{grid-template-columns:repeat(2,1fr)}.hub-shortcuts button{padding:15px}.hub-glyph{display:none}.hub-banner{padding:22px}.hub-banner h2{font-size:19px}.settings-layout{display:block}.settings-nav{flex-direction:row;flex-wrap:wrap;margin-bottom:24px;gap:3px}.settings-nav button{font-size:10px;padding:8px}.settings-nav button:last-child{margin:0;border:0}.settings-panel{padding:0;border:0}.member-picker{grid-template-columns:1fr}.message>div{max-width:84%}.login-story{display:none}.login{display:block}.login-formwrap{min-height:100dvh}.contact-card{min-height:210px}.cards{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}

.self-face{padding:0;white-space:nowrap;display:grid;place-items:center}.chat-welcome>p:not(.overline),.workspace-head p:not(.overline){color:#858585}
/* Each Agent has a permanent, independently editable workspace. */
.agent-studio{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;max-width:1260px;margin:auto}
.agent-switcher{align-self:start;position:sticky;top:24px;background:linear-gradient(145deg,#fff,#eee);padding:18px 12px;border:1px solid #fff;border-radius:22px;box-shadow:0 12px 34px #00000009}
.agent-switcher .overline{padding:0 8px}.agent-switcher>a{display:flex;gap:12px;align-items:center;padding:12px 10px;border-radius:12px;color:#666;text-decoration:none}
.agent-switcher>a:hover,.agent-switcher>a.selected{background:#fff;color:#171717;box-shadow:0 3px 14px #0000000a}
.agent-switcher small,.agent-tool-option small{display:block;font-size:11px;line-height:1.7;color:#888}
.agent-main{min-width:0}.agent-main .panel{padding:30px;margin:0 0 24px;border-radius:22px;box-shadow:0 8px 28px #00000005}
.agent-address .row{justify-content:flex-start;gap:18px}.agent-address input{flex:1;min-width:0;font-family:ui-monospace,monospace;font-size:13px;padding:13px 16px;border:1px solid #ddd;border-radius:12px;background:#fafafa}
.agent-address label{display:block;margin:24px 0 8px;color:#777;font-size:12px}.agent-address h2{margin:0}.agent-address p{margin:4px 0 8px}
.agent-tools{display:grid;gap:10px}.agent-tool-option{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #e8e8e8;border-radius:14px;cursor:pointer}.agent-tool-option input{width:auto}
.agent-software{padding:12px 0 20px;border-bottom:1px solid #eee}.agent-software:last-child{border:0;padding-bottom:0}.agent-software p{line-height:1.8}
.agent-history{display:flex;align-items:center;gap:18px;padding:12px 0;border-bottom:1px solid #eee}.agent-history span{flex:1;font-size:12px;color:#888}
@media(max-width:900px){.agent-studio{grid-template-columns:1fr}.agent-switcher{position:static;display:flex;overflow:auto;gap:8px}.agent-switcher .overline{display:none}.agent-switcher>a{min-width:125px}.agent-switcher small{display:none}.agent-main .panel{padding:20px}.agent-address .row{flex-wrap:wrap}.agent-history{gap:8px;flex-wrap:wrap}}

#gao-desk h3{margin-top:24px;margin-bottom:10px}#gao-desk details{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px}#gao-desk summary{cursor:pointer}#gao-desk .gao-scroll{max-height:560px;overflow:auto}#gao-desk input{min-width:0;flex:1;padding:10px;border:1px solid var(--line);border-radius:6px}

/* Login feedback remains prominent in the monochrome theme. */
.login-form .auth-feedback:not(:empty){padding:14px 16px;margin:16px 0;background:#eee;color:#171717;border-left:4px solid #222;font-size:14px;font-weight:600;line-height:1.65;outline-offset:3px}
.auth-environment{background:#f1f1f1;border:1px solid #d4d4d4;border-radius:10px;padding:12px 14px;margin:16px 0;line-height:1.7;font-size:13px;color:#444}
.auth-progress{min-height:22px;margin-top:10px;font-size:13px;color:#444}
#auth-form[aria-busy="true"] button{cursor:wait;opacity:.7}

/* v0.5.0 账号与权限：头像、权限层级、公司内网入口 */
.personface.has-photo,.agentface.has-photo{overflow:hidden;padding:0}
.personface.has-photo img,.agentface.has-photo img,.self-face img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.personface.has-photo i{display:none}
.self-face img{border-radius:14px}
.perm-me{display:flex;flex-wrap:wrap;gap:28px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fafafa;margin:14px 0}
.perm-me>div{display:flex;flex-direction:column;gap:4px}
.perm-me strong{font-size:15px}
.perm-tree{display:grid;gap:8px;margin:10px 0 24px}
.perm-branch{display:grid;gap:8px}
.perm-children{margin-left:22px;padding-left:18px;border-left:2px solid var(--line);display:grid;gap:8px}
.perm-node{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 6px #00000006}
.perm-node.lv0{background:linear-gradient(135deg,#fff,#f1f1f1)}
.perm-node.lv1{background:#fbfbfb}
.perm-av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ececec;color:#555;font-size:13px;font-weight:600;overflow:hidden;flex:none}
.perm-av img{width:100%;height:100%;object-fit:cover}
.perm-info{flex:1;min-width:0}
.perm-info small{display:block;color:var(--muted);font-size:12px}
.perm-kind{font-size:11px;padding:3px 9px;border-radius:20px;background:#f0f0f0;color:#666;white-space:nowrap}
.perm-kind.k-ai{background:#e9e9f7;color:#4a4a86}
.perm-kind.k-owner{background:#f4e9e9;color:#8a4a4a}
.perm-kind.k-manager{background:#e9f2ef;color:#3f7a68}
.perm-caps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:10px}
.perm-cap{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}
.perm-cap-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.perm-cap dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:12.5px}
.perm-cap dt{color:var(--muted);white-space:nowrap}
.perm-cap dd{margin:0;line-height:1.6}
.lan-list{display:grid;gap:8px;margin-top:8px}
.lan-row{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#fafafa;border:1px solid var(--line);border-radius:10px;padding:10px 14px}
.lan-row code{font-size:13px;overflow-wrap:anywhere}
.member .personface{margin-bottom:8px}

/* v0.6.0 外部合伙人：层级标签与只读提示 */
.perm-kind.k-partner{background:#fdf1e3;color:#8a5a1f}
.perm-kind.k-group{background:#ececec;color:#555}
.perm-cap dl dt:only-child{grid-column:1 / -1}
.module .badge{white-space:nowrap}
.perm-kind.k-org{background:#e8e8ea;color:#4a4a52}

/* v0.7.0 通讯录：微信式排版（A-Z 分组 + 右侧字母索引 + 管理层置顶） */
.wx-contacts{position:relative;display:flex;gap:10px;align-items:flex-start}
.wx-list{flex:1;min-width:0;display:grid;gap:18px;padding-right:24px}
.wx-group{display:grid;gap:2px;scroll-margin-top:8px}
.wx-group-head{position:sticky;top:0;z-index:2;padding:8px 4px;font-size:12px;font-weight:600;letter-spacing:.06em;color:#8a8a8a;background:#fff;border-bottom:1px solid var(--line)}
.wx-row{display:flex;align-items:center;gap:6px;width:100%;padding:9px 10px;border-radius:12px;background:transparent;color:inherit}
.wx-row:hover{background:#f6f6f6}
.wx-row-hit{flex:1;min-width:0;display:flex;align-items:center;gap:12px;background:transparent;border:0;padding:0;text-align:left;color:inherit;cursor:pointer;font:inherit}
.wx-row-hit .personface{margin:0;width:40px;height:40px;border-radius:12px;font-size:12px}
.wx-row-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wx-row-copy strong{font-size:15px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-row-copy small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-row-tag{flex:none;font-size:11px;padding:3px 9px;border-radius:20px;background:#f0f0f0;color:#6a6a6a;white-space:nowrap}
.wx-row-tag.t-agent{background:#e9e9f7;color:#4a4a86}
.wx-row-tag.t-partner{background:#fdf1e3;color:#8a5a1f}
.wx-row-tag.t-off{background:#f2f2f2;color:#8d8d8d}
.wx-row.is-off{opacity:.5}
.wx-index{position:sticky;top:8px;align-self:flex-start;display:flex;flex-direction:column;gap:1px;padding:7px 4px;background:#fafafa;border:1px solid var(--line);border-radius:999px;flex:none;max-height:calc(100dvh - 170px);overflow:auto}
.wx-index-item{width:22px;height:19px;padding:0;font-size:11px;font-weight:600;color:#5a5a5a;background:transparent;border-radius:999px;display:grid;place-items:center}
.wx-index-item:hover{background:#ececec;color:#111}
.wx-index-item.dim{opacity:.28}
.wx-msg-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;margin:14px 0;border-radius:13px;background:linear-gradient(145deg,#3a3a3a,#181818);color:#fff;box-shadow:0 3px 7px #0002}
.wx-msg-row .wx-msg-icon{font-size:15px}
.wx-msg-row .wx-msg-label{flex:1;text-align:left;font-weight:600}
.wx-msg-row .wx-msg-go{opacity:.8}
.wx-msg-row.is-disabled{background:#f3f3f3;color:#9a9a9a;box-shadow:none;border:1px solid var(--line);cursor:default}
.wx-msg-row.is-disabled:hover{filter:none}
.wx-msg-row.is-disabled .wx-msg-label{font-weight:500}
.wx-msg-hint{display:block;font-size:11.5px;color:#a5a5a5;margin-top:2px;font-weight:400}
@media(max-width:760px){.wx-list{padding-right:0}.wx-index{display:none}}

/* v0.8.0 账号管理：通讯录管理模式、删除确认、危险按钮 */
.wx-row.is-manage{padding-right:6px}
.wx-del{flex:none;font-size:12px;padding:6px 12px;border-radius:999px;border:1px solid #e2b6b6;background:#fdf3f3;color:#b03434;cursor:pointer}
.wx-del:hover{background:#f7e2e2}
.wx-manage-bar{margin:0 0 12px;padding:10px 14px;border-radius:10px;background:#fff6f6;border:1px solid #f0d5d5;color:#8a3f3f;font-size:12.5px;line-height:1.6}
button.danger{background:#c0392b;border-color:#c0392b;color:#fff}
button.danger:hover{background:#a93226}
.danger-text{color:#b03434 !important}
.danger-box{display:flex;gap:12px;align-items:center;padding:14px;border-radius:12px;background:#fdf3f3;border:1px solid #f0d5d5;margin-bottom:14px}
.danger-box p{margin:2px 0 0;font-size:12px;color:#96655f}
.danger-icon{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:#c0392b;color:#fff;font-weight:700}
.danger-list{margin:6px 0 10px;padding-left:20px;font-size:12.5px;color:#7a4a4a;display:grid;gap:4px}
.member-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

/* v0.9.0 财务线：功能与数据页的「财务与经营（小财）」直达入口 */
.hub-shortcuts a.hub-jump{border:1px solid #e8e8e8;background:#fff;border-radius:14px;text-align:left;padding:22px;box-shadow:0 3px 10px #00000003;display:block;text-decoration:none;color:inherit}
.hub-shortcuts a.hub-jump:hover{filter:brightness(.98)}
.hub-shortcuts a.hub-jump span{float:right;color:#aaa}

/* v0.9.1 小财：Agent 资料卡与「小财工作室」入口 */
.hub-shortcuts a.hub-jump.hub-studio span{color:#1a7660}
.wx-agent-links{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 4px}
.wx-agent-links a{flex:1 1 160px;text-align:center;text-decoration:none;border-radius:11px;padding:12px 16px;font-size:13px;border:1px solid #e3e3e3;color:#333;background:linear-gradient(#fff,#fafafa);box-shadow:0 2px 4px #00000006}
.wx-agent-links a.primary{background:linear-gradient(145deg,#3a3a3a,#181818);color:#fff;border-color:#181818;box-shadow:0 3px 7px #0002,inset 0 1px 0 #ffffff25}
.wx-agent-links a:hover{filter:brightness(.97)}

/* 聊天附件：图片预览 / 文件卡片 / 待发附件条 */
.attach-img-link{display:inline-block;margin-top:6px}
.attach-img{max-width:260px;max-height:200px;border-radius:12px;border:1px solid #e6e6e6;display:block;cursor:zoom-in}
.attach-file{display:inline-flex;align-items:center;gap:10px;margin-top:6px;padding:10px 14px;border:1px solid #e3e3e3;border-radius:12px;background:linear-gradient(#fff,#fafafa);text-decoration:none;color:#333;max-width:320px;box-shadow:0 2px 4px #00000006}
.attach-file:hover{filter:brightness(.97)}
.attach-file .attach-ico{font-size:20px;line-height:1;color:#666}
.attach-file .attach-name{font-size:13px;word-break:break-all}
.attach-file .attach-name small{display:block;color:#999;font-size:11px;margin-top:2px}
.attach-chip{display:inline-flex;align-items:center;gap:8px;margin:6px 0;padding:6px 12px;border:1px solid #d8d8d8;border-radius:999px;background:#f7f7f7;font-size:12px;color:#444;max-width:100%}
.attach-chip button{border:none;background:none;cursor:pointer;font-size:14px;color:#999;padding:0 2px}
.attach-chip button:hover{color:#c00}

/* 小文咨询面板：指引卡片 + 真实数据选项 */
.xw-panel{border-top:1px solid #eee;padding:8px 16px 0;background:#fbfbfd}
.xw-cards{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.xw-card{border:1px solid #e3e3e6;background:#fff;border-radius:999px;padding:6px 14px;font-size:12px;color:#333;cursor:pointer}
.xw-card:hover{border-color:#174f46;color:#174f46}
.xw-statusbtn{background:#f2f7f5;border-color:#d3e3de;color:#174f46}
.xw-opts{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:#555;padding-bottom:8px}
.xw-opts select{border:1px solid #ddd;border-radius:8px;padding:4px 8px;font-size:12px;background:#fff;max-width:180px}
.xw-check{display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.xw-dates{display:inline-flex;align-items:center;gap:4px}
.xw-dates input{border:1px solid #ddd;border-radius:8px;padding:3px 6px;font-size:12px}
.xw-off{display:none!important}
.xw-summary{background:#fff;border:1px solid #e8e8ea;border-radius:10px;padding:10px 12px;font-size:12px;color:#555;white-space:pre-wrap;max-height:200px;overflow:auto;margin:0 0 8px}
.capture-login-image{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain;margin:14px auto;border:1px solid #e5e5e5;border-radius:10px}

#capture-screen{touch-action:none;user-select:none;cursor:pointer;width:100%;height:auto} #capture-input-status{min-height:1.3em;color:#174f46}
/* Company server data centre and full-page, human-operated shop authorization. */
.workspace-topbar{height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0 28px;border-bottom:1px solid #eee;background:#fafbfc}.workspace-topbar a{font-size:12px;color:#235a55;text-decoration:none}.chat-content{height:calc(100% - 44px)}.shared-page{max-width:1160px;margin:auto}.shared-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.shared-toolbar label{display:flex;align-items:center;gap:12px;font-size:13px}.shared-toolbar select{padding:10px 14px;border:1px solid #d9e1df;background:white;border-radius:9px}.shared-toolbar>a{margin-left:auto;text-decoration:none}.shared-hero{display:flex;justify-content:space-between;gap:28px;padding:28px 30px;background:#edf5f2;border:1px solid #dce9e3;border-radius:18px;margin-bottom:22px}.shared-eyebrow{font-size:12px;color:#386e60}.shared-hero h2{font-size:25px;font-weight:550;margin:10px 0}.shared-hero p,.shared-card p{font-size:13px;color:#687570;line-height:1.8;margin:12px 0}.shared-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;align-content:center;white-space:nowrap;font-size:13px;color:#386e60}.shared-stores{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.shared-card{background:white;border:1px solid #e1e7e4;border-radius:16px;padding:26px;margin-bottom:22px;min-width:0}.shared-card h2{font-size:18px;font-weight:550;margin:0 0 10px}.shared-store-head{display:flex;align-items:center;gap:14px}.shared-store-head h2,.shared-store-head p{margin:0}.shared-store-head p{margin-top:5px}.shared-store-icon{width:48px;height:48px;display:grid;place-items:center;background:#eef4f1;color:#386e60;border-radius:14px;font-size:22px}.shared-tag{display:inline-block;border-radius:6px;padding:5px 9px;background:#f3f4f5;font-size:11px;color:#66716d;white-space:nowrap}.shared-store-head>.shared-tag{margin-left:auto}.shared-tag.ok{background:#edf6f0;color:#2c6e4a}.shared-scan{background:#286758!important;color:white!important;padding:13px 24px!important;margin-top:10px;font-size:14px!important;border-radius:10px}.shared-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.shared-empty{padding:22px;background:#f8faf9;border-radius:10px;font-size:13px;color:#85928c}.shared-count{font-size:12px;color:#718078;margin-left:5px}.shared-metrics{display:flex;gap:42px;margin:24px 0}.shared-metrics dt{font-size:12px;color:#829087}.shared-metrics dd{font-size:28px;margin:8px 0 0;color:#285c4d}.shared-table-wrap{overflow:auto}.shared-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.shared-table th{background:#f6f8f7;color:#6d7a73;font-weight:500}.shared-table th,.shared-table td{padding:13px 16px;border-bottom:1px solid #edf0ee;white-space:nowrap}.shared-diagnostics{margin-top:22px;font-size:12px;color:#77847c;overflow-wrap:anywhere}.shared-diagnostics summary{font-size:13px;color:#5a7064}.shared-file,.shared-snapshot{padding:12px 0;border-top:1px solid #eee;font-size:13px}.shared-file a{float:right}.shared-snapshot small{display:block;color:#8c9791;margin-top:6px}.capture-page{max-width:1280px;margin:auto}.capture-page .workspace-head{margin-bottom:18px}.capture-toolbar{display:flex;align-items:center;justify-content:space-between;background:#edf5f2;border:1px solid #dce9e3;padding:13px 20px;border-radius:12px}.capture-hint{font-size:13px;color:#537267;margin:12px 0}.capture-page #capture-live{border:1px solid #dae3de;border-radius:12px;overflow:hidden;background:#fafafa}.capture-page #capture-screen{display:block;width:100%;height:auto;max-height:none;object-fit:fill;touch-action:none;user-select:none;cursor:default;margin:0;border:0;border-radius:0}.capture-page #capture-screen[hidden]{display:none}.capture-page .shared-diagnostics{padding:20px;border:1px solid #e4e9e6;border-radius:12px}@media(max-width:760px){.shared-hero{display:block;padding:22px}.shared-steps{margin-top:20px}.shared-grid{grid-template-columns:1fr;gap:0}.shared-card{padding:20px}.shared-store-head{flex-wrap:wrap}.shared-store-head>.shared-tag{margin-left:0}.shared-toolbar>a{margin-left:0}.capture-page .workspace-head h1{font-size:23px}.workspace-topbar{padding:0 16px}}

/* P1b: data completeness matrix + collection job queue (read-only panels) */
.gap-table th{white-space:nowrap}
.gap-table td.gap-have{background:#edf6f0;color:#2c6e4a}
.gap-table td.gap-missing{background:#fdeceb;color:#b3372c;font-weight:600;text-align:center}
.gap-table td.gap-stale{background:#fdf6e8;color:#8a6116;font-weight:600;text-align:center}
.gap-table td.gap-stale small{display:block;font-size:10px;font-weight:400;opacity:.8;margin-top:2px;line-height:1.35}
.gap-table td.gap-broken{background:#fdeceb;color:#b3372c;font-weight:600;text-align:center;border:1px solid #f3cfcb}
.gap-table td.gap-broken small{display:block;font-size:10px;font-weight:400;opacity:.85;margin-top:2px;line-height:1.35}
.gap-table td.gap-missing small{display:block;font-size:10px;font-weight:400;opacity:.7;margin-top:2px}
.gap-table td.gap-disabled{background:#fbfbfb;color:#b0b0b0;font-weight:500;text-align:center;border:1px dashed #e4e4e4}
.gap-table td.gap-zero{background:#eef3f8;color:#3f5f7f;font-weight:600;text-align:center}
.gap-table td.gap-zero small{display:block;font-size:10px;font-weight:400;opacity:.8;margin-top:2px;line-height:1.35}
.gap-table td.gap-disabled small{display:block;font-size:10px;font-weight:400;opacity:.8;margin-top:2px}
.gap-table td.gap-have small{display:block;opacity:.75;font-weight:400;margin-top:2px}
.job-row{border:1px solid #e1e7e4;border-radius:12px;padding:12px 14px;margin:10px 0}
.job-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}
.job-head small{color:#687570;margin-left:auto}
.job-bar{height:8px;background:#f0f3f2;border-radius:6px;margin:10px 0 6px;overflow:hidden}
.job-bar-fill{height:100%;background:#286758;transition:width .3s}
.job-bar-fill.bad{background:#b3372c}
.job-step{font-size:12px;color:#454f4b}
.shared-tag.bad{background:#fdeceb;color:#b3372c}
.manual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:14px 0}.manual-grid label,.manual-note label{display:grid;gap:6px;font-size:12px;color:#687570}.manual-grid select,.manual-grid input,.manual-note input{padding:9px 12px;border:1px solid #d9e1df;border-radius:9px;font-size:13px;background:white}.manual-note{margin:10px 0 16px}.manual-rows{display:grid;gap:10px;margin:12px 0}.manual-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}.manual-row.cost-row{grid-template-columns:1.2fr .8fr 1fr auto}.manual-row select,.manual-row input{padding:9px 12px;border:1px solid #d9e1df;border-radius:9px;font-size:13px;background:white}.manual-row .ghost{border:none;background:none;color:#98a39d;font-size:18px;cursor:pointer}.manual-total{margin-top:12px;font-size:13px;color:#537267}.manual-total b{font-size:16px;color:#285c4d}.manual-warn{display:inline-block;margin-left:12px;padding:3px 10px;border-radius:8px;background:#fdf3e0;color:#8a5a16;font-size:12px}td .manual-warn{margin-left:0}#manual-result{font-size:13px;color:#2c6e4a;margin-left:12px}.dict-tabs{display:flex;gap:8px;margin:14px 0 18px;flex-wrap:wrap}.dict-add{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;align-items:center}.dict-add input{padding:9px 12px;border:1px solid #d9e1df;border-radius:9px;font-size:13px}.dict-check{display:flex;align-items:center;gap:6px;font-size:12px;color:#687570}.dict-diff{white-space:normal!important;max-width:360px;overflow-wrap:anywhere;font-size:12px;color:#687570}.dict-tabs .primary{background:#286758;color:#fff;border:none;padding:9px 16px;border-radius:9px;cursor:pointer}.dict-tabs .secondary{padding:9px 16px}

/* ---------------------------------------------------------------------------
   P3 · 完整性看板 + 缺板块/近重复提醒 + 手工录入查重黄条（纯追加）
   --------------------------------------------------------------------------- */
.comp-table td{vertical-align:top}
.comp-ok{background:#e8f3ec;color:#23624a;font-weight:600}
.comp-ok small{display:block;font-weight:400;color:#537267;margin-top:2px}
.comp-broken{background:#fdeceb;color:#b3372c;font-weight:600}
.comp-broken small{display:block;font-weight:400;color:#a05248;margin-top:2px}
.comp-inactive{background:#f2f4f3;color:#9aa59f}
.comp-alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:18px}
.comp-alert-col h3{font-size:14px;margin:0 0 10px;color:#2f3a36}
.comp-alert-list{margin:0;padding-left:18px;display:grid;gap:6px;font-size:13px;color:#454f4b}
.comp-alert-list .comp-none{color:#8fa098;list-style:none;margin-left:-18px}
#manual-result.manual-dup-warn{display:inline-block;padding:4px 12px;border-radius:8px;background:#fdf3e0;color:#8a5a16}

/* P5-1 · 采集通道常驻状态 + 自救入口（空闲 / 占用 / 无响应） */
.channel-bar{display:inline-flex;align-items:center;gap:7px;margin-right:auto;padding:5px 11px;border-radius:999px;font-size:12px;background:#f3f4f5;color:#66716d;white-space:nowrap}
.channel-dot{width:7px;height:7px;border-radius:50%;background:#9aa3a0;display:block;flex:0 0 auto}
.channel-bar.channel-idle{background:#edf6f0;color:#2c6e4a}
.channel-bar.channel-idle .channel-dot{background:#3f8f66}
.channel-bar.channel-busy{background:#fdf4e3;color:#8a5c10}
.channel-bar.channel-busy .channel-dot{background:#c98a1f}
.channel-bar.channel-stale{background:#fdeceb;color:#b3372c;font-weight:600}
.channel-bar.channel-stale .channel-dot{background:#b3372c;animation:channel-blink 1.1s steps(2,start) infinite}
@keyframes channel-blink{to{visibility:hidden}}
.channel-release{border:0;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;background:#b3372c;color:#fff;margin-left:10px}
.channel-release:disabled{opacity:.6}
.channel-card.channel-idle{border-color:#cfe4d8}
.channel-card.channel-busy{border-color:#e8d2a6}
.channel-card.channel-stale{border-color:#e6b3ad;background:#fff8f7}
.job-row.job-zombie{border-color:#e6b3ad;background:#fff8f7}
.job-stuck{margin-top:8px;font-size:12px;color:#b3372c;background:#fdeceb;border-radius:8px;padding:7px 10px}
.job-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}

/* P5-2 · 可见化：登录态角标 / 采集进度行 / 任务日记 */
.login-tag{display:inline-flex;align-items:center;gap:6px}
.login-tag small{font-weight:400;opacity:.85}
.login-tag.login-online{background:#edf6f0;color:#2c6e4a}
.login-tag.login-offline{background:#fdf4e3;color:#8a5c10}
.login-tag.login-challenge{background:#fdf1e7;color:#a35a12}
.login-tag.login-dead{background:#fdeceb;color:#b3372c}
.login-tag.login-unknown{background:#f3f4f5;color:#66716d}
.store-progress{margin:10px 0;font-size:12.5px;color:#414a46;background:#f7f8f8;border-radius:8px;padding:8px 11px;line-height:1.7}
.store-progress b{color:#1f2723}
.store-zombie{color:#b3372c}
.journal-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:10px 0 4px}
.journal-filter label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#66716d}
.journal-table td{font-size:12.5px;vertical-align:top}
.journal-table td.muted{color:#8a938f;white-space:nowrap}

/* P5-3 · 2-4 未读消息角标改成红色数字（覆盖旧的黑色小角标） */
.unread{background:#e5484d;color:#fff;font-weight:600;box-shadow:0 0 0 2px #fff}
#nav-unread:not(:empty){background:#e5484d;color:#fff;font-weight:600;padding:1px 5px;min-width:15px;height:15px;line-height:13px;text-align:center;box-shadow:0 0 0 2px #f3f3f3}
/* P5-3 · 2-6 数据完整性矩阵按项目分组 */
.gap-group{margin-top:16px}
.gap-group h3{font-size:13px;font-weight:600;color:#333;margin:0 0 8px;display:flex;align-items:center;gap:8px}
.gap-group+.gap-group{border-top:1px dashed #ededed;padding-top:14px}
/* P5-3 · 2-5 已录入区间显示 */
.shared-snapshot b{font-weight:600;color:#2b2b2b}

/* ===== 经营数据看板（?p=dashboard）· 16 家通用 · 只读实时查库 ===== */
.dash-page{max-width:1240px;margin:auto}
.dash-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:-8px 0 22px}
.dash-toolbar label{font-size:12px;color:#8d8d8d;display:flex;align-items:center;gap:8px}
.dash-toolbar select{border:1px solid #e1e1e1;border-radius:9px;padding:8px 11px;background:#fff;color:#333;font-size:13px}
.dash-gen{margin-left:auto;font-size:12px;color:#a0a0a0}
/* 停运店铺开关（2026-10-21）：默认只看在营；勾上才把停运店显示出来 */
.dash-toolbar .dash-closed{cursor:pointer;user-select:none}
.dash-toolbar .dash-closed input{margin:0;width:14px;height:14px;accent-color:#8d8d8d}
.dash-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:26px}
.dash-kpi{background:#fff;border:1px solid #e9e9e9;border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:4px}
.dash-kpi span{font-size:11px;letter-spacing:1px;color:#8d8d8d}
.dash-kpi strong{font-size:26px;font-weight:600;letter-spacing:-.5px;color:#2f2f2f}
.dash-kpi small{font-size:11px;color:#a5a5a5;line-height:1.5}
.dash-kpi.warn{border-color:#f0dcd9;background:#fefaf9}
.dash-kpi.warn strong{color:#b3372c}
.dash-sec{background:#fff;border:1px solid #e9e9e9;border-radius:16px;padding:24px;margin-bottom:22px}
.dash-sechead{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.dash-sechead h2{font-size:16px;font-weight:600;margin-bottom:7px}
.dash-sechead p{font-size:12px;color:#8d8d8d;line-height:1.7;max-width:820px}
.dash-count{font-size:12px;color:#8d8d8d;background:#f6f6f6;border-radius:8px;padding:6px 10px;white-space:nowrap}
.dash-tablewrap{overflow:auto}
.dash-table{border-collapse:collapse;width:100%;font-size:12.5px;text-align:left}
.dash-table th{background:#f8f8f8;color:#6f6f6f;font-weight:500;padding:11px 12px;border-bottom:1px solid #ececec;white-space:nowrap}
.dash-table td{padding:10px 12px;border-bottom:1px solid #f1f1f1;vertical-align:middle;white-space:nowrap}
.dash-table td small{display:block;font-size:10.5px;color:#a5a5a5;margin-top:3px;line-height:1.4}
.dash-table .dash-store{position:sticky;left:0;background:#fff;z-index:1;min-width:150px}
.dash-table th.dash-store{background:#f8f8f8}
.dash-table .dash-store b{font-weight:600;color:#2f2f2f}
.dash-table td.n-ok{color:#2c6e4a;font-weight:600}
.dash-table td.n-stale{color:#8a6116;font-weight:600}
.dash-table td.n-bad{color:#b3372c;font-weight:600}
.dash-cell b{display:inline-block;font-size:11.5px;font-weight:600;border-radius:6px;padding:3px 8px}
.dash-cell small{color:#a5a5a5}
.dash-cell.st-ok b{background:#edf6f0;color:#2c6e4a}
.dash-cell.st-stale b{background:#fdf6e8;color:#8a6116}
.dash-cell.st-broken b{background:#fdeceb;color:#b3372c}
.dash-cell.st-never b{background:#f5f5f5;color:#8f8f8f}
.dash-cell.st-disabled b{background:#fbfbfb;color:#b0b0b0;border:1px dashed #dedede}
.dash-cell.st-zero b{background:#eef3f8;color:#3f5f7f}
.dash-chip.st-zero{background:#eef3f8;color:#3f5f7f}
/* 「暂无」= 平台侧无此项（如 0 单店的售后），不是缺口。浅青实心，与灰「无记录」明显区分 */
.dash-cell.st-nodata b{background:#e9f5f4;color:#2f6b68}
.dash-chip.st-nodata{background:#e9f5f4;color:#2f6b68}
.dash-fresh b{font-weight:600}
.dash-fresh.st-ok b{color:#2c6e4a}
.dash-fresh.st-stale b{color:#8a6116}
.dash-fresh.st-old b{color:#b3372c}
.dash-fresh.st-never b{color:#adadad}
.dash-off{display:inline-block;margin-left:7px;font-style:normal;font-size:10px;color:#a8a8a8;border:1px dashed #dcdcdc;border-radius:5px;padding:1px 5px}
/* 应有/实到基线行（2026-10-20）：表底一行对照，缺店直接标红，不藏在灰色里 */
.dash-table tfoot td{background:#fafafa;border-top:1px solid #e6e6e6;border-bottom:none;font-weight:600;color:#4a4a4a}
.dash-table tfoot .dash-store{background:#fafafa}
.dash-base{font-size:12px;color:#2c6e4a}
.dash-base small{display:block;font-size:10.5px;color:#b3372c;font-weight:600;margin-top:2px}
.dash-base.is-short{color:#b3372c;font-weight:600}
.dash-base.is-off{color:#b0b0b0;font-weight:400}
/* 缺店点名（2026-10-20）：表底基线只说「缺 N 家」，缺哪几家在这行直接写出来，不靠 hover */
.dash-shortbox{margin:8px 0 0;padding:8px 10px;background:#fdf6f5;border:1px solid #f0d9d6;border-radius:6px;font-size:12px;color:#8a4a42;line-height:1.7}
.dash-shortbox>b{display:block;margin-bottom:2px;color:#b3372c;font-size:12px}
.dash-shortline{color:#8a4a42}
/* 长期 0 单（长时间无经营，只是数据事实、不是营业状态判断）：仍是蓝灰「0」，
   只把边线加深一档，绝不改成红色告警，也绝不靠这个样式暗示「停业」 */
.dash-cell.st-zero.is-long b{box-shadow:inset 0 0 0 1px #b7c9da}
/* 采集器版本徽标（2026-10-19 版本对齐）：显示在覆盖矩阵的店铺格里 */
.dash-ver{display:inline-block;margin-left:6px;font-style:normal;font-size:10px;border-radius:5px;padding:1px 5px;white-space:nowrap}
.dash-ver.is-ok{color:#3a7d44;background:#eef7ef;border:1px solid #cfe6d3}
.dash-ver.is-old{color:#b3261e;background:#fdecea;border:1px solid #f5c2bd;font-weight:600}
/* 营业状态徽标（2026-10-20 老板定）：只显示 stores.biz_status 的原值，不推断。
   「正常」是默认值不显示，避免满屏噪音；「新开」「停业」才挂出来。 */
.dash-biz{display:inline-block;margin-left:6px;font-style:normal;font-size:10px;font-weight:600;
  border-radius:5px;padding:1px 6px;white-space:nowrap}
.dash-biz.is-new{color:#1f6f8b;background:#eaf5f9;border:1px solid #c5e2ec}
.dash-biz.is-off{color:#6b5b8a;background:#f3f0f8;border:1px solid #ddd5ec}
/* 全绿两档（2026-10-20 老板定）：两个指标并排显示，点开能看是哪几家没全绿 */
.dash-greenbox{margin:2px 0 4px;display:flex;flex-wrap:wrap;gap:10px}
.dash-greendetail{flex:1 1 320px;min-width:280px;background:#fafafa;border:1px solid #ececec;
  border-radius:7px;padding:7px 11px;font-size:12px;color:#5a5a5a}
.dash-greendetail summary{cursor:pointer;color:#3a3a3a;line-height:1.6}
.dash-greendetail summary b{color:#2c6e4a}
.dash-greendetail ul{margin:6px 0 0;padding-left:18px;line-height:1.75}
.dash-greendetail li{color:#6b5b5b}
.dash-greendetail li b{color:#3a3a3a}
/* 今日数据状态（2026-10-20）：三段分开列，每段自带「要不要动手」；0 值不进任何一段 */
.dash-dgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dash-dsec{border:1px solid #e9e9e9;border-radius:12px;padding:13px 14px;background:#fcfcfc;display:flex;flex-direction:column;gap:7px}
.dash-dsec.is-pend{background:#fafbfc;border-color:#e3e8ee}
.dash-dsec.is-gap{background:#fdf6f5;border-color:#f0d9d6}
.dash-dsec.is-off{background:#fafafa;border-color:#ededed}
.dash-dsec h3{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.dash-dsec h3 i{font-style:normal;font-size:11px;font-weight:500;color:#7f7f7f;background:#f1f1f1;border-radius:5px;padding:2px 6px}
.dash-dsec.is-gap h3 i{color:#b3372c;background:#fbe9e7}
.dash-dbig{font-size:13px;color:#5f5f5f}
.dash-dbig b{font-size:22px;font-weight:600;color:#2f2f2f;letter-spacing:-.5px}
.dash-dbig em{font-style:normal}
.dash-dbig .is-red{color:#b3261e;font-weight:600}
.dash-dsay{margin:0;font-size:12px;color:#8a8a8a;line-height:1.7}
.dash-dchips{display:flex;flex-wrap:wrap;gap:6px}
.dash-dchip{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:5px 8px;font-size:12px;line-height:1.45}
.dash-dchip b{font-weight:600;color:#3a3a3a}
.dash-dchip small{color:#8d8d8d;font-size:11px}
.dash-dgaps,.dash-dchans{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.dash-dgap{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;background:#fff;border:1px solid #f0d9d6;border-radius:8px;padding:6px 8px;font-size:12px}
.dash-dgap.is-red{border-color:#e8a7a0;background:#fdecea}
.dash-dgap.is-closed{opacity:.72;border-color:#e6e6e6;background:#fbfbfb}
.dash-dgap b{color:#3a3a3a}
.dash-dgap span{color:#7a4a44}
.dash-dgap small{color:#9a8b89;font-size:11px;margin-left:auto}
.dash-dchans li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:12px;color:#4a4a4a}
.dash-dchans small{color:#9a9a9a;font-size:11px}
.dash-dch-num{font-weight:600;color:#b3372c;background:#fbe9e7;border-radius:5px;padding:1px 6px}
.dash-dch-off{font-weight:600;color:#8d8d8d;background:#f1f1f1;border-radius:5px;padding:1px 6px}
.dash-dtag{font-style:normal;font-size:10px;border-radius:4px;padding:1px 5px;background:#f1f1f1;color:#6f6f6f}
.dash-dtag.is-red{background:#fdecea;color:#b3261e;font-weight:600}
.dash-dtag.is-off{background:#f1f1f1;color:#7f7f7f}
.dash-dtag.is-new{background:#eef4fb;color:#3f5f7f}
.dash-dnone{font-size:12px;color:#9a9a9a;background:#fff;border:1px dashed #e2e2e2;border-radius:8px;padding:8px;text-align:center}
@media(max-width:1150px){.dash-dgrid{grid-template-columns:1fr}}
.dash-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:14px}
.dash-chip{font-size:11px;border-radius:6px;padding:4px 9px;font-weight:600}
.dash-chip.st-ok{background:#edf6f0;color:#2c6e4a}
.dash-chip.st-stale{background:#fdf6e8;color:#8a6116}
.dash-chip.st-broken{background:#fdeceb;color:#b3372c}
.dash-chip.st-never{background:#f5f5f5;color:#8f8f8f}
.dash-chip.st-disabled{background:#fbfbfb;color:#b0b0b0;border:1px dashed #dedede}
.dash-group+.dash-group{margin-top:22px;border-top:1px dashed #efefef;padding-top:18px}
.dash-group h3{font-size:13px;font-weight:600;color:#3a3a3a;margin-bottom:13px;display:flex;align-items:center;gap:10px}
.dash-group h3 span{font-size:11px;font-weight:400;color:#a8a8a8}
.dash-vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:11px}
.dash-vcard{border:1px solid #ededed;border-radius:12px;padding:13px 14px;background:#fdfdfd;display:flex;flex-direction:column;gap:6px;min-width:0}
.dash-vcard.is-empty{background:#fcfcfc;border-style:dashed}
.dash-vcard header{display:flex;align-items:center;gap:7px;justify-content:space-between}
.dash-vcard header b{font-size:12px;font-weight:500;color:#6f6f6f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-vcard strong{font-size:23px;font-weight:600;letter-spacing:-.6px;color:#2b2b2b;line-height:1.2}
.dash-vcard strong small{font-size:11px;font-weight:400;color:#a5a5a5;margin-left:3px;letter-spacing:0}
/* 推广 6 指标的「当前值两行对照」（老板 2026-10-21 选 B）：今日一行、最近有数一行 */
.dash-vpair{display:flex;flex-direction:column;gap:2px}
.dash-vpair .vrow{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.dash-vpair .vlab{font-size:11px;color:#8e8e8e;line-height:1.5}
.dash-vpair .vnum{font-size:23px;font-weight:600;letter-spacing:-.6px;color:#2b2b2b;line-height:1.2}
.dash-vpair .vnum small{font-size:11px;font-weight:400;color:#a5a5a5;margin-left:3px;letter-spacing:0}
.dash-vpair .is-last .vlab{color:#9a9a9a}
.dash-vpair .is-last .vnum{font-size:17px;font-weight:500;color:#6f6f6f;letter-spacing:-.3px}
.dash-vpair.is-same .vlab{font-size:11px;color:#a5a5a5}
.dash-vstale{font-size:10.5px;color:#a8a8a8}
.dash-vmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dash-vmeta span{font-size:10.5px;color:#a5a5a5}
.dash-vcard footer{font-size:10.5px;color:#b0b0b0}
.dash-snap{display:inline-block;margin-right:6px;font-style:normal;font-size:11px;color:#3b6fb6;background:#eef4fd;border:1px solid #d3e3f8;border-radius:6px;padding:2px 7px;white-space:nowrap}
.dash-derived{font-style:normal;text-decoration:none;font-size:9.5px;color:#7b7b7b;background:#f1f1f1;border-radius:4px;padding:1px 5px;white-space:nowrap}
.dash-delta{font-style:normal;font-size:11px;font-weight:600}
.dash-delta.up{color:#b3372c}
.dash-delta.down{color:#2c6e4a}
.dash-delta.flat{color:#a8a8a8}
.dash-tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.dash-tcard{border:1px solid #ededed;border-radius:12px;padding:13px 14px 11px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:8px}
.dash-tcard.is-thin{background:#fcfcfc;border-style:dashed}
.dash-tcard header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.dash-tcard header b{font-size:12px;font-weight:500;color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-tcard header span{font-size:13px;font-weight:600;color:#2f2f2f;white-space:nowrap}
.dash-chartwrap{position:relative}
.dash-svg{display:block;width:100%;height:auto}
.dash-chartnote{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font-size:11px;color:#9a9a9a;background:rgba(255,255,255,.86);padding:7px 4px;letter-spacing:.2px}
.dash-tcard footer{font-size:10.5px;color:#b0b0b0;line-height:1.5}
.dash-empty{color:#9a9a9a;font-size:13px;padding:18px 0}
.dash-error{color:#b3372c;background:#fdeceb;border-radius:12px;padding:16px 18px;font-size:13px}
.dash-details summary{cursor:pointer;font-size:12px;color:#7f7f7f;font-weight:500}
.dash-changes{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}
.dash-changes li{font-size:12px;color:#3a3a3a;display:flex;gap:10px;flex-wrap:wrap;align-items:baseline}
.dash-changes li span{font-size:10.5px;color:#a8a8a8}
@media(max-width:760px){
 .dash-sec{padding:16px}
 .dash-table td,.dash-table th{padding:8px 9px;font-size:11.5px}
 .dash-vgrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
 .dash-tgrid{grid-template-columns:1fr}
 .dash-gen{margin-left:0}
}

/* 商品明细板块（v0.13.17）：每件商品一行，带平台商品ID */
.dash-kpis-compact{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:14px}
.dash-kpis-compact .dash-kpi{padding:11px 14px;border-radius:11px}
.dash-kpis-compact .dash-kpi strong{font-size:20px}
.dash-goods th{white-space:nowrap}
.dash-goods td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.dash-goods td.dash-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;white-space:nowrap}
.dash-goods td.dash-mono small{display:block;font-size:9.5px;color:#b8b8b8;font-family:inherit}
.dash-goods td.dash-gname{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-goods tbody tr:hover{background:#fbfbfb}

/* ---- 成本与报价中心 · 装数据入口（2026-10-20） ---- */
.cost-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:0 0 16px}
.cost-proj{font-size:13px;color:#666}
.cost-proj select{margin-left:6px;padding:6px 10px;border-radius:8px;border:1px solid #d8d8d8;background:#fff;font:inherit}
.cost-actions{display:flex;flex-wrap:wrap;gap:8px}
.cost-card{background:#fff;border:1px solid #e8e8e8;border-radius:14px;padding:18px 20px;margin-bottom:14px}
/* 旧版通道警示条：CSP 只放行外部样式表，不能用内联 style */
.cost-legacy-warn{margin:0 0 12px;padding:10px 14px;border-radius:8px;background:#fff7e6;border:1px solid #ffd591;color:#874d00;font-size:13px;line-height:1.7}
.cost-legacy-warn b{color:#a8500a}
.cost-entry-hint{font-size:13px;color:#666;margin:0 0 10px}
/* 收货台进度条（CSP 只放行外部样式表；宽度由 JS 用 CSSOM 赋值） */
.docs-prog{margin-top:12px}
.docs-prog-head{display:flex;justify-content:space-between;font-size:13px;margin-bottom:4px}
.docs-prog-bar{height:8px;background:#e8e8ee;border-radius:4px;overflow:hidden}
.docs-prog-fill{height:100%;width:0;background:#3b6ef0;transition:width .2s}
.docs-prog-note{margin-top:8px;font-size:13px;color:#8a8a8a}
.docs-shelf-q{width:180px;padding:6px 10px;border-radius:8px;border:1px solid #d8d8d8;background:#fff;font:inherit}
.cost-card h2{font-size:16px;margin:0 0 8px}
.cost-card h3{font-size:14px;margin:14px 0 6px}
.cost-card p{margin:6px 0;font-size:13px;line-height:1.7}
.cost-drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:34px 20px;border:2px dashed #cfd6dd;border-radius:14px;background:#fafbfc;cursor:pointer;transition:.15s}
.cost-drop:hover,.cost-drop.over{border-color:#3a6ea5;background:#f2f7fc}
.cost-drop-icon{font-size:30px}
.cost-drop strong{font-size:14px}
.cost-drop small{color:#8a8a8a}
.cost-inline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.cost-inline label{font-size:13px;color:#555;display:flex;align-items:center;gap:6px}
.cost-inline select{padding:6px 10px;border-radius:8px;border:1px solid #d8d8d8;background:#fff;font:inherit}
.cost-stats{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.cost-stats>div{display:flex;align-items:baseline;gap:5px;padding:8px 14px;border-radius:10px;background:#f4f5f7;font-size:12px;color:#555}
.cost-stats b{font-size:20px;color:#222}
.cost-stats .ok b{color:#1f8b4c}
.cost-stats .bad b{color:#c0392b}
.cost-stats .dup b,.cost-stats .warn b{color:#b7791f}
.cost-tablewrap{overflow:auto;border:1px solid #eee;border-radius:10px;margin-top:10px;max-height:420px}
.cost-table{width:100%;border-collapse:collapse;font-size:12.5px}
.cost-table th,.cost-table td{padding:7px 10px;border-bottom:1px solid #f0f0f0;text-align:left;vertical-align:top}
.cost-table th{background:#f7f8fa;font-weight:600;position:sticky;top:0;z-index:1}
.cost-table tr.lv-block td{background:#fff5f4}
.cost-table tr.lv-skip td{background:#fffaef}
.cost-table tr.lv-warn td{background:#fffdf2}
/* 收货台本批清单：10 列宽窄不一，不能被挤成竖排单字 */
#docs-table .cost-table th,#docs-table .cost-table td{white-space:nowrap}
#docs-table .cost-table td:nth-child(3){white-space:normal;min-width:150px;max-width:210px;word-break:break-all}
#docs-table .cost-table td:nth-child(8){white-space:normal;min-width:240px;max-width:360px}
#docs-table .cost-table td:nth-child(10){max-width:250px;overflow:hidden;text-overflow:ellipsis}
.cost-click{cursor:pointer}
.cost-click:hover td{background:#f2f7fc}
.cost-bad{color:#c0392b;font-weight:600}
.cost-req{color:#c0392b;font-size:12px}
.cost-warn{background:#fff8e6;border:1px solid #f2d58a;border-radius:10px;padding:10px 14px;font-size:13px;margin:10px 0}
.cost-check{font-size:13px;color:#555;display:flex;align-items:center;gap:6px}
.cost-empty{color:#8a8a8a;font-size:13px}

/* 2026-10-21 29 类字典：Top3 候选按钮（点一下即指定，不用翻 29 项下拉）。
   样式必须写在外部 CSS —— 页面 CSP 是 style-src 'self'，内联 style 会被浏览器拦掉。 */
.docs-cands{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.docs-cand{font-size:11px;line-height:1.6;padding:1px 7px;border-radius:10px;cursor:pointer;
  border:1px solid #cfd8e6;background:#f4f7fc;color:#28405f;white-space:nowrap}
.docs-cand:hover{background:#e2ecfb;border-color:#7fa6e0;color:#12325c}
.docs-cand:focus{outline:2px solid #3b6ef0;outline-offset:1px}

/* ===== 收货台「看和改」：筛选条 / 待处理标记 / 行内改类型与备注（2026-10-21 老板要求） ===== */
.docs-rvbar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 6px}
.docs-rvchip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:14px;
  border:1px solid #d8d8d8;background:#fff;color:#3a3a3a;font:inherit;font-size:13px;cursor:pointer}
.docs-rvchip:hover{border-color:#7fa6e0;color:#12325c}
.docs-rvchip.on{background:#eef3fd;border-color:#3b6ef0;color:#12325c;font-weight:600}
.docs-rvchip.hot{border-color:#e2a5a0}
.docs-rvnum{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;
  background:#ececf1;color:#5a5a5a;font-size:11px;line-height:17px;text-align:center;font-weight:600}
.docs-rvnum.hot{background:#d93025;color:#fff}
.docs-rvhint{margin:0 0 10px;font-size:13px}
.docs-warn{color:#d93025;font-weight:700}
.docs-table td{vertical-align:top}
.cost-table tr.docs-need td:first-child{box-shadow:inset 3px 0 0 #d93025}
.docs-need-cell{width:26px;text-align:center}
.docs-tysel{max-width:168px;padding:4px 6px;border-radius:6px;border:1px solid #d8d8d8;
  background:#fff;font:inherit;font-size:12px}
.docs-note{width:100%;min-width:150px;padding:5px 8px;border-radius:6px;border:1px solid #d8d8d8;
  background:#fff;font:inherit;font-size:12px}
.docs-note:focus,.docs-tysel:focus{outline:2px solid #3b6ef0;outline-offset:1px;border-color:#3b6ef0}
.docs-ok{padding:4px 10px;font-size:12px;white-space:nowrap}
.docs-actions{margin-top:10px}
.docs-rvtag{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;
  border:1px solid #d8d8d8;background:#f5f5f7;color:#444;white-space:nowrap}
.docs-rvtag.lv-block{border-color:#e8b4b0;background:#fdecea;color:#a3271d}
.docs-rvtag.lv-warn{border-color:#e8d9a8;background:#fdf8e6;color:#7a5d10}
.docs-rvtag.lv-ok{border-color:#a8d5b5;background:#eaf7ee;color:#1c6b34}
.docs-rvtag.lv-skip{border-color:#d8d8d8;background:#f5f5f7;color:#555}

/* ---- 2026-10-21 收货台：批量确认 / 批量改类型 拆成两条独立的门（事故后补） ---- */
.docs-bulkbar{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;margin:12px 0 8px}
.docs-bulkgrp{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;
  border:1px solid #e5e5e5;background:#fff;min-width:236px;max-width:340px}
.docs-bulkgrp-a{border-color:#a9c6f2;background:#f6faff}
.docs-bulkgrp-b{border-color:#edc59a;background:#fffaf4}
.docs-bulgtag{font-size:11px;font-weight:700;letter-spacing:.6px;color:#7f7f7f}
.docs-bulkgrp-a .docs-bulgtag{color:#2f5fd0}
.docs-bulkgrp-b .docs-bulgtag{color:#a8641a}
.docs-bulkgrp label{display:flex;align-items:center;gap:6px;font-size:12px;color:#7f7f7f}
.docs-bulkgrp small{font-size:11px;line-height:1.5;color:#8a8a8a}
.docs-bulkgrp button.docs-bulk-a{background:#3b6ef0;border:1px solid #3b6ef0;color:#fff;
  font-weight:600;border-radius:8px;padding:8px 12px}
.docs-bulkgrp button.docs-bulk-a:hover{background:#2f5fd0}
.docs-bulkgrp button.docs-bulk-b{background:#b5701a;border:1px solid #b5701a;color:#fff;
  font-weight:600;border-radius:8px;padding:8px 12px}
.docs-bulkgrp button.docs-bulk-b:hover{background:#995d13}
.docs-bulkrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;align-self:center}
.docs-opcell{white-space:nowrap}
.docs-opcell button.docs-histbtn{border:1px solid #d8d8d8;background:#fff;color:#7f7f7f;
  border-radius:6px;padding:3px 8px;font-size:12px;margin-left:4px}
.docs-opcell button.docs-histbtn:hover{border-color:#3b6ef0;color:#2f5fd0}

/* 改类型前的逐行确认 */
.docs-diffwrap{max-height:46vh;overflow:auto;margin:10px 0;border:1px solid #e5e5e5;border-radius:8px}
.docs-difftb{font-size:12px}
.docs-difftb td,.docs-difftb th{padding:5px 8px}
.docs-difftb tr.docs-diffchg{background:#fff8f7}
.docs-difftb tr.docs-diffchg td:first-child{box-shadow:inset 3px 0 0 #d93025}
.docs-diffnow{color:#a8641a}
.docs-diffother{margin:10px 0;padding:10px 12px;border-radius:8px;background:#fdecea;
  border:1px solid #f3b7b1;color:#8c2318;line-height:1.7;font-size:13px}
.docs-diffcf{margin:8px 0;font-size:12px;line-height:1.7}
.docs-diffact{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}

/* 每份文件的改动历史 */
.docs-histwrap{max-height:52vh;overflow:auto;margin:10px 0;border:1px solid #e5e5e5;border-radius:8px}
.docs-histtb{font-size:12px}
.docs-histtb td,.docs-histtb th{padding:5px 8px;vertical-align:top}
.docs-histold{color:#8c2318;max-width:230px;word-break:break-all}
.docs-histnew{color:#1c6b34;max-width:230px;word-break:break-all}
/* Agent 可视化工作台：九宫格骨架 + 配置页 Agent 卡片列表 */
.agw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.agw-cell{display:flex;flex-direction:column;gap:10px;min-height:150px;padding:20px;background:#fff;border:1px solid #eee;border-radius:18px;box-shadow:0 6px 20px #00000005}
.agw-cell-head{display:flex;align-items:center;gap:10px}
.agw-no{flex:0 0 24px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f1f1;color:#666;font-size:12px}
.agw-cell-head h3{flex:1;min-width:0;margin:0;font-size:15px;font-weight:600;color:#171717}
.agw-todo{white-space:nowrap;padding:2px 8px;border:1px solid #f0e0b8;border-radius:999px;background:#fdf5e3;color:#8a6d1f;font-size:11px}
.agw-live{white-space:nowrap;padding:2px 8px;border:1px solid #b8e0c4;border-radius:999px;background:#eaf7ee;color:#1f7a3d;font-size:11px}
.agw-cell p{margin:0;color:#777;font-size:12px;line-height:1.7}
.agw-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.agw-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #e8e8e8;border-radius:14px}
.agw-card strong{color:#171717;font-size:14px}
.agw-card .agw-duty{margin:0;color:#888;font-size:12px;line-height:1.6}
.agw-card .agw-enter{align-self:flex-start;padding:6px 14px;border-radius:10px;font-size:12px;text-decoration:none}
@media(max-width:900px){.agw-grid{grid-template-columns:1fr}.agw-cards{grid-template-columns:1fr}}
/* ===== 知识库管理界面（第 1 格） ===== */
.agw-link{color:inherit;text-decoration:none;border-bottom:1px dashed currentColor}
.agw-link:hover{opacity:.75}
/* 2026-10-22 老板要求：已开通的格子点整块就要能进。
   原来只有标题里「知识库」几个字是链接，点卡片空白处毫无反应 —— 看着像坏了。
   这里用 .is-live（和「已开通」标记同源）给整张卡铺一层透明热区，
   点卡片任意位置＝点链接。未开通的格子没有 .is-live，行为完全不变。 */
.agw-cell.is-live{position:relative;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.agw-cell.is-live:hover{border-color:#171717;box-shadow:0 10px 26px #00000012}
.agw-cell.is-live:focus-within{border-color:#171717;box-shadow:0 0 0 3px #1717171a}
.agw-cell.is-live .agw-link::after{content:'';position:absolute;inset:0;border-radius:18px;z-index:2}
.kb-wrap{display:grid;grid-template-columns:250px minmax(0,1fr) 280px;gap:14px;align-items:start}
.kb-side-list{border:1px solid var(--line,#e3e3e3);border-radius:10px;padding:6px;background:var(--card,#fff)}
.kb-list-head{display:flex;justify-content:space-between;font-size:12px;opacity:.6;padding:4px 8px}
.kb-item{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:8px;cursor:pointer;font:inherit;color:inherit}
.kb-item:hover{background:rgba(127,127,127,.10)}
.kb-item.selected{background:rgba(127,127,127,.18)}
.kb-item strong{display:block;font-size:13px;font-weight:600}
.kb-item small{display:block;font-size:11px;opacity:.65;margin-top:2px;word-break:break-all}
.kb-upload{display:block;margin:8px;padding:6px 10px;border:1px dashed currentColor;border-radius:8px;font-size:12px;cursor:pointer;opacity:.8}
.kb-main{border:1px solid var(--line,#e3e3e3);border-radius:10px;padding:14px;min-height:320px}
.kb-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.kb-head h2{margin:0;font-size:15px}
.kb-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
.kb-doc{font-size:14px;line-height:1.7}
.kb-doc h1,.kb-doc h2,.kb-doc h3,.kb-doc h4{margin:14px 0 6px;line-height:1.3}
.kb-doc h1{font-size:18px}.kb-doc h2{font-size:16px}.kb-doc h3{font-size:14px}
.kb-doc table.kb-table{border-collapse:collapse;margin:8px 0;font-size:13px}
.kb-doc table.kb-table td{border:1px solid var(--line,#e3e3e3);padding:4px 8px}
.kb-doc pre.kb-code{background:rgba(127,127,127,.12);padding:8px;border-radius:8px;overflow:auto;font-size:12px}
.kb-editor{width:100%;min-height:420px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;padding:10px;border-radius:8px;border:1px solid var(--line,#e3e3e3);background:var(--card,#fff);color:inherit}
.kb-block{margin-bottom:12px}
.kb-asm,.kb-trash{list-style:none;padding:0;margin:6px 0;font-size:12px}
.kb-asm li{padding:2px 0;opacity:.85}
.kb-trash li{display:flex;justify-content:space-between;gap:6px;padding:3px 0;word-break:break-all}
.warn{color:#b3261e}
@media(max-width:1100px){.kb-wrap{grid-template-columns:1fr}}

/* ===== 资料区文件夹树（2026-10-22 网盘化）=====
   为什么不用写死颜色：现有皮肤用 var(--line)/var(--card) 走明暗两套，
   这里跟着变量走，换皮不用再动本段。缩进靠行内 --d，深层夹子自动错位。 */
.kbt-bar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:6px 4px 8px}
.kbt-bar button{font:inherit;font-size:12px;padding:5px 10px;border-radius:8px;cursor:pointer;line-height:1.2}
.kbt-bar .primary{background:#171717;color:#fff;border:1px solid #171717}
.kbt-bar .gold,.kbt-bar .ghost{background:none;border:1px solid var(--line,#e3e3e3);color:inherit}
.kbt-bar .ghost:hover{background:rgba(127,127,127,.10)}
.kbt-sys{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:11px;opacity:.7;cursor:pointer;white-space:nowrap}
.kbt-target{display:flex;gap:6px;align-items:center;font-size:11px;opacity:.85;padding:0 4px 8px}
.kbt-target select{flex:1;min-width:0;font:inherit;font-size:11px;padding:4px 6px;border-radius:8px;
  border:1px solid var(--line,#e3e3e3);background:var(--card,#fff);color:inherit}
.kbt-tree{padding:2px 0}
.kbt-row{display:flex;align-items:stretch;padding-left:calc(var(--d,0) * 13px)}
.kbt-name{flex:1;min-width:0;display:flex;gap:6px;align-items:flex-start;text-align:left;
  background:none;border:0;font:inherit;color:inherit;padding:5px 6px;border-radius:8px;cursor:pointer}
.kbt-name:hover{background:rgba(127,127,127,.10)}
.kbt-row.on>.kbt-name{background:rgba(127,127,127,.20)}
.kbt-ico{flex:none;width:13px;text-align:center;opacity:.6;font-size:11px;line-height:1.6}
.kbt-txt{flex:1;min-width:0;font-size:13px;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbt-txt small{display:block;font-size:10.5px;opacity:.55;font-weight:400;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbt-dir>.kbt-name>.kbt-txt{font-weight:600}
.kbt-root>.kbt-name>.kbt-txt{font-weight:700;font-size:13.5px}
.kbt-more{flex:none;background:none;border:0;cursor:pointer;color:#999;font-size:12px;
  padding:0 6px;border-radius:6px;line-height:1.6}
.kbt-more:hover{background:rgba(127,127,127,.16);color:inherit}
.kbt-mkdir,.kbt-movepick{display:flex;gap:6px;padding:3px 4px 6px calc(var(--d,0) * 13px + 18px)}
.kbt-mkdir input,.kbt-movepick select{flex:1;min-width:0;font:inherit;font-size:12px;
  padding:5px 8px;border-radius:8px;border:1px solid var(--line,#e3e3e3);
  background:var(--card,#fff);color:inherit}
.kbt-mkdir button,.kbt-movepick button{font:inherit;font-size:11px;padding:4px 8px;
  border-radius:8px;border:1px solid var(--line,#e3e3e3);background:none;color:inherit;cursor:pointer}
.kbt-cfg{margin-top:10px;padding-top:6px;border-top:1px solid var(--line,#e3e3e3)}
.kbt-up{padding:6px 6px;font-size:11px}

/* ===== 最近推广日报（2026-10-22）===== */
.kb-reports{margin:0 0 12px}
.kbr-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin-top:8px}
.kbr-item{display:block;width:100%;text-align:left;background:var(--card,#fff);color:inherit;
  border:1px solid var(--line,#e3e3e3);border-radius:10px;padding:9px 11px;cursor:pointer;font:inherit}
.kbr-item:hover{border-color:rgba(127,127,127,.5);background:rgba(127,127,127,.08)}
.kbr-item.on{border-color:rgba(127,127,127,.6);background:rgba(127,127,127,.14)}
.kbr-item strong{display:block;font-size:12.5px;font-weight:600;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbr-item small{display:block;font-size:10.5px;opacity:.6;margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== 文件夹树缩进：按深度用类，不用行内 style =====
   为什么不用 style="--d:N"：生产 CSP 是 style-src 'self'，行内样式属性会被
   浏览器直接拦掉（控制台报 Applying inline style violates ...），缩进全丢。
   类名扩张不受 CSP 限制，8 档足够（后端 MAX_DEPTH=8）。 */
.kbt-d0{padding-left:0}
.kbt-d1{padding-left:13px}
.kbt-d2{padding-left:26px}
.kbt-d3{padding-left:39px}
.kbt-d4{padding-left:52px}
.kbt-d5{padding-left:65px}
.kbt-d6{padding-left:78px}
.kbt-d7{padding-left:91px}
.kbt-mkdir,.kbt-movepick{padding:3px 4px 6px 18px}
.kbt-mkdir.kbt-d1,.kbt-movepick.kbt-d1{padding-left:31px}
.kbt-mkdir.kbt-d2,.kbt-movepick.kbt-d2{padding-left:44px}
.kbt-mkdir.kbt-d3,.kbt-movepick.kbt-d3{padding-left:57px}
.kbt-mkdir.kbt-d4,.kbt-movepick.kbt-d4{padding-left:70px}
.kbt-mkdir.kbt-d5,.kbt-movepick.kbt-d5{padding-left:83px}
.kbt-mkdir.kbt-d6,.kbt-movepick.kbt-d6{padding-left:96px}
.kbt-mkdir.kbt-d7,.kbt-movepick.kbt-d7{padding-left:109px}

/* ===== 知识库极简网盘化（2026-10-22，老板定口径）=====
   首屏肉眼只允许出现三样：左文件夹树 / 右文件列表 / 一个上传按钮。
   sha256、字数、大小、版本、回收站、权限、待核实经验、编辑删除全部在详情页。 */
[hidden]{display:none!important}
.kbn-bar{display:flex;align-items:center;gap:8px;padding:8px 2px 10px;
  border-bottom:1px solid var(--line,#e5e5e5);margin-bottom:12px}
.kbn-back{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:7px;color:var(--muted,#7f7f7f);font-size:14px;background:none;border:0}
.kbn-back:hover{background:rgba(127,127,127,.12);color:var(--ink,#363636)}
.kbn-where{background:none;border:0;font-size:13.5px;font-weight:650;color:var(--ink,#363636);
  padding:2px 0;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbn-where.kbn-link{color:#4a4a4a}
.kbn-where.kbn-link:hover{text-decoration:underline}
.kbn-flex{flex:1}
.kbn-busy{font-size:11.5px;color:var(--muted,#7f7f7f)}
.kbn-up{background:#171717;color:#fff;border:1px solid #171717;border-radius:8px;
  font-size:12.5px;padding:6px 13px;line-height:1.2}
.kbn-up:hover{background:#000}
.kbn-grid{display:grid;grid-template-columns:246px minmax(0,1fr);gap:14px;align-items:start}
.kbn-tree{border:1px solid var(--line,#e5e5e5);border-radius:10px;background:var(--paper,#fff);
  padding:6px 4px;min-height:320px;max-height:calc(100vh - 180px);overflow:auto}
.kbn-tcap{font-size:11px;letter-spacing:1px;color:var(--muted,#7f7f7f);padding:6px 8px}
.kbn-tr{display:flex;align-items:center;gap:1px}
.kbn-tri{flex:none;width:17px;height:26px;background:none;border:0;color:#9a9a9a;font-size:10px;
  display:flex;align-items:center;justify-content:center;border-radius:5px}
.kbn-tri:hover{background:rgba(127,127,127,.14);color:var(--ink,#363636)}
.kbn-tn{flex:1;min-width:0;background:none;border:0;text-align:left;font-size:13px;color:var(--ink,#363636);
  padding:5px 4px;border-radius:6px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbn-tn:hover{background:rgba(127,127,127,.10)}
.kbn-tr.on>.kbn-tn{background:rgba(127,127,127,.18);font-weight:650}
.kbn-root>.kbn-tn{font-weight:700}
.kbn-plus{flex:none;width:17px;height:26px;background:none;border:0;color:#bbb;font-size:11px;
  border-radius:5px;opacity:0;transition:opacity .12s}
.kbn-tr:hover .kbn-plus,.kbn-plus:focus{opacity:1}
.kbn-plus:hover{background:rgba(127,127,127,.16);color:var(--ink,#363636)}
.kbn-files{border:1px solid var(--line,#e5e5e5);border-radius:10px;background:var(--paper,#fff);
  padding:0 0 6px;min-height:320px}
.kbn-fh,.kbn-fr{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:10px;align-items:center;
  width:100%;padding:9px 14px;text-align:left}
.kbn-fh{font-size:11px;letter-spacing:.5px;color:var(--muted,#7f7f7f);
  border-bottom:1px solid var(--line,#e5e5e5)}
.kbn-fr{background:none;border:0;border-bottom:1px solid #f2f2f2;color:var(--ink,#363636);font-size:13px}
.kbn-fr:last-child{border-bottom:0}
.kbn-fr:hover{background:rgba(127,127,127,.08)}
.kbn-fr.on{background:rgba(127,127,127,.14)}
.kbn-fr.kbn-dir .kbn-fn{color:#4a4a4a}
.kbn-fn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.kbn-ft{color:var(--muted,#7f7f7f);font-size:11.5px;text-align:right;white-space:nowrap}
.kbn-empty{padding:18px 14px;color:var(--muted,#7f7f7f);font-size:12.5px}
.kbn-rep{background:none;border:0;padding:0;font-size:12.5px;color:var(--ink,#363636);text-align:left}
.kbn-rep:hover{text-decoration:underline}
.kb-moveto{font:inherit;font-size:12px;padding:5px 8px;border:1px solid var(--line,#e5e5e5);
  border-radius:8px;background:var(--paper,#fff);color:var(--ink,#363636)}
/* 详情页只剩「正文 + 右栏」两列（原来的左栏改成首屏的树） */
.kb-wrap{grid-template-columns:minmax(0,1fr) 280px}
@media(max-width:900px){.kbn-grid{grid-template-columns:1fr}.kbn-tree{max-height:220px}}
/* 报表中心：日报正文容器内边距（kbn-files 本身不带 padding） */
.kbn-files>.rep-wrap{padding:14px}
.kbn-files>.rep-wrap .kb-doc{margin-top:8px}
/* 报表中心左栏：246px 宽放「日期 + 时间」两列，时间列单独收窄 */
.kbn-fr--rep{grid-template-columns:minmax(0,1fr) 44px}

/* 板块③ 专家提醒条（2026-10-22 B1） */
.rep-alerts{margin:0 0 12px}
.rep-alert-cap{font-size:12px;color:var(--muted,#6b7280);margin:0 0 6px 2px}
.rep-alert{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:8px;
  border:1px solid var(--line,#e5e7eb);background:var(--card,#fff);margin-bottom:6px;font-size:13px}
.rep-alert--high{border-color:#dc2626;background:#fef2f2}
.rep-alert--warn{border-color:#d97706;background:#fffbeb}
.rep-alert--info{border-color:#2563eb;background:#eff6ff}
.rep-alert--ok{border-color:#16a34a;background:#f0fdf4;color:#166534}
.rep-alert-t{font-weight:600;flex:0 0 auto;max-width:38%}
.rep-alert-d{flex:1 1 auto;color:var(--muted,#4b5563);line-height:1.5;white-space:pre-line}
.rep-alert-a{flex:0 0 auto}

/* ===== 九板块面板（2026-10-22 B2–B5）===== */
.agw-board{margin-top:22px}
.agw-board-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.agw-pane{background:var(--panel,#fff);border:1px solid var(--line,#e3e6ea);border-radius:10px;padding:12px 14px;min-height:80px}
.agw-pane-wide{grid-column:1 / -1}
.agw-pane h3{margin:0 0 8px;font-size:14px;display:flex;align-items:center;gap:8px}
.agw-cnt{font-size:12px;font-weight:400;color:#6b7280}
.agw-row{display:flex;gap:8px;align-items:baseline;padding:5px 0;border-bottom:1px dashed var(--line,#eceff3);font-size:13px}
.agw-row:last-child{border-bottom:0}
.agw-row-m{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agw-row-x{flex:0 0 auto;color:#6b7280;font-size:12px;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agw-row-b{flex:0 0 auto;display:flex;gap:6px;align-items:center}
.agw-tag{font-size:11px;padding:1px 7px;border-radius:9px;background:#eef2f7;color:#42506b;white-space:nowrap}
.agw-tag--on{background:#e7f6ec;color:#1c7c3c}
.agw-tag--warn{background:#fff5e5;color:#a05a00}
.agw-tag--bad{background:#fdecec;color:#b3261e}
.agw-tag--wait{background:#eaf1fb;color:#1b4fa8;border:1px solid #b9cdec}
.agw-bad{color:#b3261e}
.agw-empty{color:#6b7280;font-size:13px;margin:6px 0}
.agw-note{color:#6b7280;font-size:12px;margin:6px 0}
.agw-add{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.agw-add input,.agw-add select{font-size:12px;padding:4px 8px;border:1px solid var(--line,#d8dde5);border-radius:6px;background:transparent;color:inherit}
.agw-add input[type=text]{flex:1 1 120px;min-width:90px}
.kbn-grp{margin-bottom:6px}
.kbn-grp-h{font-size:12px;color:#6b7280;padding:6px 4px 2px;display:flex;gap:6px;align-items:center}
.kbn-grp-n{margin-left:auto;background:#eef2f7;border-radius:8px;padding:0 6px;font-size:11px}

/* ===== 九板块独立落地页（2026-10-22 C 类）
   每格点进去是一个整页，不是锚点面板。样式沿用 --panel / --line，不另立主题。 */
.agw-page{display:flex;flex-direction:column;gap:12px}
.agw-toolbar{display:flex;align-items:center;gap:10px;padding:9px 14px;
  border:1px solid var(--line,#e3e6ea);border-radius:10px;background:var(--panel,#fff)}
.agw-tool-stamp{font-size:12px;color:#6b7280}
.agw-tool-sp{flex:1 1 auto}
.agw-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.agw-kpi{background:var(--panel,#fff);border:1px solid var(--line,#e3e6ea);border-radius:10px;
  padding:10px 14px;display:flex;flex-direction:column;gap:2px}
.agw-kpi b{font-size:20px;line-height:1.2}
.agw-kpi span{font-size:12px;color:#6b7280}
.agw-h3{font-size:13px;margin:10px 0 4px;color:#42506b;font-weight:600}
.agw-err{background:#fdecec;color:#b3261e;border-radius:8px;padding:8px 12px;font-size:13px;
  display:flex;gap:8px;align-items:center}
.agw-inline{font-size:12px;padding:3px 8px;border:1px solid var(--line,#d8dde5);border-radius:6px;
  background:transparent;color:inherit;width:190px}
.agw-cell-num{position:absolute;right:10px;bottom:8px;font-size:12px;color:#6b7280;font-weight:600}
.agw-cell{position:relative}
.agw-skill{background:var(--panel,#fff);border:1px solid var(--line,#e3e6ea);border-radius:10px;
  padding:12px 14px}
.agw-skill-h{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.agw-skill-h code{font-size:11px;background:#eef2f7;border-radius:5px;padding:1px 6px;color:#42506b}
.agw-skill-d{margin:6px 0 4px;font-size:13px;color:#374151}
.agw-skill-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.agw-skill-l li{font-size:12px;color:#4b5563;display:flex;gap:8px}
.agw-skill-l li span{flex:0 0 76px;color:#6b7280}
.agw-selfcheck{margin-top:8px}
.agw-layer{background:var(--panel,#fff);border:1px solid var(--line,#e3e6ea);border-radius:10px;
  padding:12px 14px}
.agw-layer-h{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.agw-layer-n{font-size:12px;color:#6b7280;margin-left:auto}
.agw-layer-t{margin:0;padding:10px 12px;background:#f8fafc;border-radius:8px;font-size:12px;
  line-height:1.7;white-space:pre-wrap;word-break:break-word;max-height:520px;overflow:auto;
  font-family:ui-monospace,Menlo,Consolas,monospace}
.agw-layer-e textarea{width:100%;font-size:13px;line-height:1.7;padding:10px 12px;border-radius:8px;
  border:1px solid var(--line,#d8dde5);background:var(--panel,#fff);color:inherit;
  font-family:ui-monospace,Menlo,Consolas,monospace;resize:vertical}
@media (max-width:720px){
  .agw-inline{width:100%}
  .agw-layer-n{margin-left:0}
}


/* ===== 经营数据看板 四段式经营视图（A1/A3/A5/A7/A8/B2/B3 · 2026-10-23） =====
   只新增 .bdv2-* 选择器，不改任何既有选择器，避免影响别的页面。 */
.bdv2{display:flex;flex-direction:column;gap:14px}
.bdv2-head{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.bdv2-say{font-size:16px;line-height:1.75;font-weight:600;color:#2b2b2b}
.bdv2-head-f{margin-top:10px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.bdv2-period{font-weight:600;color:#5a5a5a}
.bdv2-stamp{color:#9a9a9a}
.bdv2-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bdv2-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px 14px 30px;display:flex;flex-direction:column;gap:6px}
.bdv2-label{font-size:12px;color:var(--muted);letter-spacing:.5px}
.bdv2-value{font-size:23px;font-weight:650;letter-spacing:-.5px;color:#2b2b2b;line-height:1.25}
.bdv2-unit{font-size:12px;font-weight:400;margin-left:4px;color:var(--muted)}
.bdv2-chg{font-size:12px;color:#8a8a8a;line-height:1.6}
.bdv2-chg.is-todo{color:#a15c00}
.bdv2-why{display:block;font-size:10.5px;line-height:1.6;color:#9a9a9a;margin-top:2px}
.bdv2-spark{width:100%;height:34px;color:#8a8a8a;display:block}
.bdv2-spark-line{fill:none;stroke:#7a7a7a;stroke-width:1.6}
.bdv2-spark-dot{fill:#6d6d6d}
.bdv2-spark-dot.is-hollow{fill:#fff;stroke:#6d6d6d;stroke-width:1.3}
.bdv2-spark-empty{font-size:10.5px;color:#a8a8a8;height:34px;display:flex;align-items:center}
.bdv2-badge{font-size:10.5px;padding:1px 6px;border-radius:999px;background:#f0f0f0;color:#5a5a5a;margin-left:6px;font-weight:600}
.bdv2-badge.is-warn{background:#fdecec;color:#b3261e}
.bdv2-src{font-size:11px;color:#7a7a7a;background:none;border:0;border-bottom:1px dashed #c8c8c8;padding:0;line-height:1.5}
.bdv2-card .bdv2-src{position:absolute;right:12px;bottom:8px}
.bdv2-points{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bdv2-point{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column}
.bdv2-point-h{display:flex;align-items:center;gap:8px}
.bdv2-tag{font-size:11px;padding:2px 8px;border-radius:999px;background:#efefef;color:#4d4d4d;font-weight:600}
.bdv2-pn{font-size:10.5px;color:#b0b0b0}
.bdv2-c{font-size:13.5px;font-weight:600;margin-top:8px;line-height:1.65;color:#2b2b2b}
.bdv2-e{font-size:11.5px;color:#6a6a6a;margin-top:6px;line-height:1.75}
.bdv2-a{font-size:11.5px;color:#3f5a47;background:#f4f8f5;border-radius:8px;padding:8px 10px;margin-top:8px;line-height:1.7}
.bdv2-point-f{margin-top:10px}
.bdv2-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bdv2-fig{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0}
.bdv2-fig figcaption{font-size:12px;font-weight:600;color:#5a5a5a;margin-bottom:6px}
.bdv2-chart{width:100%;height:auto;display:block}
.bdv2-grid{stroke:#efefef;stroke-width:1}
.bdv2-axis{font-size:10px;fill:#9a9a9a}
.bdv2-axis2{font-size:10px;fill:#a8a8a8}
.bdv2-line{fill:none;stroke-width:1.8}
.bdv2-line.bdv2-s0{stroke:#5f5f5f}
.bdv2-line.bdv2-s1{stroke:#a8845a}
.bdv2-dot{fill:#5f5f5f}
.bdv2-dot.bdv2-s1{fill:#a8845a}
.bdv2-dot.is-hollow{fill:#fff;stroke:#5f5f5f;stroke-width:1.6}
.bdv2-dot.is-hollow.bdv2-s1{stroke:#a8845a}
.bdv2-bar{fill:#8a8a8a}
.bdv2-bar.bdv2-s1{fill:#c9c9c9}
.bdv2-legend{font-size:10.5px;color:#6a6a6a;display:flex;gap:12px;margin-bottom:2px}
.bdv2-key{display:inline-block;width:12px;height:2px;background:#5f5f5f;margin-right:4px;vertical-align:middle}
.bdv2-key.bdv2-s1{background:#a8845a}
.bdv2-keybar{height:9px;width:9px;border-radius:2px;background:#8a8a8a}
.bdv2-keybar.bdv2-s1{background:#c9c9c9}
.bdv2-cnote{font-size:10.5px;color:#9a9a9a;margin-top:6px;line-height:1.7}
.bdv2-empty-t{font-size:12px;color:#9a9a9a;text-align:center;padding:44px 0}
.bdv2-fold{background:var(--paper);border:1px solid var(--line);border-radius:12px}
.bdv2-fold>summary{cursor:pointer;padding:12px 16px;font-size:13px;font-weight:600;color:#4a4a4a;list-style:none}
.bdv2-fold>summary::-webkit-details-marker{display:none}
.bdv2-fold>summary::before{content:'\25B8  ';color:#a8a8a8}
.bdv2-fold[open]>summary::before{content:'\25BE  '}
.bdv2-detail-body{padding:0 16px 16px;border-top:1px solid var(--line)}
.bdv2-detail-body h4{font-size:12px;color:#5a5a5a;margin:16px 0 8px}
.bdv2-avail{width:100%;border-collapse:collapse;font-size:11.5px}
.bdv2-avail th{text-align:left;color:#8a8a8a;font-weight:600;padding:6px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.bdv2-avail td{padding:6px 8px;border-bottom:1px solid #f4f4f4;color:#4a4a4a;vertical-align:top;line-height:1.6}
.bdv2-neg{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;padding:7px 0;border-bottom:1px solid #f5f5f5;color:#5a5a5a}
.bdv2-neg b{color:#2f2f2f}
.bdv2-neg-p{color:#b3261e;font-weight:600}
.bdv2-warnmark{font-style:normal;font-size:10.5px;color:#a15c00;background:#fff6e6;padding:1px 6px;border-radius:6px}
.bdv2-cfg-body{padding:0 16px 16px;border-top:1px solid var(--line)}
.bdv2-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.bdv2-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#5a5a5a}
.bdv2-field input{border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:13px;background:#fafafa;color:#2b2b2b}
.bdv2-field small{font-size:10.5px;color:#9a9a9a;line-height:1.6}
.bdv2-cfg-act{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}
.bdv2-cfg-msg{font-size:12px;color:#3f5a47}
.bdv2-cfg-h{font-size:10.5px;color:#9a9a9a;margin-top:8px;line-height:1.7}
.bdv2-cfg-log{margin-top:10px;font-size:11.5px;color:#5a5a5a}
.bdv2-log{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-direction:column;gap:4px}
.bdv2-log li{color:#6a6a6a;line-height:1.6}
.bdv2-log li span{color:#9a9a9a;margin-right:6px}
.bdv2-pop{position:fixed;inset:0;display:none;z-index:80}
.bdv2-pop.is-open{display:block}
.bdv2-pop-mask{position:absolute;inset:0;background:rgba(30,30,30,.3)}
.bdv2-pop-card{position:relative;margin:8vh auto 0;width:min(560px,92vw);background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 18px 50px rgba(0,0,0,.18);max-height:76vh;overflow:auto}
.bdv2-pop-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.bdv2-pop-r{display:grid;grid-template-columns:76px 1fr;gap:8px;font-size:12px;padding:5px 0;border-bottom:1px solid #f4f4f4}
.bdv2-pop-r span{color:#9a9a9a}
.bdv2-pop-r b{font-weight:500;color:#3a3a3a;word-break:break-all}
.bdv2-pop-f{font-size:10.5px;color:#a8a8a8;margin-top:10px}
@media (max-width:1180px){
  .bdv2-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bdv2-points{grid-template-columns:1fr}
  .bdv2-charts{grid-template-columns:1fr}
  .bdv2-fields{grid-template-columns:1fr}
}

/* ===== 2026-10-23 看板首屏装全（追加覆盖，不改上方任何既有选择器） ===== */
/* 目标：1440x900 下「一句话结论 + 四张指标卡 + 三条看点」不滚动看全。
   只压纵向节奏（间距/行高/内边距），字号一律不动，信息一条不减。 */
.bdv2{gap:10px}
.bdv2-head{padding:12px 16px}
.bdv2-say{font-size:15px;line-height:1.6}
.bdv2-head-f{margin-top:6px}
.bdv2-cards{gap:10px}
.bdv2-card{padding:12px 13px 26px;gap:4px}
.bdv2-value{font-size:22px}
.bdv2-chg{line-height:1.5}
.bdv2-why{line-height:1.5}
.bdv2-spark{height:28px}
.bdv2-card .bdv2-src{bottom:6px}
.bdv2-points{gap:10px}
.bdv2-point{padding:12px}
.bdv2-c{margin-top:6px;line-height:1.5}
.bdv2-e{margin-top:4px;line-height:1.5}
.bdv2-a{margin-top:5px;padding:5px 8px;line-height:1.45}
.bdv2-point-f{margin-top:6px}
.bdv2-charts{gap:10px}
.bdv2-fig{padding:10px 12px}
/* 旧的行数截断凑高度已删除：藏正文不合规，改由下方 max-height:800px 压缩块处理 */

/* ===== 2026-10-23 柱状三态：未投 / 花 0 元 / 有数，三种长相必须不同 ===== */
.bdv2-bar-zero{fill:#dcdcdc;stroke:#c4c4c4;stroke-width:.6}
.bdv2-none{font-size:10px;fill:#b3b3b3;font-weight:600;letter-spacing:1px}
.bdv2-zero-t{font-size:10px;fill:#a8a8a8}

/* ===== 2026-10-23 保本覆盖率门线 / 柱状待补态 / 1366 首屏装全 ===== */
.bdv2-subnote{font-size:10.5px;color:#8a8a8a;line-height:1.5;margin:0}
.bdv2-badge.is-mute{background:#f1f3f1;color:#5f6b60}
.bdv2-todo-t{font-size:10px;fill:#a15c00;font-weight:600}
.bdv2-todo-line{stroke:#d8b48a;stroke-width:1.4;stroke-dasharray:3 3}

/* ===== 2026-10-23 平台未扣费提示条 / 分店明细 / 卡片状态标签 ===== */
.bdv2-badges{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap}
.bdv2-badges .bdv2-badge{margin-left:0}
.bdv2-qbar{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;background:#fdf0d8;
  border:1px solid #e6bf7d;border-left:4px solid #d98b1f;border-radius:10px;padding:7px 12px;
  font-size:11.5px;line-height:1.6;color:#6d3f0a}
.bdv2-qbar-h{color:#a15c00;font-weight:600;white-space:nowrap}
.bdv2-qbar-t{flex:1 1 340px;min-width:0}
.bdv2-qbar-w{color:#a15c00}
.bdv2-stores td{white-space:normal;line-height:1.55}
.bdv2-stores tr.is-leak{background:#fffaf2}
.bdv2-stores tr.is-leak td{color:#7a4a10}

/* 2026-10-23 四卡状态两段式：本期完整 / 环比待补，两件事分两行，不合成一个「待补」 */
.bdv2-chg-stages{display:flex;flex-direction:column;gap:1px;font-size:12px;line-height:1.5}
.bdv2-chg-stage{display:block}
.bdv2-chg-stage.is-ok{color:#4a6b4e}
.bdv2-chg-stage.is-todo{color:#a15c00}

/* 待核条：与「平台未扣费」视觉区分开（红棕，不是橙黄） */
.bdv2-qbar.bdv2-pending{background:#fdeceb;border-color:#e0a29c;border-left-color:#c0503f;color:#7d2b20}
.bdv2-qbar.bdv2-pending .bdv2-qbar-w{color:#a8493a}

/* 未扣费逐店日明细：待核行单独底色，块内小标题 */
.bdv2-sub4{margin:8px 0 3px;font-size:11.5px;font-weight:600;color:#5f6b60}
.bdv2-stores tr.is-tbd{background:#fdeceb}
.bdv2-stores tr.is-tbd td{color:#7d2b20}
.bdv2-warnmark.is-tbd{background:#f6d6d1;color:#a8493a}

/* 1366x768（及同高屏）：只压 board 自身间距。装的量靠砍文案（后端已缩短结论与看点），
   字号守底线：正文 >=11px、小字 >=10px。不缩字、不截断、不用 line-clamp 藏正文。 */
@media (max-height:800px){
  .bdv2{gap:7px}
  .bdv2-head{padding:8px 12px}
  .bdv2-say{font-size:13.5px;line-height:1.45}
  .bdv2-head-f{margin-top:3px;font-size:10.5px;gap:9px}
  .bdv2-cards{gap:8px}
  .bdv2-card{padding:8px 10px 20px;gap:2px}
  .bdv2-label{font-size:11px}
  .bdv2-value{font-size:18px;line-height:1.2}
  .bdv2-subnote{font-size:10px;line-height:1.3}
  .bdv2-chg{font-size:11px;line-height:1.32}
  .bdv2-chg-stages{font-size:11px;line-height:1.3}
  .bdv2-qbar.bdv2-pending{font-size:10.5px;line-height:1.4}
  .bdv2-why{font-size:10px;line-height:1.28;margin-top:1px}
  .bdv2-spark{height:15px}
  .bdv2-card .bdv2-src{bottom:4px}
  .bdv2-qbar{padding:6px 10px;font-size:11px;line-height:1.45}
  .bdv2-points{gap:8px}
  .bdv2-point{padding:6px 9px 4px}
  .bdv2-c{font-size:12px;margin-top:4px;line-height:1.32}
  .bdv2-e{font-size:11px;margin-top:3px;line-height:1.38}
  .bdv2-a{font-size:11px;margin-top:3px;padding:4px 7px;line-height:1.38}
  .bdv2-point-f{margin-top:3px}
  .bdv2-tag{font-size:10.5px;padding:1px 7px}
}

/* ==== 群聊：@ 高亮 / 系统条 / 日报卡片 / @我角标 / 候选浮层（S5）==== */
.mention{background:rgba(59,130,246,.14);color:#1d4ed8;border-radius:4px;padding:0 2px;font-weight:600}
.mention.me{background:rgba(234,88,12,.16);color:#b45309}
.sys-line{display:flex;justify-content:center;margin:10px 0}
.sys-line span{max-width:80%;font-size:12px;line-height:1.6;color:#6b7280;background:#f1f2f4;
  border-radius:999px;padding:4px 13px;text-align:center}
.report-msg .bubble{background:#f2fbf6;border:1px solid #cdeadd}
.report-tag{display:inline-block;margin-right:6px;font-size:11px;font-weight:700;color:#047857;
  background:#d9f4e9;border-radius:4px;padding:1px 6px}
.at-me{display:inline-block;margin-right:5px;font-size:11px;font-weight:700;color:#fff;
  background:#e5484d;border-radius:9px;padding:0 6px;line-height:18px;box-shadow:0 0 0 2px #fff}
.mention-pop{position:absolute;left:18px;right:18px;bottom:92px;max-height:224px;overflow:auto;
  background:#fff;border:1px solid #e6e6e6;border-radius:12px;
  box-shadow:0 14px 34px #00000018;z-index:40;padding:6px}
.mention-pop[hidden]{display:none}
.mention-pop button{display:flex;align-items:center;gap:9px;width:100%;padding:7px 9px;
  border:0;background:transparent;border-radius:9px;cursor:pointer;text-align:left}
.mention-pop button:hover{background:#f2f6fd}
.mention-pop button>span{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.mention-pop button strong{font-size:13px;font-weight:600;color:#1f2937}
.mention-pop button small{color:#8a8a8a;font-size:11px}

/* ============================================================================
 * 公司数据中心 · 九宫格（2026-10-25 卡片版）
 *
 * 为什么写在这里而不是 JS 注入：
 *   server.py 下发的 CSP 是 style-src 'self'，JS 注入的 <style>（#dc-css/#dc-css2）
 *   会被浏览器整条拒绝 —— 原来那 47 条规则一条都没生效，数据中心九宫格在真机上
 *   退化成一串裸文本「•①公司知识与文件1篇」。实测 console 报
 *   "Applying inline style violates ... style-src 'self'"。
 *   样式必须走 'self' 的外链，所以搬到本文件末尾。
 *
 * 配色一律取 dawn-ui/theme.css 的暗色变量（--ink/--muted/--line/--soft/--paper/--green），
 *   不新造一套视觉：卡片本体直接复用上文 .agw-*（小财工作台同款）。
 * ========================================================================== */

/* --- 基础排版（原 #dc-css，配色改为暗色可读） --- */
.dc-wrap{display:flex;flex-direction:column;gap:14px}
.dc-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 14px;border:1px solid var(--line,#e6e6e6);border-radius:12px;background:var(--paper,#fff)}
.dc-bar label{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted,#555)}
.dc-bar select,.dc-bar input{font-size:13px;padding:5px 8px;border:1px solid var(--line,#dcdcdc);border-radius:8px;background:var(--soft,#fff);color:var(--ink,#222)}
.dc-bar select option{background:#233d55;color:#f0f5fb}
.dc-card{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid var(--line,#e6e6e6);border-radius:14px;background:var(--paper,#fff);min-height:132px;color:var(--ink,#222)}
.dc-card.on{border-color:var(--green,#2c6e4a);box-shadow:0 0 0 2px rgba(229,203,162,.18)}
.dc-card.wide{grid-column:1/-1}
/* 内联 style 同样被 CSP style-src-attr 拦掉，等价改为 class（原来这些属性一条都没生效） */
.dc-span-all{grid-column:1/-1}
.dc-form.cols4{grid-template-columns:repeat(4,minmax(0,1fr))}
.dc-grid.mt12{margin-top:12px}
.dc-card h3{margin:0;font-size:15px;line-height:1.3;color:var(--ink,#171717)}
.dc-h{display:flex;gap:9px;align-items:flex-start}
.dc-no{flex:0 0 auto;width:26px;height:26px;border-radius:8px;background:var(--soft,#eef4f0);color:var(--green,#2c6e4a);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:14px}
.dc-h h3{margin:0;font-size:15px;line-height:1.3}
.dc-own{font-size:11px;color:var(--muted,#8a8a8a);margin-top:2px}
.dc-num{font-size:22px;font-weight:700;line-height:1.1;color:var(--ink,#171717)}
.dc-num small{font-size:12px;font-weight:400;color:var(--muted,#8a8a8a);margin-left:4px}
.dc-sub{font-size:12px;color:var(--muted,#6c6c6c);line-height:1.5}
.dc-chips{display:flex;flex-wrap:wrap;gap:6px}
.dc-chip{font-size:12px;padding:3px 9px;border-radius:999px;border:1px solid var(--line,#dcdcdc);background:transparent;color:var(--muted,#555);cursor:pointer}
.dc-chip.on{background:var(--green,#2c6e4a);border-color:var(--green,#2c6e4a);color:#22303f}
.dc-chip b{font-weight:700;margin-left:3px}
.dc-act{margin-top:auto;display:flex;gap:8px}
.dc-btn{font-size:12px;padding:5px 12px;border-radius:8px;border:1px solid var(--line,#dcdcdc);background:var(--soft,#fff);color:var(--ink,#222);cursor:pointer}
.dc-btn:hover{background:rgba(255,255,255,.14)}
.dc-btn.go{background:var(--green,#2c6e4a);border-color:var(--green,#2c6e4a);color:#22303f}
.dc-btn[disabled]{opacity:.45;cursor:not-allowed}
.dc-body{margin-top:4px;padding-top:12px;border-top:1px dashed var(--line,#e2e2e2);display:flex;flex-direction:column;gap:10px}
.dc-tbl{width:100%;border-collapse:collapse;font-size:12px;color:var(--ink,#222)}
.dc-tbl th,.dc-tbl td{padding:5px 7px;border-bottom:1px solid var(--line,#eee);text-align:left;vertical-align:top}
.dc-tbl th{font-weight:600;color:var(--muted,#666);background:rgba(255,255,255,.06);white-space:nowrap}
.dc-tbl tr.hl td{background:rgba(229,203,162,.12)}
.dc-ok{color:#8fd6a9}.dc-bad{color:#ff9b83}.dc-warn{color:#f7d89c}.dc-mute{color:var(--muted,#8a8a8a)}
.dc-tag{display:inline-block;font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid var(--line,#dcdcdc);color:var(--muted,#666)}
.dc-tag.ok{border-color:#a9d6bb59;color:#caead6;background:#80bba51a}
.dc-tag.bad{border-color:#ebad9a73;color:#ffd3c7;background:#b4645424}
.dc-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;align-items:end}
.dc-form label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted,#666)}
.dc-form input,.dc-form select,.dc-form textarea{font-size:13px;padding:6px 8px;border:1px solid var(--line,#dcdcdc);border-radius:8px;background:var(--soft,#fff);color:var(--ink,#222)}
.dc-form select option{background:#233d55;color:#f0f5fb}
.dc-form textarea{min-height:54px;resize:vertical}
.dc-note{font-size:12px;color:var(--muted,#8a8a8a);line-height:1.55}
.dc-err{padding:10px 12px;border:1px solid #ebad9a73;border-radius:10px;background:#b4645424;color:#ffd3c7;font-size:13px}
.dc-msg{padding:8px 12px;border:1px solid #a9d6bb59;border-radius:10px;background:#80bba51a;color:#caead6;font-size:13px}
.dc-scroll{max-height:320px;overflow:auto}
.dc-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:12px;color:var(--ink,#222)}
.dc-kv dt{color:var(--muted,#8a8a8a)}.dc-kv dd{margin:0}
.dc-sec{font-size:12px;font-weight:700;color:var(--ink,#444);margin:2px 0}

/* --- 九宫格：3 列 × 3 行等大卡（与 .agw-grid 同规格） --- */
.dc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.dc-bottom{display:none}
.dc-vcard{aspect-ratio:2 / 1;min-height:170px;padding:20px 22px;gap:10px}
.dc-vcard p.dc-line{margin:0;color:var(--muted,#666);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-vcard .agw-big{margin-top:auto;align-self:flex-end;display:flex;align-items:baseline;gap:6px;line-height:1}
.dc-vcard .agw-big b{font-size:40px;font-weight:700;letter-spacing:-1px;color:var(--green,#2c6e4a)}
.dc-vcard .agw-big span{font-size:13px;opacity:.72}
.dc-vcard .agw-no,.dc-detail .agw-no{flex:0 0 32px;width:32px;height:32px;border-radius:999px;font-size:14px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center}
.dc-vcard .agw-cell-head h3{font-size:18px;font-weight:600;letter-spacing:.1px}
/* 状态标签必须能一眼分出正常/警示：主题把 .agw-live/.agw-todo 统一成金米色，这里按语义改回来（只在卡片内） */
.dc-vcard .agw-live,.dc-detail .agw-live{color:#caead6;border-color:#a9d6bb59;background:#80bba51a}
.dc-vcard .agw-todo,.dc-detail .agw-todo{color:#ffd3c7;border-color:#ebad9a73;background:#b4645424}

/* --- 卡片页：点整张卡进去的明细与筛选 --- */
.dc-grid.dc-dim{display:block}
.dc-detail{display:flex;flex-direction:column;gap:12px}
.dc-detail-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dc-detail-title{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:700;line-height:1.2;color:var(--ink,#171717)}
.dc-detail .dc-own{font-size:12px;opacity:.75}
.dc-detail .dc-sub{font-size:13px;opacity:.9;line-height:1.6}
.dc-detail .dc-body{border-top:1px solid var(--line,#e6e6e6);padding-top:14px}
.dc-detail .dc-chips{margin-top:2px}
.dc-num-lg{margin-left:auto;font-size:30px;font-weight:700;line-height:1;color:var(--green,#2c6e4a)}
.dc-num-lg small{font-size:12px;font-weight:400;opacity:.72;margin-left:6px;color:inherit}

@media(max-width:1180px){
  .dc-grid,.dc-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dc-vcard{aspect-ratio:auto;min-height:150px}
}
@media(max-width:760px){.dc-grid,.dc-bottom{grid-template-columns:minmax(0,1fr)}}
/* ===== 2026-10-25 · 成本改标「已接入 · 来源=成本板块」（module 状态）=====
   成本不走店铺采集，标「未接入」会让人以为成本板块没上线。
   配色取 dawn-ui/theme.css 的暗色玻璃调（本页全站暗色，无亮色分支），不新造视觉。 */
.gap-table td.gap-module{background:rgba(110,170,220,.14);border:1px solid rgba(140,190,230,.26);padding:0;text-align:center}
.gap-table td.gap-module .gap-modlink{display:block;width:100%;height:100%;border:0;background:transparent;
  color:#a9cbe4;font:inherit;font-weight:600;cursor:pointer;padding:6px 4px;text-align:center;border-radius:6px}
.gap-table td.gap-module .gap-modlink:hover{background:rgba(255,255,255,.1)}
.gap-table td.gap-module small{display:block;font-size:10px;font-weight:400;opacity:.85;margin-top:2px;line-height:1.35}
.gap-mod{display:inline-block;margin-left:6px;font-style:normal;font-size:10px;font-weight:600;
  color:#a9cbe4;background:rgba(110,170,220,.16);border:1px solid rgba(140,190,230,.3);border-radius:5px;
  padding:1px 5px;white-space:nowrap}
.gl-ok{color:#8fd6a9}.gl-stale{color:#f7d89c}.gl-bad{color:#ff9b83}.gl-zero{color:#9dbdd8}
.gl-mod{color:#a9cbe4}.gl-mute{color:#8a8a8a}
.dash-cell.st-module{padding:0}
.dash-cell.st-module .dash-modlink{display:block;width:100%;border:0;background:transparent;color:#a9cbe4;
  font:inherit;cursor:pointer;padding:4px 6px;border-radius:6px;text-align:center}
.dash-cell.st-module .dash-modlink:hover{background:rgba(255,255,255,.1)}
.dash-cell.st-module .dash-modlink b{background:rgba(110,170,220,.16);color:#a9cbe4;border:1px solid rgba(140,190,230,.3)}
.dash-cell.st-module .dash-modlink small{display:block;font-size:10px;color:#8fa9bf;margin-top:2px}
.dash-chip.st-module{background:rgba(110,170,220,.16);color:#a9cbe4;border:1px solid rgba(140,190,230,.3)}
.dash-mod{display:inline-block;margin-left:7px;font-style:normal;font-size:10px;font-weight:600;
  color:#a9cbe4;background:rgba(110,170,220,.16);border:1px solid rgba(140,190,230,.3);border-radius:5px;
  padding:1px 5px;white-space:nowrap}
.dash-base.is-mod{color:#8fa9bf;font-weight:400}
.dash-modnote{font-size:11.5px;color:#8fa9bf;text-align:left;line-height:1.5}
/* ===== 售后数据分析（小仪 v2 · 2026-10-26）===== */
.yi-ana-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:6px 0 12px}
.yi-ana-f{display:flex;flex-direction:column;gap:2px;font-size:12px}
.yi-ana-in{padding:4px 6px;border-radius:6px;border:1px solid rgba(128,128,128,.4);background:transparent;color:inherit;font:inherit}
.yi-ana-line{padding:4px 0;border-bottom:1px dashed rgba(128,128,128,.25)}
.yi-ana-out{margin-bottom:8px}
.yi-good{color:#2e9b5a}
.yi-bad{color:#d9534f}
.yi-neu{color:rgba(128,128,128,.92)}

/* Company document folders */
.dc-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-top:20px}.dc-folder-grid .dc-folder{padding:24px;text-align:left;font-size:18px;min-height:110px}.dc-file{padding:18px;border-bottom:1px solid #ddd;overflow-wrap:anywhere}.dc-file p{line-height:1.6}.dc-file strong{display:inline-block;margin-bottom:8px}

/* 2026-11-01 老板批：查证过程折叠区 + 气泡内小表 */
.msg-ev{margin:10px 0 0;border-top:1px dashed #e5e5e5;padding-top:8px}
.msg-ev>summary{cursor:pointer;color:#9a9a9a;font-size:11px;margin:0;list-style:none}
.msg-ev>summary::-webkit-details-marker{display:none}
.msg-ev>summary:before{content:'\25B8 '}
.msg-ev[open]>summary:before{content:'\25BE '}
.msg-evx{margin-top:8px;font-size:11.5px;line-height:1.75;color:#8b8b8b;white-space:pre-wrap;
  max-height:340px;overflow:auto;background:#fafafa;border-radius:8px;padding:10px 12px}
.msg-tbl{border-collapse:collapse;margin:8px 0 4px;font-size:12.5px;white-space:normal;line-height:1.6}
.msg-tbl th,.msg-tbl td{border:1px solid #e6e6e6;padding:5px 9px;text-align:left;vertical-align:top}
.msg-tbl th{background:#f7f7f7;font-weight:600;color:#555}


/* ---- ICP 备案页脚（外链样式，CSP style-src 'self' 下才能生效） ---- */
#icp-footer{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;
z-index:2147483000!important;display:block!important;visibility:visible!important;opacity:1!important;
text-align:center!important;padding:6px 10px!important;margin:0!important;height:auto!important;
font-size:12px!important;line-height:1.6!important;color:#8a8a8a!important;
background:rgba(255,255,255,.94)!important;border-top:1px solid #e8e8e8!important;text-shadow:none!important;
font-family:inherit!important;box-sizing:border-box!important}
#icp-footer a{color:#8a8a8a!important;text-decoration:none!important;font-size:12px!important}
#icp-footer .icp-sep{color:#bbb!important;margin:0 6px}
#icp-footer .icp-org{font-size:12px!important;color:#8a8a8a!important}

/* ==== 2026-11-06 聊天改微信式气泡（老板施工卡）====
   ① 连续同一发送者合并成一组：头像占位保留（对齐不跑偏）、名字与时间只在组首出现、组内间距收紧
   ② 中间加日期分隔（今天 / 昨天 / 前天 / M月D日）
   ③ 气泡内长表格横向滚动，不用 white-space:nowrap 硬撑
   一律写在本文件，不用内联 style（CSP 会丢弃内联样式） */
.message.is-cont{margin-bottom:6px}
.message.is-cont .personface{visibility:hidden}
.message.is-cont .message-meta{display:none}
.message.is-cont .bubble{border-radius:8px 14px 14px 8px}
.message.mine.is-cont .bubble{border-radius:14px 8px 8px 14px}
/* 组尾与下一组之间重新拉开 */
.message.is-cont+.message:not(.is-cont){margin-top:14px}
/* 日期分隔 */
.date-sep{display:flex;align-items:center;justify-content:center;margin:20px 0 14px;
  color:#9aa0a6;font-size:11px;letter-spacing:.4px;user-select:none}
.date-sep::before,.date-sep::after{content:'';flex:1;height:1px;background:#ececec;max-width:80px;margin:0 12px}
/* 气泡内长表格：横向滚动，不撑破气泡 */
.bubble .msg-tbl{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.bubble .msg-tbl::-webkit-scrollbar{height:6px}
.bubble .msg-tbl::-webkit-scrollbar-thumb{background:#dcdcdc;border-radius:3px}
/* 代码块 / 超长串不撑破 */
.bubble pre{max-width:100%;overflow-x:auto}
.bubble{overflow-wrap:anywhere;word-break:break-word}
/* 手机宽度：左右留白收紧，气泡更宽 */
@media(max-width:760px){
  .message-scroll{padding:16px 12px}
  .message>div{max-width:84%}
  .message .personface{width:28px;height:28px;border-radius:9px;margin-top:16px}
  .date-sep{margin:16px 0 10px}
}

/* ==========================================================================
   手机适配层 · 2026-11-06
   —— 只加样式，不改 DOM、不改 JS；断点 768 / 480；≥1024 电脑端不受影响。
   —— 追加在文件末尾，靠「同选择器后出现」或「多一级类名」提升优先级，
      全程不使用 !important。
   —— 注意：dawn-ui/effects.css 在 style.css 之后加载，所以聊天区的覆盖
      一律加 .messenger / .conversation 前缀，避免被后加载的文件压回原值。
   ========================================================================== */

/* 手机聊天新增的「返回会话列表」按钮：电脑端一律隐藏，保证 1280 版式不变 */
.chat-back{display:none}

@media (max-width: 768px) {

  /* ---------- 1. 外壳：先掐掉「内容把网格撑开」 ---------- */
  .workspace { grid-template-columns: 64px minmax(0, 1fr); padding: 0; gap: 0; }
  .workspace-main { border: 0; border-radius: 0; }
  .workspace-content { padding: 14px 12px 72px; max-width: none; font-size: 15px; }

  /* 页头（.pagehead）：左标题 + 右按钮挤在 291px 里，h1 会被压成单字竖排（账号管理页实测 34px 宽）。
     窄屏改成上下两段，按钮自己换行。 */
  .pagehead { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .pagehead > div { min-width: 0; }
  .pagehead h1 { font-size: 24px; margin: 0 0 6px; }
  .pagehead p { font-size: 14px; line-height: 1.75; }
  .pagehead .row { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  /* 兼容另一套页头类名（部分页面用 .workspace-head） */
  .workspace-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .workspace-head h1 { font-size: 24px; margin: 4px 0 8px; }
  .workspace-head p:not(.overline) { font-size: 14px; line-height: 1.75; }
  .workspace-head > .row { flex-direction: row; flex-wrap: wrap; gap: 8px; }

  /* 聊天：单列 + minmax(0,1fr)。原 grid-template-columns:1fr 的 min-content
     会把会话区撑到 14000+px，整个消息区被推到屏幕外（375px 实测断掉）。 */
  .messenger { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .messenger .conversation { min-width: 0; min-height: 0; }
  /* 会话列表最多占三成屏高：原来 44vh 会把消息区压到只剩 140px（375×812 实测），几乎没法看消息 */
  /* ---------- 聊天全屏（2026-11-06 第二版）----------
     点进会话后 .messenger 加 has-room：列表收起，会话占满"可视高度 - 顶栏"。
     高度一律用 calc(var(--cw-vh) - var(--cw-topbar))，--cw-vh 由 JS 跟着 visualViewport 走，
     所以手机键盘弹出时消息区自己会缩，输入框不会被顶出屏幕。不写死像素。 */
  .messenger .chat-back { display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; min-height: 44px; margin-right: 6px; flex: none;
    border: 1px solid #e4e4e4; border-radius: 10px; background: #fff; color: #555;
    font-size: 20px; line-height: 1; }
  /* 用「整块铺满可视高度 + 顶部让出顶栏」而不是 top+height 两处各算一次：
     顶栏高度万一量偏 6px，也只会让顶部和顶栏重叠 6px（被顶栏盖住看不见），
     绝不会把输入框推到屏幕外；底部始终贴着可视区底部。 */
  /* 高度由 JS 按「可视高度 - 顶栏」算好写到 style 上（用 getBoundingClientRect 量顶栏，
     键盘弹出时 visualViewport 变化会重算），CSS 这里只负责收起列表和铺满。
     注：不能用 position:fixed —— 上层有 backdrop-filter，会变成它的包含块，量出来的位置是错的。 */
  .messenger.has-room { display: grid; }
  .messenger.has-room .conversations { display: none; }
  .messenger.has-room .conversation { height: 100%; }
  /* 全屏会话时把会话头第二行（"联合·AI同事·已配置模型"）收掉，省 14px 给消息区；
     电脑版和列表态都不受影响，返回列表后仍在。 */
  .messenger.has-room .conversation .chat-header p { display: none; }
  /* 全屏会话里把输入框下方那行说明收掉（电脑版照常显示），换 17px 给消息区 */
  .messenger.has-room .conversation .composer-bottom small { display: none; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 全屏会话里把输入框下方那行说明收掉（电脑版照常显示），换 17px 给消息区 */
  .messenger.has-room .conversation .composer-bottom small { display: none; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  .messenger.has-room .conversation .chat-header h2 { font-size: 16px; }
  /* 全屏会话时把会话头第二行（"联合·AI同事·已配置模型"）收掉，省 14px 给消息区；
     电脑版和列表态都不受影响，返回列表后仍在。 */
  .messenger.has-room .conversation .chat-header p { display: none; }
  /* 全屏会话里把输入框下方那行说明收掉（电脑版照常显示），换 17px 给消息区 */
  .messenger.has-room .conversation .composer-bottom small { display: none; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 全屏会话里把输入框下方那行说明收掉（电脑版照常显示），换 17px 给消息区 */
  .messenger.has-room .conversation .composer-bottom small { display: none; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  /* 输入框别被上面那条「触控区 ≥44px」的通用规则顶回 44px —— 多行文本框点哪都能聚焦 */
  .messenger.has-room .conversation .composer textarea { min-height: 0; }
  .messenger.has-room .conversation .chat-header h2 { font-size: 16px; }

  /* 会话列表区按内容高度排（标题 + 列表），列表本身另外限高；否则会把消息区压到只剩十几像素 */
  .messenger .conversations { min-width: 0; max-height: none; border-right: 0; border-bottom: 1px solid #eee; }
  .messenger .conversations > header { padding: 12px 14px 8px; gap: 8px; flex-wrap: wrap; align-items: center; }
  .messenger .conversations h1 { font-size: 19px; white-space: nowrap; }
  .messenger .conversations > header .row { min-width: 0; flex: 0 0 auto; }
  .messenger .conversations > header .circle-button { flex: 0 0 44px; }
  .messenger .conversations header p { font-size: 12.5px; margin: 6px 0 12px; }
  /* 搜索框：header 是 flex，width:100% 会把它顶出右边界（375 实测溢出到屏幕外），改成整行独占 */
  .messenger .conversations .searchbox { flex: 1 1 100%; width: auto; min-width: 0; font-size: 15px; padding: 9px 12px; }

  /* 看板：小节头一行放不下就换行，不许把卡片顶出可视区 */
  .dash-page { min-width: 0; }
  .dash-sechead { flex-wrap: wrap; gap: 8px; }
  .dash-sechead p { max-width: none; }
  .dash-dgrid, .dash-kpis { grid-template-columns: minmax(0, 1fr); }

  /* 其余多列网格 → 单列 */
  .cards, .contact-grid, .agentcards, .members,
  .agw-grid, .agw-cards, .dc-grid, .dc-bottom,
  .kb-wrap, .kbn-grid { grid-template-columns: minmax(0, 1fr); }

  /* ---------- 2. 表格：一律横向滚动，不压字号硬塞 ---------- */
  .dash-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .dash-table td, .dash-table th { font-size: 14px; padding: 9px 10px; }
  .dash-table td small { font-size: 12.5px; }
  .dash-table .dash-store { min-width: 128px; }
  .dash-cell b { font-size: 14px; }
  /* 商品明细表里的等宽列用了更高优先级的 11px，单独顶回来 */
  .dash-table.dash-goods td.dash-mono { font-size: 14px; }
  .dash-table.dash-goods td.dash-mono small { font-size: 12.5px; }

  /* ---------- 3. 触控区 ≥ 44px ---------- */
  #app button, #app .navitem, #app .rail-item, #app [role="button"] { min-height: 44px; }
  #app button.circle-button { width: 44px; height: 44px; min-height: 44px; }
  #app .self-face { width: 44px; height: 44px; }
  #app .filters input, #app .filters select,
  .messenger .composer textarea { min-height: 44px; font-size: 15px; }
  .workspace-topbar a { display: inline-flex; align-items: center; min-height: 44px; }
  /* 长得像按钮的链接也要有 44px 触控高度（资料页「在微云打开」、总览页「查看」这类） */
  #app a.secondary, #app a.primary, #app a.ghost,
  #app .module a, #app .module-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  /* 气泡里「留作记录」这类行内文字按钮：给 36px，别把气泡撑成按钮堆 */
  #app .message-save { min-height: 36px; padding: 6px 4px; }

  /* ---------- 4. 顶部工具条：允许换行，不许横向溢出 ---------- */
  .workspace-topbar { height: auto; min-height: 44px; padding: 4px 10px; flex-wrap: wrap; justify-content: flex-start; gap: 2px 8px; }
  .workspace-topbar .channel-bar { font-size: 12px; white-space: nowrap; }

  /* ---------- 5. 聊天细节 ---------- */
  /* 注意：dawn-ui/effects.css 用 .conversation .xxx（0,2,x），在 style.css 之后加载。
     所以要压过它必须写到 .messenger .conversation .xxx（0,3,x），只是 .messenger .xxx 不够。 */
  .messenger .conversation .chat-header { height: auto; padding: 4px 8px; flex-wrap: wrap; gap: 6px; }
  .messenger .conversation .chat-header h2 { font-size: 16px; }
  .messenger .conversation .message-scroll { padding: 14px 10px; }
  .messenger .conversation .message > div { max-width: 84%; }
  .messenger .conversation .bubble { font-size: 14px; line-height: 1.75; padding: 11px 13px; }
  /* 表格：让表格按内容自然宽度排开，由气泡自己横向滚动，单元格文字不压不换 */
  .messenger .conversation .bubble { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .messenger .conversation .bubble .msg-tbl { display: table; width: max-content; min-width: 100%; max-width: none; overflow-x: visible; }
  .messenger .conversation .composer { padding: 2px 10px; }
  .messenger .conversation .composer textarea { height: 30px; font-size: 15px; padding: 3px 0 2px; line-height: 1.4; }
  .messenger .conversation .composer-bottom { gap: 8px; }
  .messenger .conversation .composer-bottom button { min-height: 38px; padding: 6px 14px; }
  /* 说明文字压成一行（保留可见，不删内容），省下约 40px 给消息区 */
  .messenger .conversation .composer-bottom small { font-size: 11.5px; line-height: 1.45; display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-height: 17px; }
  .messenger .conversation .message-scroll { min-height: 0; }
  /* 工具条在手机全屏里改单行横向滚动：三排按钮原本占两行 48px，现在一行 24px */
  .messenger.has-room .conversation .composer-tools { gap: 4px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .messenger.has-room .conversation .composer-tools > * { flex: 0 0 auto; }
  .messenger.has-room .conversation .composer-bottom { justify-content: flex-end; flex-wrap: nowrap; }
  .messenger.has-room .conversation .composer-bottom { justify-content: flex-end; flex-wrap: nowrap; }
  /* 工具条在手机全屏里改单行横向滚动：三排按钮原本占两行 48px，现在一行 24px */
  .messenger.has-room .conversation .composer-tools { gap: 4px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .messenger.has-room .conversation .composer-tools > * { flex: 0 0 auto; }
  .messenger.has-room .conversation .composer-bottom { justify-content: flex-end; flex-wrap: nowrap; }
  .messenger.has-room .conversation .composer-bottom { justify-content: flex-end; flex-wrap: nowrap; }
  .messenger .conversation .composer-tools { gap: 4px; }
  .messenger .conversation .composer-tools button { font-size: 11px; min-height: 24px; padding: 2px 7px; }
  .messenger .conversation .message-meta { font-size: 13px; gap: 10px; }
  .messenger .conversation .message-meta time { font-size: 12.5px; }

  /* 会话列表：横向 210px 一条在 375 屏上只露一条半，改竖排全宽 + 自身滚动 */
  .messenger .room-list { display: block; max-height: 172px; }
  .messenger .room-row { width: 100%; max-height: none; padding: 10px 8px; gap: 10px; }
  .messenger .room-copy strong { font-size: 15px; }
  .messenger .room-copy small { font-size: 13px; max-width: none; }

  /* ---------- 6. 其余可读性 ---------- */
  .dash-kpi span, .dash-kpi small, .stat small, .module p, .module-bottom { font-size: 12.5px; }
  .dash-sechead p, .dash-toolbar label, .dash-gen { font-size: 13.5px; }
  .dash-toolbar select { font-size: 15px; }
  .dash-kpi strong { font-size: 28px; }
  .panel .sectiontitle h2 { font-size: 18px; }
  .muted, .notice { font-size: 14px; line-height: 1.75; }
  .dc-line, .auditrow, .lan-row { font-size: 13.5px; line-height: 1.7; }
  .statlabel, .stat small { font-size: 13px; }
}

@media (max-width: 480px) {

  /* 更窄的手机：压缩留白，关键数字放大 */
  .workspace-content { padding: 12px 10px 74px; }
  .dash-sec, .panel { padding: 14px; border-radius: 12px; }

  /* KPI 在 480 以下两列并排，省掉半屏滚动 */
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dash-kpi { padding: 12px 12px 10px; }
  .dash-kpi strong { font-size: 26px; }
  .dash-kpi span { font-size: 12.5px; letter-spacing: 0; }

  /* 表格字号不再往下缩；本来就横向滚动，宁可滚也不糊 */
  .dash-table td, .dash-table th { font-size: 14px; }
  .dash-table td small { font-size: 12.5px; }
  .dash-table .dash-store { min-width: 118px; }

  /* 输入类占满一行，避免和标签抢宽度 */
  .filters { gap: 6px; }
  .filters input, .filters select { flex: 1 1 100%; min-width: 0; max-width: none; }
  .dash-toolbar { gap: 8px; }
  .dash-toolbar select { flex: 1 1 auto; min-width: 0; }
  .dash-gen { margin-left: 0; flex: 1 1 100%; }

  /* 聊天：气泡再宽一点，正文 15px */
  .messenger .conversation .message > div { max-width: 88%; }
  .messenger .conversation .bubble { font-size: 15px; }
  .messenger .conversations { max-height: none; }
  .messenger .room-list { max-height: 96px; }

  /* 页脚备案号：手机上允许换行居中（原文件的字号是 !important，这里只动触控高度与换行） */
  #icp-footer { flex-wrap: wrap; justify-content: center; gap: 0 4px; padding: 1px 8px; line-height: 1.35; }
  #icp-footer a { display: inline-flex; align-items: center; min-height: 36px; }
}
