:root{--ink:#17372e;--muted:#738279;--line:#dce3d9;--mint:#b7eb8f;--paper:#f4f6ef}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;font-size:14px}header{padding:22px 4vw;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:35px;max-width:none;background:transparent}.brand{font-size:25px;font-weight:800;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.brand span{font-size:10px;letter-spacing:1px;margin-left:15px;font-weight:600}nav{display:flex;gap:24px;margin-left:auto}nav a{color:var(--muted);text-decoration:none}.network{font-size:12px;white-space:nowrap}.network i{display:inline-block;width:7px;height:7px;background:#79ac49;border-radius:50%;margin-right:6px}main{max-width:1320px;margin:auto;padding:38px 30px 0}.intro{display:flex;justify-content:space-between;gap:35px;padding:18px 0 38px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);display:block;margin:0 0 16px}h1{font-size:clamp(32px,4vw,54px);letter-spacing:-2px;line-height:1.2;margin:0 0 20px;font-weight:750}h1 span{color:#9db977}.lede{font-size:16px;color:#6a7b6e;line-height:1.8;margin:0}.flow{width:380px;display:flex;flex-direction:column;justify-content:center;gap:0}.flow>span{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;gap:15px}.flow b{font-size:14px;color:var(--ink);min-width:70px}.account-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 26px;background:#1b3a30;color:#fff;border-radius:14px}.account-bar .eyebrow{color:#b6c9af;margin-bottom:8px}.account-bar strong{display:block;font-size:18px;word-break:break-all}.account-bar small{display:block;color:#b3c5ba;margin-top:8px;font-size:11px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}button,.primary{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:11px 14px;font:inherit;cursor:pointer;text-decoration:none;white-space:normal;font-weight:600}button:hover{border-color:#91ac7c}.primary{background:var(--mint);border-color:var(--mint)}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}.message{min-height:20px;margin:15px 0;color:#7a6440;font-size:12px;overflow-wrap:anywhere}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:25px;align-items:start}.operations{display:grid;gap:20px}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:24px}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}h2{font-size:18px;margin:0;letter-spacing:-.4px}.muted,small{color:var(--muted);font-size:11px;line-height:1.6}.suggestions{display:flex;flex-wrap:wrap;gap:7px}.suggestions button{font-size:11px;padding:7px 10px;background:#f5f7f0;border-color:transparent}#chat-log{max-height:350px;min-height:100px;overflow-y:auto;padding:22px 0;display:flex;flex-direction:column;gap:12px}#chat-log article{font-size:13px;line-height:1.75;white-space:pre-wrap;padding:13px 15px;border-radius:8px;max-width:94%;overflow-wrap:anywhere}#chat-log .assistant{background:#f2f5ed;align-self:flex-start}#chat-log .user{background:#e5efd9;align-self:flex-end}#chat-log .tool{font-size:10px;color:var(--muted);padding:0}label{font-size:12px;display:block;font-weight:600}textarea,input,select{font:inherit;background:#fafbf8;border:1px solid var(--line);border-radius:7px;width:100%;color:var(--ink);padding:11px 12px;margin-top:7px;min-width:0;outline:none}textarea:focus,input:focus,select:focus{border-color:#7a9e56;box-shadow:0 0 0 2px #b6dc8c33}textarea{resize:vertical;line-height:1.6}.composer-footer{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-top:9px}.composer-footer small{max-width:330px;font-size:10px}.manual-tabs{display:flex;gap:9px;margin-bottom:20px}.manual-tabs button{border:0;background:#f4f6ef;font-size:12px}.manual-tabs .selected{background:#ddecce}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}form .actions{margin:18px 0 14px}.balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.balance-grid>div{background:#f4f6ef;padding:13px;border-radius:7px;overflow-wrap:anywhere}.balance-grid b{display:block;font-size:20px;margin-top:7px}.scope{padding:6px 3px 15px;color:var(--muted);font-size:12px;line-height:1.8}.scope h3{font-size:15px;color:var(--ink)}a{color:var(--ink)}.text-button{border:0;background:transparent;padding:0;font-size:12px;color:var(--muted)}#task-count{font-size:11px;font-weight:500;margin-left:8px;color:var(--muted)}.empty{border:1px dashed #cbd5c4;border-radius:12px;text-align:center;padding:65px 20px;color:var(--muted);line-height:1.8}.privacy{font-size:10px;color:var(--muted);line-height:1.8;margin:18px 4px}.task{padding:20px;border:1px solid var(--line);border-radius:13px;background:white;margin-bottom:14px;overflow-wrap:anywhere}.task h3{font-size:25px;letter-spacing:-.8px;margin:12px 0}.state{font-size:11px;padding:5px 8px;border-radius:5px;background:#e8f0db;color:#4c6d39;display:inline-block}.state.bad{background:#fff1df;color:#8e6839}.task dl{display:grid;grid-template-columns:55px minmax(0,1fr);gap:9px;font-size:11px;margin:18px 0}.task dt{color:var(--muted)}.task dd{margin:0;word-break:break-all;line-height:1.6}.check{font-size:11px;line-height:1.65;margin:7px 0;color:var(--muted)}.check.block,.check.unknown{color:#96602d}.check.pass:before{content:'✓ ';color:#7c9b52}.check.block:before{content:'× '}.check.unknown:before{content:'? '}.review{display:flex;align-items:start;gap:8px;font-size:11px;line-height:1.6;margin:20px 0 12px}.review input{width:16px;margin-top:2px;flex-shrink:0}.task .primary{width:100%;font-size:12px}.task .step-list{display:flex;gap:3px;margin:13px 0 0}.step-list span{height:4px;flex:1;background:#e9ede4;border-radius:3px}.step-list .done{background:#a1c575}.task-note{font-size:11px;color:var(--muted);line-height:1.75}.task details{margin-top:12px;font-size:11px;color:var(--muted)}.task pre{font-size:10px;white-space:pre-wrap;word-break:break-all;max-height:250px;overflow:auto;background:#f4f6ef;padding:10px}.task .hash-form input{font-size:11px}.task .hash-form button{margin-top:7px;width:100%;font-size:11px}.task .actions button{font-size:11px;padding:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}footer{margin-top:40px;padding:22px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:var(--muted);gap:15px}@media(max-width:850px){header{padding:18px 22px;gap:12px}header nav{display:none}.brand span{display:none}.network{margin-left:auto}.intro{padding:5px 0 25px}.flow{width:310px}.workspace{grid-template-columns:1fr}.tasks-column{grid-row:1}.tasks-column:has(.empty){grid-row:auto}main{padding:27px 20px 0}}@media(max-width:580px){.intro{display:block}h1{font-size:39px}.flow{width:100%;margin-top:20px}.flow>span{padding:10px 0}.account-bar{align-items:stretch;flex-direction:column;padding:20px;gap:15px}.account-bar .actions>*{flex:1}.account-bar strong{font-size:16px}.panel{padding:19px}.panel-head{align-items:flex-start}.panel-head .muted{max-width:100px;text-align:right}.field-grid{grid-template-columns:1fr}.composer-footer small{max-width:180px}.balance-grid b{font-size:18px}footer{display:block}footer span{display:block;margin:7px 0}}

.conversation-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);margin:-4px 0 14px}.focus-note{padding:10px 12px;border-left:3px solid #aec77d;background:#f5f7f0;font-size:11px;line-height:1.6;margin-bottom:15px;overflow-wrap:anywhere}.focus-badge{display:block;color:#789444;margin-top:-5px}.tracking-note{padding:10px;background:#edf4e3;border-radius:6px;font-size:10px;line-height:1.8;color:#526b3e}.chat-table-wrap{overflow-x:auto;max-width:100%;white-space:normal}.chat-table-wrap th,.chat-table-wrap td{padding:6px;border-bottom:1px solid var(--line);text-align:left}.task .actions{margin-top:14px}.task .actions button{font-size:10px}#agent-api .actions button{font-size:11px}#access-value{font-size:12px}

/* Account results use the tool's structured data; prose remains available on demand. */
.chat{padding:26px;min-width:0}
.chat .panel-head{margin-bottom:12px}
.chat h2{font-size:20px;letter-spacing:-.6px}
#model-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px}
#model-status.offline:before{background:#b0b6a9}
#model-status:before{content:'';width:6px;height:6px;background:#82a854;border-radius:50%;flex-shrink:0}
.conversation-meta{font-size:11px;padding-bottom:16px;border-bottom:1px solid #edf0e9;margin:0 0 15px}
.conversation-meta .text-button{font-size:11px}
.suggestions{gap:8px}
.suggestions button{border:1px solid #e5eadf;border-radius:20px;background:#fff;padding:7px 12px;font-size:11px;font-weight:500}
.suggestions button:hover{background:#f4f8ee;border-color:#b7cba0}
#chat-log{max-height:660px;min-height:170px;padding:22px 0 16px;gap:18px;scrollbar-width:thin;scrollbar-color:#d3ddcb transparent;scroll-padding:12px}
#chat-log article{width:100%;max-width:100%;padding:0;white-space:normal;background:transparent;line-height:1.7}
#chat-log .user{align-self:flex-end;max-width:86%;width:auto}
#chat-log .user .reply-text{padding:10px 14px;border-radius:14px 14px 3px 14px;background:#edf3e5;font-size:13px;white-space:pre-wrap}
#chat-log .assistant>.reply-text{padding:14px 16px;border:1px solid #e8ede3;border-radius:4px 14px 14px;background:#f8faf5;white-space:pre-wrap;font-size:13px}
#chat-log .assistant.has-account{background:none}
.welcome-message{padding:22px 4px 10px;color:var(--muted)}
.welcome-mark{display:flex;width:33px;height:33px;align-items:center;justify-content:center;background:#e9f1de;color:#6a8e40;border-radius:10px;font-size:22px}
.welcome-message h3{font-size:21px;color:var(--ink);margin:15px 0 8px;letter-spacing:-.6px;font-weight:650}
.welcome-message p{font-size:13px;line-height:1.9;margin:0}
.agent-thinking .reply-text{color:var(--muted)}
.agent-thinking .reply-text:before{content:'';display:inline-block;width:7px;height:7px;background:#9bbf72;border-radius:50%;margin-right:8px;animation:agent-pulse 1.2s ease-in-out infinite}
@keyframes agent-pulse{50%{opacity:.3}}
.account-result{background:#fff;border:1px solid #dce6d3;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px #1f422705}
.account-result-head{padding:19px 20px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}
.result-eyebrow{font-size:10px;color:#788370;letter-spacing:1px;display:block;margin-bottom:4px}
.account-result-identity{min-width:0}
.account-result h3{font-size:18px;font-weight:650;margin:0;letter-spacing:-.4px;overflow-wrap:anywhere}
.result-badge{flex-shrink:0;white-space:nowrap;font-size:10px;border:1px solid #dfebd4;background:#f2f7eb;padding:3px 7px;border-radius:5px;color:#668043}
.result-badge.partial{border-color:#e9dcc5;background:#fff8ec;color:#947135}
.account-context{margin:7px 20px 0;color:#7e8979;font-size:10px}
.native-balance{padding:21px 20px 20px;background:linear-gradient(120deg,#fafcf7,#f0f6e8);margin-top:15px;border-top:1px solid #edf2e7;border-bottom:1px solid #edf2e7}
.asset-symbol{font-size:12px;font-weight:650;letter-spacing:.8px}
.native-value{font-size:clamp(22px,3vw,34px);font-weight:650;letter-spacing:-1px;line-height:1.35;margin-top:8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.native-value .approximate{display:inline-block;vertical-align:middle;font-size:10px;font-weight:400;color:#7b8c6b;letter-spacing:0;margin-left:8px}
.asset-caption{font-size:10px;color:#819076;display:block;margin-top:4px}
.asset-list{padding:3px 20px}
.asset-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #edf0e9;min-width:0}
.asset-row:last-child{border-bottom:0}
.asset-identity{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;flex-shrink:0}
.asset-mark{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;font-size:14px;background:#edf2f8;color:#5d85b3}
.asset-mark.usdt{color:#529d8e;background:#eaf4ef}
.asset-mark.wnear{font-size:10px;background:#eef0e9;color:#647158}
.asset-amount{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;min-width:0}
.asset-amount small{font-size:9px;font-weight:400;margin-left:7px;color:#8a9584}
.asset-amount.unknown{font-size:12px;font-weight:400;color:#9a7d45}
.result-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px 20px;color:#819077;font-size:9px;background:#fbfcf9;border-top:1px solid #edf0e9}
.account-evidence{border-top:1px solid #edf0e9;padding:0 20px;font-size:11px;color:#728267}
.account-evidence summary,.agent-explanation summary,.tool-evidence summary{cursor:pointer;list-style:none;font-size:10px;color:#7b8a71;padding:11px 0}
.account-evidence summary:before,.agent-explanation summary:before,.tool-evidence summary:before{content:'＋';margin-right:7px;font-size:11px}
.account-evidence[open] summary:before,.agent-explanation[open] summary:before,.tool-evidence[open] summary:before{content:'−'}
.account-evidence summary::-webkit-details-marker,.agent-explanation summary::-webkit-details-marker,.tool-evidence summary::-webkit-details-marker{display:none}
.exact-balances{display:grid;grid-template-columns:72px minmax(0,1fr);font-size:10px;gap:9px;line-height:1.7;margin:3px 0 15px}
.exact-balances dt{color:#88937f}
.exact-balances dd{margin:0;color:#40543b;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.evidence-note{font-size:10px;color:#87937e;line-height:1.8;margin:12px 0 16px}
.result-warning{font-size:11px;color:#8a713a;margin:8px 20px 14px}
.agent-explanation,.tool-evidence{margin:2px 1px;font-size:11px;color:#7a8574}
.agent-explanation .reply-text,.tool-evidence p{margin:0;padding:12px;background:#f7f9f3;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.8}
.tool-evidence summary{padding-top:4px}
#balances .account-result{margin-top:18px}
#chat-form{padding-top:13px;border-top:1px solid #edf0e9}
#chat-input{margin-top:0;min-height:84px;max-height:200px;background:#f9fbf6;border-radius:12px;padding:13px 15px;font-size:13px;border-color:#dfe7d7;resize:vertical}
.composer-footer{margin-top:11px;gap:8px}
.composer-footer .primary{padding:10px 18px;border-radius:9px;font-size:12px}
.composer-footer small{font-size:9px;color:#8c9685}
.composer-hint{display:block;font-size:9px;color:#9ba393;margin-top:7px}
.empty{padding:35px 24px;text-align:left;border:1px solid #e0e6da;background:#f8faf4;display:grid;gap:12px}
.empty-mark{font-size:22px;color:#91a876}
.empty strong{font-size:15px;color:#53694a;font-weight:550}
.empty>span:last-child{font-size:11px;line-height:1.9}
@media(max-width:580px){
  .chat{padding:18px}.chat h2{font-size:18px}
  #chat-log{max-height:650px;min-height:160px;gap:14px}
  .account-result-head{padding:16px 15px 0;gap:8px}.account-result h3{font-size:16px}
  .account-context{margin-left:15px;margin-right:15px;font-size:9px}
  .native-balance{padding:18px 15px}.native-value{font-size:28px;letter-spacing:-.7px}
  .asset-list{padding:2px 15px}.asset-amount{font-size:15px}.asset-row{gap:10px}
  .result-footer{padding:10px 15px;font-size:8px}.account-evidence{padding:0 15px}
  .result-badge{font-size:9px;padding:3px 5px}.exact-balances{grid-template-columns:60px minmax(0,1fr)}
  .composer-footer small{max-width:180px;font-size:8px}.composer-hint{display:none}
}
@media(prefers-reduced-motion:reduce){.agent-thinking .reply-text:before{animation:none}}
.stream-status{display:flex;align-items:center;gap:8px;font-size:11px;color:#809170;margin:0 0 12px}
.stream-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#99b77a;flex-shrink:0;animation:agent-pulse 1.2s ease-in-out infinite}
.stream-status.stream-error{color:#987239;line-height:1.8}
.stream-status.stream-error:before{background:#c7a25f;animation:none}
#chat-log .assistant>.stream-answer,#chat-log .assistant>.account-summary{background:transparent;border:0;padding:12px 3px;font-size:13px;line-height:1.9;white-space:pre-wrap}
.is-streaming .stream-answer:not([hidden]):after{content:'';display:inline-block;width:2px;height:1em;background:#78994f;margin-left:3px;vertical-align:-1px;animation:agent-pulse .8s ease-in-out infinite}
.recover-turn{font-size:11px;padding:8px 12px;margin-top:10px}
.stream-recovery-note{display:block;font-size:10px;margin:8px 0;color:#8f977f}
@media(prefers-reduced-motion:reduce){.stream-status:before,.is-streaming .stream-answer:after{animation:none}}
.site-account{display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:0}
.google-login{background:#fff;border:1px solid #747775;color:#1f1f1f;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border-radius:20px;font-size:14px;line-height:20px;font-weight:500;white-space:nowrap}
.google-login img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.google-login:hover{background:#f7f8f8}
.auth-note{font-size:9px;line-height:1.5;text-align:right;max-width:225px}
.signed-in-user{display:flex;align-items:center;gap:10px;min-width:0}
.user-initial{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#e7efd9;color:#617943;font-size:15px;font-weight:600;flex-shrink:0}
.user-identity{min-width:0;max-width:150px}
.user-identity strong,.user-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-identity strong{font-size:12px}.user-identity small{font-size:9px}
@media(max-width:1050px){header{gap:20px}header nav{gap:15px}.brand span{display:none}}
@media(max-width:580px){header{display:grid;grid-template-columns:1fr auto;gap:12px}.network{margin-left:0}.site-account{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.google-login{font-size:12px;padding:8px 12px}.auth-note{max-width:140px;font-size:9px}.user-identity{max-width:155px}.signed-in-user{flex:1}.signed-in-user .text-button{margin-left:auto}.signed-in-user:not([hidden])~.auth-note{display:none}}
