*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--green: #344CA0;--green-dark: #263878;--green-light:#EBF0FF;--text: #1a1a2e;--muted: #5a6478;--border: #d1dde8;--white: #ffffff;--shadow: 0 4px 24px rgba(0,0,0,.1);--radius: 12px}body{font-family:Segoe UI,system-ui,sans-serif;background:#f0f4f8;color:var(--text);min-height:100vh;display:flex;flex-direction:column}#root{display:flex;flex-direction:column;min-height:100vh}header{background:var(--white);border-bottom:1px solid var(--border);padding:0 40px;height:64px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 1px 4px #0000000f}.logo{display:flex;align-items:center;text-decoration:none}.logo-img{height:44px;width:auto}.header-badge{font-size:12px;color:var(--muted);background:var(--green-light);border:1px solid #b0bde8;padding:4px 10px;border-radius:20px;font-weight:500}main{flex:1;display:flex;align-items:center;justify-content:center;padding:60px 20px}.card{background:var(--white);border-radius:20px;box-shadow:var(--shadow);max-width:560px;width:100%;padding:52px 48px;text-align:center}.card-icon{width:72px;height:72px;background:var(--green-light);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 28px}.card-icon svg{width:36px;height:36px;stroke:var(--green);fill:none;stroke-width:1.8}.card h1{font-size:26px;font-weight:700;color:var(--text);margin-bottom:16px;line-height:1.3}.card p{font-size:15px;color:var(--muted);line-height:1.7;margin-bottom:40px}.divider{display:flex;align-items:center;gap:12px;margin-bottom:24px}.divider hr{flex:1;border:none;border-top:1px solid var(--border)}.divider span{font-size:12px;color:var(--muted);white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px 24px;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;border:none;transition:all .18s ease;text-decoration:none;font-family:inherit}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2d7a4f4d}.btn-ms{background:var(--white);color:var(--text);border:1.5px solid var(--border);margin-top:14px}.btn-ms:hover{border-color:#0078d4;background:#f0f7ff;transform:translateY(-1px);box-shadow:0 4px 12px #0078d426}.btn svg{width:20px;height:20px;flex-shrink:0}footer{text-align:center;padding:20px;font-size:12px;color:var(--muted)}footer a{color:var(--green);text-decoration:none}.overlay{display:none;position:fixed;inset:0;background:#00000073;z-index:200;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.overlay.open{display:flex}.modal{background:var(--white);border-radius:20px;box-shadow:0 20px 60px #0003;width:100%;max-width:480px;padding:40px;position:relative;animation:slideUp .22s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.modal-close{position:absolute;top:16px;right:16px;background:none;border:none;cursor:pointer;color:var(--muted);padding:4px;border-radius:6px;line-height:0;transition:background .15s}.modal-close:hover{background:#f0f4f8}.modal-close svg{width:20px;height:20px}.modal h2{font-size:20px;font-weight:700;margin-bottom:6px}.modal .sub{font-size:14px;color:var(--muted);margin-bottom:28px}.form-row{margin-bottom:18px}.form-row label{display:block;font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px}.form-row input,.form-row textarea{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;color:var(--text);transition:border-color .15s;outline:none;resize:vertical}.form-row input:focus,.form-row textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #344ca026}.form-row textarea{min-height:100px}.captcha-placeholder{background:#f7f9fc;border:1.5px dashed var(--border);border-radius:8px;padding:14px 16px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:10px;margin-bottom:20px}.captcha-placeholder svg{width:20px;height:20px;flex-shrink:0;opacity:.5}.form-submit{background:var(--green);color:#fff;border:none;border-radius:10px;padding:13px 24px;font-size:15px;font-weight:600;width:100%;cursor:pointer;transition:background .18s,transform .18s;font-family:inherit}.form-submit:hover{background:var(--green-dark);transform:translateY(-1px)}.form-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}.form-error{font-size:13px;color:#c0392b;margin-top:10px;text-align:center}.success-state{text-align:center;padding:20px 0}.success-icon{width:64px;height:64px;background:var(--green-light);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.success-icon svg{width:32px;height:32px;stroke:var(--green);fill:none;stroke-width:2}.success-state h3{font-size:18px;font-weight:700;margin-bottom:8px}.success-state p{font-size:14px;color:var(--muted);line-height:1.6}#chat-page{flex:1;flex-direction:column}.chat-layout{flex:1;display:flex;flex-direction:column;max-width:760px;width:100%;margin:0 auto;padding:32px 20px 20px}.chat-header{margin-bottom:24px}.chat-header h2{font-size:20px;font-weight:700}.chat-header p{font-size:14px;color:var(--muted);margin-top:4px}.chat-window{flex:1;background:var(--white);border-radius:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;min-height:420px}.chat-messages{flex:1;padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.msg{display:flex;gap:10px;max-width:85%}.msg.bot{align-self:flex-start}.msg.user{align-self:flex-end;flex-direction:row-reverse}.msg-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}.msg.bot .msg-avatar{background:var(--green-light);color:var(--green)}.msg.user .msg-avatar{background:#dbeafe;color:#1d4ed8}.msg-bubble{padding:12px 16px;border-radius:14px;font-size:14px;line-height:1.6}.msg-bubble code{background:#00000014;padding:1px 5px;border-radius:4px;font-family:monospace;font-size:13px}.msg.bot .msg-bubble{background:#f0f4f8;border-bottom-left-radius:4px}.msg.user .msg-bubble{background:var(--green);color:#fff;border-bottom-right-radius:4px}.ticket-offer{background:var(--green-light);border:1px solid #b0bde8;border-radius:10px;padding:12px 16px;font-size:13px;color:var(--green-dark);display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.ticket-offer button{background:var(--green);color:#fff;border:none;border-radius:6px;padding:6px 14px;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;font-family:inherit;transition:background .15s}.ticket-offer button:hover{background:var(--green-dark)}.typing-dots{display:flex;gap:4px;padding:4px 0}.typing-dots span{width:6px;height:6px;background:var(--muted);border-radius:50%;animation:bounce 1.2s infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.chat-input-bar{border-top:1px solid var(--border);padding:16px 20px;display:flex;gap:10px;align-items:flex-end}.chat-input{flex:1;border:1.5px solid var(--border);border-radius:10px;padding:11px 14px;font-size:14px;font-family:inherit;resize:none;outline:none;max-height:120px;line-height:1.5}.chat-input:focus{border-color:var(--green);box-shadow:0 0 0 3px #344ca026}.send-btn{background:var(--green);border:none;border-radius:10px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .18s}.send-btn:hover{background:var(--green-dark)}.send-btn:disabled{opacity:.5;cursor:not-allowed}.send-btn svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2}.user-pill{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.user-pill .avatar{width:28px;height:28px;background:#dbeafe;color:#1d4ed8;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.sign-out-btn{background:none;border:none;cursor:pointer;font-size:12px;color:var(--muted);padding:4px 8px;border-radius:4px;font-family:inherit;transition:background .15s}.sign-out-btn:hover{background:#f0f4f8;color:var(--text)}
