@font-face{font-family:DM;src:url('/assets/body.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:DM;src:url('/assets/body-bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{font-family:DM,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111a46;background:#f8f3e8;--ink:#111a46;--paper:#f8f3e8;--blue:#c1c0ff;--apricot:#ffb785;--line:#b4b7ba;--muted:#575d6e;--white:#fcfbf7;--navy-soft:#29334b;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}button,a{touch-action:manipulation}button{color:inherit}a{color:#2a3879}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5268cf;outline-offset:3px}h1,h2,h3,p{margin:0}p{line-height:1.55}button svg,.links svg{flex:none}button{font-weight:650}input,select{width:100%;min-width:0;color:var(--ink)}input::placeholder{color:#6b7080}fieldset{margin:0;padding:0;border:0}.hidden{display:none!important}
.layout{display:grid;grid-template-columns:252px minmax(0,1fr);height:100vh;height:100dvh;min-height:0}
.sidebar{background:var(--ink);color:var(--paper);display:flex;flex-direction:column;padding:22px 17px 15px;min-height:0;gap:17px}.brand{display:flex;align-items:center;gap:9px;font-size:26px;font-weight:850;letter-spacing:-.06em;margin:1px 2px 6px}
.primary,.soft,.icon{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid var(--ink);border-radius:9px;text-decoration:none;white-space:nowrap;color:var(--ink);min-height:39px;padding:8px 12px}.primary{background:var(--apricot);font-weight:760}.primary:hover:not(:disabled){background:#ffbca6}.soft{background:var(--white)}.soft:hover:not(:disabled){background:#e8ebfc}.icon{padding:7px;min-height:35px}.ghost{background:transparent;border-color:transparent}.ghost:hover{background:#1622380b}.new{width:100%;justify-content:flex-start;padding:12px 13px;border:0;min-height:44px}
.sidebar nav,.history{display:grid;gap:4px}.sidebar nav button,.history button,.profile{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:9px 8px;background:none;border:0;color:inherit;border-radius:7px;min-height:37px}.sidebar nav button:hover,.history button:hover,.profile:hover{background:var(--navy-soft)}.history{border-top:1px solid #566178;padding-top:16px;overflow:auto;min-height:35px;flex:1;align-content:start}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.history .eyebrow{color:#c2cbdf;margin:0 7px 7px}.history button.active{background:var(--blue);color:var(--ink)}.history button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history p{font-size:13px;color:#c2cbdf;padding:1px 7px}.sidebar-foot{margin-top:auto;display:grid;gap:11px}.profile span:last-child{display:grid;gap:2px;min-width:0}.profile strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{color:#c2cbdf;font-size:11px}.next{padding:12px 4px 0;border-top:1px solid #566178;font-size:13px;white-space:nowrap;color:#e8ebf7}.orbit{color:var(--blue);font-size:18px}
.workspace{min-width:0;display:flex;flex-direction:column;min-height:0}.top{padding:12px 23px;min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #c7c5bc;background:var(--paper)}.top-left{display:flex;align-items:center;gap:12px;min-width:0}.top-left strong{font-size:22px;letter-spacing:-.045em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.divider{height:20px;width:1px;background:#c1c4c9}.top-description{font-size:13px;white-space:nowrap}.chain{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border:1px solid #a4a9ae;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:760;background:var(--white)}.chain i{width:8px;height:8px;background:#268452;border-radius:50%}.muted{color:var(--muted)}.mobile-menu{display:none}.top-wallet{min-height:30px;padding:5px 8px;font-size:12px}
.chat-scroll{overflow:auto;flex:1;min-height:0;scrollbar-gutter:stable}.conversation{width:min(100% - 38px,850px);margin:auto;padding:20px 0 24px}.status{display:flex;align-items:center;gap:6px;border-bottom:1px solid #d4d2c8;padding:5px 0 13px;color:var(--muted);font-size:12px}.status-dot{width:8px;height:8px;background:#b56c24;border-radius:50%}.status-detail{color:var(--muted);margin-left:5px}.greeting{margin:clamp(38px,11vh,102px) auto 35px;text-align:center}.greeting h1{font-size:clamp(28px,4.7vw,50px);line-height:1.12;font-weight:820;letter-spacing:-.075em;margin:16px 0 23px}.starter-grid{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.starter-grid button{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #9b9eab;border-radius:9px;background:#faf9f2;min-height:39px}.starter-grid button:hover{background:var(--blue)}
.avatar{display:inline-flex;width:var(--avatar-size);height:var(--avatar-size);flex:0 0 var(--avatar-size);background:var(--ink);border-radius:24%;overflow:hidden;vertical-align:middle;color:var(--blue);border:1px solid #687491}.avatar img,.avatar svg{width:100%;height:100%;object-fit:cover}.avatar-head{fill:currentColor}.avatar.apricot{color:var(--apricot)}.avatar.mint{color:#a9dfc6}.avatar.ivory{color:#f2eee0}
.message{display:flex;align-items:flex-start;gap:11px;margin:19px 0 25px}.message.user{justify-content:flex-end}.message-content{min-width:0;max-width:min(100%,725px);flex:0 1 auto}.assistant .message-content{flex:1}.message-content>strong{display:block;margin:1px 0 4px;font-size:15px}.bubble{font-size:15px;line-height:1.58;white-space:pre-wrap;overflow-wrap:anywhere}.user .bubble{background:var(--blue);padding:10px 13px;border-radius:13px 13px 3px 13px}.evidence,.inline-form{margin:12px 0 0;padding:15px;border:1px solid #a2aac6;border-radius:12px;background:#eaedfa;min-width:0}.evidence p,.inline-form p{font-size:14px;margin:5px 0 9px}.evidence details{margin-top:9px}.evidence summary{cursor:pointer;font-size:13px;font-weight:680}.evidence pre{max-height:310px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f7f8ff;padding:9px;border-radius:6px}.links{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.chip{font-size:12px;border:1px solid #959db8;padding:5px 8px;border-radius:999px;background:#fbfbff;text-decoration:none;color:var(--ink);white-space:nowrap}.chip:hover:is(a){background:var(--blue)}.quote{background:#e2e7ff}.quote-title,.inline-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.inline-head h3{font-size:20px;letter-spacing:-.03em}.working{margin:20px 0;color:var(--muted);font-size:13px;display:flex;align-items:center;gap:6px}.working span{border:2px solid #5f6db8;border-bottom-color:transparent;width:13px;height:13px;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.composer-wrap{padding:8px 18px 16px;border-top:1px solid #d2d0c6;background:var(--paper)}.composer-area{position:relative;max-width:850px;margin:auto}.composer{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid var(--ink);background:#faf9f2;border-radius:12px}.composer input{border:0;background:none;min-height:40px;outline:none;padding:0 4px;font-size:15px}.composer input:focus-visible{outline:0}.composer:focus-within{box-shadow:0 0 0 2px #adb8ee}.composer .send{width:45px;padding:0;flex-shrink:0}.composer button:first-child{border-color:#8891ad}.skills-menu{position:absolute;bottom:calc(100% + 9px);left:0;width:min(440px,100%);border:1px solid var(--ink);border-radius:12px;background:var(--white);padding:11px 12px;box-shadow:0 8px 25px #1b23362b;z-index:3}.menu-top,.search{display:flex;align-items:center;justify-content:space-between}.search{border:1px solid #aeb5cd;padding:6px 8px;border-radius:7px;gap:8px}.search input{border:0;background:transparent;font-size:14px}.search input:focus-visible{outline:none}.search:focus-within{outline:2px solid #6578bf}.skill-list{max-height:min(50vh,380px);overflow:auto}.skill-list h3{margin:13px 0 5px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.skill-grid button{font-size:13px;background:#f0f2fb;border:1px solid transparent;text-align:left;min-height:33px;border-radius:6px;padding:5px 6px}.skill-grid button:hover{background:var(--blue);border-color:#8d9ada}
.onboard{max-width:520px;width:calc(100% - 34px);margin:clamp(22px,9vh,92px) auto;padding:25px;background:var(--white);border:1px solid #a4a9bd;border-radius:16px;overflow:auto}.editor-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.editor-head>div{flex:1;min-width:0}.editor-head h2,.onboard h2{font-size:clamp(24px,4vw,33px);letter-spacing:-.055em}.onboard>p{margin:9px 0 14px}.field{display:grid;gap:5px;font-size:13px;font-weight:690;margin:9px 0}.field input,.field select{min-height:38px;border:1px solid #a1a9c1;border-radius:7px;padding:6px 8px;background:#fff}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.choices{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.choices legend{font-size:13px;font-weight:690;margin-bottom:7px}.choice{display:grid;justify-items:center;align-content:center;min-width:70px;gap:5px;position:relative;cursor:pointer;padding:7px 5px;border:1px solid #aeb5c5;border-radius:8px;font-size:11px}.choice.chosen{background:#e9edff;border-color:#6275cf}.choice input{position:absolute;top:3px;right:2px;width:12px;height:12px;accent-color:#5067c1;margin:0}.editor-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}.editor-foot span{font-size:12px;color:var(--muted)}
.scrim{position:fixed;inset:0;z-index:5;background:#161e385c;display:grid;place-items:center;padding:14px}.modal{width:min(100%,570px);max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #a4a9bd;border-radius:15px;background:var(--white);box-shadow:0 14px 45px #151d3e35}.sheet{padding:20px}.wallet-host{padding:0 20px 20px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid #d1d1cd;padding:10px 0}.list-row small{display:block;color:var(--muted);margin-top:4px}.note,.error{border-radius:7px;padding:7px 8px;font-size:13px;line-height:1.35;margin:8px 0;background:#ffefe2;color:#65351e}.error{background:#fce5e1;color:#7d2b23}.global-error{margin:0 0 7px}.break{overflow-wrap:anywhere}.boot{display:flex;gap:9px;align-items:center;justify-content:center;padding:45px}.boot img{border-radius:13px}dl{margin:8px 0}dl div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #adb5d1;padding:6px 0}dt{font-size:13px}dd{margin:0;text-align:right;font-weight:730;overflow-wrap:anywhere}
@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(80vw,260px);z-index:4;transform:translateX(-105%);transition:transform .2s ease}.sidebar.show{transform:translateX(0);box-shadow:0 0 0 100vmax #1b23363b}.mobile-menu{display:inline-flex}.top{padding:7px 9px;min-height:55px}.top-description,.divider,.top-wallet{display:none}.conversation{width:calc(100% - 22px)}.composer-wrap{padding:6px 10px 11px}.composer button:first-child{padding-inline:7px}.composer input{font-size:14px}.status-detail{display:none}.greeting h1{font-size:34px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.message{gap:6px}.message .avatar{--avatar-size:29px!important}.bubble{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

a.brand{color:inherit;text-decoration:none;width:fit-content}.agent-switcher{border:1px solid #566178;border-radius:10px;padding:4px}.agent-switcher .profile{padding:6px}.add-agent{display:flex;align-items:center;gap:6px;width:100%;padding:7px 6px;margin-top:4px;border:0;border-top:1px solid #566178;background:none;color:#dce3ff;text-align:left;font-size:12px}.add-agent:hover{color:#fff;background:#29334b}.switch-agent{display:grid;gap:4px;margin:5px 6px;color:#dce3ff;font-size:11px}.switch-agent select{border:1px solid #687491;background:#27334b;color:#fff;border-radius:6px;min-height:29px;padding:4px 5px}

.sidebar{background:#111a46}.top{background:#f8f3e8}.sidebar .brand{letter-spacing:-.045em}.onboard{max-width:560px;margin:auto}.greeting h1{letter-spacing:-.04em}
