@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');
:root{--green:#00b96b;--bg:#fff;--surface:#f7f7f5;--raised:#fff;--text:#171917;--muted:#747874;--line:#e6e8e5;--shadow:0 12px 38px #16201812;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}body[data-theme=dark]{--bg:#202320;--surface:#292d29;--raised:#313631;--text:#f5f7f5;--muted:#b7beb8;--line:#4a514b;--shadow:0 12px 38px #0007;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{margin:0;background:var(--bg);color:var(--text);transition:background .18s,color .18s}button,textarea{font:inherit}button,a{color:inherit}.app-shell{--sidebar-width:248px;min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);transition:grid-template-columns .18s}.app-shell.sidebar-closed{--sidebar-width:0}.app-shell.sidebar-closed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar{position:sticky;top:0;z-index:20;height:100dvh;padding:14px 12px;display:flex;flex-direction:column;background:var(--surface)}.side-head{height:44px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;letter-spacing:-.02em}.brand img{width:25px;height:25px}.new-chat{width:100%;height:42px;margin:12px 0;padding:0 12px;display:flex;align-items:center;gap:9px;border:0;border-radius:11px;background:transparent;font-weight:500;cursor:pointer}.new-chat:hover,.side-action:hover{background:var(--raised)}.recents{min-height:0;flex:1;padding:20px 9px;overflow:auto}.meta-label,.eyebrow{font:500 10px 'IBM Plex Mono',monospace;letter-spacing:.1em;color:var(--muted)}#recent-list{margin-top:8px;display:grid;gap:2px}.recent-row{display:flex;align-items:center;border-radius:9px}.recent-row:hover,.recent-row.active{background:var(--raised)}.recent-open{min-width:0;flex:1;padding:9px;border:0;background:transparent;overflow:hidden;color:var(--muted);font-size:13px;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.recent-row.active .recent-open{color:var(--text)}.recent-loading{width:7px;height:7px;margin-left:9px;flex:0 0 auto;border-radius:50%;background:var(--green);animation:pulse 1s infinite ease-in-out}.recent-delete{width:28px;height:28px;margin-right:4px;border:0;border-radius:50%;background:transparent;color:var(--muted);opacity:0;cursor:pointer}.recent-row:hover .recent-delete,.recent-delete:focus-visible{opacity:1}.recent-delete:hover{background:var(--surface);color:var(--text)}.side-foot{display:grid;gap:13px;padding:14px 7px 6px}.side-action{padding:7px 0;border:0;background:none;color:var(--muted);text-align:left;cursor:pointer}.privacy-dot{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.privacy-dot i,.wallet-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.workspace{min-width:0;height:100dvh;overflow:hidden;display:grid;grid-template-rows:60px minmax(0,1fr)}.topbar{position:sticky;top:0;height:60px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;background:var(--bg);z-index:10}.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.theme-toggle,.icon-button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;cursor:pointer}.theme-toggle:hover,.icon-button:hover{background:var(--surface)}.connect{height:38px;padding:0 14px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;background:transparent;font-weight:600;cursor:pointer}.connect:hover{background:var(--surface)}.connect.connected{border-color:var(--green)}.mobile-only{display:none}.panel-button{display:grid;place-items:center}#open-menu{display:flex;flex-direction:column;justify-content:center;gap:5px}#open-menu span{width:17px;height:1px;background:var(--text)}main{position:relative;min-height:0;display:flex;flex-direction:column;overflow-y:auto;background:var(--bg)}.empty{width:min(680px,calc(100% - 36px));margin:auto auto 190px;text-align:center}h1{margin:0 0 12px;font-size:clamp(34px,4vw,48px);line-height:1.05;letter-spacing:-.045em}.promise{margin:0;color:var(--text);font-size:15px}.privacy-note{margin:8px 0 0;color:var(--muted);font-size:12px}.suggestions{margin:30px auto 0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.suggestions button{padding:11px 15px;border:0;border-radius:20px;background:var(--surface);color:var(--muted);font-size:12px;cursor:pointer}.suggestions button:hover{color:var(--text)}.messages{width:min(720px,calc(100% - 36px));margin:34px auto 180px;display:grid;gap:30px}.message{position:relative;padding-left:44px;line-height:1.65;white-space:pre-wrap}.message:before{position:absolute;left:0;top:1px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:700}.message.user:before{content:'Y';background:var(--surface)}.message.assistant:before{content:'';border-radius:0;background:transparent url('/fuel-logo.svg') center/24px 24px no-repeat}.message .label{display:block;margin-bottom:6px;font-size:12px;font-weight:600}.message-body{min-width:0}.message-body p{margin:0 0 1em}.message-body p:last-child{margin-bottom:0}.message-body h2,.message-body h3,.message-body h4{margin:1.3em 0 .55em;line-height:1.25}.message-body ul,.message-body ol{margin:.7em 0;padding-left:1.5em}.message-body blockquote{margin:1em 0;padding-left:14px;border-left:3px solid var(--green);color:var(--muted)}.message-body a{color:var(--green);text-underline-offset:3px}.message-body code{padding:.15em .35em;border-radius:5px;background:var(--surface);font:13px 'IBM Plex Mono',monospace}.message-body pre{max-width:100%;padding:15px;border-radius:12px;background:var(--surface);overflow:auto}.message-body pre code{padding:0;background:none;white-space:pre}.loading-dots{height:28px;display:flex;align-items:center;gap:4px}.loading-dots i{width:5px;height:5px;border-radius:50%;background:var(--muted);animation:pulse 1s infinite ease-in-out}.loading-dots i:nth-child(2){animation-delay:.15s}.loading-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,70%,100%{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.composer{position:fixed;z-index:9;left:calc(var(--sidebar-width) + (100vw - var(--sidebar-width))/2);bottom:35px;transform:translateX(-50%);width:min(720px,calc(100vw - var(--sidebar-width) - 48px));padding:14px 14px 10px;border:1px solid var(--line);border-radius:24px;background:var(--raised);box-shadow:var(--shadow)}.composer textarea{display:block;width:100%;min-height:44px;max-height:180px;padding:7px 3px;border:0;outline:0;resize:none;background:transparent;color:var(--text);font-size:16px}.composer textarea::placeholder{color:var(--muted)}.composer-tools{display:flex;align-items:center}.status{color:var(--muted);font-size:10px}.send-button{width:36px;height:36px;margin-left:auto;display:grid;place-items:center;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:20px;font-weight:600;cursor:pointer}.send-button:disabled{opacity:.65}.connect:disabled{color:var(--muted);opacity:1}.composer textarea:disabled{color:var(--muted)}.disclaimer{position:fixed;left:calc(var(--sidebar-width) + (100vw - var(--sidebar-width))/2);bottom:10px;transform:translateX(-50%);margin:0;color:var(--muted);font-size:10px}.funding{width:min(540px,calc(100% - 36px));margin:auto auto 170px;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--raised);box-shadow:var(--shadow)}.funding-head{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.funding h2{margin:20px 0 8px;font-size:28px;letter-spacing:-.04em}.funding p{color:var(--muted);line-height:1.5}.invoice{margin:14px 0;padding:12px;border-radius:10px;background:var(--surface);font:11px/1.6 'IBM Plex Mono',monospace;overflow-wrap:anywhere}.fuel-action{width:100%;height:46px;border:0;border-radius:23px;background:var(--green);color:#fff;font-weight:600;cursor:pointer}.fuel-action:disabled{opacity:.45}.faucet{display:block;margin-top:14px;color:var(--green);font-size:12px;text-align:center}.scrim{position:fixed;inset:0;z-index:15;border:0;background:#0007}.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}:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;left:0;transform:translateX(-101%);width:min(320px,88vw);transition:transform .18s}.sidebar.open{transform:none}.mobile-only{display:grid;place-items:center}.workspace{grid-template-rows:58px 1fr}.topbar{height:58px;padding:0 12px}#open-menu{display:flex;flex-direction:column;justify-content:center;gap:5px}#open-menu span{width:17px;height:1px;background:var(--text)}.connect{max-width:118px;padding:0 11px;font-size:11px;overflow:hidden;white-space:nowrap}.connect .wallet-dot{width:8px;height:8px;flex:0 0 auto}.connect.connected{color:var(--green)}.empty{margin:auto auto 165px}h1{font-size:36px}.suggestions{display:grid}.messages{margin-top:24px;margin-bottom:160px}.composer{left:50%;bottom:max(18px,env(safe-area-inset-bottom));width:calc(100% - 24px)}.disclaimer{display:none}.funding{margin:auto auto 145px}.side-head .icon-button{font-size:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
