.demo-home .app-shell{grid-template-columns:190px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr) 28px;height:100vh;min-height:620px;overflow:hidden}.demo-home .topbar{grid-row:1;grid-column:1/-1;height:58px;padding:8px 18px;gap:20px}.demo-home .brand{width:150px}.demo-home .sidebar{grid-row:2/3;padding:18px 12px;min-height:0;overflow:auto}.demo-home .main-content{grid-column:2;grid-row:2;padding:12px 18px 10px;min-height:0;overflow:hidden;display:flex;flex-direction:column}.demo-home .footer{grid-column:2;grid-row:3;min-height:28px;padding-right:18px}.demo-home .demo-banner{padding:7px 12px;min-height:34px}.demo-home .view{display:none!important}.demo-home .view.active{display:flex!important;flex-direction:column;min-height:0;flex:1}.demo-home #qcoder .screen-heading{margin:10px 0 8px;align-items:center}.demo-home #qcoder .screen-heading h1{font-size:20px;margin:2px 0}.compact-model{display:flex;align-items:center;gap:8px;margin-left:auto;padding:6px 9px;border:1px solid var(--line);border-radius:6px;background:#0d151e;color:var(--muted);font-size:10px;white-space:nowrap}.compact-model span{color:#6f8498;font-size:9px;font-weight:700;letter-spacing:.1em}.compact-model select{border:0;background:transparent;color:var(--cyan);font-weight:700;font-size:11px;outline:0}.compact-model small{color:#6f8498;font-size:8px}.demo-home #qcoder .context-bar{grid-template-columns:1.4fr repeat(3,1fr);margin-bottom:8px}.demo-home #qcoder .context-bar>div{padding:7px 10px}.demo-home #qcoder .chat-layout{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:10px;min-height:0;flex:1}.demo-home #qcoder .chat-panel{grid-column:1;min-height:0;height:100%;overflow:hidden}.demo-home #qcoder .chat-meta{padding:9px 13px}.demo-home #qcoder .messages{min-height:0;overflow:auto;padding:18px 24px 8px;scrollbar-color:#385263 #0c141d}.demo-home #qcoder .composer{flex:0 0 auto;margin:8px 12px}.demo-home #qcoder .composer textarea{min-height:58px;max-height:150px}.demo-home #qcoder .pass-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 12px 10px;padding:8px 10px;border:1px solid #285568;border-radius:6px;background:#11252c}.demo-home #qcoder .pass-action h2{font-size:11px;margin:0}.demo-home #qcoder .pass-action p{font-size:9px;margin:1px 0 0}.demo-home #qcoder .pass-button{padding:6px 9px;font-size:10px}.demo-home #qcoder .inspector{grid-column:2;display:none;min-width:0;overflow:auto}.demo-home.advanced #qcoder .inspector,.demo-home #qcoder .inspector.inspector-open{display:block}.demo-home #qcoder .inspector-toggle{position:absolute;z-index:2;top:8px;right:8px;border:1px solid #355064;border-radius:5px;background:#132330;color:#a9c0d0;padding:5px 8px;font-size:10px;cursor:pointer}.demo-home.advanced #qcoder .inspector-toggle{right:246px}.demo-home:not(.advanced) #qcoder .inspector-toggle{display:block}
@media(max-width:1050px){.demo-home .project-chip{min-width:150px}.demo-home #qcoder .chat-layout{grid-template-columns:minmax(0,1fr)}.demo-home #qcoder .inspector{grid-column:1}.demo-home.advanced #qcoder .inspector{display:block}.demo-home.advanced #qcoder .inspector-toggle{right:8px}}
@media(max-width:760px){.demo-home .app-shell{display:block;height:auto;min-height:100vh;overflow:visible}.demo-home .topbar{height:auto;min-height:58px;flex-wrap:wrap}.demo-home .project-chip{order:3;width:100%}.demo-home .sidebar{display:none}.demo-home .main-content{display:flex;min-height:calc(100vh - 58px);overflow:visible;padding:10px}.demo-home .footer{display:none}.demo-home #qcoder .screen-heading{display:flex;flex-wrap:wrap}.compact-model{margin-left:0}.demo-home #qcoder .context-bar{grid-template-columns:1fr 1fr}.demo-home #qcoder .chat-layout{display:block}.demo-home #qcoder .chat-panel{height:calc(100vh - 230px);min-height:470px}.demo-home #qcoder .inspector{position:absolute;z-index:3;right:0;top:38px;width:min(300px,90%);background:#0d151e;padding:8px;border:1px solid var(--line);border-radius:7px}.demo-home #qcoder .pass-action{align-items:flex-start;flex-direction:column}.demo-home #qcoder .pass-button{width:100%}}
