@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--paper:#f5f4ef;--white:#fffefa;--ink:#1c2924;--muted:#7f8781;--line:#e8e7df;--green:#1c3b32;--lime:#d6f379;--lime-dark:#bddf5f;--soft:#eef0e8;--danger:#a34335;--shadow:0 14px 45px rgba(31,47,39,.07);font-family:'DM Sans',sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--paper)}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:minmax(270px,32%) 1fr}.side-panel{position:relative;overflow:hidden;background:var(--green);color:#f6f5ed;padding:38px 42px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;width:max-content}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--lime);color:var(--green)}.brand-mark svg{width:31px;height:31px}.brand-name{font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1.2px}.brand-name span,.mobile-brand>span:last-child{color:var(--lime)}.side-copy{position:relative;z-index:1;margin-top:auto;margin-bottom:auto;padding:70px 0 56px;max-width:360px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.75px;color:#909a8e}.side-copy .eyebrow{color:#aeba9e}.side-copy h1{font-family:Manrope,sans-serif;font-size:clamp(35px,4.2vw,57px);line-height:1.11;letter-spacing:-2.6px;font-weight:600;margin:22px 0 19px}.side-copy p{font-size:14px;line-height:1.75;color:#c4cec3;max-width:300px;margin:0}.side-bottom{position:relative;z-index:1}.privacy-note{display:flex;gap:12px;align-items:flex-start;max-width:310px;border-top:1px solid rgba(255,255,255,.16);padding-top:21px}.lock-icon{color:var(--lime);font-size:22px;line-height:1}.privacy-note p{font-size:11px;line-height:1.65;color:#bac5b9;margin:0}.privacy-note strong{font-size:12px;color:#f6f5ed;font-weight:600}.local-tag{display:inline-flex;align-items:center;gap:7px;margin-top:28px;font-size:9px;font-weight:700;letter-spacing:1.4px;color:#99a698}.tiny-dot{width:6px;height:6px;border-radius:50%;background:var(--lime)}.decor{position:absolute;color:rgba(214,243,121,.12);pointer-events:none}.decor-one{font-size:108px;right:12%;top:23%;transform:rotate(-10deg)}.decor-two{font-size:240px;right:-19px;top:40%;font-weight:400}.main-panel{display:flex;flex-direction:column;min-height:100vh;min-width:0;background:var(--white)}.topbar{height:78px;flex:0 0 78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,72px)}.mobile-brand{display:none;font-family:Manrope,sans-serif;font-weight:800;font-size:18px;letter-spacing:-.8px}.mobile-mark{color:var(--green);font-size:12px}.model-label{font-size:11px;color:#748078;display:flex;align-items:center;gap:8px}.pulse-dot{width:7px;height:7px;border-radius:50%;background:#d8b86a;box-shadow:0 0 0 3px #f6f0df}.model-label.connected .pulse-dot{background:#74a869;box-shadow:0 0 0 3px #edf4e7}.settings-button{border:1px solid var(--line);background:transparent;border-radius:10px;padding:9px 13px;display:flex;align-items:center;gap:7px;color:#59645d;font-size:11px;font-weight:600;transition:.18s}.settings-button:hover{border-color:#a7b49d;background:#f9faf5}.settings-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.conversation-wrap{flex:1;min-height:0;display:flex;justify-content:center;padding:20px clamp(20px,5vw,72px) 12px;overflow:hidden}.conversation{width:min(100%,730px);display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dfe1d8 transparent}.welcome{margin:auto 0;width:100%;padding:28px 0 35px}.welcome-kicker{display:inline-flex;align-items:center;gap:8px;color:#768171;font-size:9px;font-weight:700;letter-spacing:1.45px}.sparkle{display:grid;place-items:center;width:23px;height:23px;background:#edf2e2;border-radius:8px;color:#617c3c;font-size:14px}.welcome h2{font-family:Manrope,sans-serif;font-size:clamp(36px,5vw,53px);letter-spacing:-2.8px;line-height:1.09;font-weight:600;margin:20px 0 13px}.welcome h2 em{font-style:normal;color:#849b66}.welcome>p{font-size:13px;color:#80877f;margin:0 0 27px}.suggestions{display:grid;grid-template-columns:1fr;gap:9px;max-width:550px}.suggestion{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);background:var(--white);border-radius:12px;padding:12px 14px;color:var(--ink);transition:transform .16s,border .16s,box-shadow .16s}.suggestion:hover{transform:translateY(-1px);border-color:#b9c5a8;box-shadow:0 7px 18px rgba(31,47,39,.05)}.suggestion-icon{width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;border-radius:10px;background:#f0f2e9;color:#638047;font-size:16px}.suggestion strong,.suggestion small{display:block}.suggestion strong{font-size:11px;font-weight:700;margin-bottom:3px}.suggestion small{font-size:10px;color:#929890}.suggestion .arrow{margin-left:auto;color:#84927f;font-size:17px}.messages{display:flex;flex-direction:column;gap:22px;padding:12px 0 24px}.message{display:flex;gap:11px;align-items:flex-start;max-width:91%;animation:rise .22s ease-out}.message.user{margin-left:auto;flex-direction:row-reverse}.avatar{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:var(--green);color:var(--lime);font-family:Manrope,sans-serif;font-size:12px;font-weight:800}.message.user .avatar{background:#e8eddf;color:#60734e}.bubble{padding:11px 14px;border-radius:4px 13px 13px 13px;background:#f4f4ef;color:#354139;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .bubble{background:var(--green);color:#fffefa;border-radius:13px 4px 13px 13px}.typing .bubble{display:flex;gap:4px;align-items:center;height:39px}.typing i{width:5px;height:5px;background:#81927a;border-radius:50%;animation:blink 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}.composer-area{width:min(100%,874px);margin:0 auto;padding:10px clamp(20px,5vw,72px) 22px;flex:0 0 auto}.settings-panel{border:1px solid #e4e8dc;background:#f8f9f4;border-radius:13px;padding:15px 17px 12px;margin-bottom:11px;box-shadow:0 8px 22px rgba(31,47,39,.035)}.settings-panel[hidden]{display:none}.settings-heading{display:flex;justify-content:space-between;align-items:center}.settings-heading h3{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:-.3px;margin:3px 0 0;font-weight:700}.settings-heading .eyebrow{font-size:8px}.key-symbol{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:#edf1e4;color:#60764e;font-weight:700}.settings-panel>p{font-size:10px;line-height:1.5;color:#7d857b;margin:9px 0 10px}.key-form{display:flex;gap:8px}.key-form input{min-width:0;flex:1;border:1px solid #e1e4d9;border-radius:8px;padding:10px 12px;background:#fffefa;color:var(--ink);font-size:11px;outline:none}.key-form input:focus,.composer textarea:focus{border-color:#98ad7b;box-shadow:0 0 0 3px rgba(140,167,108,.13)}.key-form input::placeholder{color:#b0b4ab}.key-form button{border:0;border-radius:8px;background:var(--green);color:white;padding:0 17px;font-size:10px;font-weight:700;transition:background .18s}.key-form button:hover{background:#2d5144}.settings-foot{display:flex;justify-content:space-between;align-items:center;padding-top:8px;color:#969c93;font-size:9px}.text-button{border:0;background:transparent;padding:0;color:#78866d;font-size:9px;text-decoration:underline}.composer{min-height:55px;display:flex;align-items:flex-end;gap:10px;border:1px solid #e4e5dc;border-radius:14px;background:#fffefa;padding:8px 8px 8px 16px;box-shadow:var(--shadow);transition:border .18s}.composer:focus-within{border-color:#bcc9aa}.composer textarea{flex:1;resize:none;min-height:36px;max-height:150px;border:1px solid transparent;outline:none;background:transparent;padding:9px 0;color:var(--ink);font-size:12px;line-height:1.5}.composer textarea::placeholder{color:#a5aaa1}.send-button{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border:0;border-radius:10px;background:var(--lime);color:var(--green);transition:background .18s,transform .18s}.send-button:hover{background:var(--lime-dark);transform:translateY(-1px)}.send-button:disabled{opacity:.55;cursor:wait}.send-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.composer-caption{display:flex;justify-content:space-between;gap:10px;margin:9px 3px 0;color:#a2a69f;font-size:9px}.caption-separator{padding:0 4px;color:#ccd0c7}.toast{position:fixed;left:50%;bottom:28px;z-index:5;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100vw - 32px);padding:10px 15px;border-radius:10px;background:#263b31;color:#fff;font-size:11px;box-shadow:0 10px 35px #0002;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#853f35}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes blink{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.suggestions{grid-template-columns:1fr 1fr}.suggestion:first-child{grid-column:span 2}.suggestion{min-height:66px}.suggestion:first-child{min-height:66px}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr}.side-panel{display:none}.main-panel{min-height:100svh}.topbar{height:62px;flex-basis:62px;padding:0 17px}.mobile-brand{display:block}.model-label{font-size:10px}.settings-button{padding:8px 10px;font-size:10px}.conversation-wrap{padding:10px 20px 0}.welcome{padding:24px 0 28px}.welcome h2{font-size:42px}.composer-area{padding:8px 14px 13px}.composer-caption{font-size:8px}.settings-panel{padding:13px}.suggestions{gap:8px}.suggestion{padding:10px 11px}.message{max-width:96%}}
@media(max-width:390px){.welcome h2{font-size:37px}.composer-caption{font-size:7px}.settings-button span{display:none}.settings-button{width:34px;height:34px;justify-content:center;padding:0}.model-label{margin-left:auto;margin-right:14px}.suggestion small{font-size:9px}}


/* Saldo demonstrativo de moedas virtuais */
.coin-balance{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 11px;border:1px solid var(--line);border-radius:12px;background:#f6f7f1;color:var(--green);white-space:nowrap}
.coin-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:9px;background:#eaf1d9;color:#607a43}
.coin-icon svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.coin-copy{display:flex;flex-direction:column;gap:3px;line-height:1}
.coin-copy strong{font-family:Manrope,sans-serif;font-size:12px;font-weight:800;letter-spacing:-.2px}
.coin-copy small{font-size:7px;font-weight:700;letter-spacing:.65px;text-transform:uppercase;color:#808a7a}
@media(max-width:760px){.topbar{gap:8px}.model-label{gap:5px}.coin-balance{min-height:36px;gap:6px;padding:4px 8px}.coin-icon{width:24px;height:24px;flex-basis:24px}.coin-copy strong{font-size:11px}.coin-copy small{font-size:6px;letter-spacing:.35px}}
@media(max-width:390px){.model-label{margin-left:0;margin-right:0}.coin-balance{gap:5px;padding:4px 7px}.coin-copy small{letter-spacing:.2px}}
