:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#253247;background:#f3f6fa;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce3ed;border-radius:7px;background:white;padding:9px 14px;color:#344156;white-space:nowrap}button:hover{background:#edf3ff;border-color:#9bb5e6}button:disabled{opacity:.4;cursor:not-allowed}.primary{color:white;background:#3765d9;border-color:#3765d9}.primary:hover{background:#2855c6;color:white}.ghost{background:transparent;border-color:transparent}.link{border:none;background:none;color:#3664ca;padding:4px 6px}.danger{color:#c34f52}a{color:#7398ec;text-decoration:none}input,select,textarea{border:1px solid #dce3ed;border-radius:7px;padding:10px 12px;outline:none;background:white;color:#253247}input:focus,textarea:focus,select:focus{border-color:#5781e0;box-shadow:0 0 0 3px #4671d514}input[type=checkbox]{accent-color:#3765d9}textarea{min-height:110px;resize:vertical;width:100%;font-family:monospace}aside{width:220px;background:#15243b;color:#bdc9db;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{padding:28px 22px;display:flex;gap:12px;align-items:center;font-size:20px;color:white;font-weight:600}.logo{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;width:42px;height:42px;background:#396ee5;color:white;font-size:24px}.brand small{display:block;font-size:11px;letter-spacing:2px;font-weight:400;color:#8d9fb8;margin-top:5px}.nav-label{font-size:11px;letter-spacing:2px;padding:12px 25px;color:#7b8fa9}nav{overflow:auto;padding:0 12px 16px;flex:1}nav button{width:100%;text-align:left;display:block;margin:3px 0;padding:11px 16px;border:none;background:none;color:#a9bad1;border-radius:7px}nav button:hover{background:#223653;color:white}nav button.active{background:#2b4c81;color:#eff5ff;box-shadow:inset 3px 0 #77a4ff}.aside-foot{padding:18px 25px;border-top:1px solid #ffffff10}.aside-foot small{display:block;color:#72859f;margin-top:12px;font-size:11px}.workspace{margin-left:220px}header{height:72px;padding:0 34px;background:white;border-bottom:1px solid #e4e9f0;display:flex;align-items:center;justify-content:space-between;color:#778398}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#eaf0ff;color:#3c67c9;width:29px;height:29px;border-radius:50%;margin-right:7px}.content{padding:28px 34px;max-width:1900px;margin:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:32px}.stat{padding:19px 22px;border:1px solid #e0e7f0;background:white;border-radius:10px}.stat span{display:block;color:#778499}.stat strong{display:block;font-size:29px;letter-spacing:-1px;margin:12px 0 7px;color:#263956;font-weight:600}.stat small{font-size:11px;color:#99a4b4}.eyebrow{font-size:10px;letter-spacing:2px;color:#6d8bb9;font-weight:600}h1{font-size:27px;margin:7px 0 10px;font-weight:650;letter-spacing:-.5px}h2{font-size:21px}.muted{color:#8a97a9}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.page-title p{margin:0;font-size:12px}.panel{border:1px solid #e0e7f0;border-radius:10px;background:white;overflow:hidden}.toolbar{padding:19px;display:flex;gap:9px;flex-wrap:wrap}.search{display:flex;margin-right:auto}.search input{border-radius:7px 0 0 7px;min-width:220px}.search button{border-radius:0 7px 7px 0}.business-actions{padding:0 19px 16px;display:flex;gap:8px;flex-wrap:wrap}.business-actions button{background:#f7f9fd;color:#536a8e;font-size:12px}.table-scroll{overflow:auto;min-height:250px}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}thead{background:#f7f9fc;color:#7b899c}th{text-align:left;font-weight:500;padding:14px 17px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}td{padding:15px 17px;border-bottom:1px solid #edf0f5;max-width:380px;overflow:hidden;text-overflow:ellipsis}tbody tr:hover{background:#f9fbff}td:nth-child(2){font-variant-numeric:tabular-nums;color:#516b96}.badge{display:inline-block;padding:5px 9px;border-radius:5px;background:#eef3fc;color:#5271a3;font-size:11px}.badge.good{background:#eaf7f0;color:#388564}.badge.bad{background:#fff0ed;color:#c06951}.pagination{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8895a7}.pagination div{display:flex;align-items:center;gap:14px}.pagination button{font-size:12px;padding:7px 11px}.empty{text-align:center;padding:65px 15px;color:#a1adbc}.empty b{color:#74859d;font-weight:500}.chip{display:inline-block;margin:0 0 14px 20px;padding:5px 10px;border-radius:4px;background:#eff4ff;color:#4871b7;font-size:12px}dialog{border:1px solid #d9e1ed;border-radius:13px;padding:0;width:min(780px,94vw);max-height:88vh;box-shadow:0 20px 80px #14274433;color:#253247}dialog::backdrop{background:#14274466;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9eef4;padding:17px 24px;position:sticky;top:0;background:white;z-index:1}.dialog-head h2{margin:0;font-size:18px}#dialog-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#68788f}.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;border-top:1px solid #edf0f6;padding-top:18px}.hint{line-height:1.8;color:#8a97aa;font-size:12px;margin:0;word-break:break-word}.details>div{border-bottom:1px solid #e7edf4;padding:10px 0;display:grid;grid-template-columns:130px 1fr;gap:20px}.details b{font-size:12px;color:#7a8ba3;font-weight:500}.details pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.key{background:#f0f4fc;padding:18px;white-space:pre-wrap;word-break:break-all}#toast{position:fixed;right:30px;bottom:28px;border-radius:8px;box-shadow:0 6px 30px #172d4930;padding:15px 24px;background:#244e3c;color:white;z-index:100;display:none;max-width:75vw}#toast.show{display:block}#toast.error{background:#9c3e3e}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-brand{background:#172942;color:white;padding:15vh 10vw;display:flex;flex-direction:column;justify-content:center}.login-brand .logo{width:64px;height:64px;font-size:34px}.login-brand h1{margin-top:30px;font-size:38px}.login-brand p{color:#9eb3cf;line-height:2;font-size:18px}.login-line{font-size:10px;letter-spacing:3px;color:#6c8ab0;margin-top:50px}.login-card{align-self:center;margin:50px auto;padding:30px;width:min(450px,95%)}.login-card h2{font-size:28px;margin-top:10px}.login-card form{display:grid;gap:20px;margin-top:35px}.login-card label{display:flex;flex-direction:column;gap:10px}.login-card .muted{font-size:12px;line-height:1.7}@media(max-width:1050px){aside{width:185px}.workspace{margin-left:185px}.content{padding:22px 20px}.stats{grid-template-columns:repeat(2,1fr)}header{padding:0 20px}}@media(max-width:680px){aside{position:relative;width:100%;max-height:220px}.brand{padding:15px}.nav-label,.aside-foot{display:none}nav{display:flex;flex-wrap:nowrap;overflow:auto;flex:none}nav button{width:auto;white-space:nowrap}.workspace{margin:0}.stats{gap:10px;margin-bottom:22px}.stat{padding:15px}.stat small{display:none}.toolbar{padding:12px}.search{width:100%}.search input{min-width:0;flex:1}.login{grid-template-columns:1fr}.login-brand{display:none}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}header{font-size:12px}.page-title h1{font-size:23px}.content{padding:20px 12px}.details>div{grid-template-columns:90px 1fr}}

