*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;height:100dvh;margin:0;padding:0;overflow:hidden;background:#f8fafc;color:#0f172a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulseDot{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.7}}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.md-content{animation:fadeIn .25s ease-out forwards}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.md-content table{width:100%;border-collapse:collapse}.md-content tr:nth-child(2n) td{background:#f8fafc}.md-content tr:hover td{background:#fffbeb}.md-content pre{margin:10px 0;border-radius:8px}@media(max-width:640px){header{padding:10px 14px!important}main{padding:16px 12px!important}footer{padding:10px 12px 12px!important}}:root{font-synthesis:none;text-rendering:optimizeLegibility}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #b45309;outline-offset:3px}.chat-app{height:100dvh;display:flex;flex-direction:column;background:#faf9f6;color:#202522}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 28px;border-bottom:1px solid #e6e5df;background:#fff;flex-shrink:0}.brand{display:flex;gap:10px;align-items:center;color:#202522;text-decoration:none;font-size:16px;font-weight:750;letter-spacing:-.4px}.brand small{display:block;color:#737971;font-size:11px;font-weight:400;letter-spacing:0;margin-top:2px}.header-actions{display:flex;gap:7px}.header-actions button,.conversation-heading button{min-height:36px;border:1px solid #e2e4de;border-radius:8px;background:#fff;color:#465044;padding:7px 11px;font-size:12px}.header-actions .primary{background:#243d32;color:#fff;border-color:#243d32;display:flex;align-items:center;gap:6px}.chat-main{flex:1;min-height:0;overflow-y:auto;padding:24px 20px!important;overscroll-behavior:contain}.conversation{max-width:780px;margin:0 auto;width:100%}.welcome{max-width:640px;margin:clamp(10px,5vh,65px) auto 30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#64816c}.welcome h1{font-size:clamp(32px,5vw,54px);line-height:1.12;letter-spacing:-2px;font-weight:600;margin:20px 0}.welcome h1 em{font-family:Georgia,serif;font-weight:400;color:#4a6b52}.welcome>p{max-width:470px;color:#6a7169;font-size:15px;line-height:1.8}.suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:30px 0 18px}.suggestion-grid button{min-height:60px;background:#fff;border:1px solid #e3e5dc;border-radius:11px;padding:14px;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px;color:#3e493e;transition:border-color .15s,transform .15s}.suggestion-grid button:hover{border-color:#769779;transform:translateY(-2px)}.suggestion-grid button>span{width:27px;height:27px;display:grid;place-items:center;border-radius:7px;background:#f3f5ee;color:#4a6b52;flex-shrink:0}.suggestion-grid button>svg{margin-left:auto;flex-shrink:0}.welcome-note{font-size:11px;color:#81867b}.discovery-info{margin-top:22px;border-top:1px solid #e3e5dc;padding-top:14px;font-size:13px;line-height:1.7;color:#465044}.discovery-info summary{cursor:pointer;font-weight:600}.discovery-info h2{font-size:14px;margin:18px 0 6px;font-weight:650}.discovery-info p{margin:0}.discovery-info ul{padding-left:20px}.discovery-info a{color:#34583d;text-underline-offset:3px}.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;font-size:12px;color:#6a7169}.conversation-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-heading button{flex-shrink:0}.chat-footer{flex-shrink:0;padding:10px 20px max(12px,env(safe-area-inset-bottom))!important;background:linear-gradient(transparent,#faf9f6 20%)}.composer{max-width:780px;margin:auto;background:#fff;border:1px solid #d5dbcf;border-radius:16px;box-shadow:0 5px 20px #263e3208;padding:6px}.composer:focus-within{border-color:#769779;box-shadow:0 0 0 3px #76977918}.composer textarea{width:100%;border:0;outline:0;resize:none;background:transparent;padding:12px;max-height:160px;min-height:48px;color:#26332a;font-size:15px;line-height:1.6}.composer textarea::placeholder{color:#92988b}.composer-tools{display:flex;align-items:center;gap:10px;padding:2px 6px 5px}.composer-tools button{min-height:34px;border:1px solid #e3e7df;border-radius:8px;padding:6px 9px;color:#5a6958;background:#f8faf5;display:flex;align-items:center;gap:5px;font-size:11px}.composer-tools button[aria-pressed=true]{color:#234c34;background:#e4f0e1;border-color:#a9c3a0}.input-count{font-size:10px;color:#81877a;flex:1}.composer-tools .send-button{margin-left:auto;width:36px;height:36px;justify-content:center;color:#fff;background:#243d32;border-color:#243d32}.composer-tools .stop-button{margin-left:auto;color:#9a3412;background:#fff7ed;border-color:#fed7aa}.footer-note{font-size:10px;color:#858a80;text-align:center;margin:9px 0 0}.reply-error{background:#fff7ed;color:#9a3412!important;border:1px solid #fed7aa;border-radius:8px;padding:10px;font-size:13px;margin-bottom:10px}.history-panel{max-height:38vh;overflow-y:auto;background:#fff;border-bottom:1px solid #e3e5dc;padding:15px 22px}.history-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;font-size:12px;margin-bottom:8px}.history-heading small{color:#737971}.history-row{display:flex;gap:6px;max-width:780px;margin:auto}.history-row button{border:0;padding:10px;background:#fff;color:#465044;border-radius:7px;font-size:12px}.history-row button:first-child{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row button[aria-current=true]{background:#edf2e9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.md-content{overflow-wrap:anywhere}.md-content table{min-width:520px}.md-content th,.md-content td{min-width:100px;overflow-wrap:normal;word-break:normal}.md-content img{max-width:100%}@media(max-width:480px){.chat-header{padding:10px 12px!important}.brand{font-size:14px}.brand small{font-size:10px}.header-actions button{font-size:11px;padding:6px 8px}.chat-main{padding:18px 12px!important}.welcome{margin-top:12px}.welcome h1{letter-spacing:-1px}.suggestion-grid{gap:7px;margin-top:20px}.suggestion-grid button{font-size:12px;padding:10px;min-height:66px;gap:7px}.suggestion-grid button>svg{display:none}.input-count{display:none}.composer textarea{font-size:16px}.chat-footer{padding:8px 10px max(10px,env(safe-area-inset-bottom))!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
