.AffectionRewardSetting_container__NJ4ZU{display:flex;flex-direction:column;gap:8px;width:100%}.AffectionRewardSetting_stageItem__GBEB1{background:var(--White,#fff);border:1px solid var(--Neutral-400);border-radius:12px;overflow:hidden;transition:border-color .2s ease}.AffectionRewardSetting_stageItem__GBEB1:hover{border-color:var(--Neutral-400)}.AffectionRewardSetting_stageHeader__CMdZi{display:flex;align-items:center;justify-content:space-between;padding:16px 12px;cursor:pointer;background-color:var(--Neutral-50,#f9fafb);transition:background-color .2s ease;user-select:none}.AffectionRewardSetting_stageHeader__CMdZi:hover{background-color:var(--Neutral-100,#f2f4f7)}.AffectionRewardSetting_stageHeader__CMdZi:active{background-color:var(--Neutral-200,#eaecf0)}.AffectionRewardSetting_stageInfo__Z_evR{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.AffectionRewardSetting_stageTitle__ybpCH{font-family:Lato;font-size:var(--font-size-100);font-weight:var(--font-weight-400);line-height:var(--line-height-075);letter-spacing:var(--letter-spacing-025);font-weight:500;color:var(--Neutral-900,#040415)}.AffectionRewardSetting_stageTarget__8SAcf{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#667085)}.AffectionRewardSetting_imageCount__PfTJV{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:9999px;background:var(--Primary-1);color:var(--White,#fff);font-size:11px;font-weight:600}.AffectionRewardSetting_arrowIcon__isNW2{display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:transform .2s ease}.AffectionRewardSetting_arrowIcon__isNW2 img{width:20px;height:20px;filter:brightness(0) saturate(100%) invert(50%) sepia(0) saturate(0) hue-rotate(0deg) brightness(90%) contrast(90%)}.AffectionRewardSetting_arrowIcon__isNW2.AffectionRewardSetting_expanded__rhxoA{transform:rotate(180deg)}.AffectionRewardSetting_stageContent__uLK7p{padding:12px 16px 16px;border-top:1px solid var(--Neutral-100,#f2f4f7);background:var(--White,#fff)}.AffectionRewardSetting_imageGrid__9436I{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:88px;padding:8px;margin:-8px;border-radius:12px;transition:background-color .2s ease}.AffectionRewardSetting_imageGrid__9436I.AffectionRewardSetting_dropTarget__L2mr2{background:var(--Primary-5);outline:2px dashed var(--Primary-1);outline-offset:-2px}.AffectionRewardSetting_imageItem___0n9f{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;cursor:grab;touch-action:none;border:1px solid var(--Neutral-400);transition:transform .15s ease,box-shadow .15s ease}.AffectionRewardSetting_imageItem___0n9f:hover{transform:scale(1.03);box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.AffectionRewardSetting_imageItem___0n9f:active{cursor:grabbing;transform:scale(1.05)}.AffectionRewardSetting_thumbnail__sICYs{width:100%;height:100%;object-fit:cover}.AffectionRewardSetting_removeButton__ECYn7{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background-color:rgba(0,0,0,.6);border:none;cursor:pointer;transition:background-color .15s ease}.AffectionRewardSetting_removeButton__ECYn7:hover{background-color:rgba(0,0,0,.8)}.AffectionRewardSetting_removeButton__ECYn7 img{width:12px;height:12px;filter:brightness(0) invert(1)}.AffectionRewardSetting_addButton__YWhSz{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:72px;height:72px;border-radius:8px;border:2px dashed var(--Neutral-200);background-color:var(--White,#fff);cursor:pointer;transition:border-color .2s ease,background-color .2s ease}.AffectionRewardSetting_addButton__YWhSz:hover{border-color:var(--Primary-1);background-color:var(--Primary-5)}.AffectionRewardSetting_addButton__YWhSz:hover .AffectionRewardSetting_addIcon__sQY7s{color:var(--Primary-1)}.AffectionRewardSetting_addButton__YWhSz:active{transform:scale(.97)}.AffectionRewardSetting_addIcon__sQY7s{width:20px;height:20px;color:var(--Neutral-400,#98a2b3);transition:color .2s ease}@media(max-width:480px){.AffectionRewardSetting_stageHeader__CMdZi{padding:12px}.AffectionRewardSetting_stageContent__uLK7p{padding:8px 12px 12px}.AffectionRewardSetting_addButton__YWhSz,.AffectionRewardSetting_imageItem___0n9f{width:64px;height:64px}}.PromptTextArea_container__8qGnl{display:flex;flex-direction:column;width:100%;border-radius:12px;border:1px solid var(--Neutral-400);background:var(--White,#fff);overflow:hidden}.PromptTextArea_container__8qGnl.PromptTextArea_error__8TqEU{border-color:rgba(0,0,0,0);outline:2px dashed var(--Primary-2);outline-offset:-2px;background:var(--Primary-4)}.PromptTextArea_container__8qGnl.PromptTextArea_focused__zQuv_{border-color:rgba(0,0,0,0);outline:2px solid var(--Primary-1);outline-offset:-2px}.PromptTextArea_container__8qGnl.PromptTextArea_embedded__QhtpN{border:none;outline:none;border-radius:0;background:rgba(0,0,0,0)}.PromptTextArea_container__8qGnl.PromptTextArea_embedded__QhtpN.PromptTextArea_error__8TqEU,.PromptTextArea_container__8qGnl.PromptTextArea_embedded__QhtpN.PromptTextArea_focused__zQuv_{border:none;outline:none}.PromptTextArea_inputWrapper__YrrWL{position:relative;width:100%}.PromptTextArea_editor__5A3oI{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-200);width:100%;min-height:96px;max-height:300px;padding:16px;color:var(--Neutral-900,#040415);white-space:pre-wrap;word-wrap:break-word;overflow-y:auto;outline:none}.PromptTextArea_editor__5A3oI::-webkit-scrollbar{width:4px}.PromptTextArea_editor__5A3oI::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.PromptTextArea_editor__5A3oI::-webkit-scrollbar-thumb{background:var(--Neutral-300,#d0d5dd);border-radius:9999px}.PromptTextArea_editor__5A3oI::-webkit-scrollbar-thumb:hover{background:var(--Neutral-400,#98a2b3)}.PromptTextArea_editor__5A3oI:empty:before{content:attr(data-placeholder);color:var(--Neutral-400);pointer-events:none}.PromptTextArea_editor__5A3oI ::selection,.PromptTextArea_editor__5A3oI::selection{background:rgba(253,85,211,.2)}.PromptTextArea_chipUser__FrlIN{background:var(--Primary-5);color:var(--Primary-1)}.PromptTextArea_chipChar__jwuCR,.PromptTextArea_chipUser__FrlIN{display:inline;padding:1px 4px;border-radius:4px;font-weight:600}.PromptTextArea_chipChar__jwuCR{background:#fff3e0;color:var(--Colors-Orange,#ff9500)}.PromptTextArea_footer__nURB6{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;border-top:1px solid var(--Neutral-100,#f2f4f7)}.PromptTextArea_keywordButtons__fkzV8{display:flex;align-items:center;gap:8px}.PromptTextArea_keywordButton__9uIae{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);padding:2px 8px;border:none;border-radius:4px;font-weight:600;cursor:pointer;transition:all .15s ease}.PromptTextArea_keywordButton__9uIae.PromptTextArea_chipUser__FrlIN{background:var(--Primary-5);color:var(--Primary-1)}.PromptTextArea_keywordButton__9uIae.PromptTextArea_chipUser__FrlIN:hover{background:#ffe0f5}.PromptTextArea_keywordButton__9uIae.PromptTextArea_chipChar__jwuCR{background:#fff3e0;color:var(--Colors-Orange,#ff9500)}.PromptTextArea_keywordButton__9uIae.PromptTextArea_chipChar__jwuCR:hover{background:#ffe8c8}.PromptTextArea_counter__72vFE{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#80868b)}.PromptTextArea_counter__72vFE.PromptTextArea_overLimit__vkPId{color:var(--Secondary-Red-1,#f75555);font-weight:600}@media(max-width:480px){.PromptTextArea_editor__5A3oI{padding:12px}.PromptTextArea_footer__nURB6{padding:8px 12px}.PromptTextArea_keywordButton__9uIae{height:30px;padding:0 12px}}.GreetingBlockEditor_container__TL3to{display:flex;flex-direction:column;gap:12px;width:100%}.GreetingBlockEditor_container__TL3to.GreetingBlockEditor_error__tGB1y .GreetingBlockEditor_addButton__cjDif,.GreetingBlockEditor_container__TL3to.GreetingBlockEditor_error__tGB1y .GreetingBlockEditor_emptyState__vyGU2{border-color:var(--Primary-2);background:var(--Primary-4)}.GreetingBlockEditor_emptyState__vyGU2{display:flex;align-items:center;justify-content:center;padding:24px 16px;border-radius:12px;border:2px dashed var(--Neutral-400);background:var(--Neutral-50,#f8f9fa)}.GreetingBlockEditor_emptyState__vyGU2 p{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#80868b);text-align:center}.GreetingBlockEditor_blockList__9F56q{display:flex;flex-direction:column;gap:8px}.GreetingBlockEditor_blockItem__nyNT9{position:relative;border-radius:12px;border:1px solid var(--Neutral-400);overflow:clip}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_dragging__sfK7s{border-color:rgba(0,0,0,0);outline:2px solid var(--Primary-1);outline-offset:-2px;background:var(--Neutral-50,#f8f9fa)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_dragging__sfK7s>*{opacity:0;pointer-events:none}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_blockError__vnkYq{border-color:rgba(0,0,0,0);outline:2px dashed var(--Primary-2);outline-offset:-2px}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_blockErrorBg__U3yJS{background:var(--Primary-4)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_focused__YXfC3{border-color:rgba(0,0,0,0);outline:2px solid var(--Primary-1);outline-offset:-2px}.GreetingBlockEditor_blockHeader__BBkm8{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:8px 12px;cursor:grab;background:var(--Neutral-50)}.GreetingBlockEditor_blockHeader__BBkm8.GreetingBlockEditor_image__n9gaq{border-radius:12px 12px 0 0}.GreetingBlockEditor_blockHeader__BBkm8:active{cursor:grabbing}.GreetingBlockEditor_chipButton__ZpQ4P{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border:1px solid var(--Neutral-400);border-radius:9999px;background:var(--White,#fff);color:var(--Neutral-700,#344054);font-weight:500;cursor:pointer;transition:all .15s ease}.GreetingBlockEditor_chipButton__ZpQ4P:hover{border-color:var(--Primary-1);background:var(--Primary-5);color:var(--Primary-1)}.GreetingBlockEditor_chipButton__ZpQ4P:active{transform:scale(.98)}.GreetingBlockEditor_chipButton__ZpQ4P.GreetingBlockEditor_speaker__w_4AJ{min-width:50px;text-align:center}.GreetingBlockEditor_chip_narration__OjzUF{border-color:#6b7280;background:rgba(0,0,0,0);color:#6b7280}.GreetingBlockEditor_chip_narration__OjzUF:hover{border-color:#6b7280;background:#f3f4f6;color:#6b7280}.GreetingBlockEditor_chip_dialogue__Z6JUr{border-color:#7c3aed;background:rgba(0,0,0,0);color:#7c3aed}.GreetingBlockEditor_chip_dialogue__Z6JUr:hover{border-color:#7c3aed;background:#ede9fe;color:#7c3aed}.GreetingBlockEditor_chip_image___m_yH{border-color:#3b82f6;background:rgba(0,0,0,0);color:#3b82f6}.GreetingBlockEditor_chip_image___m_yH:hover{border-color:#3b82f6;background:#dbeafe;color:#3b82f6}.GreetingBlockEditor_chip_character__6J9ZB{border-color:var(--Colors-Orange,#ff9500);background:rgba(0,0,0,0);color:var(--Colors-Orange,#ff9500)}.GreetingBlockEditor_chip_character__6J9ZB:hover{border-color:var(--Colors-Orange,#ff9500);background:#fff3e0;color:var(--Colors-Orange,#ff9500)}.GreetingBlockEditor_chip_user__wWK0h{border-color:var(--Primary-1);background:rgba(0,0,0,0);color:var(--Primary-1)}.GreetingBlockEditor_chip_user__wWK0h:hover{border-color:var(--Primary-1);background:var(--Primary-5);color:var(--Primary-1)}.GreetingBlockEditor_chip_npc__Foqki{border-color:#6b7280;background:rgba(0,0,0,0);color:#6b7280}.GreetingBlockEditor_chip_npc__Foqki:hover{border-color:#6b7280;background:#f3f4f6;color:#6b7280}.GreetingBlockEditor_chipIcon__1pwSO{width:14px;height:14px}.GreetingBlockEditor_chipSegment__xyvwV{display:inline-flex;align-items:stretch;min-width:0;flex:1}@media(min-width:481px){.GreetingBlockEditor_chipSegment__xyvwV>:first-child:not(:last-child){border-radius:9999px 0 0 9999px;border-right-color:var(--Neutral-300,#d0d5dd)}.GreetingBlockEditor_chipSegment__xyvwV>:first-child:not(:last-child):hover{border-right-color:var(--Neutral-300,#d0d5dd)}.GreetingBlockEditor_chipSegment__xyvwV>:not(:first-child):not(:last-child){border-radius:0;border-left:none;border-right-color:var(--Neutral-300,#d0d5dd)}.GreetingBlockEditor_chipSegment__xyvwV>:not(:first-child):not(:last-child):hover{border-left:none;border-right-color:var(--Neutral-300,#d0d5dd)}.GreetingBlockEditor_chipSegment__xyvwV>:last-child:not(:first-child){border-radius:0 9999px 9999px 0;border-left:none}.GreetingBlockEditor_chipSegment__xyvwV>:last-child:not(:first-child):hover{border-left:none}}.GreetingBlockEditor_chipSegment__xyvwV>.GreetingBlockEditor_npcNameInput__Q1ZYM{border-color:#6b7280;color:#6b7280;min-width:60px}.GreetingBlockEditor_chipSegment__xyvwV>.GreetingBlockEditor_npcNameInput__Q1ZYM::placeholder{color:rgba(107,114,128,.5)}.GreetingBlockEditor_chipSegment__xyvwV>.GreetingBlockEditor_npcNameInput__Q1ZYM:focus{border-color:#6b7280;background:#f3f4f6}.GreetingBlockEditor_speakerSelector__7K1hv{display:flex;gap:8px;align-items:center}.GreetingBlockEditor_npcNameInput__Q1ZYM{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);min-width:60px;padding:4px 8px;border:1px solid var(--Neutral-400);border-radius:8px;background:var(--White,#fff)}.GreetingBlockEditor_npcNameInput__Q1ZYM::placeholder{color:var(--Neutral-400,#98a2b3)}.GreetingBlockEditor_npcNameInput__Q1ZYM:focus{outline:none;border-color:var(--Primary-1)}.GreetingBlockEditor_npcNameInput__Q1ZYM.GreetingBlockEditor_npcNameError__cmiYT{border-color:var(--Primary-2);background:var(--Primary-4)}.GreetingBlockEditor_chipArea__5GssL,.GreetingBlockEditor_chipButtonGroup__83uL_{display:flex;gap:4px;align-items:center}.GreetingBlockEditor_chipArea__5GssL{flex-wrap:wrap;flex:1;min-width:0}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff{border-color:rgba(0,0,0,0);outline:2px dashed var(--Neutral-200);outline-offset:-2px;background:rgba(0,0,0,0)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff .GreetingBlockEditor_blockHeader__BBkm8{background:var(--Neutral-50)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff.GreetingBlockEditor_dragging__sfK7s{outline:2px solid var(--Primary-1);outline-offset:-2px;border-color:rgba(0,0,0,0);background:var(--Neutral-50,#f8f9fa)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff.GreetingBlockEditor_dragging__sfK7s>*{opacity:0;pointer-events:none}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff.GreetingBlockEditor_blockError__vnkYq{outline-color:var(--Primary-2)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_incomplete___qDff.GreetingBlockEditor_blockError__vnkYq .GreetingBlockEditor_guideText__FiRcd{color:var(--Primary-2)}.GreetingBlockEditor_guideText__FiRcd{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-200);padding:16px;color:var(--Neutral-500,#80868b);text-align:center}.GreetingBlockEditor_actionButtons__jM_IF{display:flex;gap:4px;align-items:center;margin-left:auto;flex-shrink:0;position:relative}.GreetingBlockEditor_actionButton___VLh6{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:8px;background:rgba(0,0,0,0);cursor:pointer;transition:background-color .15s ease}.GreetingBlockEditor_actionButton___VLh6 img{width:14px;height:14px;filter:brightness(0) saturate(100%) invert(50%) sepia(0) saturate(0) hue-rotate(0deg) brightness(90%) contrast(90%)}.GreetingBlockEditor_actionButton___VLh6:hover:not(.GreetingBlockEditor_disabled__G7nrg){background:var(--Neutral-200,#e4e7ec)}.GreetingBlockEditor_actionButton___VLh6:hover:not(.GreetingBlockEditor_disabled__G7nrg) img{filter:brightness(0) saturate(100%) invert(30%) sepia(0) saturate(0) hue-rotate(0deg) brightness(60%) contrast(90%)}.GreetingBlockEditor_actionButton___VLh6.GreetingBlockEditor_disabled__G7nrg{cursor:not-allowed;opacity:.3}.GreetingBlockEditor_deleteButton__Ac2sV{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:12px;border:none;border-radius:8px;background:rgba(0,0,0,0);cursor:pointer;transition:background-color .15s ease}.GreetingBlockEditor_deleteButton__Ac2sV img{width:14px;height:14px;filter:brightness(0) saturate(100%) invert(50%) sepia(0) saturate(0) hue-rotate(0deg) brightness(90%) contrast(90%)}.GreetingBlockEditor_deleteButton__Ac2sV:hover{background:rgba(247,85,85,.1)}.GreetingBlockEditor_deleteButton__Ac2sV:hover img{filter:brightness(0) saturate(100%) invert(44%) sepia(81%) saturate(3079%) hue-rotate(336deg) brightness(99%) contrast(96%)}.GreetingBlockEditor_dragOverlay__60g6o{background:var(--White,#fff);border-radius:12px;border:1px solid var(--Neutral-300,#d0d5dd);box-shadow:0 12px 28px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.06);overflow:clip;width:100%;cursor:grabbing;opacity:.95}.GreetingBlockEditor_dragOverlay__60g6o .GreetingBlockEditor_blockHeader__BBkm8{cursor:grabbing}.GreetingBlockEditor_dragPreviewContent__RJkev{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-200);padding:16px;color:var(--Neutral-700,#344054);min-height:48px;max-height:120px;overflow:hidden;white-space:pre-wrap;word-break:break-word;background:var(--White,#fff)}.GreetingBlockEditor_dragPreviewPlaceholder__5QYMt{color:var(--Neutral-400,#98a2b3)}.GreetingBlockEditor_dragOverlayNpcName___pHLJ{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);padding:4px 8px;color:#6b7280;border:1px solid #6b7280;border-left:none;border-radius:0 9999px 9999px 0}.GreetingBlockEditor_modeToggle__pFyl0{display:flex;align-items:center;gap:0;background:var(--Neutral-100,#f2f4f7);border-radius:9999px;padding:2px;width:fit-content}.GreetingBlockEditor_modeButton__ovOV6{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);padding:8px 12px;border:none;border-radius:9999px;background:rgba(0,0,0,0);color:var(--Neutral-500,#80868b);cursor:pointer;transition:all .15s ease}.GreetingBlockEditor_modeButton__ovOV6:hover:not(.GreetingBlockEditor_active__jTy7i){color:var(--Neutral-700,#344054)}.GreetingBlockEditor_modeButton__ovOV6.GreetingBlockEditor_active__jTy7i{background:var(--White,#fff);color:var(--Neutral-900,#040415);box-shadow:0 1px 2px rgba(0,0,0,.05)}.GreetingBlockEditor_previewContainer__vONFK{display:flex;flex-direction:column;gap:16px;padding:16px;background:var(--White,#fff);border:1px solid var(--Neutral-400);border-radius:12px;min-height:120px}.GreetingBlockEditor_previewBubbleWrapper__V_xKs.GreetingBlockEditor_userBubble__4BrMT{display:flex;flex-direction:column;align-items:flex-end}.GreetingBlockEditor_speakerProfile__q4qXS{display:flex;align-items:center;gap:8px;margin-bottom:8px}.GreetingBlockEditor_speakerName__RK26r{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);font-weight:600;color:var(--chat-text-primary,var(--Neutral-900,#040415))}.GreetingBlockEditor_npcAvatar__o4NyO{width:24px;height:24px;border-radius:9999px;background:var(--chat-bg-surface,var(--Neutral-100,#f2f4f7));display:flex;align-items:center;justify-content:center}.GreetingBlockEditor_npcAvatarIcon__JN12q{width:20px;height:20px;color:var(--chat-text-secondary,var(--Neutral-500,#80868b))}.GreetingBlockEditor_addButtons__pCZtX{display:flex;align-items:center;gap:8px;justify-content:center}.GreetingBlockEditor_addButton__cjDif{display:flex;align-items:center;gap:4px;font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);height:36px;padding:0 12px;border-radius:9999px;border:1px solid var(--Neutral-400);font-weight:500;cursor:pointer;transition:all .15s ease;background:var(--White,#fff);color:var(--Neutral-600,#5f6368)}.GreetingBlockEditor_addButton__cjDif:hover{background:var(--Neutral-100,#f2f4f7)}.GreetingBlockEditor_addIcon__lj535{width:14px;height:14px;filter:brightness(0) saturate(100%) invert(40%) sepia(0) saturate(0) hue-rotate(0deg) brightness(90%) contrast(90%)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_image__n9gaq.GreetingBlockEditor_empty__ch5fo{border-color:rgba(0,0,0,0);outline:2px dashed var(--Neutral-200);outline-offset:-2px}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_image__n9gaq.GreetingBlockEditor_empty__ch5fo.GreetingBlockEditor_blockError__vnkYq{outline-color:var(--Primary-2)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_image__n9gaq.GreetingBlockEditor_empty__ch5fo.GreetingBlockEditor_blockError__vnkYq .GreetingBlockEditor_imageAddButton__567cO{border-color:var(--Primary-2);background-color:var(--Primary-4)}.GreetingBlockEditor_blockItem__nyNT9.GreetingBlockEditor_image__n9gaq.GreetingBlockEditor_dragging__sfK7s{outline:2px solid var(--Primary-1);outline-offset:-2px}.GreetingBlockEditor_imageBlockContent__sCAZc{padding:12px;background:var(--White,#fff)}.GreetingBlockEditor_imageEmptyState___fF9k{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.GreetingBlockEditor_imageGuideText__D4ao0{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#80868b)}.GreetingBlockEditor_imageAddButton__567cO{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:72px;height:72px;border-radius:8px;border:2px dashed var(--Neutral-200);background-color:var(--White,#fff);cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.GreetingBlockEditor_imageAddButton__567cO:hover{border-color:var(--Primary-1);background-color:var(--Primary-5)}.GreetingBlockEditor_imageAddButton__567cO:hover .GreetingBlockEditor_imageAddIcon__I0en9{color:var(--Primary-1)}.GreetingBlockEditor_imageAddButton__567cO:active{transform:scale(.97)}.GreetingBlockEditor_imageAddIcon__I0en9{width:20px;height:20px;color:var(--Neutral-400,#98a2b3);transition:color .15s ease}.GreetingBlockEditor_imagePreviewWrapper__rDhBS{position:relative;display:block;width:fit-content;max-width:100%}.GreetingBlockEditor_imagePreview__YX9QN{display:block;max-width:100%;max-height:200px;border-radius:8px;object-fit:contain}.GreetingBlockEditor_imageDescriptionWrapper__KpUQt{border-top:1px solid var(--Neutral-200)}.GreetingBlockEditor_imageDescriptionWrapper__KpUQt.GreetingBlockEditor_imageDescriptionError__g_YA4{background:var(--Primary-4)}.GreetingBlockEditor_imageDescriptionEditor__hTCdg{color:var(--Neutral-500,#80868b)}.GreetingBlockEditor_imageEditButton__sZ0lH{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:9999px;background:rgba(0,0,0,.5);cursor:pointer;transition:background-color .15s ease}.GreetingBlockEditor_imageEditButton__sZ0lH img{width:16px;height:16px;filter:brightness(0) invert(1)}.GreetingBlockEditor_imageEditButton__sZ0lH:hover{background:rgba(0,0,0,.7)}.GreetingBlockEditor_previewChipUser__VjzEu{display:inline;padding:1px 4px;border-radius:4px;background:var(--Primary-5);color:var(--Primary-1);font-weight:600}.GreetingBlockEditor_previewChipChar__x1dL3{display:inline;padding:1px 4px;border-radius:4px;background:#fff3e0;color:var(--Colors-Orange,#ff9500);font-weight:600}.GreetingBlockEditor_previewImageWrapper__IjAOz{max-width:280px}.GreetingBlockEditor_previewImage__M3eyH{display:block;width:100%;border-radius:12px;object-fit:contain}.GreetingBlockEditor_previewImagePlaceholder__tey28{display:flex;align-items:center;justify-content:center;width:120px;height:120px;background:var(--Neutral-100,#f2f4f7);border-radius:12px}.GreetingBlockEditor_previewImagePlaceholder__tey28 img{width:32px;height:32px;opacity:.5}.GreetingBlockEditor_dragPreviewImage__yElYQ{max-width:100%;max-height:80px;border-radius:8px;object-fit:contain}.GreetingBlockEditor_freeInputContainer__iV9c7{display:flex;flex-direction:column;gap:12px;width:100%}.GreetingBlockEditor_freeInputInstructions__EEQNs{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-200);display:flex;flex-direction:column;gap:32px;padding:16px;background:var(--Neutral-50);color:var(--Neutral-700,#344054)}.GreetingBlockEditor_freeInputInstructions__EEQNs strong{font-weight:600;color:var(--Neutral-900,#040415);display:block;margin-bottom:4px}.GreetingBlockEditor_freeInputInstructions__EEQNs code{display:inline-block;padding:1px 6px;background:var(--Neutral-200,#e4e7ec);border-radius:4px;font-family:Monaco,Menlo,Consolas,monospace;font-size:11px;font-weight:600;color:var(--Neutral-800,#1d2939)}.GreetingBlockEditor_freeInputTagList__BMCvJ{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:4px}.GreetingBlockEditor_freeInputTagNarration__gey9d{margin-bottom:4px}.GreetingBlockEditor_freeInputTagNarration__gey9d span{display:flex;align-items:center;gap:8px}.GreetingBlockEditor_freeInputTagGrid__egRjM{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px}.GreetingBlockEditor_freeInputTagGrid__egRjM span{display:flex;align-items:center;gap:8px}.GreetingBlockEditor_freeInputTagGrid__egRjM+.GreetingBlockEditor_freeInputGuideTips__Dl36J{margin-top:4px}.GreetingBlockEditor_freeInputTagSep__b8PpJ{color:var(--Neutral-300,#d0d5dd);margin:0 2px}.GreetingBlockEditor_freeInputHint__WqD8n{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#80868b);margin-top:4px}.GreetingBlockEditor_freeInputHint__WqD8n code{display:inline-block;padding:1px 6px;background:var(--Neutral-200,#e4e7ec);border-radius:4px;font-family:Monaco,Menlo,Consolas,monospace;font-size:11px;font-weight:600;color:var(--Neutral-800,#1d2939)}.GreetingBlockEditor_freeInputVarDesc__Rb15n{margin-left:4px}.GreetingBlockEditor_freeInputGuideWrapper__gfqB4{border:1px solid var(--Neutral-700,#344054);border-radius:8px;overflow:hidden}.GreetingBlockEditor_freeInputGuideWrapper__gfqB4.GreetingBlockEditor_open__fI4B_{border-color:var(--Neutral-700,#344054)}.GreetingBlockEditor_freeInputGuideToggle__RryJo{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;border:none;background:var(--Neutral-700,#344054);color:var(--White,#fff);cursor:pointer;font-weight:500;transition:background-color .15s ease}.GreetingBlockEditor_freeInputGuideToggle__RryJo:hover{background:var(--Neutral-600,#475467)}.GreetingBlockEditor_freeInputGuideLabel__H_cRS{display:flex;align-items:center;gap:8px}.GreetingBlockEditor_freeInputGuideArrow__Cjgvr,.GreetingBlockEditor_freeInputGuideIcon__1d0bu{width:16px;height:16px;flex-shrink:0;filter:brightness(0) invert(1)}.GreetingBlockEditor_freeInputGuideArrow__Cjgvr{transition:transform .2s ease}.GreetingBlockEditor_freeInputGuideArrow__Cjgvr.GreetingBlockEditor_open__fI4B_{transform:rotate(180deg)}.GreetingBlockEditor_freeInputGuideSection__m4a6O strong{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);font-weight:600;color:var(--Neutral-700,#344054);display:block;margin-bottom:8px}.GreetingBlockEditor_freeInputGuideSection__m4a6O code{display:inline-block;padding:1px 6px;background:var(--Neutral-200,#e4e7ec);border-radius:4px;font-family:Monaco,Menlo,Consolas,monospace;font-size:12px;font-weight:600;color:var(--Neutral-800,#1d2939)}.GreetingBlockEditor_freeInputGuideTips__Dl36J{font-family:Lato;font-size:var(--font-size-075);font-weight:var(--font-weight-400);line-height:var(--line-height-050);letter-spacing:var(--letter-spacing-025);display:flex;flex-direction:column;gap:4px;color:var(--Neutral-600,#475467);line-height:1.5}.GreetingBlockEditor_freeInputGuideExample__pKqC7{margin:0;padding:12px 16px;background:var(--Neutral-100,#f2f4f7);border-radius:8px;font-family:Monaco,Menlo,Consolas,monospace;font-size:12px;line-height:1.7;color:var(--Neutral-700,#344054);white-space:pre-wrap;overflow-x:auto}.GreetingBlockEditor_freeInputEditor__13_Ar{position:relative;display:flex;flex-direction:column;border:1px solid var(--Neutral-400);border-radius:12px;overflow:hidden;background:var(--White,#fff);min-height:120px;max-height:480px}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-editor{flex:1;max-height:478px;outline:none}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-scroller{flex:1;overflow-y:auto}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-scroller::-webkit-scrollbar{width:4px}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-scroller::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-scroller::-webkit-scrollbar-thumb{background:var(--Neutral-300,#d0d5dd);border-radius:9999px}.GreetingBlockEditor_freeInputEditor__13_Ar .cm-scroller::-webkit-scrollbar-thumb:hover{background:var(--Neutral-400,#98a2b3)}.GreetingBlockEditor_freeInputEditor__13_Ar:focus-within{border-color:rgba(0,0,0,0)}.GreetingBlockEditor_freeInputEditor__13_Ar:focus-within:after{content:"";position:absolute;inset:0;border:2px solid var(--Primary-1);border-radius:12px;pointer-events:none;z-index:10}.GreetingBlockEditor_freeInputErrors__sW6Em{display:flex;flex-direction:column;gap:4px;padding:12px;background:var(--Primary-4);border:1px solid var(--Primary-2);border-radius:8px}.GreetingBlockEditor_freeInputErrorItem__TVDTW{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-900,#040415)}.GreetingBlockEditor_freeInputErrorItem__TVDTW.GreetingBlockEditor_clickable__iGyj8{cursor:pointer;transition:opacity .15s ease}.GreetingBlockEditor_freeInputErrorItem__TVDTW.GreetingBlockEditor_clickable__iGyj8:hover{opacity:.7}.GreetingBlockEditor_freeInputErrorLine__M4UJ0{font-weight:600;margin-right:4px}.GreetingBlockEditor_freeInputErrorSummary__cOae_{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-500,#80868b);margin-top:2px}.GreetingBlockEditor_freeInputStatusBar__x42Xk{display:flex;justify-content:flex-end;align-items:center;min-height:20px;padding-right:8px}.GreetingBlockEditor_freeInputStatusSaved__3kUMd{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);color:var(--Neutral-700,#344054);font-weight:500}.GreetingBlockEditor_freeInputStatusEditing__pScfc{color:var(--Neutral-500,#80868b)}.GreetingBlockEditor_freeInputStatusEditing__pScfc,.GreetingBlockEditor_freeInputStatusError__5aTvb{font-family:Lato;font-size:var(--font-size-025);font-weight:var(--font-weight-400);line-height:var(--line-height-025);letter-spacing:var(--letter-spacing-025);font-weight:400}.GreetingBlockEditor_freeInputStatusError__5aTvb{color:var(--Primary-1)}@media(max-width:480px){.GreetingBlockEditor_blockHeader__BBkm8{padding:4px 8px;align-items:flex-start}.GreetingBlockEditor_chipSegment__xyvwV{flex-wrap:wrap;gap:4px}.GreetingBlockEditor_chipButtonGroup__83uL_{flex-wrap:wrap}.GreetingBlockEditor_addButtons__pCZtX{flex-direction:column}.GreetingBlockEditor_addButton__cjDif{width:100%;justify-content:center}.GreetingBlockEditor_emptyState__vyGU2{padding:16px 12px}.GreetingBlockEditor_freeInputTagList__BMCvJ{flex-direction:column;align-items:flex-start}.GreetingBlockEditor_freeInputTagGrid__egRjM{grid-template-columns:1fr}.GreetingBlockEditor_freeInputTagSep__b8PpJ{display:none}.GreetingBlockEditor_modeToggle__pFyl0{width:100%}.GreetingBlockEditor_modeButton__ovOV6{flex:1 1 0;padding:4px 8px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}}.GreetingBlockEditor_moreButton__6Aymg{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:8px;background:rgba(0,0,0,0);cursor:pointer;color:var(--Neutral-500,#80868b);transition:background-color .15s ease}.GreetingBlockEditor_moreButton__6Aymg:hover{background:var(--Neutral-200,#e4e7ec);color:var(--Neutral-700,#344054)}.GreetingBlockEditor_morePopover__yclw3{position:absolute;right:0;top:100%;margin-top:4px;display:flex;align-items:center;gap:4px;padding:4px;background:var(--White,#fff);border:1px solid var(--Neutral-400);border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.12);z-index:10}:root{--chat-bg-base:var(--Neutral-50);--chat-bg-surface:var(--Neutral-100);--chat-bg-elevated:var(--Neutral-100);--chat-text-primary:var(--Neutral-900);--chat-text-secondary:var(--Neutral-600);--chat-text-muted:var(--Neutral-400);--chat-border-default:var(--Neutral-400);--chat-border-light:var(--Neutral-100);--chat-border-focus:var(--Primary-1);--chat-divider:var(--Neutral-100);--chat-accent-primary:var(--Primary-1);--chat-accent-secondary:var(--Primary-3);--chat-accent-bg:var(--Primary-5);--chat-accent-bg-hover:var(--Primary-4);--chat-success:#22c55e;--chat-success-bg:#dcfce7;--chat-warning:#f59e0b;--chat-warning-bg:#fef3c7;--chat-error:#ef4444;--chat-error-bg:#fee2e2;--chat-bg-user:var(--Neutral-700);--chat-bg-character:var(--chat-bg-surface);--chat-text-user:#ffffff}.dark{--chat-bg-base:var(--Neutral-900);--chat-bg-surface:var(--Neutral-800);--chat-bg-elevated:var(--Neutral-800);--chat-text-primary:var(--Neutral-100);--chat-text-secondary:var(--Neutral-400);--chat-text-muted:var(--Neutral-600);--chat-border-default:var(--Neutral-600);--chat-border-light:var(--Neutral-800);--chat-border-focus:var(--Primary-1);--chat-divider:var(--Neutral-800);--chat-accent-primary:var(--Primary-1);--chat-accent-secondary:var(--Primary-3);--chat-accent-bg:color-mix(in srgb,var(--Primary-1) 20%,transparent);--chat-accent-bg-hover:color-mix(in srgb,var(--Primary-1) 30%,transparent);--chat-success:#22c55e;--chat-success-bg:rgba(34,197,94,0.2);--chat-warning:#f59e0b;--chat-warning-bg:rgba(245,158,11,0.2);--chat-error:#ef4444;--chat-error-bg:rgba(239,68,68,0.2);--chat-bg-user:var(--Neutral-100);--chat-bg-character:var(--chat-bg-surface);--chat-text-user:var(--Neutral-900)}@keyframes tooltip-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes typing-bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.typing-dot{width:5px;height:5px;border-radius:50%;background-color:var(--chat-text-secondary);animation:typing-bounce 1.2s infinite}.typing-dot:first-child{animation-delay:0s}.typing-dot:nth-child(2){animation-delay:.15s}.typing-dot:nth-child(3){animation-delay:.3s}