.HeaderChatBar_floatingBar__TqL9x{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);width:min(1040px,calc(100vw - 48px));z-index:200}.HeaderChatBar_chatCardOuter__D86x8{width:100%}.HeaderChatBar_chatCardInner__gEAT2{width:100%;background:#fff;border:1.5px solid rgba(59,91,255,.2);border-radius:22px;box-shadow:0 24px 72px rgba(59,91,255,.12),0 8px 24px rgba(15,23,42,.08),0 0 0 1px rgba(59,91,255,.05);overflow:visible;transition:border-color .15s ease,box-shadow .15s ease}.HeaderChatBar_chatCardOuter__D86x8:focus-within .HeaderChatBar_chatCardInner__gEAT2{border-color:rgba(59,91,255,.42);box-shadow:0 24px 72px rgba(59,91,255,.17),0 8px 24px rgba(15,23,42,.1),0 0 0 4px rgba(59,91,255,.08)}.HeaderChatBar_refChipRow__7VTce{display:flex;align-items:center;flex-wrap:wrap;padding:10px 16px 0;gap:8px;background:#fff;border-radius:20px 20px 0 0}.HeaderChatBar_refChip__LIkyX{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border-radius:8px;background:rgba(59,91,255,.06);border:1px solid rgba(59,91,255,.18)}.HeaderChatBar_refChipImg__pQrIZ{width:26px;height:26px;border-radius:5px;object-fit:cover;flex-shrink:0}.HeaderChatBar_refChipLabel__uvKEN{font-size:11px;font-weight:600;color:#3b5bff}.HeaderChatBar_refChipRemove__EXw_K{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:none;background:rgba(59,91,255,.15);color:#3b5bff;cursor:pointer;padding:0;transition:background .12s ease}.HeaderChatBar_refChipRemove__EXw_K:hover{background:rgba(239,68,68,.18);color:#ef4444}.HeaderChatBar_textarea__iGQva{width:100%;padding:18px 24px 10px;border:none;background:transparent;font-family:inherit;font-size:15px;font-weight:500;color:#0f172a;outline:none;resize:none;line-height:1.6;min-height:58px;max-height:220px;display:block;overflow-y:auto;scrollbar-width:none;border-radius:20px 20px 0 0}.HeaderChatBar_textarea__iGQva::-webkit-scrollbar{display:none}.HeaderChatBar_textarea__iGQva::placeholder{color:#94a3b8;font-weight:400}.HeaderChatBar_textarea__iGQva:disabled{opacity:.6;cursor:not-allowed}.HeaderChatBar_toolbar__C3y_K{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 13px;border-top:1px solid rgba(226,232,240,.7);gap:8px;position:relative;border-radius:0 0 20px 20px;background:#fff}.HeaderChatBar_toolbarLeft__yowTO{display:flex;align-items:center;gap:4px;overflow:visible}.HeaderChatBar_toolbarRight__OAxjN{display:flex;align-items:center;gap:6px;flex-shrink:0}.HeaderChatBar_divider__fkI_s{width:1px;height:18px;background:rgba(226,232,240,.9);margin:0 3px;flex-shrink:0}.HeaderChatBar_toolBtn__upT_U{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:8px;background:transparent;color:#64748b;cursor:pointer;transition:all .13s ease;padding:0;flex-shrink:0}.HeaderChatBar_toolBtn__upT_U:hover{background:rgba(59,91,255,.07);color:#3b5bff}.HeaderChatBar_toolBtn__upT_U:disabled{opacity:.45;cursor:not-allowed}.HeaderChatBar_toolBtnActive__9rtQH{color:#3b5bff;background:rgba(59,91,255,.08)}.HeaderChatBar_spinner__hJSra{animation:HeaderChatBar_spin__hU5bU .85s linear infinite}@keyframes HeaderChatBar_spin__hU5bU{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.HeaderChatBar_settingWrap__Jvea0{position:relative}.HeaderChatBar_settingBtn__0K8Pd{min-width:108px;display:inline-flex;align-items:center;justify-content:space-between;gap:4px;border-radius:7px;border:1px solid rgba(226,232,240,.85);background:rgba(248,250,252,.9);color:#475569;cursor:pointer;transition:all .13s ease;white-space:nowrap}.HeaderChatBar_settingBtn__0K8Pd,.HeaderChatBar_toolbarNickname__UAEh5{height:28px;padding:0 9px;font-size:11px;font-weight:600;font-family:inherit;flex-shrink:0}.HeaderChatBar_toolbarNickname__UAEh5{width:140px;border:1px solid rgba(59,91,255,.3);border-radius:7px;background:rgba(59,91,255,.04);color:#0f172a;outline:none;transition:border-color .13s ease,background .13s ease}.HeaderChatBar_toolbarNickname__UAEh5::placeholder{color:#94a3b8;font-weight:400}.HeaderChatBar_toolbarNickname__UAEh5:focus{border-color:rgba(59,91,255,.55);background:#fff}.HeaderChatBar_toolbarNickname__UAEh5:disabled{opacity:.55;cursor:not-allowed}.HeaderChatBar_settingBtnOpen__ia9UA,.HeaderChatBar_settingBtn__0K8Pd:hover{background:rgba(59,91,255,.07);border-color:rgba(59,91,255,.25);color:#3b5bff}.HeaderChatBar_chevron__we34L{transition:transform .15s ease;flex-shrink:0}.HeaderChatBar_chevronOpen__Q7FCu{transform:rotate(180deg);transition:transform .15s ease}.HeaderChatBar_settingBtnSimple__BL_0A{height:28px;padding:0 9px;display:inline-flex;align-items:center;border-radius:7px;border:1px solid rgba(226,232,240,.8);background:rgba(248,250,252,.9);color:#475569;font-size:11px;font-weight:600;cursor:pointer;transition:all .13s ease;font-family:inherit;white-space:nowrap;flex-shrink:0}.HeaderChatBar_settingBtnSimpleOpen__2podH,.HeaderChatBar_settingBtnSimple__BL_0A:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.HeaderChatBar_modelToggle__1xPLA{height:28px;padding:0 9px;display:inline-flex;align-items:center;gap:4px;border-radius:7px;border:1px solid rgba(226,232,240,.8);background:rgba(248,250,252,.9);color:#64748b;font-size:11px;font-weight:600;cursor:pointer;transition:all .13s ease;font-family:inherit;white-space:nowrap;flex-shrink:0}.HeaderChatBar_modelToggle__1xPLA:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#334155}.HeaderChatBar_modelToggleActive__j3WKn,.HeaderChatBar_modelToggleActive__j3WKn:hover:not(:disabled){background:#0f172a;border-color:#0f172a;color:#fff}.HeaderChatBar_modelToggle__1xPLA:disabled{opacity:.4;cursor:not-allowed}.HeaderChatBar_modelToggleIcon__8fPCd{flex-shrink:0}.HeaderChatBar_settingDropdown__WU4sO{position:absolute;bottom:calc(100% + 8px);left:0;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 16px 40px rgba(15,23,42,.14),0 2px 8px rgba(15,23,42,.06);overflow:hidden;min-width:160px;z-index:9999;animation:HeaderChatBar_dropIn__chvzn .13s ease}.HeaderChatBar_settingDropdownSm__ppU1J{min-width:120px}.HeaderChatBar_settingDropdownRight__heDcT{left:auto;right:0}@keyframes HeaderChatBar_dropIn__chvzn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.HeaderChatBar_settingItem__Mhk_s{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 13px;border:none;background:none;color:#334155;font-size:12px;font-weight:500;cursor:pointer;transition:background .1s;font-family:inherit;text-align:left}.HeaderChatBar_settingItem__Mhk_s:hover{background:#f8fafc}.HeaderChatBar_settingItemActive__6G8kw{background:rgba(59,91,255,.05);color:#3b5bff}.HeaderChatBar_settingItemActive__6G8kw:hover{background:rgba(59,91,255,.1)}.HeaderChatBar_settingItemLabel__tf7fY{font-size:12px;font-weight:600;color:inherit;white-space:nowrap}.HeaderChatBar_settingItemCredit__ob7_N,.HeaderChatBar_settingItemDesc__iyPrK{font-size:10px;font-weight:400;color:#94a3b8;white-space:nowrap}.HeaderChatBar_errorMsg__jNYxG{font-size:11px;color:#e53e3e;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}.HeaderChatBar_creditPill__KNYMO{height:28px;padding:0 9px;border-radius:8px;background:rgba(241,245,249,.9);border:1px solid rgba(226,232,240,.85);color:#64748b;font-size:11px;font-weight:600}.HeaderChatBar_creditPill__KNYMO,.HeaderChatBar_estimate__9mHCJ{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.HeaderChatBar_estimate__9mHCJ{font-size:11.5px;font-weight:500;color:#94a3b8}.HeaderChatBar_estimate__9mHCJ svg{flex-shrink:0}.HeaderChatBar_sendBtn___p52L{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;background:rgba(226,232,240,.6);color:#94a3b8;cursor:not-allowed;transition:background .15s,color .15s;padding:0;flex-shrink:0}.HeaderChatBar_sendBtnActive__yMz04{background:#0f172a;color:#fff;cursor:pointer}.HeaderChatBar_sendBtnActive__yMz04:hover{background:#1e293b}.HeaderChatBar_sendBtn___p52L:disabled{background:rgba(226,232,240,.6);color:#94a3b8;cursor:not-allowed}.HeaderChatBar_mobileToolbar__8pJd8{display:flex;flex-direction:column;border-top:1px solid rgba(226,232,240,.7)}.HeaderChatBar_mobileSettingsRow__QNBi6{display:flex;align-items:center;gap:5px;padding:8px 10px 0;flex-wrap:wrap}.HeaderChatBar_mobileActionRow__sbjDL{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:6px 10px 10px}.HeaderChatBar_mobilePill__u1U2h{height:28px;padding:0 9px;border-radius:7px;font-size:12px;font-weight:500}.HeaderChatBar_mobileCredit__rMiZO{font-size:11px;font-weight:500}.HeaderChatBar_mobileNick__IM0Ii{width:80px;height:28px;padding:0 8px;border-radius:7px;font-size:12px}.HeaderChatBar_mobileNick__IM0Ii:focus{background:#fff}.HeaderChatBar_mobileActionSpacer__3IGdg{flex:1}.HeaderChatBar_mobileErrorRow__6n99a{padding:6px 12px 2px;font-size:11px;color:#e53e3e;line-height:1.4}.HeaderChatBar_mobileRow__OrLmm{display:flex;align-items:center;gap:5px;padding:8px 10px 10px;overflow-x:auto;scrollbar-width:none}.HeaderChatBar_mobileRow__OrLmm::-webkit-scrollbar{display:none}.HeaderChatBar_mobileAction__Qiadz{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;border-radius:7px;background:transparent;color:#64748b;cursor:pointer;transition:all .13s ease;padding:0;flex-shrink:0}.HeaderChatBar_mobileAction__Qiadz:hover{background:rgba(59,91,255,.07);color:#3b5bff}.HeaderChatBar_mobileAction__Qiadz:disabled{opacity:.45;cursor:not-allowed}.HeaderChatBar_mobileActionActive__2RTgC{color:#3b5bff;background:rgba(59,91,255,.08)}.HeaderChatBar_mobilePill__u1U2h{height:26px;padding:0 7px;display:flex;align-items:center;border-radius:6px;border:1px solid rgba(226,232,240,.85);background:rgba(248,250,252,.9);color:#475569;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .13s ease;white-space:nowrap;flex-shrink:0}.HeaderChatBar_mobilePill__u1U2h:hover{background:rgba(59,91,255,.07);border-color:rgba(59,91,255,.25);color:#3b5bff}.HeaderChatBar_mobilePill__u1U2h:disabled{opacity:.45;cursor:not-allowed}.HeaderChatBar_mobileCredit__rMiZO{font-size:10px;font-weight:600;color:#94a3b8;white-space:nowrap;flex-shrink:0}.HeaderChatBar_mobileNick__IM0Ii{width:70px;min-width:0;height:26px;padding:0 6px;border:1px solid rgba(59,91,255,.3);border-radius:6px;background:rgba(59,91,255,.04);font-family:inherit;font-size:11px;font-weight:500;color:#0f172a;outline:none;transition:border-color .13s ease;flex-shrink:1}.HeaderChatBar_mobileNick__IM0Ii::placeholder{color:#94a3b8}.HeaderChatBar_mobileNick__IM0Ii:focus{border-color:rgba(59,91,255,.55)}.HeaderChatBar_mobileRowSpacer__H5yau{flex:1;min-width:4px}.HeaderChatBar_modalOverlay__nHE0I{position:fixed;inset:0;background:rgba(0,0,0,.4);backdrop-filter:blur(4px);z-index:10000;display:flex;align-items:flex-end;justify-content:center;animation:HeaderChatBar_fadeIn__7kbGg .12s ease}@keyframes HeaderChatBar_fadeIn__7kbGg{0%{opacity:0}to{opacity:1}}@keyframes HeaderChatBar_sheetUp__eAzSg{0%{transform:translateY(100%)}to{transform:translateY(0)}}.HeaderChatBar_modalSheet__LJLMe{width:100%;max-width:480px;max-height:70dvh;background:#fff;border-radius:20px 20px 0 0;overflow-y:auto;animation:HeaderChatBar_sheetUp__eAzSg .22s cubic-bezier(.16,1,.3,1);padding-bottom:env(safe-area-inset-bottom,0)}.HeaderChatBar_modalHeader__N582t{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 12px;border-bottom:1px solid rgba(226,232,240,.7);position:sticky;top:0;background:#fff;border-radius:20px 20px 0 0;z-index:1}.HeaderChatBar_modalTitle__saC2K{font-size:15px;font-weight:700;color:#0f172a}.HeaderChatBar_modalClose__4kod1{width:32px;height:32px;border-radius:50%;border:none;background:rgba(241,245,249,.9);color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .13s,color .13s;padding:0}.HeaderChatBar_modalClose__4kod1:hover{background:#e2e8f0;color:#334155}.HeaderChatBar_modalGrid__FGpir{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:16px 18px}.HeaderChatBar_modalOption__Q5fPc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:14px 10px;border-radius:12px;border:1.5px solid rgba(226,232,240,.9);background:#fff;cursor:pointer;transition:all .13s ease;font-family:inherit}.HeaderChatBar_modalOption__Q5fPc:hover{border-color:rgba(59,91,255,.3);background:rgba(59,91,255,.03)}.HeaderChatBar_modalOptionActive__814_w{border-color:#3b5bff;background:rgba(59,91,255,.06)}.HeaderChatBar_modalOptionActive__814_w:hover{border-color:#3b5bff;background:rgba(59,91,255,.08)}.HeaderChatBar_modalOptionName__7hCDx{font-size:14px;font-weight:600;color:#0f172a;line-height:1.3}.HeaderChatBar_modalOptionActive__814_w .HeaderChatBar_modalOptionName__7hCDx{color:#3b5bff}.HeaderChatBar_modalOptionDesc__yGmbx{font-size:11px;font-weight:400;color:#94a3b8;line-height:1}.HeaderChatBar_modalNicknameRow__HTFlF{padding:0 18px 18px}.HeaderChatBar_modalInput__nv92a{width:100%;height:42px;padding:0 14px;border:1.5px solid rgba(59,91,255,.25);border-radius:10px;background:rgba(59,91,255,.04);font-family:inherit;font-size:14px;font-weight:500;color:#0f172a;outline:none;transition:border-color .13s ease,background .13s ease}.HeaderChatBar_modalInput__nv92a::placeholder{color:#94a3b8;font-weight:400}.HeaderChatBar_modalInput__nv92a:focus{border-color:rgba(59,91,255,.55);background:#fff}@media (max-width:900px){.HeaderChatBar_floatingBar__TqL9x{width:calc(100vw - 32px);bottom:16px}.HeaderChatBar_settingBtn__0K8Pd{font-size:10px;height:26px;padding:0 7px}}@media (max-width:767px){.HeaderChatBar_floatingBar__TqL9x{width:100%;bottom:0;left:0;transform:none}.HeaderChatBar_chatCardInner__gEAT2{border-radius:18px 18px 0 0;border-bottom:none;box-shadow:0 -4px 24px rgba(15,23,42,.08);padding-bottom:calc(10px + env(safe-area-inset-bottom, 0px))}.HeaderChatBar_chatCardOuter__D86x8:focus-within .HeaderChatBar_chatCardInner__gEAT2{box-shadow:0 -4px 24px rgba(59,91,255,.13)}}.HeaderChatBar_mobileTopRow__FYGVG{display:flex;gap:8px;align-items:stretch;padding:12px 14px 0}.HeaderChatBar_mobilePillLg__78R8W{flex:1;height:42px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .13s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px;font-family:inherit}.HeaderChatBar_mobilePillLg__78R8W:active{background:#f1f5f9}.HeaderChatBar_mobilePillLg__78R8W:disabled{opacity:.4;cursor:not-allowed}.HeaderChatBar_mobileAttachBtn__xUtjf{width:42px;height:42px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;transition:all .13s}.HeaderChatBar_mobileAttachBtn__xUtjf:active{background:#f1f5f9}.HeaderChatBar_mobileAttachBtn__xUtjf:disabled{opacity:.4;cursor:not-allowed}.HeaderChatBar_mobileAttachBtnActive__kFHQW{border-color:#c7d2fe;background:#f0f4ff;color:#3b5bff}.HeaderChatBar_mobileRefRow__ab4Q7{padding:8px 14px 0;display:flex;flex-wrap:wrap;gap:8px}.HeaderChatBar_mobileTextarea__Vitdv{width:100%;padding:10px 14px;border:none;background:transparent;font-size:14px;color:#0f172a;resize:none;outline:none;font-family:inherit;min-height:56px;max-height:110px;box-sizing:border-box;line-height:1.5}.HeaderChatBar_mobileTextarea__Vitdv::placeholder{color:#94a3b8}.HeaderChatBar_mobileTextarea__Vitdv:disabled{opacity:.6}.HeaderChatBar_mobileNickRow__h5_lD{padding:0 14px}.HeaderChatBar_mobileNickFull___GEup{width:100%;height:38px;padding:0 12px;border:1.5px solid rgba(59,91,255,.25);border-radius:8px;background:rgba(59,91,255,.04);font-family:inherit;font-size:13px;color:#0f172a;outline:none;box-sizing:border-box;transition:border-color .13s}.HeaderChatBar_mobileNickFull___GEup:focus{border-color:rgba(59,91,255,.5);background:#fff}.HeaderChatBar_mobileNickFull___GEup::placeholder{color:#94a3b8}.HeaderChatBar_mobileErrorBanner__5xHpE{margin:6px 14px 0;padding:7px 10px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;font-size:12px;color:#b91c1c;line-height:1.4}.HeaderChatBar_mobileSettingsBar__CYiSA{display:flex;align-items:center;gap:8px;padding:8px 14px 4px}.HeaderChatBar_mobileStepperWrap__S3JqJ{display:flex;align-items:center;height:36px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;overflow:hidden;flex-shrink:0}.HeaderChatBar_mobileStepBtn__HudzO{width:32px;height:36px;border:none;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#475569;transition:background .13s}.HeaderChatBar_mobileStepBtn__HudzO:active:not(:disabled){background:#e2e8f0}.HeaderChatBar_mobileStepBtn__HudzO:disabled{opacity:.35;cursor:not-allowed}.HeaderChatBar_mobileStepVal__3FJfF{font-size:12px;font-weight:600;color:#0f172a;min-width:28px;text-align:center}.HeaderChatBar_mobileQualityBtn__VzZvi{display:flex;align-items:center;gap:4px;height:36px;padding:0 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .13s;flex-shrink:0;font-family:inherit}.HeaderChatBar_mobileQualityBtn__VzZvi:active{background:#f1f5f9}.HeaderChatBar_mobileModelToggle__06CN2{display:flex;align-items:center;gap:4px;height:36px;padding:0 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .13s;flex-shrink:0;font-family:inherit}.HeaderChatBar_mobileModelToggleActive__3tX0N{background:#0f172a;border-color:#0f172a;color:#fff}.HeaderChatBar_mobileModelToggle__06CN2:disabled{opacity:.4;cursor:not-allowed}.HeaderChatBar_mobileCreditBadge__aIxkt{font-size:12px;font-weight:600;color:#94a3b8;white-space:nowrap;flex-shrink:0}.HeaderChatBar_mobileGenBtn__PRVH4{width:calc(100% - 28px);margin:6px 14px 0;height:46px;background:#e2e8f0;color:#94a3b8;border:none;border-radius:12px;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;cursor:not-allowed;transition:all .15s;font-family:inherit}.HeaderChatBar_mobileGenBtnActive___BDPo{background:#1f3aff;color:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(31,58,255,.28)}.HeaderChatBar_mobileGenBtnActive___BDPo:active{transform:scale(.98);box-shadow:0 2px 8px rgba(31,58,255,.2)}