:root{color-scheme:light;--bg:#f7f7f5;--panel:#fff;--side:#efefec;--line:#deded9;--text:#181817;--muted:#71716c;--soft:#f2f2ef;--accent:#171716;--green:#18a56a;--danger:#c43b32;--shadow:0 18px 70px rgba(28,28,24,.14);font-family:Inter,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif}
[hidden]{display:none!important}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);overflow:hidden}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}.app-shell{display:grid;grid-template-columns:272px minmax(0,1fr);height:100dvh}.sidebar{background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:14px 12px 10px;min-width:0;z-index:20}.brand-row{display:flex;align-items:center;gap:10px;padding:5px 7px 15px}.brand-row>div:nth-child(2){display:flex;flex-direction:column}.brand-row strong{font-size:14px}.brand-row span{font-size:11px;color:var(--muted);margin-top:2px}.brand-mark{width:34px;height:34px;border-radius:11px;background:#171716;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:-.5px;box-shadow:0 4px 14px rgba(0,0,0,.18)}.brand-mark.large{width:52px;height:52px;border-radius:16px;font-size:16px;margin:auto}.new-chat-button{height:42px;border:1px solid #d4d4cf;background:#fff;border-radius:12px;padding:0 13px;text-align:left;font-weight:650;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.03)}.new-chat-button span{margin-right:8px}.new-chat-button:hover{background:#fafaf8}.search-box{height:38px;display:flex;align-items:center;gap:7px;margin:10px 3px 4px;padding:0 9px;border-radius:10px;color:var(--muted)}.search-box:focus-within{background:#fff;box-shadow:0 0 0 1px var(--line)}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:13px}.sidebar-section-title{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 7px;font-size:11px;color:var(--muted);font-weight:650}.text-button{border:0;background:none;color:var(--muted);font-size:11px;cursor:pointer}.conversation-list{flex:1;overflow:auto}.conversation-item{position:relative;display:flex;align-items:center;margin:2px 0;border-radius:9px}.conversation-main{width:100%;border:0;background:transparent;padding:9px 42px 9px 9px;border-radius:9px;text-align:left;cursor:pointer;min-width:0}.conversation-main strong,.conversation-main span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-main strong{font-size:13px;font-weight:520}.conversation-main span{font-size:11px;color:var(--muted);margin-top:3px}.conversation-item:hover,.conversation-item.active{background:#dfdfda}.conversation-more{position:absolute;right:5px;width:30px;height:30px;border:0;background:transparent;border-radius:8px;cursor:pointer;opacity:0}.conversation-item:hover .conversation-more,.conversation-item.active .conversation-more{opacity:1}.conversation-menu{position:fixed;z-index:70;background:#fff;border:1px solid var(--line);border-radius:10px;padding:5px;box-shadow:var(--shadow);min-width:132px}.conversation-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:8px 10px;border-radius:7px;cursor:pointer;font-size:13px}.conversation-menu button:hover{background:var(--soft)}.conversation-menu .danger{color:var(--danger)}.sidebar-footer{border-top:1px solid var(--line);padding-top:7px}.sidebar-row{width:100%;height:38px;display:flex;align-items:center;gap:10px;border:0;background:none;border-radius:9px;padding:0 9px;text-decoration:none;color:var(--text);font-size:13px;cursor:pointer}.sidebar-row:hover{background:#dfdfda}.sidebar-row .count-badge{margin-left:auto;background:#d8d8d2;border-radius:20px;padding:1px 7px;font-size:10px}.admin-link{color:var(--muted)}.main-panel{min-width:0;display:flex;flex-direction:column;position:relative;background:var(--bg)}.topbar{height:62px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid rgba(222,222,217,.7);background:rgba(247,247,245,.92);backdrop-filter:blur(14px);z-index:10}.conversation-heading{display:flex;flex-direction:column;min-width:0}.conversation-heading strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-heading span{font-size:11px;color:var(--muted);margin-top:3px}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.credit-button{height:34px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:0 12px;cursor:pointer}.credit-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:5px}.avatar-button{width:34px;height:34px;border:0;border-radius:50%;background:#292927;color:#fff;font-size:11px;font-weight:750;cursor:pointer}.chat-scroll{flex:1;overflow:auto;scroll-behavior:smooth;padding-bottom:210px}.welcome{max-width:820px;margin:11vh auto 0;padding:30px 28px;text-align:center}.welcome-logo{width:50px;height:50px;border:1px solid var(--line);background:#fff;border-radius:17px;display:grid;place-items:center;margin:auto;font-size:22px;box-shadow:0 9px 30px rgba(0,0,0,.07)}.welcome h1{font-size:30px;letter-spacing:-1px;margin:20px 0 8px}.welcome>p{color:var(--muted);font-size:14px;line-height:1.7;margin:0 auto 26px;max-width:540px}.suggestion-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;text-align:left}.suggestion-grid button{border:1px solid var(--line);background:rgba(255,255,255,.7);border-radius:14px;padding:15px 16px;cursor:pointer}.suggestion-grid button:hover{background:#fff;transform:translateY(-1px)}.suggestion-grid span,.suggestion-grid small{display:block}.suggestion-grid span{font-size:13px;font-weight:650}.suggestion-grid small{color:var(--muted);margin-top:5px}.messages{max-width:820px;margin:auto;padding:32px 28px}.message-group{margin-bottom:38px}.user-message{margin-left:auto;max-width:78%;background:#e9e9e5;border-radius:18px 18px 4px 18px;padding:12px 15px;font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.message-tags{display:flex;justify-content:flex-end;gap:5px;margin:7px 2px 14px;flex-wrap:wrap}.tag{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:3px 7px;border-radius:20px;background:#fff}.assistant-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;margin-bottom:10px}.mini-logo{width:24px;height:24px;border-radius:8px;background:#171716;color:#fff;display:grid;place-items:center;font-size:9px}.image-card{border:1px solid var(--line);background:#fff;border-radius:17px;overflow:hidden;max-width:620px;box-shadow:0 6px 24px rgba(0,0,0,.04)}.image-card img{display:block;width:100%;max-height:640px;object-fit:contain;background:#ecece8;cursor:zoom-in}.image-card-footer{display:flex;align-items:center;gap:8px;padding:10px 12px}.image-card-footer span{font-size:11px;color:var(--muted);margin-right:auto}.small-button{height:32px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 10px;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer;font-size:12px}.small-button:hover{background:var(--soft)}.failure-card,.progress-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px;max-width:620px}.failure-card{border-color:#edc8c4;background:#fffafa}.failure-card strong,.progress-card strong{font-size:13px}.failure-card p,.progress-card p{font-size:12px;color:var(--muted);margin:7px 0 12px}.progress-line{height:4px;background:#e4e4df;border-radius:5px;overflow:hidden;margin-top:12px}.progress-line:after{content:"";display:block;height:100%;width:35%;background:#222;border-radius:5px;animation:loading 1.3s ease-in-out infinite}@keyframes loading{0%{transform:translateX(-120%)}100%{transform:translateX(390%)}}.composer-wrap{position:absolute;left:0;right:0;bottom:0;padding:10px 24px max(13px,env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--bg) 78%,rgba(247,247,245,0));z-index:12}.composer-card{max-width:820px;margin:auto;border:1px solid #cfcfca;border-radius:20px;background:#fff;box-shadow:0 8px 35px rgba(25,25,22,.09);padding:13px 13px 9px}.composer-card textarea{display:block;width:100%;border:0;outline:0;resize:none;max-height:180px;line-height:1.55;font-size:15px;background:transparent;padding:2px 5px 10px}.composer-toolbar,.tool-left{display:flex;align-items:center}.composer-toolbar{justify-content:space-between;gap:10px}.tool-left{gap:7px;min-width:0}.round-tool{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer;font-size:20px}.select-chip{height:34px;border:1px solid var(--line);border-radius:17px;padding:0 5px 0 10px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:2px;white-space:nowrap}.select-chip select{border:0;background:transparent;outline:0;font-size:11px;max-width:84px}.send-button{width:36px;height:36px;border:0;background:#171716;color:#fff;border-radius:50%;font-size:20px;cursor:pointer}.send-button:disabled{background:#b9b9b4;cursor:not-allowed}.send-button.stopping{background:var(--danger);font-size:13px}.composer-footnote{max-width:810px;margin:6px auto 0;display:flex;justify-content:space-between;color:#92928c;font-size:10px}.attachment-strip{max-width:820px;margin:0 auto 7px;display:flex;gap:7px;overflow:auto}.attachment-pill{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px 7px;max-width:220px;box-shadow:0 2px 10px rgba(0,0,0,.04)}.attachment-pill img{width:34px;height:34px;border-radius:6px;object-fit:cover}.attachment-pill .file-icon{width:34px;height:34px;border-radius:6px;background:#eee;display:grid;place-items:center;font-size:9px;font-weight:700}.attachment-pill span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-pill button{border:0;background:none;color:var(--muted);cursor:pointer}.drop-hint{display:none;max-width:820px;margin:auto;border:2px dashed #999;border-radius:15px;padding:15px;text-align:center;background:#fff;font-size:13px}.composer-wrap.dragging .drop-hint{display:block}.composer-wrap.dragging .composer-card{display:none}.login-layer{position:fixed;inset:0;background:radial-gradient(circle at 50% 20%,#fff 0,#f3f3ef 52%,#e8e8e2 100%);z-index:100;display:grid;place-items:center;padding:20px}.login-layer.hidden{display:none}.login-card{width:min(410px,100%);background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:var(--shadow);text-align:center}.login-card h1{margin:18px 0 6px;font-size:25px}.login-card>p{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 22px}.login-card label,.panel-form label,.compact-modal label{display:block;text-align:left;font-size:12px;font-weight:600}.login-card input,.panel-form input,.panel-form textarea,.compact-modal input{display:block;width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;margin:6px 0 14px;outline:0;background:#fff}.login-card input:focus,.panel-form input:focus,.panel-form textarea:focus,.compact-modal input:focus{border-color:#888;box-shadow:0 0 0 3px #ededeb}.primary-button,.secondary-button,.danger-button{height:40px;border-radius:11px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.primary-button{border:0;background:#181817;color:#fff}.secondary-button{border:1px solid var(--line);background:#fff}.danger-button{border:0;background:var(--danger);color:#fff}.login-card .primary-button{width:100%}.form-error{min-height:18px;color:var(--danger);font-size:12px;margin-top:10px}.modal{width:min(760px,calc(100% - 28px));border:0;border-radius:20px;padding:20px;box-shadow:var(--shadow);max-height:88dvh}.modal::backdrop{background:rgba(19,19,17,.45);backdrop-filter:blur(4px)}.compact-modal{width:min(430px,calc(100% - 28px))}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:16px}.modal-head h2{font-size:18px;margin:0}.modal-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.icon-button{border:0;background:transparent;width:34px;height:34px;border-radius:9px;cursor:pointer;font-size:20px}.icon-button:hover{background:var(--soft)}.recharge-layout{display:grid;grid-template-columns:260px 1fr;gap:22px}.qr-image{display:block;width:130px;height:130px;object-fit:cover;margin:0 auto 14px;border-radius:12px;border:1px solid var(--line)}.ledger-panel{min-width:0;border-left:1px solid var(--line);padding-left:20px}.ledger-panel h3{font-size:13px;margin:0 0 10px}.ledger-list{max-height:430px;overflow:auto}.ledger-row{padding:9px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:4px;font-size:12px}.ledger-row span{color:var(--muted);font-size:10px}.ledger-row strong.positive{color:var(--green)}.ledger-row strong.negative{color:var(--danger)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.image-modal{width:min(900px,calc(100% - 28px))}.image-modal>img{display:block;max-width:100%;max-height:66dvh;margin:auto;border-radius:12px;background:#eee}.profile-popover{position:fixed;z-index:80;right:22px;top:54px;width:210px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px;box-shadow:var(--shadow)}.profile-popover strong,.profile-popover span{display:block;padding:2px 5px}.profile-popover span{font-size:11px;color:var(--muted);margin-bottom:7px}.profile-popover button{width:100%;border:0;background:none;border-radius:8px;text-align:left;padding:8px 6px;cursor:pointer;font-size:12px}.profile-popover button:hover{background:var(--soft)}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:120;background:#181817;color:#fff;border-radius:10px;padding:10px 14px;font-size:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.empty-state{padding:30px 10px;color:var(--muted);font-size:12px;text-align:center}.mobile-only{display:none}.sidebar-scrim{display:none}
.history-loading{min-height:38vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center}.history-loading>span{width:28px;height:28px;border:3px solid #ddd;border-top-color:#222;border-radius:50%;animation:history-spin .8s linear infinite}.history-loading strong{color:var(--text);font-size:14px}.history-loading small{font-size:11px}.history-loading.error strong{color:var(--danger)}@keyframes history-spin{to{transform:rotate(360deg)}}@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:min(310px,88vw);transform:translateX(-102%);transition:.22s;box-shadow:20px 0 60px rgba(0,0,0,.18)}.app-shell.sidebar-open .sidebar{transform:none}.sidebar-scrim{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:19}.app-shell.sidebar-open .sidebar-scrim{display:block}.mobile-only{display:grid;place-items:center}.brand-row .mobile-only{margin-left:auto}.topbar{padding:0 12px;gap:8px}.conversation-heading span{display:none}.credit-button{padding:0 9px}.chat-scroll{padding-bottom:230px}.welcome{margin-top:4vh;padding:20px 16px}.welcome h1{font-size:25px}.suggestion-grid{grid-template-columns:1fr}.messages{padding:24px 13px}.user-message{max-width:90%}.composer-wrap{padding-left:9px;padding-right:9px}.select-chip{padding-left:7px}.select-chip{font-size:0}.select-chip select{font-size:10px;max-width:70px}.composer-footnote span:last-child{display:none}.recharge-layout{grid-template-columns:1fr}.ledger-panel{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}.modal{padding:16px}}
@media(max-width:420px){.tool-left{gap:4px}.select-chip select{max-width:57px}.round-tool{width:32px;height:32px}.welcome>p{font-size:13px}.image-card-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.main-panel{min-height:0;height:100dvh;overflow:hidden}.topbar{flex:0 0 62px}.chat-scroll{min-height:0}
#rechargeModal{width:min(840px,calc(100% - 28px))}.recharge-layout{grid-template-columns:minmax(300px,340px) minmax(0,1fr)}.manual-recharge-panel{min-width:0}.manual-recharge-intro>span{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;background:#ededE8;color:#55554f;font-size:11px;font-weight:700}.manual-recharge-intro h3{font-size:17px;margin:10px 0 6px}.manual-recharge-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.recharge-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.recharge-package{position:relative;min-height:86px;border:1px solid var(--line);border-radius:14px;background:#fafaf8;padding:13px 14px;display:flex;flex-direction:column;justify-content:center}.recharge-package strong{font-size:23px;letter-spacing:-.5px}.recharge-package span{font-size:13px;font-weight:700;margin-top:5px}.recharge-package.recommended{border-color:#aaa9a2;background:#f2f2ee}.recharge-package small{position:absolute;top:8px;right:9px;font-size:9px;color:#55554f;background:#fff;border-radius:10px;padding:2px 6px}.manual-qr-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:14px}.manual-qr-row .qr-image{width:112px;height:112px;margin:0}.manual-qr-row strong{font-size:13px}.manual-qr-row p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.recharge-account-code{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:11px}.recharge-account-code span{color:var(--muted)}.recharge-account-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow-wrap:anywhere;text-align:right}.manual-recharge-note{margin:10px 2px 0;color:var(--muted);font-size:10px;line-height:1.55}
@media(max-width:780px){#rechargeModal{width:min(560px,calc(100% - 20px))}.recharge-layout{grid-template-columns:1fr}.ledger-panel{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}.manual-qr-row{grid-template-columns:100px minmax(0,1fr)}.manual-qr-row .qr-image{width:100px;height:100px}}
@media(max-width:420px){.recharge-package-grid{gap:7px}.recharge-package{min-height:78px;padding:11px}.recharge-package strong{font-size:20px}.manual-qr-row{grid-template-columns:86px minmax(0,1fr);padding:10px}.manual-qr-row .qr-image{width:86px;height:86px}.manual-recharge-intro h3{font-size:16px}}
.app-logo{display:block;object-fit:cover}.brand-logo{width:34px;height:34px;border-radius:11px;box-shadow:0 4px 14px rgba(0,0,0,.18)}.login-logo{width:64px;height:64px;border-radius:19px;margin:auto;box-shadow:0 12px 32px rgba(20,20,18,.18)}.welcome-logo{width:56px;height:56px;border:0;border-radius:18px;object-fit:cover;box-shadow:0 12px 34px rgba(20,20,18,.16)}.mini-logo-image{display:block;width:24px;height:24px;border-radius:8px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.sidebar-profile-button{width:100%;min-height:58px;margin-top:4px;border:0;background:transparent;border-radius:12px;padding:7px;display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:9px;text-align:left;cursor:pointer}.sidebar-profile-button:hover{background:#dfdfda}.sidebar-profile-logo{width:38px;height:38px;border-radius:12px;box-shadow:0 3px 12px rgba(0,0,0,.14)}.sidebar-profile-copy{display:flex;flex-direction:column;min-width:0}.sidebar-profile-copy strong,.sidebar-profile-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-copy strong{font-size:12px;font-weight:700}.sidebar-profile-copy small{font-size:10px;color:var(--muted);margin-top:4px}.sidebar-profile-arrow{font-size:22px;color:#8b8b85;text-align:center}
#profileModal{width:min(860px,calc(100% - 28px))}.profile-summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fbfbf9,#f0f0ec);padding:15px}.profile-summary-logo{width:58px;height:58px;border-radius:17px;box-shadow:0 8px 22px rgba(0,0,0,.15)}.profile-summary-copy{display:flex;flex-direction:column;min-width:0}.profile-summary-copy>span,.profile-summary-copy small,.profile-balance span{color:var(--muted);font-size:10px}.profile-summary-copy strong{margin:4px 0 5px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-summary-copy small span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.profile-balance{display:flex;flex-direction:column;align-items:flex-end;min-width:88px}.profile-balance strong{font-size:20px;margin-top:5px}.profile-action-row{display:flex;align-items:center;gap:12px;margin:12px 0 16px}.profile-action-row span{color:var(--muted);font-size:11px}.profile-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-record-panel{min-width:0;border:1px solid var(--line);border-radius:14px;padding:13px;background:#fff}.profile-record-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 2px 8px;border-bottom:1px solid var(--line)}.profile-record-head h3{font-size:13px;margin:0}.profile-record-head span{font-size:10px;color:var(--muted)}.profile-ledger-list{height:min(270px,32dvh)}.profile-ledger-list .empty-state{padding:42px 10px}.profile-modal-footer{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.profile-logout-button{height:38px;border:1px solid #e8c5c2;background:#fff8f7;color:var(--danger);border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.profile-logout-button:hover{background:#fff0ee}
@media(max-width:780px){#profileModal{width:min(560px,calc(100% - 20px))}.profile-record-grid{grid-template-columns:1fr}.profile-ledger-list{height:min(180px,23dvh)}.profile-summary{grid-template-columns:50px minmax(0,1fr) auto}.profile-summary-logo{width:50px;height:50px;border-radius:15px}}
@media(max-width:420px){.profile-summary{grid-template-columns:46px minmax(0,1fr);gap:11px}.profile-summary-logo{width:46px;height:46px}.profile-balance{grid-column:1/-1;width:100%;padding-top:10px;border-top:1px solid var(--line);flex-direction:row;align-items:center;justify-content:space-between}.profile-balance strong{margin:0;font-size:17px}.profile-action-row{align-items:flex-start;flex-direction:column}.profile-action-row .primary-button{width:100%}.profile-modal-footer .profile-logout-button{width:100%;justify-content:center}}

.chat-scroll.history-jump{scroll-behavior:auto}.image-card img{height:auto}.batch-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:820px}.batch-image-grid.single{grid-template-columns:minmax(0,620px)}.batch-image-grid .image-card{max-width:none;min-width:0}.batch-image-grid:not(.single) .image-card img{height:360px;max-height:46dvh}.batch-failure-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:820px;margin-top:10px}.batch-failure-list .failure-card{max-width:none}.batch-progress-card{max-width:820px}.batch-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}.batch-progress-item{min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--soft);padding:11px}.batch-progress-item strong,.batch-progress-item span{display:block}.batch-progress-item strong{font-size:11px}.batch-progress-item span{font-size:10px;color:var(--muted);margin-top:4px}.batch-progress-item[data-status="succeeded"]{border-color:#b9ddca;background:#f5fbf7}.batch-progress-item[data-status="succeeded"] span{color:var(--green)}.batch-progress-item[data-status="failed"]{border-color:#edc8c4;background:#fffafa}.batch-progress-item[data-status="failed"] span{color:var(--danger)}.batch-progress-item[data-status="cancelled"]{opacity:.68}.batch-progress-item:is([data-status="succeeded"],[data-status="failed"],[data-status="cancelled"]) .progress-line{display:none}#countSelect{max-width:56px}
@media(max-width:780px){.batch-image-grid,.batch-failure-list{grid-template-columns:1fr}.batch-image-grid:not(.single) .image-card img{height:auto;max-height:640px}.batch-progress-grid{grid-template-columns:1fr}.tool-left{overflow-x:auto;scrollbar-width:none}.tool-left::-webkit-scrollbar{display:none}}
@media(max-width:420px){#countSelect{max-width:46px}.composer-toolbar{gap:6px}.batch-image-grid{gap:9px}}
.image-modal>img{-webkit-touch-callout:default;user-select:auto}.image-modal button:disabled{opacity:.62;cursor:wait}
@media(hover:none),(pointer:coarse){.conversation-more{opacity:1;pointer-events:auto}.conversation-main{-webkit-tap-highlight-color:rgba(0,0,0,.08)}}
