:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18212f;background:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.shell{min-height:100vh;padding:20px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1500px;margin:0 auto 18px}.eyebrow{margin:0 0 4px;color:#0f766e;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:26px;line-height:1.2}.topbar-actions{display:flex;align-items:center;gap:10px}.workspace{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:18px;max-width:1500px;margin:0 auto}.query-pane,.result-pane,.runtime-panel,.answer-band,.detail-section{min-width:0}.query-pane{display:flex;flex-direction:column;gap:16px}.runtime-panel,.query-form,.answer-band,.detail-section{border:1px solid #dce3ea;background:#fff}.runtime-panel,.query-form{padding:16px;border-radius:8px}.answer-band{min-height:280px;padding:18px;border-radius:8px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}.detail-section{padding:16px;border-radius:8px}.section-heading{display:flex;align-items:center;gap:8px;min-height:28px;margin-bottom:12px;color:#27364a}.section-heading h2{margin:0;font-size:15px;line-height:1.25}.section-heading svg{color:#0f766e;flex:0 0 auto}.meta-text,.count{margin-left:auto;color:#64748b;font-size:12px}.count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 8px;border-radius:999px;background:#eef6f3;color:#0f766e;font-weight:700}.runtime-list{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 12px;margin:0}.runtime-list dt{color:#64748b;font-size:12px}.runtime-list dd{min-width:0;margin:0;color:#18212f;font-size:12px;font-weight:650;overflow-wrap:anywhere}.query-form{display:flex;flex-direction:column;gap:10px}.field-label{color:#405066;font-size:13px;font-weight:700}input,textarea{width:100%;border:1px solid #cbd5df;border-radius:7px;background:#fff;color:#18212f;outline:none}input{height:40px;padding:0 12px}textarea{min-height:180px;resize:vertical;padding:12px;line-height:1.55}input:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.question-row{display:flex;flex-direction:column;gap:8px}.sample-button,.primary-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;transition:border-color .16s ease,background .16s ease,color .16s ease}.sample-button{justify-content:flex-start;gap:8px;min-height:34px;padding:7px 10px;background:#f6f7f9;color:#405066;font-size:13px;text-align:left}.sample-button span{min-width:0;overflow-wrap:anywhere}.sample-button:hover{border-color:#d5b253;background:#fff8e6;color:#593f00}.primary-button{gap:8px;min-height:42px;margin-top:4px;padding:0 14px;background:#0f766e;color:#fff;font-weight:800}.primary-button:hover:not(:disabled){background:#0b625c}.primary-button:disabled{opacity:.62}.icon-button{width:38px;height:38px;background:#fff;border-color:#dce3ea;color:#405066}.icon-button:hover{border-color:#0f766e;color:#0f766e}.icon-button.compact{width:30px;height:30px}.status-pill{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border-radius:999px;border:1px solid;font-size:13px;font-weight:800;white-space:nowrap}.status-pill.success{border-color:#badbcc;background:#effaf4;color:#166534}.status-pill.warning{border-color:#f1d48b;background:#fff8e6;color:#854d0e}.markdown-body{color:#18212f;line-height:1.7;overflow-wrap:anywhere}.markdown-body p:last-child,.markdown-body ul:last-child,.markdown-body ol:last-child{margin-bottom:0}.markdown-body code,.trace-footer code,.path-code,pre{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.card-list,.timeline{display:flex;flex-direction:column;gap:10px;max-height:520px;overflow:auto;padding-right:2px}.citation-card,.step-card{border:1px solid #dce3ea;border-radius:8px;background:#fbfcfd;padding:12px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}.card-title-row h3{display:inline-flex;align-items:center;gap:6px;min-width:0;margin:0;color:#18212f;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.citation-card p,.step-card p{margin-bottom:10px;color:#405066;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.score,.badge{flex:0 0 auto;border-radius:999px;padding:3px 7px;background:#eaf3ff;color:#1d4ed8;font-size:11px;font-weight:800}.badge.danger{background:#fee2e2;color:#b91c1c}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tag-row span{max-width:100%;border-radius:999px;background:#eef2f7;color:#405066;padding:3px 7px;font-size:11px;overflow-wrap:anywhere}pre{max-height:220px;overflow:auto;margin:8px 0 0;padding:10px;border-radius:7px;background:#151922;color:#e5eef8;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.path-code{display:block;margin-top:8px;color:#64748b;font-size:11px;overflow-wrap:anywhere}.muted{margin:0;color:#64748b;font-size:13px}.empty-state{min-height:190px;display:grid;place-items:center;gap:8px;color:#64748b;border:1px dashed #cbd5df;border-radius:8px}.error-box{display:flex;align-items:flex-start;gap:8px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#991b1b;padding:12px;font-size:13px;overflow-wrap:anywhere}.trace-footer{display:flex;align-items:center;gap:8px;min-width:0;margin-top:12px;color:#64748b;font-size:12px}.trace-footer code{min-width:0;overflow-wrap:anywhere;color:#18212f}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1100px){.workspace,.detail-grid{grid-template-columns:1fr}}@media (max-width: 640px){.shell{padding:12px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;justify-content:space-between}h1{font-size:22px}.runtime-list{grid-template-columns:92px minmax(0,1fr)}}