.chat-log{max-height:55vh;overflow:auto}.chat-entry{padding:12px;border-bottom:1px solid #e5e7eb}.chat-entry pre{white-space:pre-wrap;overflow-wrap:anywhere}.chat-entry table{font-size:12px}

/* 辰舟后台：业务分组导航、紧凑筛选与列表。 */
:root{font-size:13px;color:#303842;background:#f1f3f5}button,input,select,textarea{border-radius:3px;padding:6px 10px}button:focus-visible,a:focus-visible{outline:2px solid #168bd2;outline-offset:2px}.primary{background:#168bd2;border-color:#168bd2}.primary:hover{background:#087abc}.topbar{height:54px;position:fixed;inset:0 0 auto;background:#243447;display:flex;align-items:center;z-index:10;color:white}.brand{width:184px;flex-shrink:0;padding:0 16px;font-size:19px;gap:8px}.logo{width:30px;height:30px;font-size:20px;border-radius:3px;background:#168bd2}.top-nav{display:flex;align-self:stretch;overflow:auto;flex:1}.top-nav button{border:0;background:transparent;color:#d9e2ec;border-radius:0;padding:0 15px;font-size:14px}.top-nav button:hover{background:#33485e}.top-nav button.active{background:#168bd2;color:white}aside{top:54px;width:184px;background:#fff;border-right:1px solid #dce1e7;color:#435366}.nav-label{padding:18px 18px 12px;color:#263b52;font-size:16px;letter-spacing:0;font-weight:600}nav{padding:0 0 12px}nav section[hidden]{display:none}.menu-caption{padding:13px 18px 7px;color:#9aa4af;font-size:11px}nav button{padding:10px 20px;margin:0;border-radius:0;color:#52606d;font-size:13px}nav button.active{background:#e9f5fc;color:#168bd2;box-shadow:inset 3px 0 #168bd2}nav button:hover{background:#f1f7fb;color:#168bd2}nav button small{font-size:10px;color:#9c7a32}.aside-foot{padding:16px;border-color:#e8edf2}.aside-foot small{margin-top:6px}.workspace{margin:54px 0 0 184px}header{height:46px;padding:0 20px;font-size:12px;color:#7b8794}header button{font-size:12px;padding:4px 8px}header b{color:#3a4654}.content{padding:16px 20px;max-width:none}h1{font-size:20px;margin:0 0 6px;letter-spacing:0}.page-title{margin-bottom:14px;gap:12px}.page-title p{line-height:1.6}.page-title #create-actions{display:flex;gap:6px}.stats{display:flex;gap:0;background:white;border:1px solid #dfe4e9;margin-bottom:12px;border-radius:3px;flex-wrap:wrap}.stat{border:0;border-right:1px solid #e5e9ef;border-radius:0;padding:10px 18px;display:flex;align-items:center;gap:16px;flex:1}.stat span{font-size:12px;color:#7b8794}.stat strong{font-size:23px;margin:0;color:#168bd2;letter-spacing:0}.workflow{background:#edf6fc;border:1px solid #d3e8f5;color:#426b85;padding:9px 12px;margin-bottom:12px;font-size:12px;line-height:1.7}.workflow span{margin-left:18px;color:#8397a6}.panel{border-color:#dfe4e9;border-radius:3px}.toolbar{padding:14px 12px;gap:7px;background:#fff}.search{margin-right:0;flex:1;max-width:430px}.search input{min-width:150px;width:100%;border-radius:3px 0 0 3px}.search button{border-radius:0 3px 3px 0}.status-tabs{display:flex;overflow:auto;border-top:1px solid #e8edf2;border-bottom:1px solid #dfe4e9;background:#fafbfc}.status-tabs:empty{display:none}.status-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:12px 16px;color:#647483;font-size:13px}.status-tabs button.active{border-bottom-color:#168bd2;color:#168bd2;background:#fff;font-weight:600}.status-tabs span{display:inline-block;font-size:11px;margin-left:5px;color:#8795a3;font-weight:400}.batch-bar{padding:10px 12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.batch-bar>span{font-size:12px;color:#8895a3}.business-actions{padding:0;gap:6px}.business-actions button{background:white;color:#435466;padding:5px 9px}.business-actions:empty{display:none}.table-scroll{min-height:280px;max-height:calc(100vh - 430px)}th{background:#f4f6f8;padding:10px 12px;color:#576574;font-weight:600;position:sticky;top:0;z-index:1}td{padding:9px 12px;color:#435466;border-color:#e9edf1}tbody tr:nth-child(even){background:#fbfcfd}tbody tr:hover{background:#edf7fd}th:first-child,td:first-child{position:sticky;left:0;background:#f7f9fb;z-index:2;width:36px}th:first-child{z-index:3}.badge{padding:3px 7px;border-radius:2px}.pagination{padding:11px 14px;border-top:1px solid #e8edf2}.pagination button{padding:5px 9px}.chip{margin:0 0 8px 12px;padding:4px 8px}dialog{border-radius:5px}.dialog-head{padding:14px 20px}.dialog-head h2{font-size:16px}.login-brand{background:#243447}.login-brand .logo{border-radius:6px}input[type=checkbox]{accent-color:#168bd2}[hidden]{display:none!important}
@media(max-width:1100px){.top-nav button{padding:0 11px}.content{padding:14px}.brand{width:164px;font-size:17px}aside{width:164px}.workspace{margin-left:164px}}
@media(max-width:680px){.topbar{position:relative;height:auto;min-height:50px;display:block}.brand{height:50px;width:auto}.top-nav{height:43px}.top-nav button{padding:0 14px;flex-shrink:0;font-size:13px}aside{position:relative;top:0;width:100%;max-height:none;border-bottom:1px solid #ddd}.nav-label,.menu-caption,.aside-foot{display:none}nav{display:flex;flex-wrap:nowrap;overflow:auto;padding:5px 8px}nav section{display:flex;flex-shrink:0}nav button{padding:8px 12px;width:auto;flex-shrink:0}nav button.active{box-shadow:inset 0 -2px #168bd2}.workspace{margin:0}header{height:auto;min-height:46px;gap:8px;padding:8px 12px;flex-wrap:wrap}.content{padding:12px 8px}.page-title{align-items:flex-start}.page-title h1{font-size:19px}.stats{margin-bottom:10px}.stat{padding:8px 12px;min-width:45%;gap:12px}.stat strong{font-size:21px}.workflow span{display:block;margin-left:0}.toolbar{padding:10px;gap:6px}.search{width:100%;max-width:none;flex-basis:100%}.status-tabs button{padding:10px 12px}.table-scroll{max-height:60vh}.pagination{gap:10px;flex-wrap:wrap}.login-card h2{font-size:24px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}}

/* 一期结构化参数与工作队列，沿用现有紧凑布局。 */
.config-rows{border:1px solid #dbe4ef;border-radius:4px;padding:12px;margin:0;min-width:0}
.config-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap;border-bottom:1px solid #e6edf5;padding:8px 0}
.config-row label{min-width:120px;flex:1}.config-row input,.config-row select{max-width:100%}
.queue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;text-align:left}
.queue-grid button{display:flex;justify-content:space-between;align-items:center;min-height:72px;padding:16px;background:#f6faff;border:1px solid #dbe7f4}
.queue-grid strong{font-size:26px;color:#245da0}.related-row{padding:8px 0;white-space:normal}.related-row span{display:inline-block;margin-right:8px}
#placeholder{text-align:left}#placeholder .hint{line-height:1.8}.top-nav{overflow-x:auto;flex-wrap:nowrap}.top-nav button{white-space:nowrap}

#placeholder{padding:16px;color:#526477}#placeholder .table-scroll{max-height:none;min-height:0}#placeholder table{white-space:normal}#placeholder td{max-width:none}#settings-open.active{background:#e9f5fc;color:#168bd2;box-shadow:inset 3px 0 #168bd2}
