*{box-sizing:border-box}body{color:#172b35;background:#f2f6f6;margin:0;font:14px Inter,Segoe UI,Arial,sans-serif}main{max-width:1500px;margin:auto;padding:26px}header{color:#fff;background:#153747;border-radius:12px;justify-content:space-between;align-items:center;padding:26px 30px;display:flex}header small{letter-spacing:.15em;color:#8bd5cb}h1{margin:8px 0;font-size:28px}header p{color:#c5d7dc;margin:0}button{color:#fff;cursor:pointer;background:#007d78;border:0;border-radius:7px;padding:11px 16px;font-weight:650}.stats{gap:10px;margin:16px 0;display:flex;overflow:auto}.stats div{background:#fff;border:1px solid #dce6e8;border-radius:8px;min-width:140px;padding:12px 15px}.stats b,.stats span{display:block}.stats b{font-size:19px}.stats span{color:#5a7079;text-transform:capitalize;margin-top:4px;font-size:11px}.workspace{grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:16px;display:grid}.graph,.panel{background:#fff;border:1px solid #dce6e8;border-radius:10px;overflow:hidden}.bar{border-bottom:1px solid #e5eded;justify-content:space-between;padding:14px 18px;display:flex}.bar span,aside p,footer{color:#637a82}.canvas{height:620px}aside{flex-direction:column;gap:16px;display:flex}.panel{padding:18px}.panel h2{margin:0 0 12px;font-size:16px}.panel h3{margin:10px 0}.badge{color:#12685e;background:#e2f2ef;border-radius:20px;padding:5px 8px;font-size:11px;display:inline-block}textarea{resize:vertical;width:100%;min-height:86px;font:inherit;border:1px solid #cad9dc;border-radius:7px;padding:10px}form button{width:100%;margin-top:8px}pre{white-space:pre-wrap;background:#f4f7f7;border-radius:6px;max-height:320px;padding:10px;font-size:11px;overflow:auto}.answer{margin-top:14px}.error{color:#9b2e25;background:#fde9e7;border-radius:7px;margin:12px 0;padding:12px}footer{padding:20px 4px;font-size:12px}@media (width<=850px){main{padding:12px}header{align-items:flex-start;padding:20px}.workspace{grid-template-columns:1fr}.canvas{height:480px}.stats{flex-wrap:wrap}.stats div{flex:1}}.searchbar{background:#fff;border:1px solid #dce6e8;border-radius:10px;align-items:flex-start;gap:12px;margin:14px 0;padding:14px;display:flex}.searchbar form{flex:1;gap:8px;display:flex}.searchbar input{min-width:160px;font:inherit;border:1px solid #cad9dc;border-radius:7px;flex:1;padding:10px}.searchbar form button{width:auto;margin:0}.search-results{flex-wrap:wrap;gap:6px;max-width:58%;display:flex}.search-results button{color:#174f50;background:#e2f2ef;padding:7px 9px;font-size:11px}.bar{align-items:center;gap:14px}.bar select{color:#172b35;background:#fff;border:1px solid #cad9dc;border-radius:6px;max-width:240px;padding:7px}@media (width<=850px){.searchbar{flex-direction:column}.search-results{max-width:100%}.bar{flex-wrap:wrap}}.answer small{color:#637a82;margin:8px 0;display:block}.warning{color:#6e4e13;background:#fff5dc;border-radius:5px;padding:8px;font-size:12px}.answer details{margin:8px 0}.answer summary{cursor:pointer;color:#24636a;font-weight:600}.answer-text{color:#183943;background:#eaf5f3;border-left:3px solid #16877e;border-radius:6px;margin:0;padding:12px 14px;line-height:1.55}.answer h3{margin:12px 0 4px;font-size:13px}.trace-strip{background:#f4faf9;border-bottom:1px solid #dce8e8;padding:14px 18px}.trace-caption{color:#52717a;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px;font-size:11px;font-weight:700;display:block}.trace-steps{align-items:center;gap:10px;padding-bottom:3px;display:flex;overflow-x:auto}.trace-step{white-space:nowrap;color:#27515a;background:#fff;border:1px solid #c9e2df;border-radius:7px;align-items:center;gap:7px;padding:8px 10px;font-size:12px;display:flex}.trace-step strong{color:#154765}.trace-step i{color:#1695cf;margin-left:3px;font-size:17px;font-style:normal}.chat-panel{flex-direction:column;min-height:620px;max-height:820px;padding:0;display:flex}.chat-heading{border-bottom:1px solid #e3ecec;padding:17px 18px}.chat-heading h2{margin:0 0 5px}.chat-heading p{color:#6a8087;margin:0;font-size:12px}.chat-messages{flex-direction:column;flex:1;gap:14px;min-height:250px;padding:16px 14px;display:flex;overflow-y:auto}.chat-message{max-width:96%}.chat-message.user{align-self:flex-end;max-width:86%}.message-author{color:#54717a;margin:0 0 5px 3px;font-size:11px;font-weight:700}.chat-message.user .message-author{text-align:right;margin-right:3px}.message-bubble{color:#243e46;overflow-wrap:anywhere;background:#eef6f5;border-radius:12px;padding:11px 13px;line-height:1.55}.chat-message.user .message-bubble{color:#fff;background:#173a49;border-bottom-right-radius:4px}.chat-message.assistant .message-bubble{border-bottom-left-radius:4px}.message-content{white-space:normal}.message-meta{color:#647a81;margin-top:9px;font-size:11px;display:block}.chat-message.user .message-meta{color:#d5e5e8}.chat-options{margin:8px 0 0;font-size:12px}.message-details{border-top:1px solid #d5e4e2;margin-top:10px;padding-top:8px}.message-details summary{cursor:pointer;color:#236c72;font-size:11px;font-weight:650}.message-details b{margin-top:10px;font-size:11px;display:block}.message-details pre{max-height:220px}.typing{color:#52717a;font-style:italic}.chat-composer{background:#fff;border-top:1px solid #e3ecec;padding:12px 14px}.chat-composer textarea{min-height:68px;max-height:150px}.chat-composer>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-composer small{color:#7b9096;font-size:10px}.chat-composer button{width:auto;min-width:84px;margin-top:8px}.chat-composer button:disabled{cursor:not-allowed;background:#9bb8b6}.selected-panel{max-height:340px;overflow:auto}@media (width<=850px){.chat-panel{min-height:540px;max-height:720px}.trace-strip{padding:11px}.trace-steps{gap:6px}.trace-step{padding:7px;font-size:11px}}.graph{position:relative}.node-tooltip{z-index:5;pointer-events:none;background:#fff;border:1px solid #cfdddf;border-radius:9px;width:min(320px,100% - 24px);max-height:320px;padding:13px;position:absolute;overflow:auto;box-shadow:0 8px 24px #18394333}.node-tooltip-title{gap:7px;margin-bottom:9px;display:grid}.node-tooltip-title strong{overflow-wrap:anywhere}.node-tooltip-fields,.property-list{gap:5px;display:grid}.node-property{border-top:1px solid #edf1f1;grid-template-columns:minmax(88px,.75fr) minmax(0,1.25fr);gap:8px;padding-top:5px;font-size:11px;line-height:1.4;display:grid}.node-property b{color:#607780}.node-property span{overflow-wrap:anywhere}.node-tooltip details{margin-top:7px}.node-tooltip details summary{cursor:pointer;color:#236c72;font-size:11px}.node-tooltip>small,.selected-panel>small{color:#637a82;margin-top:10px;font-size:10px;display:block}.selected-panel .property-list{margin-top:12px}.selected-panel .node-property{font-size:12px}
