.StudioChatBar_band__1svxO{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:44px 12px 20px;pointer-events:none}.StudioChatBar_dock__B1L0w,.StudioChatBar_switchRow__sxAfD{position:relative}.StudioChatBar_dock__B1L0w{width:min(920px,100%);margin:0 auto;pointer-events:auto}.StudioChatBar_card__NsUEq{--bar-body-h:224px;--bar-bg:#fff;--bar-border:#e2e8f0;--bar-line:rgba(226,232,240,0.7);--bar-text:#0f172a;--bar-sub:#475569;--bar-muted:#94a3b8;--bar-soft:rgba(248,250,252,0.9);--bar-chip-border:rgba(226,232,240,0.85);--bar-hover:#f8fafc;--bar-active:#f1f5f9;--bar-accent:#1f3aff;position:relative;min-height:var(--bar-body-h);max-width:100%;border:none;border-radius:22px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 4px 16px rgba(15,23,42,.07)}.StudioChatBar_card__NsUEq:before{content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;background:linear-gradient(135deg,rgba(31,58,255,.5),rgba(31,58,255,.12) 28%,rgba(148,163,184,.28) 52%,rgba(31,58,255,.14) 74%,rgba(31,58,255,.42));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none}.StudioChatBar_cardWithText__3C6Ep{--bar-body-h:274px}.StudioChatBar_cardDragging__nr6RR:before{background:var(--bar-accent)}.StudioChatBar_modeStack__6aMdp{position:relative;height:var(--bar-body-h)}.StudioChatBar_modeBody__uDHvY{position:absolute;inset:0;display:flex;flex-direction:column}.StudioChatBar_switchRow__sxAfD{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px 4px}.StudioChatBar_modeSwitch__f_sWg{--switch-accent:#1f3aff;position:relative;z-index:0;display:inline-flex;gap:2px;padding:2px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.StudioChatBar_modeBtn__y0a_z{position:relative;width:84px;height:28px;border-radius:8px;font-size:12px;font-weight:600;color:#64748b;transition:color .13s ease}.StudioChatBar_modeBtn__y0a_z:hover{color:var(--switch-accent)}.StudioChatBar_modeBtnActive__GulEO,.StudioChatBar_modeBtnActive__GulEO:hover{color:#fff}.StudioChatBar_modeLabel__N800z{position:relative;z-index:1}.StudioChatBar_modePill__24OmL{position:absolute;top:2px;left:2px;width:84px;height:28px;border-radius:8px;background:var(--switch-accent);transition:transform .22s cubic-bezier(.32,.72,0,1)}.StudioChatBar_modePillEnd__npNTZ{transform:translateX(calc(100% + 2px))}@media (prefers-reduced-motion:reduce){.StudioChatBar_modePill__24OmL{transition:none}}.StudioChatBar_doneBtn__0oJGT{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;height:34px;padding:0 14px;border-radius:9px;background:#0f172a;color:#fff;font-size:13px;font-weight:600}.StudioChatBar_refRow__dIQvZ{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0;padding:12px 16px 0}.StudioChatBar_refChip__cPhfF{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:1px solid rgba(31,58,255,.18);border-radius:8px;background:rgba(31,58,255,.06)}.StudioChatBar_refChipImg__Rzc8Q{width:26px;height:26px;flex-shrink:0;border-radius:5px;object-fit:cover}.StudioChatBar_refChipLabel___3vB4{color:var(--bar-sub);font-size:11px;font-weight:600}.StudioChatBar_refChipRemove__eVm1J{display:inline-flex;color:var(--bar-muted);transition:color .13s ease}.StudioChatBar_refChipRemove__eVm1J:hover{color:#ef4444}.StudioChatBar_textarea__8RlSI{flex:1;min-height:0;width:100%;padding:20px 24px 10px;border:none;border-radius:22px 22px 0 0;background:transparent;color:var(--bar-text);font-family:inherit;font-size:16px;font-weight:500;line-height:1.6;outline:none;resize:none;overflow-y:auto;scrollbar-width:none}.StudioChatBar_textarea__8RlSI::placeholder{color:var(--bar-muted);font-weight:400}.StudioChatBar_tmplGrid__Cj79n{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;flex:1;min-height:0;padding:12px 18px}.StudioChatBar_imageSlot__6SH7Z{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%;max-height:104px;aspect-ratio:1;overflow:hidden;border:1px dashed var(--bar-chip-border);border-radius:12px;color:var(--bar-muted);cursor:pointer;transition:border-color .13s ease,color .13s ease}.StudioChatBar_imageSlot__6SH7Z:hover{border-color:var(--bar-accent);color:var(--bar-accent)}.StudioChatBar_imageSlotFilled__qdItc{border-style:solid;gap:0}.StudioChatBar_slotImg__PCdQD{width:100%;height:100%;object-fit:cover}.StudioChatBar_slotRemove__vCCwB{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:rgba(15,23,42,.62);color:#fff}.StudioChatBar_slotHint__Xb4zv{font-size:11px;font-weight:600}.StudioChatBar_templateSlot__eif6R{display:flex;align-items:center;gap:12px;height:100%;max-height:104px;overflow:hidden;border:1px solid var(--bar-chip-border);border-radius:12px;text-align:left;cursor:pointer;transition:border-color .13s ease}.StudioChatBar_templateSlot__eif6R:hover{border-color:var(--bar-accent)}.StudioChatBar_templateThumb__5fULc{object-fit:cover}.StudioChatBar_templateBlank__bS3yp,.StudioChatBar_templateThumb__5fULc{height:100%;width:auto;aspect-ratio:1;flex-shrink:0;background:var(--bar-soft)}.StudioChatBar_templateBlank__bS3yp{display:flex;align-items:center;justify-content:center;color:var(--bar-muted)}.StudioChatBar_templateMeta__jyzTi{min-width:0}.StudioChatBar_templateName__VyOl3{color:var(--bar-text);font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.StudioChatBar_templateSub__7a6zd{margin-top:2px;color:var(--bar-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.StudioChatBar_templateChevron__Ex_v7{margin-left:auto;margin-right:12px;flex-shrink:0;color:var(--bar-muted)}.StudioChatBar_twist__NKBqf{width:100%;min-width:0;flex-shrink:0;height:52px;padding:0 18px;border:none;background:transparent;color:var(--bar-text);font-family:inherit;font-size:15px;font-weight:500;outline:none}.StudioChatBar_twist__NKBqf::placeholder{color:var(--bar-muted);font-weight:400}.StudioChatBar_toolbar__komoV{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;margin-top:auto;padding:10px 16px 14px;border-top:1px solid var(--bar-line)}.StudioChatBar_toolbarScroll__35G4K{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;flex:1 1 auto}.StudioChatBar_toolbarEnd__LZ__x{display:flex;align-items:center;gap:8px;flex-shrink:0}.StudioChatBar_toolBtn__Jf115{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid transparent;border-radius:10px;color:var(--bar-sub);transition:background .13s ease,color .13s ease}.StudioChatBar_toolBtn__Jf115:hover:not(:disabled){border-color:var(--bar-chip-border);background:rgba(31,58,255,.07);color:var(--bar-accent)}.StudioChatBar_toolBtn__Jf115:disabled{opacity:.45;cursor:not-allowed}.StudioChatBar_toolBtnActive__nMkIM{border-color:rgba(31,58,255,.22);background:rgba(31,58,255,.08);color:var(--bar-accent)}.StudioChatBar_settingWrap__Gh0H5{position:relative}.StudioChatBar_settingBtn__DDMkS{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 13px;border:1px solid var(--bar-chip-border);border-radius:10px;background:var(--bar-soft);color:var(--bar-text);font-size:13px;font-weight:500;white-space:nowrap;transition:border-color .13s ease,background .13s ease,color .13s ease}.StudioChatBar_settingBtnOpen__lH1Fm,.StudioChatBar_settingBtn__DDMkS:hover{border-color:#cbd5e1;background:#fff;color:var(--bar-text)}.StudioChatBar_modelIcon__um19J{flex-shrink:0;color:#0f172a}.StudioChatBar_modelChip__IfpnI{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 13px;border:1px solid var(--bar-chip-border);border-radius:10px;background:var(--bar-soft);color:var(--bar-sub);font-size:13px;font-weight:500;white-space:nowrap}.StudioChatBar_settingDropdown__Gsy6O{position:absolute;bottom:calc(100% + 8px);left:0;min-width:184px;max-width:calc(100vw - 40px);overflow:hidden;border:1px solid var(--bar-border);border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.14);z-index:60}.StudioChatBar_settingDropdownRight__M_nxP{left:auto;right:0}.StudioChatBar_settingItem__LjBlo{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:11px 14px;color:var(--bar-sub);font-size:13px;font-weight:500;text-align:left;transition:background .1s ease}.StudioChatBar_settingItem__LjBlo:hover{background:var(--bar-hover)}.StudioChatBar_settingItemActive__784RY{background:var(--bar-active);color:var(--bar-text)}.StudioChatBar_settingItemNote__3P98P{display:inline-flex;align-items:center;flex-shrink:0;color:var(--bar-muted);font-size:12px}.StudioChatBar_lockGlyph__HZq_Z{flex-shrink:0;margin-right:4px;vertical-align:-1px;color:var(--bar-muted)}.StudioChatBar_settingItemLabel__GSLqj{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.StudioChatBar_costPill__5a8gs{display:inline-flex;padding:0 13px;border:1px solid var(--bar-chip-border);background:var(--bar-soft);color:var(--bar-sub)}.StudioChatBar_costPill__5a8gs,.StudioChatBar_sendBtn__vpwxE{align-items:center;justify-content:center;min-width:116px;height:38px;border-radius:10px;font-size:13px;font-weight:600;white-space:nowrap}.StudioChatBar_sendBtn__vpwxE{display:flex;gap:7px;padding:0 16px;flex-shrink:0;background:var(--bar-accent);color:#fff;letter-spacing:.01em;cursor:not-allowed;transition:background .15s ease}.StudioChatBar_sendBtnActive__PK5ZC{cursor:pointer}.StudioChatBar_sendBtnActive__PK5ZC:hover{background:#0f172a}.StudioChatBar_error__oGHJE{flex-shrink:0;padding:0 16px 10px;color:#dc2626;font-size:12px}.StudioChatBar_hint__khrIt{flex-shrink:0;padding:0 18px 10px;color:var(--bar-muted);font-size:12px}.StudioChatBar_spinner__FwcOB{animation:StudioChatBar_spin__StOGF .9s linear infinite}@keyframes StudioChatBar_spin__StOGF{to{transform:rotate(1turn)}}.StudioChatBar_ratioGlyph__ro6CV{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0}.StudioChatBar_ratioGlyph__ro6CV>span{display:block;border:1.25px solid;border-radius:2px}.StudioChatBar_ratioAuto__yDnEo{width:15px;height:15px;border-style:dashed!important;opacity:.75}@media (max-width:767px){.StudioChatBar_band__1svxO{padding:0}.StudioChatBar_dock__B1L0w{position:relative;width:100%;padding-bottom:env(safe-area-inset-bottom,0);border-radius:18px 18px 0 0;background:rgba(255,255,255,.94);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 -4px 24px rgba(15,23,42,.09)}.StudioChatBar_dock__B1L0w:before{content:"";position:absolute;inset:0;padding:1px 1px 0;border-radius:inherit;background:linear-gradient(100deg,rgba(31,58,255,.45),rgba(31,58,255,.1) 35%,rgba(148,163,184,.24) 60%,rgba(31,58,255,.38));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none}.StudioChatBar_switchRow__sxAfD{margin:0;padding:10px 12px 2px}.StudioChatBar_card__NsUEq{--bar-body-h:214px;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none}.StudioChatBar_card__NsUEq:before{display:none}.StudioChatBar_cardWithText__3C6Ep{--bar-body-h:258px}.StudioChatBar_bandExpanded__4VNLA{z-index:10000;top:var(--composer-top,0);bottom:auto;height:var(--composer-h,100dvh);padding:12px 12px 0;background:#fff}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_dock__B1L0w{display:flex;flex-direction:column;height:100%;padding-bottom:0;border:none;border-radius:0;background:none;box-shadow:none}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_switchRow__sxAfD{margin:0 0 10px;padding:0;flex-shrink:0}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_card__NsUEq{display:flex;flex-direction:column;flex:1;min-height:0;margin-bottom:env(safe-area-inset-bottom,0);border-radius:16px;background:#fff;box-shadow:none}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_card__NsUEq:before{display:block}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_dock__B1L0w:before{display:none}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_modeStack__6aMdp{flex:1;min-height:0;height:auto}.StudioChatBar_bandExpanded__4VNLA .StudioChatBar_textarea__8RlSI{flex:1}.StudioChatBar_refRow__dIQvZ{padding:10px 14px 0}.StudioChatBar_textarea__8RlSI{padding:14px 16px 6px;font-size:15px}.StudioChatBar_error__oGHJE{padding:0 14px 8px}.StudioChatBar_toolbarTight__4aQfc,.StudioChatBar_toolbar__komoV{flex-direction:column;align-items:stretch;gap:8px;padding:8px 12px 12px}.StudioChatBar_toolbarEnd__LZ__x{gap:8px}.StudioChatBar_toolbarTight__4aQfc,.StudioChatBar_toolbar__komoV{position:relative}.StudioChatBar_settingWrap__Gh0H5{position:static}.StudioChatBar_settingDropdownRight__M_nxP,.StudioChatBar_settingDropdown__Gsy6O{left:12px;right:12px;bottom:calc(100% + 8px);width:auto;min-width:0;max-width:none;max-height:52vh;overflow-y:auto}.StudioChatBar_toolbarEnd__LZ__x .StudioChatBar_costPill__5a8gs{flex-shrink:0}.StudioChatBar_toolbarEnd__LZ__x .StudioChatBar_sendBtn__vpwxE{flex:1}.StudioChatBar_toolBtn__Jf115{width:36px;height:36px}.StudioChatBar_costPill__5a8gs,.StudioChatBar_modelChip__IfpnI,.StudioChatBar_settingBtn__DDMkS{height:36px;padding:0 11px;font-size:12.5px}.StudioChatBar_costPill__5a8gs,.StudioChatBar_sendBtn__vpwxE{min-width:104px}.StudioChatBar_sendBtn__vpwxE{height:36px;padding:0 14px}.StudioChatBar_modeSwitch__f_sWg{margin:0 0 8px 12px}.StudioChatBar_tmplGrid__Cj79n{gap:10px;padding:10px 14px}.StudioChatBar_imageSlot__6SH7Z,.StudioChatBar_templateSlot__eif6R{max-height:96px}.StudioChatBar_templateName__VyOl3{font-size:13px}.StudioChatBar_twist__NKBqf{height:48px;padding:0 14px;font-size:14px}}