.chat-window{display:flex;flex-direction:column;height:100%}.messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem}.messages::-webkit-scrollbar{width:6px}.messages::-webkit-scrollbar-track{background:transparent}.messages::-webkit-scrollbar-thumb{background:#0000001f;border-radius:3px}.messages::-webkit-scrollbar-thumb:hover{background:#0003}.welcome-card{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;padding:2rem}.welcome-inner{background:#fff9;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.7);border-radius:20px;padding:2.5rem 2rem 2rem;text-align:center;max-width:480px;width:100%;box-shadow:0 4px 24px #0000000a}.welcome-sparkle{font-size:2rem;margin-bottom:.75rem;display:block}.welcome-inner h2{font-size:1.25rem;font-weight:700;color:#1e1e2e;margin-bottom:.5rem}.welcome-inner p{font-size:.9rem;color:#888;margin-bottom:1.5rem}.suggestion-grid{display:grid;grid-template-columns:1fr 1fr;gap:.625rem}.suggestion-chip{background:#ffffffb3;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:.75rem 1rem;font-size:.85rem;color:#444;cursor:pointer;transition:all .2s;text-align:left;font-family:inherit}.suggestion-chip:hover{background:#ffffffe6;border-color:#6366f14d;box-shadow:0 4px 12px #6366f11a;transform:translateY(-1px)}.message-row{display:flex;align-items:flex-end;gap:.625rem;max-width:78%;animation:fadeUp .3s ease-out}.message-row.user{align-self:flex-end;flex-direction:row-reverse}.message-row.assistant{align-self:flex-start}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.8rem;font-weight:600}.avatar.user-avatar{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.avatar.assistant-avatar{background:#ffffffd9;border:1px solid rgba(0,0,0,.08);color:#6366f1}.bubble{padding:.75rem 1rem;border-radius:16px;line-height:1.55;font-size:.925rem}.bubble.user-bubble{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-bottom-right-radius:4px}.bubble.assistant-bubble{background:#ffffffbf;color:#1e1e2e;border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 4px #0000000a;border-bottom-left-radius:4px}.bubble.error-bubble{background:#fef2f2;color:#b91c1c;border:1px solid rgba(185,28,28,.15)}.message-content{white-space:pre-wrap;word-break:break-word}.typing-row{display:flex;align-items:flex-end;gap:.625rem;align-self:flex-start;animation:fadeUp .3s ease-out}.typing-bubble{display:flex;gap:5px;padding:.875rem 1.1rem;background:#ffffffbf;border:1px solid rgba(0,0,0,.06);border-radius:16px 16px 16px 4px}.typing-dot{width:8px;height:8px;background:#6366f1;border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.input-form{display:flex;align-items:center;padding:1rem 1.25rem;gap:.75rem;background:#ffffff73;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(0,0,0,.06)}.input-field{flex:1;padding:.75rem 1.25rem;border:1px solid rgba(0,0,0,.1);border-radius:24px;font-size:.925rem;font-family:inherit;outline:none;background:#ffffffb3;transition:all .2s;color:#1e1e2e}.input-field::placeholder{color:#aaa}.input-field:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.input-field:disabled{background:#00000008;opacity:.6}.send-btn{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s;box-shadow:0 2px 8px #6366f14d}.send-btn:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px #6366f166}.send-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.send-btn svg{width:20px;height:20px}@media (max-width: 640px){.suggestion-grid{grid-template-columns:1fr}.message-row{max-width:88%}.welcome-inner{padding:2rem 1.25rem 1.5rem}}.provider-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:.45rem 2.25rem .45rem .85rem;border-radius:10px;border:1px solid rgba(0,0,0,.12);background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;font-size:.85rem;font-family:inherit;color:#333;cursor:pointer;min-width:150px;transition:all .2s}.provider-select:hover{border-color:#0003}.provider-select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.bank-login{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.bank-login-card{width:100%;max-width:360px;background:#ffffffbf;border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:2rem;text-align:center;box-shadow:0 8px 24px #0000000f}.bank-login-logo{width:52px;height:52px;margin:0 auto 1rem;border-radius:14px;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:#fff;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center}.bank-login-card h2{font-size:1.15rem;color:#1e1e2e;margin-bottom:.35rem}.bank-login-hint{font-size:.8rem;color:#888;margin-bottom:1.25rem}.bank-login-input{width:100%;padding:.65rem .9rem;margin-bottom:.75rem;border:1px solid rgba(0,0,0,.12);border-radius:10px;font-size:.9rem;background:#fff}.bank-login-input:focus{outline:none;border-color:#3b82f6}.bank-login-btn{width:100%;padding:.65rem;border:none;border-radius:10px;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer}.bank-login-btn:disabled{opacity:.5;cursor:default}.app{display:flex;flex-direction:column;width:100%;max-width:900px;max-height:820px;height:90vh;background:#ffffffa6;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:24px;box-shadow:0 8px 32px #00000014,inset 0 1px #fffc;border:1px solid rgba(255,255,255,.5);overflow:hidden}.scenario-tabs{display:flex;gap:.25rem;padding:.6rem 1rem 0;background:#ffffff59;border-bottom:1px solid rgba(0,0,0,.06)}.scenario-tab{border:none;background:transparent;padding:.55rem 1rem;font-size:.85rem;font-weight:500;color:#666;cursor:pointer;border-radius:10px 10px 0 0;border-bottom:2px solid transparent;transition:all .15s}.scenario-tab:hover{color:#333;background:#00000008}.scenario-tab.active{color:#1e1e2e;font-weight:600;border-bottom-color:#6366f1;background:#fff9}.scenario-tag{display:inline-block;margin-left:.6rem;padding:.15rem .5rem;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#4f46e5;background:#6366f11a;border-radius:999px;vertical-align:middle}.header{background:#ffffff80;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06);padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.header-left h1{font-size:1.35rem;font-weight:700;color:#1e1e2e;letter-spacing:-.01em}.header-left .subtitle{font-size:.8rem;color:#888;margin-top:2px}.header-right{display:flex;align-items:center;gap:.75rem}.clear-btn{background:transparent;border:1px solid rgba(0,0,0,.12);color:#555;padding:.45rem 1rem;border-radius:10px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.clear-btn:hover{background:#0000000a;border-color:#0003}.main{flex:1;display:flex;flex-direction:column;overflow:hidden}@media (max-width: 640px){#root{padding:0}.app{max-height:none;height:100vh;border-radius:0;border:none}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Helvetica Neue,sans-serif;background:linear-gradient(135deg,#f0e6ff,#fff0eb,#e6f0ff);color:#1e1e2e;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}#root{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}
