:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#252629;background:#f2f3f1;line-height:1.5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid #c7c8c4;background:white;border-radius:8px;padding:9px 13px;cursor:pointer}button:hover{background:#eee}button:disabled{opacity:.5;cursor:default}.primary{background:#232526;color:white;border-color:#232526}.primary:hover{background:#424446}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7b9184;outline-offset:2px}header{background:#fbfcfa;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between;padding:20px 28px;gap:20px}.brand{font-size:16px;font-weight:800;letter-spacing:.08em;color:inherit;text-decoration:none}.brand span{font-size:13px;color:#787b78;font-weight:500;letter-spacing:0}.head-actions{display:flex;align-items:center;gap:9px}.badge{border-radius:99px;border:1px solid #ccc;background:#f6f7f4;padding:4px 9px;font-size:11px;white-space:nowrap}.badge.live{background:#e5eee6;border-color:#a9bbaa}.badge.demo{background:#fff2ce;border-color:#c9b986}main{display:grid;grid-template-columns:270px minmax(0,1fr);max-width:1800px;margin:auto}aside{padding:28px 22px;border-right:1px solid #ddd}aside section{border-top:1px solid #d8dbd5;margin-top:24px;padding-top:20px}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:750;color:#7d827c}h1{font-size:25px;letter-spacing:-.04em;line-height:1.15;margin:14px 0}h2{font-size:16px;letter-spacing:-.025em;margin:0 0 12px}h3{font-size:13px;margin:0 0 12px}.sub{font-size:13px;color:#6b716b}.micro{font-size:11px;color:#71766f;line-height:1.6;overflow-wrap:anywhere}label{display:block;font-size:12px;margin:12px 0 5px}select,input[type=search]{width:100%;padding:8px;border:1px solid #ccc;border-radius:7px;background:#fff;color:#333;min-width:0}.check{display:flex;align-items:center;gap:7px;margin:16px 0 8px;font-size:11px}.check input{accent-color:#333}.route{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#e8ebe5;border-radius:8px;margin:16px 0;font-size:11px}.route strong{font-size:14px}.wide{width:100%;font-size:12px}.services>div{display:flex;justify-content:space-between;font-size:11px;padding:7px 0;gap:8px}.services strong{font-weight:600}.good{color:#346044}.bad{color:#9b3737}.workspace{padding:26px 28px;min-width:0}.hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.hero h2{font-size:28px;margin:8px 0}.hero p{font-size:12px;color:#686e68;margin:0}.pipeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:22px}.pipeline>div{padding:13px;background:#e8ebe5;border:1px solid #d7ddd2;border-radius:10px;min-width:0}.pipeline b{font-size:10px;color:#888;display:block}.pipeline span{font-size:13px;font-weight:600;display:block}.pipeline small{font-size:10px;color:#687261;display:block;overflow-wrap:anywhere}.pipeline .active{background:#dce8d9;border-color:#98af91}.pipeline .error{background:#f2e4df;border-color:#c79a8a}.panel{background:white;border:1px solid #dfe2da;border-radius:12px;padding:20px;margin-bottom:20px;min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title h2{margin:0}textarea{width:100%;resize:vertical;min-height:86px;padding:12px 14px;border:1px solid #c8ccc5;border-radius:9px;font-size:14px;line-height:1.6}.composer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:12px}.columns{display:grid;grid-template-columns:1.12fr 1fr;gap:20px}.columns>.panel{min-height:250px}.placeholder{font-size:13px;color:#92978d}.message{border-top:1px solid #e7e9e3;padding:14px 0}.message:first-child{border:0}.message header{padding:0;border:0;background:none;font-size:10px;color:#899080;margin-bottom:8px;display:flex;justify-content:space-between}.message .text{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.message.user .text{font-size:13px;color:#5b6555}#conversation{max-height:490px;overflow:auto}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.6;max-height:240px;overflow:auto;background:#f6f7f4;padding:12px;border-radius:8px}#draft-output{min-height:75px}#rag-output{max-height:150px}#sources{font-size:11px;color:#67705e}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric{background:#f4f6f1;border-radius:8px;padding:12px}.metric span{font-size:10px;color:#7c8573;display:block}.metric strong{font-size:21px;letter-spacing:-.035em;font-weight:550}.trace-tools{display:flex;gap:8px;align-items:center}.trace-tools select{max-width:160px}.trace-tools input{max-width:180px}.trace-tools button{font-size:11px;white-space:nowrap}.trace-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(200px,1fr);gap:18px}.table-wrap{overflow:auto;max-height:410px}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{position:sticky;top:0;background:#f5f7f1;color:#777f6f;font-size:10px;font-weight:550;padding:10px}td{border-bottom:1px solid #ecede8;padding:9px 10px;vertical-align:top}tbody tr{cursor:pointer}tbody tr:hover{background:#edf1e8}td:first-child{white-space:nowrap;color:#7b8374}td:nth-child(2){font-family:ui-monospace,Consolas,monospace}.event-inspector{min-width:0;border-left:1px solid #e3e6dd;padding-left:18px}.event-inspector pre{max-height:370px;font-size:10px}summary{cursor:pointer;font-size:12px;font-weight:650}footer{font-size:11px;color:#898e82;text-align:center;padding:8px}#review{padding:12px;background:#fff4da;margin-top:12px;border-radius:8px}#review p{font-size:13px}[hidden]{display:none!important}@media(max-width:1150px){main{grid-template-columns:230px minmax(0,1fr)}.workspace{padding:22px 18px}.metrics{grid-template-columns:repeat(3,1fr)}.pipeline{gap:6px}.pipeline>div{padding:9px}.trace-layout{grid-template-columns:1fr}.event-inspector{border:0;padding:0}.section-title{flex-wrap:wrap}}@media(max-width:780px){header{padding:15px;flex-wrap:wrap}.head-actions{flex-wrap:wrap}main{display:flex;flex-direction:column}aside{padding:18px;border-right:0;border-bottom:1px solid #ddd}aside h1{font-size:22px}aside section{display:inline-block;vertical-align:top;width:48%;padding-right:16px}aside section:last-child{width:100%}.workspace{padding:20px 14px}.columns{grid-template-columns:1fr;gap:0}.pipeline{grid-template-columns:repeat(3,1fr)}.hero{align-items:flex-start}.hero h2{font-size:23px}.hero button{font-size:11px}.panel{padding:16px}.trace-tools{flex-wrap:wrap;width:100%}.trace-tools input{flex:1}.metrics{gap:8px}.metric{padding:9px}.metric strong{font-size:18px}.composer-actions .micro{max-width:180px}}@media(prefers-reduced-motion:no-preference){.pipeline>div{transition:background .2s}}

