:root{color:#1c2925;font-synthesis:none;background:#f4f6f5;font-family:Inter,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}.layout{min-height:100vh;display:flex}.sidebar{color:#c9d8d2;background:#17423a;flex-direction:column;flex-shrink:0;width:230px;height:100vh;padding:27px 14px;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:12px;padding:2px 8px 30px;display:flex}.brand-icon{color:#1e5b4f;background:#ffd24c;border-radius:13px;place-items:center;width:42px;height:42px;font-size:22px;font-weight:800;display:grid}.brand strong{letter-spacing:1px;font-size:20px;display:block}.brand small{color:#9dbbb0;font-size:11px}.side-section{cursor:pointer;color:#eef5f1;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:14px 14px 6px;font-family:inherit;font-size:14px;font-weight:650;display:flex}.side-section:hover{color:#fff}.side-caret{color:#9dbbb0;font-size:16px;transition:transform .15s;transform:rotate(0)}.side-caret.open{transform:rotate(90deg)}.side-nav{flex:1;margin-top:-14px;overflow-y:auto}.side-link{box-sizing:border-box;text-align:left;color:#a9c2b8;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;margin-bottom:2px;padding:8px 14px 8px 26px;font-size:13px;text-decoration:none;transition:background .15s;display:block}.side-link:hover{color:#fff;background:#ffffff12}.side-link.active{color:#fff;background:#2e7d62;font-weight:600;box-shadow:inset 3px 0 #ffd24c}.main{flex:1;min-width:0}.topbar{color:#6b7772;background:#fff;border-bottom:1px solid #e3e8e5;justify-content:space-between;align-items:center;height:60px;padding:0 32px;font-size:13px;display:flex}.content{max-width:1440px;margin:0 auto;padding:34px 36px}.panel{background:#fff;border:1px solid #e3e8e5;border-radius:12px;min-height:180px;padding:24px}.narrow{max-width:820px}.login{max-width:430px;margin:10vh auto 0}.muted,.hint{color:#8a9690;font-size:13px}.hint{margin:0 0 12px}.filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.filters>.n-input,.filters>.n-select,.filters>.n-tree-select{width:180px}.filters>.muted{flex:1;min-width:240px}.filters-end{margin-left:auto}.toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.actions{align-items:center;gap:8px;display:flex}.right{justify-content:flex-end}.editor{width:min(640px,96vw);max-height:88vh;overflow:auto}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.preview{border:1px solid #e5e7eb;border-radius:8px;max-width:140px;max-height:120px;margin-top:10px;display:block}.thumb{object-fit:cover;border-radius:6px;width:48px;height:48px;display:block}.service-row{border-bottom:1px solid #eef1ef;justify-content:space-between;align-items:center;padding:15px 4px;display:flex}.record{border-bottom:1px solid #eef1ef;padding:16px 0}.record-title{color:#6b7772;font-size:12px;font-weight:600}.record pre,.test-output{color:#43524c;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f7;border-radius:10px;padding:14px;font-size:12px;overflow:auto}.empty{color:#8a9690;text-align:center;padding:55px}@media (width<=850px){.sidebar{width:160px}.content{padding:20px}.topbar{padding:0 18px}.form-grid{grid-template-columns:1fr}}.auth-page{background:#f4f6f5;justify-content:center;align-items:center;min-height:100vh;display:flex}.auth-page .content{width:100%;max-width:470px;padding:24px}.auth-page .login{max-width:none;margin:0}.login-brand{color:#1c2925;justify-content:center;align-items:center;gap:12px;margin-bottom:22px;display:flex}.login-brand .brand-icon{color:#ffd24c;background:#1e5b4f}.login-brand strong{letter-spacing:1px;font-size:22px;display:block}.login-brand small{color:#6b7772;font-size:12px}.section-title{color:#1c2925;margin:0 0 14px;font-size:16px}.form-grid.three{grid-template-columns:1fr 1fr 1fr}.ai-status{margin:-4px 0 12px}.key-row{flex-direction:column;gap:6px;width:100%;display:flex}.test-summary{border-top:1px solid #eef1ef;margin-top:18px;padding-top:14px}.kv{gap:16px;padding:5px 0;font-size:13px;display:flex}.kv span{color:#8a9690;width:80px}.reply-box{background:#e8f3ee;border-radius:10px;margin:12px 0;padding:14px;line-height:1.7}.card-line{border-bottom:1px dashed #e3e8e5;padding:6px 0;font-size:13px}details{margin-top:12px}summary{cursor:pointer}.map-editor{width:min(860px,96vw)}.map-box{background:#eef1ef;border-radius:10px;width:100%;height:440px;overflow:hidden}.map-results{border:1px solid #e5e7eb;border-radius:8px;max-height:220px;margin-bottom:10px;overflow:auto}.map-result{cursor:pointer;border-bottom:1px solid #f0f2f4;flex-direction:column;gap:2px;padding:8px 12px;display:flex}.map-result:hover{background:#e8f3ee}.map-result:last-child{border-bottom:none}code{background:#eef1ef;border-radius:4px;padding:1px 5px}.chat-test{grid-template-columns:380px minmax(0,1fr);align-items:start;gap:16px;display:grid}.chat-log-panel{flex-direction:column;max-height:calc(100vh - 110px);display:flex;position:sticky;top:16px}.chat-log{flex:1;min-height:200px;padding-right:4px;overflow:auto}.chat-turn{cursor:pointer;border:1px solid #0000;border-radius:10px;margin-bottom:8px;padding:10px}.chat-turn:hover{background:#f6f8f7}.chat-turn.active{background:#f3faf6;border-color:#7fa99c}.chat-user{text-align:right}.chat-user span{color:#fff;background:#1e5b4f;border-radius:12px 12px 2px;padding:6px 12px;font-size:13px;display:inline-block}.chat-meta{text-align:right;margin:4px 0;font-size:11px}.chat-bot{background:#fff;border:1px solid #e3e8e5;border-radius:12px 12px 12px 2px;padding:8px 12px;font-size:13px;line-height:1.6}.flow-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.flow-panel{padding:16px}.flow{width:100%;height:auto;display:block}.flow-edge{fill:none;stroke:#d5ddd9;stroke-width:1.5px}.flow-edge.on{stroke:#1e5b4f;stroke-width:3px}.flow-node rect{fill:#fff;stroke:#c5cec9;stroke-width:1.5px}.flow-node{cursor:default}.flow-node.by-决策模型 rect{stroke:#7fa99c}.flow-node.by-回复模型 rect{stroke:#e5c55a}.flow-node.on{cursor:pointer}.flow-node.on rect{fill:#e8f3ee;stroke:#1e5b4f;stroke-width:2.5px}.flow-node.on.warn rect{fill:#fff4e5;stroke:#d9822b}.flow-node.on.fail rect{fill:#fdece8;stroke:#c2412d}.flow-node.now rect{fill:#ffd24c;stroke:#1e5b4f}.flow-node.sel rect{stroke-width:3.5px}.flow-label{fill:#1c2925;font-size:13px;font-weight:600}.flow-by{fill:#8a9690;font-size:11px}.flow-legend{flex-wrap:wrap;gap:16px;margin-top:8px;display:flex}.lg{vertical-align:-1px;border:2px solid;border-radius:3px;width:12px;height:12px;margin-right:5px;display:inline-block}.lg-model{border-color:#7fa99c}.lg-code{border-color:#c5cec9}.lg-reply{border-color:#e5c55a}.flow-detail{border-top:1px solid #eef1ef;margin-top:16px;padding-top:14px}.flow-steps{margin:0;padding-left:20px}.flow-steps li{cursor:pointer;border-bottom:1px solid #eef1ef;padding:8px 0;font-size:13px;line-height:1.6}.flow-steps li b{margin-right:6px}.flow-steps li.warn{color:#b4651e}.flow-steps li.fail{color:#c2412d}.flow-step{border-bottom:1px solid #eef1ef;margin-bottom:14px;padding-bottom:14px}.flow-step-head{align-items:center;gap:8px;margin-bottom:6px;display:flex}.flow-summary{background:#e8f3ee;border-radius:8px;margin-bottom:10px;padding:8px 10px;font-size:13px}.flow-summary.warn{background:#fff4e5}.flow-summary.fail{background:#fdece8}.flow-q{margin-bottom:12px;font-size:12px}.flow-q-title{color:#43524c;margin-bottom:6px;font-weight:600}.bar{align-items:center;gap:8px;padding:2px 0;display:flex}.bar.picked .bar-label{color:#1e5b4f;font-weight:700}.bar-label{text-overflow:ellipsis;white-space:nowrap;width:46%;overflow:hidden}.bar-track{background:#eef1ef;border-radius:4px;flex:1;height:8px;position:relative}.bar-fill{background:#7fa99c;border-radius:4px;height:100%;display:block}.bar.picked .bar-fill{background:#1e5b4f}.bar-mark{background:#c2412d;width:2px;height:14px;position:absolute;top:-3px}.bar-p{text-align:right;width:40px}.flow-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:12px}.flow-table th{text-align:left;color:#6b7772;white-space:nowrap;border-bottom:1px solid #e3e8e5;padding:6px;font-weight:600}.flow-table td{text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #eef1ef;max-width:220px;padding:6px;overflow:hidden}.flow-table tr.chosen td{background:#f3faf6}@media (width<=1200px){.chat-test{grid-template-columns:1fr}.chat-log-panel{max-height:none;position:static}}
