.architecture-workspace{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.35fr);gap:24px;align-items:start;margin:24px 0;padding:24px;border:1px solid #d9e2de;border-radius:12px;background:#f7faf8}
.architecture-workspace.home-levelup{margin:28px 24px}
.architecture-workspace.architecture-conversation-only{grid-template-columns:minmax(0,1fr)}
#main-content-scroll:has(.architecture-workspace),#main-content:has(.architecture-workspace){overflow-anchor:none}
.architecture-conversation,.architecture-response{min-width:0}
.architecture-chat-heading h2{margin:8px 0 12px;font-size:1.55rem}.architecture-chat-heading p{line-height:1.55;color:#4c5b56}
.architecture-chat-log{max-height:420px;overflow:auto;overflow-wrap:anywhere;padding:12px 0;scrollbar-gutter:stable}
.architecture-chat-log>p{padding:16px;background:#fff;border:1px dashed #c8d9d0;border-radius:8px;color:#4c5b56}
.architecture-chat-message{margin:0 0 12px;padding:14px;border:1px solid #dbe4de;border-radius:10px;background:white;font-size:.95rem;line-height:1.55}
.architecture-chat-message.user{background:#eaf2ed;margin-left:22px}.architecture-chat-message>strong{display:block;font-size:.8rem;margin-bottom:6px;color:#416257}
.architecture-chat-message .chat-markdown>:first-child{margin-top:0}.architecture-chat-message .chat-markdown>:last-child{margin-bottom:0}
.architecture-conversation form{display:grid;gap:12px}.architecture-conversation label{font-weight:600}.architecture-conversation textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:115px;padding:13px;border:1px solid #9eafa5;border-radius:6px;background:white;font:inherit;line-height:1.45}
.architecture-conversation .architecture-examples{display:flex;flex-wrap:wrap;gap:7px}.architecture-conversation .architecture-examples button{border:1px solid #b6c7bc;background:#fff;border-radius:18px;padding:7px 10px;font-size:.8rem;color:#31594b;cursor:pointer;text-align:left}
.architecture-conversation .cta-row{margin:0;flex-wrap:wrap}.architecture-conversation .architecture-note{margin-top:16px}
.architecture-response>.eyebrow{display:block;margin:0 0 12px}.architecture-response .architecture-result{margin:0;padding:22px;background:#fff;border-radius:9px;border:1px solid #dbe4de}
.architecture-response .architecture-result-heading{display:block}.architecture-response .architecture-result-heading .pill{margin:0 0 12px}.architecture-response .architecture-result-heading h2{font-size:1.3rem}
.architecture-response .architecture-columns{grid-template-columns:1fr}.architecture-response .architecture-diagram{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}.architecture-response .architecture-node{min-width:100px;flex:1 1 120px;max-width:100%;padding:12px}.architecture-response .architecture-connector{align-self:center}
.architecture-response .architecture-node strong,.architecture-response .architecture-node small{overflow-wrap:anywhere}.architecture-response li{line-height:1.55;margin-bottom:8px}.architecture-response .architecture-continue{margin-top:16px}
.architecture-note{font-size:.85rem;line-height:1.5;color:#51615a}.architecture-chat-error{padding:12px;border:1px solid #ce827c;border-radius:6px;background:#fff2f0;color:#802c22}
@media(max-width:1050px){.architecture-workspace{grid-template-columns:1fr 1fr;padding:18px;gap:18px}.architecture-response .architecture-node{flex-basis:105px}}
@media(max-width:760px){.architecture-workspace{grid-template-columns:1fr;padding:16px;gap:24px}.architecture-workspace.home-levelup{margin:20px 12px}.architecture-chat-log{max-height:320px}.architecture-response .architecture-result{padding:16px}.architecture-conversation .button{white-space:normal}}

.sr-document{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f6;padding:16px;border:1px solid #dbe4de;border-radius:8px;font:inherit;line-height:1.55;max-width:100%;box-sizing:border-box}
.sr-chat-controls{display:grid;gap:12px;margin-top:16px}.sr-chat-controls>.button{justify-self:start}.sr-options{display:flex;gap:8px;flex-wrap:wrap}.sr-options .button{white-space:normal;text-align:left}.sr-edit-fields summary{cursor:pointer;font-weight:600;padding:8px 0}.sr-edit-fields .sr-options{margin:8px 0}.sr-chat-controls p{margin:0;font-size:.9rem}

.chat-mode{display:block;margin-top:4px;font-size:.75rem;color:var(--vcxm-muted)}
.chat-clarification{margin-top:12px;padding:12px 0;border-top:1px solid var(--vcxm-border)}
.chat-clarification p{margin:0 0 8px;font-size:.9rem}
