body{margin:0;min-width:320px;min-height:100vh;width:100%}#root{width:100%}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0a0a0a;color:#e5e5e5}.app-container{height:100vh;display:flex;overflow:hidden}.chat-pane{flex:1;display:flex;flex-direction:column;min-width:0}.preview-pane{width:45%;display:flex;flex-direction:column;border-left:1px solid #262626;background:#0a0a0a}.preview-header{padding:1rem 1.5rem;border-bottom:1px solid #262626;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.preview-header h2{font-size:1.25rem;font-weight:600;margin:0}.preview-controls{display:flex;gap:.5rem}.port-input{background:#171717;border:1px solid #262626;border-radius:6px;color:#e5e5e5;padding:.5rem;width:80px;font-family:inherit}.port-input:focus{outline:none;border-color:#2563eb}.expose-button{padding:.5rem 1rem;font-size:.875rem}.preview-content{flex:1;display:flex;flex-direction:column;background:#171717;position:relative}.preview-frame{flex:1;border:none;background:#fff;width:100%;height:100%}.empty-preview{flex:1;display:flex;align-items:center;justify-content:center;color:#525252}@media(max-width:768px){.app-container{flex-direction:column}.preview-pane{width:100%;height:50%;border-left:none;border-top:1px solid #262626}}.chat-header{padding:1rem 1.5rem;border-bottom:1px solid #262626;display:flex;align-items:center;gap:.75rem}.chat-header h1{font-size:1.25rem;font-weight:600}.status{font-size:.75rem;padding:.25rem .5rem;background:#1a1a1a;border-radius:4px;color:#a3a3a3}.status.connected{background:#14532d;color:#4ade80}.new-session-btn{padding:.25rem .75rem;font-size:.75rem;background:#333;border:1px solid #444}.new-session-btn:hover:not(:disabled){background:#444}.messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.message{max-width:80%;padding:.875rem 1rem;border-radius:12px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.message.user{align-self:flex-end;background:#2563eb;color:#fff}.message.assistant{align-self:flex-start;background:#262626}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#525252;text-align:center;gap:.5rem}.empty-state h2{font-size:1.5rem;font-weight:500;color:#737373}.chat-footer{padding:1rem 1.5rem;border-top:1px solid #262626;background:#0a0a0a}.input-container{display:flex;gap:.75rem;max-width:900px;margin:0 auto}textarea{flex:1;padding:.75rem 1rem;background:#171717;border:1px solid #262626;border-radius:8px;color:#e5e5e5;font-family:inherit;font-size:1rem;resize:none;min-height:48px;max-height:200px}textarea:focus{outline:none;border-color:#2563eb}textarea::placeholder{color:#525252}button{padding:.75rem 1.5rem;background:#2563eb;border:none;border-radius:8px;color:#fff;font-weight:500;cursor:pointer;transition:background .15s}button:hover:not(:disabled){background:#1d4ed8}button:disabled{opacity:.5;cursor:not-allowed}.loading{display:flex;gap:4px;padding:1rem}.loading span{width:8px;height:8px;background:#525252;border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.loading span:nth-child(1){animation-delay:-.32s}.loading span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.tool-call{background:#171717;border:1px solid #333;border-radius:8px;margin:.5rem 0;overflow:hidden;font-family:Menlo,Monaco,Courier New,monospace;font-size:.85rem}.tool-header{padding:.75rem 1rem;background:#262626;display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none}.tool-header:hover{background:#333}.tool-name{font-weight:600;color:#e5e5e5;display:flex;align-items:center;gap:.5rem}.tool-status{font-size:.75rem;padding:.125rem .375rem;border-radius:4px;background:#404040;color:#a3a3a3}.tool-status.running{background:#1e3a8a;color:#93c5fd;animation:pulse 2s infinite}.tool-status.completed{background:#14532d;color:#86efac}.tool-content{padding:1rem;border-top:1px solid #333;background:#0a0a0a;overflow-x:auto}.tool-args,.tool-result{margin-top:.5rem}.tool-args:first-child{margin-top:0}.label{display:block;color:#737373;font-size:.75rem;margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.05em}pre{margin:0;white-space:pre-wrap;word-break:break-all;color:#d4d4d4}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.chevron{transition:transform .2s}.chevron.expanded{transform:rotate(180deg)}.question-card{background:#1a1a1a;border:1px solid #333;border-radius:12px;padding:0;margin:.75rem 0;overflow:hidden;max-width:100%;max-height:70vh;display:flex;flex-direction:column}.question-card-header{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#262626;border-bottom:1px solid #333;font-weight:600;color:#e5e5e5}.question-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#2563eb;color:#fff;border-radius:50%;font-size:.875rem;font-weight:700}.question-dismiss{margin-left:auto;background:transparent;border:none;color:#737373;font-size:1.25rem;padding:.25rem .5rem;cursor:pointer;border-radius:4px;line-height:1}.question-dismiss:hover{background:#333;color:#e5e5e5}.question-item{padding:1.25rem}.question-item+.question-item{border-top:1px solid #333}.question-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#737373;margin-bottom:.375rem}.question-text{font-size:1rem;color:#e5e5e5;line-height:1.5;margin-bottom:1rem}.question-options{display:flex;flex-direction:column;gap:.5rem}.question-option{display:flex;align-items:flex-start;gap:.75rem;padding:.875rem 1rem;background:#171717;border:1px solid #333;border-radius:8px;cursor:pointer;transition:all .15s ease}.question-option:hover{background:#1f1f1f;border-color:#404040}.question-option.selected{background:#1e3a5f;border-color:#2563eb}.question-option input{position:absolute;opacity:0;pointer-events:none}.option-indicator{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px}.radio-icon{width:18px;height:18px;border:2px solid #525252;border-radius:50%;transition:all .15s ease}.question-option.selected .radio-icon{border-color:#2563eb;background:#2563eb;box-shadow:inset 0 0 0 3px #1e3a5f}.checkbox-icon{width:18px;height:18px;border:2px solid #525252;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:transparent;transition:all .15s ease}.question-option.selected .checkbox-icon{border-color:#2563eb;background:#2563eb;color:#fff}.option-content{display:flex;flex-direction:column;gap:.25rem;min-width:0}.option-label{font-size:.9375rem;font-weight:500;color:#e5e5e5}.option-description{font-size:.8125rem;color:#a3a3a3;line-height:1.4}.question-custom{margin-top:.75rem}.question-custom-input{width:100%;padding:.75rem 1rem;background:#171717;border:1px solid #333;border-radius:8px;color:#e5e5e5;font-family:inherit;font-size:.9375rem}.question-custom-input:focus{outline:none;border-color:#2563eb}.question-custom-input::placeholder{color:#525252}.question-actions{padding:1rem 1.25rem;border-top:1px solid #333;background:#1a1a1a;display:flex;justify-content:flex-end}.question-submit{padding:.625rem 1.25rem;font-size:.9375rem}.question-submit:disabled{opacity:.5;cursor:not-allowed}.answered-question{background:#1a1a1a;border:1px solid #14532d;border-radius:12px;padding:0;margin:.5rem 0;overflow:hidden}.answered-question-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#14532d;font-weight:500;font-size:.875rem;color:#86efac}.answered-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:#22c55e;color:#fff;border-radius:50%;font-size:.75rem;font-weight:700}.answered-item{padding:1rem}.answered-item+.answered-item{border-top:1px solid #333}.answered-label{font-size:.6875rem;text-transform:uppercase;letter-spacing:.05em;color:#737373;margin-bottom:.25rem}.answered-text{font-size:.875rem;color:#a3a3a3;margin-bottom:.5rem}.answered-response{display:flex;flex-wrap:wrap;gap:.5rem}.answered-chip{display:inline-flex;align-items:center;padding:.375rem .75rem;background:#14532d;color:#86efac;border-radius:6px;font-size:.8125rem;font-weight:500}.answered-chip.empty{background:#333;color:#737373}.session-dropdown{position:relative}.session-dropdown-btn{padding:.25rem .75rem;font-size:.75rem;background:#333;border:1px solid #444;display:flex;align-items:center;gap:.375rem}.session-dropdown-btn:hover:not(:disabled){background:#444}.session-dropdown-menu{position:absolute;top:100%;right:0;margin-top:.375rem;background:#1a1a1a;border:1px solid #333;border-radius:8px;min-width:280px;max-height:400px;overflow-y:auto;z-index:100;box-shadow:0 4px 24px #00000080}.session-dropdown-item{width:100%;display:flex;align-items:center;gap:.5rem;padding:0;background:transparent;border:none;border-radius:0;color:#e5e5e5;font-size:.875rem;text-align:left;cursor:pointer}.session-dropdown-item:hover{background:#262626}.session-dropdown-item.active{background:#1e3a5f}.session-item-content{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;padding:.75rem .5rem .75rem 1rem;background:transparent;border:none;color:inherit;font-size:inherit;text-align:left;cursor:pointer}.session-delete-btn{padding:.5rem .75rem;background:transparent;border:none;color:#737373;font-size:1.25rem;line-height:1;cursor:pointer;opacity:0;transition:opacity .15s,color .15s}.session-dropdown-item:hover .session-delete-btn{opacity:1}.session-delete-btn:hover{color:#ef4444}.session-dropdown-item.new-session{color:#60a5fa;font-weight:500;padding:.75rem 1rem;flex-direction:row}.session-dropdown-item.new-session:hover{background:#1e3a5f}.session-dropdown-divider{height:1px;background:#333;margin:.25rem 0}.session-dropdown-empty{padding:1rem;color:#737373;font-size:.875rem;text-align:center}.session-title{font-weight:500;color:#e5e5e5}.session-date{font-size:.75rem;color:#737373}
