*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#202123;background:#fff}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}.app-shell{display:flex;width:100%;height:100dvh;overflow:hidden}.sidebar{width:258px;min-width:258px;display:flex;flex-direction:column;background:#f9f9f9;padding:20px 12px 10px;transition:margin .2s ease;z-index:20}.sidebar-collapsed{margin-left:-258px}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 5px 23px}.brand-symbol,.assistant-avatar{display:flex;align-items:center;justify-content:center;background:#1d1d1b;color:#fff;font-size:11px;font-weight:750;letter-spacing:-.3px}.brand-symbol{width:34px;height:34px;border:0;border-radius:11px}.icon-button{display:grid;place-items:center;border:0;background:transparent;color:#5b5b59;width:34px;height:34px;border-radius:8px}.icon-button:hover,.navigation button:hover,.history-item:hover,.model-trigger:hover{background:#ececec}.sidebar-toggle{margin-right:1px}.navigation{display:flex;flex-direction:column;gap:2px}.navigation button{height:41px;width:100%;display:flex;gap:12px;align-items:center;padding:0 11px;border:0;border-radius:9px;background:transparent;color:#30302e;text-align:left;font-size:14px}.navigation button svg{stroke-width:1.75}.key-hint{font-size:11px;margin-left:auto;color:#aaa}.history-title{margin:32px 11px 10px;font-size:12px;color:#888986;font-weight:600}.history-list{overflow:auto;flex:1}.history-item{display:block;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px 11px;width:100%;border:0;background:transparent;color:#494948;border-radius:8px;font-size:13px}.history-item.active{background:#e9e9e8}.history-empty{font-size:12px;color:#a1a19d;margin:6px 11px}.sidebar-bottom{margin-top:auto}.balance-card{border:1px solid #e6e6e4;background:#fff;border-radius:12px;padding:11px;display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:#2c2c2b;box-shadow:0 2px 8px #00000006}.balance-card:hover{border-color:#c9c9c6}.balance-icon{width:32px;height:32px;background:#edf5f1;color:#387b63;display:grid;place-items:center;border-radius:9px}.balance-copy,.account-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.balance-copy strong,.account-copy strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-copy small,.account-copy small{font-size:11px;color:#969692}.account{height:59px;display:flex;align-items:center;gap:10px;padding:10px 5px;margin-top:4px}.login-account{width:100%;border:0;text-align:left;background:transparent}.avatar{width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;background:#3e806c;border-radius:50%;font-size:13px;font-weight:600;color:white}.avatar-muted{background:#e8e8e6;color:#666}.account a{padding:6px;color:#858581}.main-pane{min-width:0;flex:1;display:flex;flex-direction:column;position:relative}.main-header{height:66px;display:flex;justify-content:space-between;align-items:center;padding:0 26px;flex-shrink:0}.header-left,.header-right{display:flex;align-items:center;gap:9px}.model-anchor{position:relative}.model-trigger{display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:9px;padding:8px 10px;color:#323330;font-size:18px;font-weight:650;letter-spacing:-.4px}.model-trigger svg{color:#8b8c88}.model-menu{position:absolute;left:0;top:45px;width:310px;padding:10px;background:white;border:1px solid #e9e9e7;border-radius:15px;box-shadow:0 15px 44px #0000001a;z-index:30}.menu-heading{font-size:14px;font-weight:650;padding:7px 9px 9px}.menu-caption{font-size:11px;color:#999;padding:6px 9px}.image-caption{margin-top:5px;border-top:1px solid #eee;padding-top:12px}.model-option{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;border-radius:9px;text-align:left;padding:9px;color:#2e2e2d}.model-option:hover{background:#f6f6f5}.model-option-copy{display:flex;flex-direction:column;gap:4px}.model-option strong{font-size:13px;font-weight:600}.model-option small{font-size:11px;color:#8a8a88}.model-option em{font-style:normal;color:#53836e;font-weight:500;background:#edf6f1;border-radius:5px;padding:2px 5px;margin-left:3px;font-size:10px}.top-balance,.header-login{display:flex;align-items:center;gap:7px;border:1px solid #e6e6e4;border-radius:999px;background:white;padding:8px 12px;color:#50514e;font-size:12px}.top-balance:hover{background:#f7f7f5}.header-login{background:#212121;border-color:#212121;color:white;font-weight:600;padding:9px 15px}.workspace{min-height:0;flex:1;display:flex;flex-direction:column}.workspace.is-empty{justify-content:center;padding:0 24px 9vh}.welcome{text-align:center;margin-bottom:28px}.welcome-mark{width:38px;height:38px;display:grid;place-items:center;margin:0 auto 16px;border-radius:12px;background:#20211f;color:white;font-size:25px;line-height:1}.eyebrow{font-size:10px;letter-spacing:.19em;color:#93948f;font-weight:700;margin:0 0 11px}.welcome h1{font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-1px;margin:0}.welcome-subtitle{font-size:14px;color:#999b96;margin:12px 0 0}.composer-wrap{width:min(768px,100%);margin:0 auto;flex-shrink:0}.composer{border:1px solid #e4e4e2;border-radius:24px;padding:19px 17px 13px;box-shadow:0 7px 24px #0000000b,0 1px 5px #00000008;background:#fff}.composer:focus-within{border-color:#d1d1cd;box-shadow:0 8px 28px #0000000d}.composer textarea{display:block;width:100%;height:42px;min-height:42px;max-height:150px;border:0;outline:none;resize:none;background:transparent;color:#262626;font-size:15px;line-height:1.5}.composer textarea::placeholder{color:#aaa9a6}.composer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.composer-tools{display:flex;align-items:center;gap:6px}.mode-pill{display:flex;align-items:center;gap:6px;border:0;border-radius:8px;padding:7px 8px;background:transparent;color:#6d706b;font-size:12px}.mode-pill:hover{background:#f5f6f4}.mode-pill.selected{background:#f1f6f3;color:#438466}.send-button{width:35px;height:35px;border:0;border-radius:50%;display:grid;place-items:center;background:#1c1d1b;color:#fff}.send-button:disabled{background:#e7e7e5;color:#fff}.notice{display:flex;align-items:center;gap:8px;margin:10px 3px 0;padding:9px 12px;border-radius:9px;background:#f9f6ee;color:#6e5e3f;font-size:12px;line-height:1.5}.notice button{border:0;background:transparent;color:#6e5e3f;margin-left:auto;font-weight:600}.notice button+button{margin-left:0}.suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:22px}.suggestions button{min-width:0;display:flex;align-items:center;gap:10px;padding:11px 10px;border:1px solid #efefed;background:#fff;border-radius:12px;text-align:left;color:#42433f}.suggestions button:hover{border-color:#d2d8d2;background:#fafcfb}.suggestions button>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.suggestions strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.suggestions small{font-size:10px;color:#9e9f9b;white-space:nowrap}.suggestion-icon{width:30px;height:30px;border-radius:9px;flex-shrink:0;display:grid;place-items:center}.icon-0{color:#c9895a;background:#fbf2eb}.icon-1{color:#ac729a;background:#f8eff5}.icon-2{color:#718cb5;background:#eff3f9}.icon-3{color:#6d9d78;background:#eef6ef}.footer-note{text-align:center;font-size:10px;color:#a5a5a1;margin:16px 0 0}.workspace.has-messages{padding:0 24px 15px}.thread{width:min(768px,100%);margin:0 auto;overflow-y:auto;flex:1;padding:30px 0 22px}.message{display:flex;gap:12px;margin-bottom:28px}.message.user{justify-content:flex-end}.message.user .message-content{max-width:min(80%,560px);background:#f3f4f2;padding:12px 17px;border-radius:19px}.assistant-avatar{border-radius:50%;width:29px;height:29px;flex-shrink:0}.message-content{min-width:0;max-width:calc(100% - 42px)}.message-label{font-size:13px;font-weight:650;margin:5px 0 11px}.message-label small{font-weight:400;color:#aaa;margin-left:7px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75}.generated-image{display:block;max-width:min(100%,600px);margin-top:10px;border-radius:14px}.message-actions{display:flex;align-items:center;gap:10px;margin-top:11px;color:#969792;font-size:11px}.message-actions button,.message-actions a{border:0;background:transparent;color:#969792;padding:3px}.thinking{display:flex;align-items:center;gap:12px;color:#777;font-size:13px}.dots{letter-spacing:3px}.mobile-scrim{display:none}.modal-overlay{position:fixed;inset:0;z-index:50;background:#0006;display:grid;place-items:center;padding:18px}.modal{background:#fff;border-radius:19px;box-shadow:0 24px 70px #0003;max-height:min(90vh,820px);overflow:auto}.wallet-modal{width:min(470px,100%);padding:26px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start}.modal-header h2{font-size:23px;letter-spacing:-.5px;margin:3px 0 0}.modal-eyebrow{font-size:10px;letter-spacing:.16em;color:#a0a29d;font-weight:700;margin:0}.wallet-balance{display:flex;justify-content:space-between;align-items:flex-start;background:#f3f7f4;border:1px solid #edf3ee;border-radius:15px;margin:22px 0;padding:20px}.wallet-balance>div{display:flex;flex-direction:column;gap:7px}.wallet-balance span{color:#77847a;font-size:12px}.wallet-balance strong{font-size:33px;font-weight:600;letter-spacing:-1px}.wallet-balance small{color:#9ba99e;font-size:11px}.wallet-round{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:white}.wallet-section{margin-top:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading h3{font-size:14px;margin:0}.section-heading>span{font-size:11px;color:#a0a19c}.amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.amount-grid button{height:43px;border:1px solid #e6e7e4;background:white;border-radius:9px;font-weight:600;color:#484947}.amount-grid button.amount-active{background:#eff7f2;border-color:#80ab90;color:#317750}.primary-button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;height:43px;margin-top:13px;background:#20211f;color:white;border:0;border-radius:10px;font-size:13px;font-weight:600}.arrow-diagonal{transform:rotate(45deg)}.wallet-note{font-size:11px;color:#a0a19d;text-align:center;margin:11px 0 0}.ledger-section{border-top:1px solid #f0f0ee;padding-top:20px}.ledger-empty{display:flex;justify-content:center;align-items:center;gap:8px;padding:19px;color:#aaa;font-size:12px}.ledger-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0}.ledger-row>div{display:flex;flex-direction:column;gap:5px}.ledger-row strong,.ledger-row b{font-size:12px;font-weight:600}.ledger-row small{font-size:10px;color:#aaa}.search-modal{width:min(530px,100%);padding:12px}.search-input{display:flex;align-items:center;gap:10px;padding:4px 3px 10px 8px;border-bottom:1px solid #eee;color:#888}.search-input input{flex:1;border:0;outline:0;font-size:14px}.search-results{padding:10px 0;max-height:350px;overflow:auto}.search-results button{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:0;background:white;text-align:left;border-radius:8px;color:#444;font-size:13px}.search-results button:hover{background:#f6f6f5}.search-results p{color:#aaa;font-size:12px;padding:10px}.modal-overlay:has(.search-modal){place-items:start center;padding-top:12vh}@media(max-width:1000px){.suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.sidebar{position:fixed;left:0;top:0;bottom:0;box-shadow:5px 0 30px #0001}.sidebar-collapsed{margin-left:-258px}.mobile-scrim{display:block;position:fixed;inset:0;border:0;background:#0004;z-index:10}.sidebar-collapsed+.mobile-scrim{display:none}.main-header{padding:0 14px;height:60px}.main-header .header-left:before{content:''}.model-trigger{font-size:16px}.workspace.is-empty{padding:0 15px 6vh}.workspace.has-messages{padding:0 15px 12px}.welcome h1{font-size:25px}.welcome{margin-bottom:22px}.suggestions{gap:8px;margin-top:15px}.suggestions button{padding:9px 8px}.suggestions small{font-size:10px}.top-balance{font-size:0;gap:4px;padding:8px}.top-balance svg{width:16px}.header-login{padding:8px 12px}.footer-note{font-size:9px}.model-menu{position:fixed;left:12px;top:58px;max-width:calc(100vw - 24px)}}
[hidden]{display:none!important}[data-icon] svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.model-trigger [data-icon] svg{width:17px;height:17px}.mode-pill [data-icon] svg{width:15px;height:15px}.top-balance [data-icon] svg{width:15px;height:15px}.suggestion-icon svg{width:17px;height:17px}.notice [data-icon] svg{width:14px;height:14px}.modal-overlay[hidden]{display:none}.header-left #open-sidebar[hidden]{display:none}.primary-button svg{width:16px;height:16px;transform:rotate(45deg)}
.auth-modal{width:min(420px,100%);padding:28px}.auth-intro{font-size:13px;color:#92938e;margin:17px 0 22px}.auth-modal form{display:flex;flex-direction:column}.auth-modal label{font-size:12px;font-weight:600;margin:0 0 7px}.auth-modal input{height:43px;border:1px solid #e2e3e0;outline:0;border-radius:9px;padding:0 12px;margin-bottom:17px;font-size:14px}.auth-modal input:focus{border-color:#92b9a0}.auth-modal .primary-button{margin-top:0}.auth-error{color:#a44838;background:#fcf2ef;border-radius:8px;font-size:12px;padding:10px;margin:0 0 12px}.auth-switch{text-align:center;font-size:12px;color:#999;margin:20px 0 10px}.auth-switch button{border:0;background:transparent;color:#377b5c;font-weight:600}.auth-small{text-align:center;font-size:10px;color:#b3b4b0}
.attach-button{width:33px;height:33px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#686b66}.attach-button:hover{background:#f1f2ef}.attachment-preview{display:inline-flex;align-items:center;gap:10px;max-width:100%;margin:4px 0 6px;padding:7px 9px;background:#f2f5f2;border:1px solid #e3e9e3;border-radius:9px;font-size:12px;color:#4d5f50}.attachment-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview button{border:0;background:transparent;font-size:18px;color:#767d76;line-height:1}.message-file{display:block;margin:9px 0;padding:9px 11px;background:#f2f5f2;border-radius:9px;font-size:12px;color:#526a58;overflow-wrap:anywhere}.message-actions button{cursor:pointer;font-size:11px}
.google-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:44px;background:#fff;border:1px solid #dadce0;border-radius:9px;color:#303134;font-size:14px;font-weight:600}.google-button:hover{background:#f8f9fa;border-color:#c3c6cb}.google-g{font-size:19px;font-weight:700;color:#4285f4}.auth-divider{display:flex;align-items:center;gap:12px;color:#9a9b97;font-size:11px;margin:19px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#eee;flex:1}
