:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--purple: #5e17eb;--gold: #ffdd27;--white: #ffffff;--black: #000000;--warm-gray: #f8f9fa;--soft-gray: #e9ecef;--text-gray: #495057;--border-gray: #dee2e6}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif}body{background:linear-gradient(135deg,var(--warm-gray) 0%,#f1f3f4 100%);color:var(--text-gray);line-height:1.6}.app{display:flex;flex-direction:column;height:100%;max-width:800px;margin:0 auto;background:var(--white);box-shadow:0 0 40px #0000001a}.header{background:linear-gradient(135deg,var(--purple) 0%,#7c3aed 100%);color:var(--white);padding:24px 20px;border-radius:0 0 24px 24px;margin-bottom:20px}.header h1{font-size:28px;font-weight:600;margin-bottom:8px;display:flex;align-items:center;gap:12px}.header h1:before{content:"🧭";font-size:32px}.header p{font-size:16px;opacity:.9;font-weight:300}.header>div{display:flex;justify-content:space-between;align-items:flex-start}.chat-container{flex:1;overflow:hidden;padding:0 20px}.messages{height:100%;overflow-y:auto;padding:20px 0;display:flex;flex-direction:column;gap:16px}.message{display:flex;margin-bottom:16px}.message.user{justify-content:flex-end}.message.ai{justify-content:flex-start}.bubble{max-width:85%;padding:16px 20px;border-radius:20px;position:relative;box-shadow:0 2px 12px #00000014}.message.user .bubble{background:linear-gradient(135deg,var(--purple) 0%,#7c3aed 100%);color:var(--white);border-radius:20px 20px 4px}.message.ai .bubble{background:var(--white);border:2px solid var(--soft-gray);color:var(--text-gray);border-radius:20px 20px 20px 4px}.text{white-space:pre-wrap;line-height:1.6;font-size:16px}.timestamp{margin-top:8px;font-size:12px;opacity:.7;font-weight:300}.input-bar{display:flex;gap:12px;padding:20px;background:var(--white);border-top:1px solid var(--border-gray);border-radius:24px 24px 0 0}.message-input{flex:1;resize:none;border:2px solid var(--soft-gray);background:var(--warm-gray);color:var(--text-gray);border-radius:16px;padding:16px 20px;outline:none;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;transition:all .3s ease}.message-input:focus{border-color:var(--purple);background:var(--white);box-shadow:0 0 0 4px #5e17eb1a}.message-input:disabled{opacity:.6;cursor:not-allowed}.send-button{background:linear-gradient(135deg,var(--purple) 0%,#7c3aed 100%);color:var(--white);border:none;border-radius:16px;padding:16px 24px;cursor:pointer;font-weight:500;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;transition:all .3s ease;box-shadow:0 4px 12px #5e17eb4d}.send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #5e17eb66}.send-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:0 4px 12px #5e17eb33}.options-container{display:flex;flex-direction:column;gap:12px;padding:16px 20px;max-height:50vh;overflow-y:auto;border-top:1px solid var(--border-gray);background:var(--warm-gray);margin-top:8px}.option-button{background:var(--white);color:var(--text-gray);border:2px solid var(--soft-gray);border-radius:16px;padding:16px 20px;cursor:pointer;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;transition:all .3s ease;width:100%;text-align:left;line-height:1.5;box-shadow:0 2px 8px #0000000d}.option-button:hover:not(:disabled){background:var(--warm-gray);border-color:var(--purple);transform:translateY(-1px);box-shadow:0 4px 16px #5e17eb26}.option-button:disabled{opacity:.5;cursor:not-allowed}.start-over-btn{background:#fff3;color:var(--white);border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:10px 16px;cursor:pointer;font-size:14px;font-weight:500;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif;transition:all .3s ease}.start-over-btn:hover{background:#ffffff4d;border-color:#ffffff80}.diagnostics-btn{background:#fff3;color:var(--white);border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:10px 12px;cursor:pointer;font-size:16px;transition:all .3s ease;margin-right:8px}.diagnostics-btn:hover{background:#ffffff4d;border-color:#ffffff80}.typing-indicator{display:flex;gap:6px;padding:12px 0;align-items:center}.typing-indicator span{width:8px;height:8px;border-radius:50%;background:var(--purple);animation:typing 1.4s infinite ease-in-out}.typing-indicator span:nth-child(1){animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.diagnostics-panel{background:var(--warm-gray);border:1px solid var(--border-gray);border-radius:16px;margin:0 20px 20px;padding:20px;font-size:14px}.diagnostics-panel h3{margin:0 0 16px;color:var(--purple);font-size:18px;font-weight:600}.diagnostics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.diagnostics-grid>div{color:var(--text-gray);padding:8px 0;font-size:14px}.diagnostics-grid strong{color:var(--purple);font-weight:500}@media (max-width: 768px){.app{height:100vh;border-radius:0;box-shadow:none}.header{border-radius:0;padding:20px 16px}.header h1{font-size:24px}.header h1:before{font-size:28px}.chat-container{padding:0 16px}.bubble{max-width:90%;padding:14px 18px}.input-bar{padding:16px}.diagnostics-grid{grid-template-columns:1fr}.option-button{margin:2px;padding:14px 18px}}@media (max-width: 480px){.header h1{font-size:20px}.bubble{max-width:95%}.text{font-size:15px}}
