:root{--presto-chat-navy:#07162f;--presto-chat-purple:#6e32ba;--presto-chat-gold:#ffb238;--presto-chat-cloud:#f4f6fa;--presto-chat-ink:#0b1730;--presto-chat-soft:#52617b}
.presto-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:90;display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 18px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:var(--presto-chat-navy);box-shadow:0 14px 30px rgba(7,22,47,.27);color:#fff;font:700 14px/1 Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;cursor:pointer}.presto-chat-launcher:focus-visible,.presto-chat-close:focus-visible,.presto-chat-chip:focus-visible,.presto-chat-send:focus-visible,.presto-chat-line:focus-visible{outline:3px solid var(--presto-chat-gold);outline-offset:3px}.presto-chat-ball{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--presto-chat-gold);color:var(--presto-chat-navy);font-size:14px}.presto-chat-dialog{position:fixed;right:24px;bottom:92px;z-index:91;display:none;width:min(380px,calc(100vw - 32px));overflow:hidden;border:1px solid rgba(7,22,47,.16);border-radius:18px;background:#fff;box-shadow:0 22px 52px rgba(7,22,47,.29);font-family:Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}.presto-chat-dialog.is-open{display:flex;flex-direction:column}.presto-chat-head{display:flex;align-items:center;gap:12px;padding:17px 18px;background:linear-gradient(120deg,#07162f,#162f5b);color:#fff}.presto-chat-head-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--presto-chat-gold);color:var(--presto-chat-navy);font-size:17px}.presto-chat-head-copy{min-width:0}.presto-chat-head-copy strong{display:block;font-size:15px}.presto-chat-head-copy small{display:block;margin-top:3px;color:rgba(255,255,255,.72);font-size:11px}.presto-chat-close{width:34px;height:34px;margin-left:auto;border:0;border-radius:50%;background:transparent;color:#fff;font-size:24px;cursor:pointer}.presto-chat-body{max-height:min(55vh,520px);padding:16px;overflow-y:auto;background:var(--presto-chat-cloud)}.presto-chat-message{width:fit-content;max-width:92%;margin:0 0 11px;padding:11px 13px;border-radius:12px;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.presto-chat-message.assistant{border-bottom-left-radius:3px;background:#fff;color:var(--presto-chat-ink)}.presto-chat-message.user{margin-left:auto;border-bottom-right-radius:3px;background:var(--presto-chat-purple);color:#fff}.presto-chat-message.notice{max-width:100%;border:1px solid #f0d99b;background:#fff9e8;color:#584411;font-size:12px;line-height:1.65}.presto-chat-quick{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 16px}.presto-chat-chip{padding:8px 10px;border:1px solid #cdd5e4;border-radius:999px;background:#fff;color:var(--presto-chat-navy);font:700 12px/1.25 Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;cursor:pointer}.presto-chat-chip:hover{border-color:var(--presto-chat-purple);color:var(--presto-chat-purple)}.presto-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #dbe1eb;background:#fff}.presto-chat-input{min-width:0;flex:1;min-height:44px;padding:10px 12px;border:1px solid #bcc6d7;border-radius:9px;color:var(--presto-chat-ink);font:14px/1.4 Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}.presto-chat-input:focus{border-color:var(--presto-chat-purple);outline:2px solid rgba(110,50,186,.18)}.presto-chat-send{min-width:58px;border:0;border-radius:9px;background:var(--presto-chat-navy);color:#fff;font:700 13px Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;cursor:pointer}.presto-chat-send:disabled,.presto-chat-input:disabled{opacity:.55;cursor:not-allowed}.presto-chat-foot{padding:0 14px 13px;background:#fff;color:var(--presto-chat-soft);font-size:11px;line-height:1.55}.presto-chat-line{color:var(--presto-chat-purple);font-weight:700}.presto-chat-typing{display:inline-flex;gap:4px;align-items:center}.presto-chat-typing i{width:5px;height:5px;border-radius:50%;background:#6a7890;animation:presto-chat-pulse 1s infinite ease-in-out}.presto-chat-typing i:nth-child(2){animation-delay:.15s}.presto-chat-typing i:nth-child(3){animation-delay:.3s}@keyframes presto-chat-pulse{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-3px);opacity:1}}@media(max-width:640px){.presto-chat-launcher{right:16px;bottom:16px;min-height:50px;padding:0 15px}.presto-chat-dialog{right:0;bottom:0;width:100vw;max-width:none;border:0;border-radius:18px 18px 0 0;box-shadow:0 -12px 36px rgba(7,22,47,.3)}.presto-chat-body{max-height:52vh}.presto-chat-dialog::before{content:"";display:block;position:absolute;top:7px;left:calc(50% - 19px);width:38px;height:4px;border-radius:99px;background:rgba(255,255,255,.42)}.presto-chat-head{padding-top:22px}}@media(prefers-reduced-motion:reduce){.presto-chat-typing i{animation:none}}
