.lb-wrap{border:1px solid #e5e5e5;border-radius:14px;overflow:hidden;max-width:980px}
.lb-header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;background:#fafafa}
.lb-title{font-weight:700;font-size:18px}
.lb-sub{font-size:13px;opacity:.75}
.lb-body{display:grid;grid-template-columns:1.3fr .7fr;gap:12px;padding:12px}
.lb-chat{border:1px solid #eee;border-radius:12px;padding:12px;height:420px;overflow:auto;background:#fff;white-space:pre-wrap}
.lb-side{display:flex;flex-direction:column;gap:10px}
.lb-card{border:1px solid #eee;border-radius:12px;padding:10px;background:#fff}
.lb-card-title{font-weight:700;margin-bottom:8px}
.lb-json{font-size:12px;max-height:250px;overflow:auto;margin:0}
.lb-actions{display:grid;gap:8px}
.lb-input{display:flex;gap:8px;padding:12px;border-top:1px solid #eee;background:#fff}
.lb-input input{flex:1;padding:10px 12px;border-radius:12px;border:1px solid #e5e5e5}
.lb-btn{padding:10px 12px;border-radius:12px;border:1px solid #111;background:#111;color:#fff;cursor:pointer}
.lb-btn:disabled{opacity:.45;cursor:not-allowed}
.lb-btn-ghost{background:#fff;color:#111}
.lb-msg{padding:10px 12px;border-radius:14px;margin:8px 0;max-width:92%}
.lb-user{background:#111;color:#fff;margin-left:auto}
.lb-assistant{background:#f2f2f2;color:#111}
.lb-footnote{font-size:12px;opacity:.7}
@media (max-width:900px){.lb-body{grid-template-columns:1fr}.lb-chat{height:360px}}