/* XSUS App V2.4 — advanced design-only AI conversation */
.chat-panel{position:relative;min-width:0}.chat-head-actions{display:flex;align-items:center;gap:5px}.chat-offline{font-size:10px;letter-spacing:.03em;border:1px solid #285368;border-radius:99px;padding:5px 8px;color:#8bd7e7;background:#102b38}.chat-head-actions .icon-btn{width:30px;height:30px}.chat-messages{gap:17px;scroll-behavior:smooth}.chat-welcome{text-align:center;margin:auto 0;padding:14px 4px 22px}.chat-welcome-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#153f54,#29275b);color:#5ee2f2}.chat-welcome h2{font-size:17px;margin:15px 0 7px;color:#f0f7ff}.chat-welcome p{font-size:12px;color:#9fb2cb;line-height:1.65;max-width:280px;margin:0 auto 18px}.chat-suggestions{display:grid;gap:8px}.chat-suggestions button{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:11px 12px;border-radius:11px;border:1px solid #29415c;background:#14243a;color:#d5e8f5;cursor:pointer;font:inherit;font-size:12px}.chat-suggestions button:hover,.chat-suggestions button:focus-visible{border-color:#36b9d1;background:#1a324b}.chat-suggestions svg{width:15px;height:15px}.chat-tip{display:flex;gap:7px;align-items:flex-start;border-top:1px solid #263b52}.chat-tip svg{width:15px;flex-shrink:0}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;max-width:96%}.chat-bubble.user{border:1px solid #365171}.chat-bubble.assistant{width:fit-content}.chat-bubble .message-meta{font-size:10px;letter-spacing:.05em;color:#8ae4f1;margin-bottom:8px;font-weight:700}.concept-card{display:grid;gap:10px}.concept-card h3{font-size:14px;margin:0;color:#f1faff}.concept-card p{font-size:12px;line-height:1.6;margin:0;color:#c5d6e7}.concept-badges{display:flex;flex-wrap:wrap;gap:6px}.concept-badges span{font-size:10px;border:1px solid #356478;color:#8ce5ed;padding:5px 7px;border-radius:99px}.concept-actions{display:flex;gap:7px;flex-wrap:wrap}.concept-actions button{font-size:11px;padding:8px 10px;border:1px solid #3b6075;border-radius:8px;background:#173749;color:#d8f6ff;cursor:pointer}.concept-actions button:hover{border-color:#60e4f1}.chat-progress{display:flex;align-items:center;gap:9px;padding:10px 15px;font-size:11px;color:#a8dfe9;border-top:1px solid #2d435b}.chat-progress.hidden{display:none}.chat-progress button{margin-left:auto;background:transparent;border:0;color:#e5b1b9;cursor:pointer}.progress-dot{height:8px;width:8px;border-radius:50%;background:#22d3ee;animation:chatPulse 1.1s infinite alternate}@keyframes chatPulse{to{opacity:.25}}.chat-history{position:absolute;top:54px;left:0;right:0;z-index:6;background:#0d1c30;border-bottom:1px solid #35506a;box-shadow:0 12px 28px #0007;padding:13px;max-height:240px;overflow:auto}.chat-history.hidden{display:none}.history-label{font-size:10px;color:#7eacc4;letter-spacing:.07em;margin-bottom:9px}.chat-history button{width:100%;text-align:left;background:#15273d;border:1px solid #2b435d;border-radius:9px;color:#d7e8f7;padding:10px;margin-bottom:6px;cursor:pointer}.chat-history button.active{border-color:#29c7df}.chat-history p{font-size:10px;color:#92a7c1}.composer{margin-top:8px}.composer textarea{min-height:74px;max-height:200px}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px}.composer-actions{display:flex;align-items:center;gap:3px}.prompt-count{font-size:10px;color:#8298b5;white-space:nowrap}.composer-hint{font-size:10px;color:#8298b5;margin:8px 0 0}.composer .primary{display:flex;align-items:center;gap:6px}.composer .primary svg{width:14px;height:14px}@media(max-width:700px){.chat-welcome{margin:auto 0}.chat-offline{font-size:9px}.composer{margin:8px}.chat-messages{padding:14px 12px}}@media(prefers-reduced-motion:reduce){.progress-dot{animation:none}.chat-messages{scroll-behavior:auto}}
.composer-label{display:block;margin:5px 0 2px;color:#9fc5d8;font-size:10px;font-weight:700;letter-spacing:.025em}
.composer .plan-steps-input{height:66px;min-height:54px;border-top:1px solid #233a53;white-space:pre-wrap}
.bridge-plan-steps{display:grid;gap:8px;padding-left:22px;margin:3px 0}
.bridge-plan-steps li{padding-left:3px}
.bridge-plan-steps small,.bridge-request-id{display:block;color:#91a9c2;font-size:10px;margin-top:4px}
.bridge-plan-note{padding-top:8px;border-top:1px solid #29445a}
