.simulator{color:#24133f;background:#fff;border:1px solid #d9cfe2;border-radius:24px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 14px 38px #24133f12}.sim-header{border-bottom:1px solid #eee8f6;align-items:center;gap:.8rem;padding:1rem 1.2rem;display:flex}.sim-header>div{flex:1;gap:.2rem;display:grid}.sim-header small{color:#695d77}.sim-avatar{color:#d6f45b;background:#382064;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.sim-indicator{background:#9fbc2d;border-radius:50%;width:9px;height:9px}.sim-thread{flex-direction:column;gap:.8rem;min-height:230px;max-height:340px;padding:1.1rem;display:flex;overflow-y:auto}.sim-message{align-self:flex-start;max-width:85%}.sim-message.rep{align-self:flex-end}.sim-message small{color:#695d77;font-size:.75rem}.sim-message p{white-space:pre-wrap;overflow-wrap:anywhere;background:#eee8f6;border-radius:16px;margin:.25rem 0 0;padding:.75rem 1rem;line-height:1.5}.sim-message.rep p{background:#eef6ce}.sim-composer{border-top:1px solid #eee8f6;align-items:end;gap:.7rem;padding:.8rem 1rem;display:flex}.sim-label{flex:1;gap:.35rem;min-width:0;font-size:.8rem;font-weight:700;display:grid}.sim-label textarea{resize:vertical;width:100%;min-height:48px;max-height:150px;font:inherit;border:1px solid #cbbbdc;border-radius:12px;padding:.7rem;font-size:1rem}.sim-actions{align-items:center;gap:.5rem;display:flex}.sim-attach,.sim-send{cursor:pointer;min-height:44px;font:inherit;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.sim-attach{background:#eee8f6;width:44px;font-size:1.4rem}.sim-attach input,.sim-visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.sim-attach:focus-within,.sim-send:focus-visible,.sim-label textarea:focus-visible{outline-offset:2px;outline:3px solid #382064}.sim-send{color:#fff;background:#382064;padding:.65rem 1rem;font-weight:700}.sim-hint{color:#695d77;margin:0;padding:0 1rem 1rem;font-size:.72rem}.sim-status{color:#695d77;margin:0;padding:0 1rem;font-size:.8rem}.sim-status:empty,.sim-attachments:empty{display:none}.sim-attachments{flex-wrap:wrap;gap:.5rem;padding:.5rem 1rem;display:flex}.sim-attachments button{font:inherit;overflow-wrap:anywhere;background:#eee8f6;border:0;border-radius:12px;padding:.4rem .6rem}.sim-shell{width:min(100% - 2rem,800px);margin:2rem auto}.sim-shell h1{color:#382064;margin:1.5rem 0 .5rem}.sim-local-note{color:#5c506a}.sim-back{font-weight:700;text-decoration:underline}.sim-shell .sim-thread{min-height:40vh}.simulator[data-scripted=true] .sim-attach input{pointer-events:none}.simulator[data-scripted=true] .sim-label textarea{background:#faf8fc}.demo-player .simulator{box-shadow:none}.sim-demo-controls{flex-wrap:wrap;gap:.5rem;padding:.8rem;display:flex}.sim-demo-controls button{font:inherit;cursor:pointer;color:#fff;background:#382064;border:0;border-radius:999px;padding:.6rem .9rem}.sim-demo-controls [hidden]{display:none}@media (width<=480px){.sim-composer{flex-wrap:wrap}.sim-label{flex-basis:100%}.sim-actions{justify-content:space-between;width:100%}.sim-thread{min-height:190px}.sim-shell{margin-block:1rem}}.conversation>.demo-cover{min-height:0;padding:1rem}.conversation>.demo-cover[hidden],.sim-demo-controls[hidden],.demo-feedback[hidden]{display:none}.conversation>.simulator{box-shadow:none;border:0;border-radius:0}.demo-feedback{border-top:1px solid #d9cfe2;padding:1.2rem}.demo-feedback h4{margin-bottom:.3rem}.demo-feedback blockquote{margin:.5rem 0}.simulator[data-scripted=true] .sim-attach,.simulator[data-scripted=true] .sim-send{opacity:.55;cursor:default}.sim-finish{font:inherit;color:#382064;cursor:pointer;background:0 0;border:1px solid #cbbbdc;border-radius:999px;padding:.55rem .8rem}.sim-finish:disabled{opacity:.5;cursor:default}.sim-finish:focus-visible{outline-offset:2px;outline:3px solid #382064}.sim-shell{padding-bottom:4rem}.sim-composer{flex-wrap:nowrap;align-items:flex-end;gap:.45rem;display:flex}.sim-field{flex:1;gap:.35rem;min-width:0;display:grid}.sim-label{font-size:.8rem;font-weight:700;display:block}.sim-input-wrap{min-width:0;position:relative}.sim-input-wrap textarea{resize:vertical;padding:.8rem;color:#24133f;width:100%;min-height:64px;max-height:150px;font:inherit;background:#faf8fc;border:1px solid #cbbbdc;border-radius:13px;padding-inline-end:3.5rem;font-size:1rem;line-height:1.45;display:block}.sim-input-wrap textarea:focus-visible{outline-offset:2px;outline:3px solid #382064}.sim-send{inset-inline-end:.45rem;color:#382064;background:#eee8f6;border-radius:10px;width:38px;min-height:38px;padding:0;position:absolute;bottom:.45rem}.sim-send:not(:disabled):hover{background:#ded4ee}.sim-attach{color:#695d77;background:0 0;flex:none;width:36px;min-height:44px}.sim-attach:hover{color:#382064;background:#f5f1f9}.sim-demo-controls{background:#faf8fc;border-bottom:1px solid #eee8f6;align-items:center;padding:.65rem 1rem}.sim-demo-controls button{font-size:.8rem;font-weight:700}.sim-demo-controls .demo-skip{color:#382064;background:0 0;border:1px solid #d9cfe2}.sim-demo-controls button[hidden]{display:none}.sim-demo-controls .sim-finish{color:#382064;background:0 0;border:1px solid #d9cfe2}.conversation{height:520px;position:relative}.conversation>.simulator{height:100%;min-height:0}.conversation>.simulator .sim-thread{flex:1;min-height:0;max-height:none}.conversation.is-feedback{grid-template-columns:minmax(0,1fr);height:auto;min-height:520px;display:grid}.conversation.is-feedback>.simulator{filter:blur(4px);opacity:.58;pointer-events:none;grid-area:1/1}.conversation>.demo-feedback:not([hidden]){z-index:3;color:#24133f;background:#fff;border:1px solid #d9cfe2;border-radius:20px;grid-area:1/1;align-self:center;margin:clamp(1rem,4%,2rem);padding:clamp(1.1rem,2vw,2rem);position:relative;overflow:visible;box-shadow:0 18px 55px #24133f38}.demo-feedback h3,.demo-feedback h4{color:#382064}.demo-feedback h3{margin:0 0 .8rem}.demo-feedback p,.demo-feedback blockquote{color:#5c506a}.feedback-actions{flex-wrap:wrap;gap:.7rem;margin-top:1.4rem;display:flex}.feedback-actions button{font:inherit;cursor:pointer;color:#24133f;background:#d6f45b;border:0;border-radius:999px;padding:.7rem 1rem;font-weight:700}.feedback-actions .feedback-replay{background:#eee8f6}.feedback-actions button:focus-visible{outline-offset:3px;outline:3px solid #382064}.simulator[data-scripted=true] .sim-hint{display:none}@media (width<=480px){.feedback-actions{justify-content:center}.sim-composer{flex-wrap:nowrap}.sim-label{flex-basis:auto}.sim-attach{width:36px}}.sim-input-wrap textarea{resize:none;height:48px;min-height:48px;max-height:48px;padding-block:.7rem;overflow-y:auto}.sim-send{top:50%;bottom:auto;transform:translateY(-50%)}html[dir=rtl] .sim-composer .sim-attach{order:1}html[dir=rtl] .sim-send svg{transform:scaleX(-1)}.sim-attach,.sim-demo-controls button{border-radius:10px}.conversation>.simulator .sim-thread{scrollbar-width:none}.conversation>.simulator .sim-thread::-webkit-scrollbar{display:none}.conversation.is-feedback{grid-template-rows:minmax(0,1fr);height:520px;min-height:0}.conversation>.simulator .sim-status:empty{display:block}.conversation>.simulator .sim-status{min-height:1.4em}.conversation>.demo-feedback:not([hidden]){min-width:0;padding:1.2rem 1.4rem}.conversation>.demo-feedback:not([hidden]) h4{margin:.6rem 0 .2rem}.conversation>.demo-feedback:not([hidden]) blockquote{margin:.2rem 0}.conversation>.demo-feedback:not([hidden]) p{margin:0 0 .45rem;line-height:1.4}.conversation>.demo-feedback:not([hidden]) .feedback-actions{margin-top:.7rem}@media (prefers-reduced-motion:no-preference){.conversation>.simulator{transition:filter .4s,opacity .4s}.conversation.is-feedback>.demo-feedback:not([hidden]){animation:.4s ease-out both feedback-appear}@keyframes feedback-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}html .conversation>.demo-feedback:not([hidden]) :is(h3,h4){color:#382064}html .conversation>.demo-feedback:not([hidden]) :is(p,blockquote){color:#51455f}@media (width<=600px){.conversation,.conversation.is-feedback{height:680px}}@media (width<=380px){.conversation,.conversation.is-feedback{height:760px}}@media (width<=720px){.sim-header{flex-wrap:wrap}.sim-header>div{min-width:0}.sim-header .sim-finish{overflow-wrap:anywhere;max-width:100%}}html[data-theme=dark] .sim-demo-controls{background:#20182f;border-color:#736382}html[data-theme=dark] .sim-demo-controls button{color:#fff;background:#382064;border:1px solid #a695b7}html[data-theme=dark] .sim-demo-controls :is(.demo-skip,.sim-finish){color:#fff;background:#302541}html[data-theme=dark] :is(.sim-header small,.sim-message small,.sim-hint,.sim-status){color:#ddd1ea}html[data-theme=dark] .sim-input-wrap textarea{color:#fff;background:#20182f;border-color:#a695b7}html[data-theme=dark] .sim-send{color:#fff;background:#493667}html[data-theme=dark] .sim-attach{color:#ddd1ea}html[data-theme=dark] .sim-message p{color:#fff;background:#493667}html[data-theme=dark] .sim-message.rep p{color:#24133f;background:#d6f45b}
