:root{--color-primary: #0d6efd;--color-primary-text: #ffffff;--color-bg: #f6f8fa;--color-surface: #ffffff;--color-border: #dde1e7;--color-text: #0f1720;--color-text-muted: #555e6c;--color-user-bubble: #e8f0fe;--color-assistant-bubble: #ffffff;--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;--font-size-base: 15px;--border-radius: 8px;--chat-height: 340px;--layout-width: 100%;--layout-height: auto}html,body,#root{height:100%;margin:0}body{font-family:var(--font-family);font-size:var(--font-size-base);background:var(--color-bg);color:var(--color-text);display:flex;align-items:center;justify-content:center}.app{text-align:center}.intake{padding:1rem;width:var(--layout-width);max-width:100%;height:var(--layout-height);overflow-y:var(--layout-overflow, visible);box-sizing:border-box}.chat-window,.controls{width:100%;box-sizing:border-box}.chat-window{border:1px solid var(--color-border);border-radius:var(--border-radius);background:var(--color-surface);padding:1rem;height:var(--chat-height);overflow:auto;margin-bottom:1rem}.message{margin-bottom:.5rem}.message.user{text-align:right}.message.user>*{background:var(--color-user-bubble);border-radius:var(--border-radius);padding:4px 8px;display:inline-block}.message.assistant>*{background:var(--color-assistant-bubble);border-radius:var(--border-radius);padding:4px 8px;display:inline-block}.controls{display:flex;gap:.5rem}.controls input{flex:1;padding:.5rem;border:1px solid var(--color-border);border-radius:var(--border-radius);font-size:var(--font-size-base)}.controls button,button{padding:6px 16px;background:var(--color-primary);color:var(--color-primary-text);border:none;border-radius:var(--border-radius);font-size:var(--font-size-base);cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.ai-thinking{width:240px;height:4px;overflow:hidden;border-radius:999px;background:#0000000f}.ai-wave{width:200%;height:100%;background:linear-gradient(90deg,transparent 0%,var(--color-primary) 25%,#7c7cff 50%,var(--color-primary) 75%,transparent 100%);animation:ai-wave-move 1.4s linear infinite}@keyframes ai-wave-move{0%{transform:translate(-50%)}to{transform:translate(0)}}