.language-settings{border:1px solid #d8dcd3;border-radius:8px;padding:10px;margin:14px 0}.language-settings legend{font-size:12px;font-weight:650}.language-settings legend span{font-weight:400;margin-left:5px}#language-options{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px}#language-options .check{margin:0;font-size:11px;line-height:1.5;align-items:flex-start}#language-options input{flex-shrink:0}#language-options label:has(input:disabled){opacity:.5}
/* Additive action selector inspector; existing voice/chat layout is retained. */
.intent-controls{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.intent-controls>label{flex:1;min-width:200px}
.intent-item{padding:14px 0;border-top:1px solid #ddd}
.intent-item code{display:block;overflow-wrap:anywhere;font-size:12px;margin-top:6px}
#intent-trace{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
#action-process{display:flex;flex-wrap:nowrap;gap:8px;list-style:none;padding:0 0 8px;margin:18px 0;overflow-x:auto;max-width:100%}
#action-process li{flex:1 0 112px;min-width:0;padding:12px 10px;border:1px solid #d7ddd2;border-radius:9px;background:#f1f3ef}
#action-process b,#action-process span,#action-process small{display:block}
#action-process b{font-size:10px;color:#777}
#action-process span{font-size:12px;font-weight:650;white-space:nowrap}
#action-process small{font-size:10px;color:#515c4b;line-height:1.5;margin-top:4px}
#action-process [data-state=done]{background:#e8efe3;border-color:#bdcdb3}
#action-process [data-state=running]{background:#dce8d9;border-color:#789b6f;box-shadow:inset 0 3px #789b6f}
#action-process [data-state=attention]{background:#fff4da;border-color:#dfc987}
#action-process [data-state=error]{background:#f2e4df;border-color:#c79a8a}
#action-process [data-state=skipped]{background:#f4f4f3;border-style:dashed}
/* The existing Final intent panel owns the local execution target. */
.testing-actions{margin-top:20px;min-width:0}
.testing-website-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.testing-website-controls label{margin:0}.testing-website-controls select{width:auto;max-width:100%}
.testing-website-frame[hidden]{display:none}
.testing-website-frame{display:block;width:100%;height:760px;min-height:480px;border:1px solid #888;border-radius:12px;background:#fff}
@media(max-width:650px){.testing-website-frame{height:640px}}

.starter-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:16rem;overflow:auto;min-height:2rem}
