.sh-chat__actions{flex:none;align-items:center;gap:8px;display:flex}.sh-chat__icon{display:block}.sh-chat{z-index:9998;font-family:inherit;position:fixed;bottom:20px;right:20px}.sh-chat__toggle{cursor:pointer;background:var(--sh-primary,#1a5fb4);color:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;padding:0;transition:transform .18s,background .18s;display:flex;box-shadow:0 6px 20px #00000038}.sh-chat__toggle:hover{transform:scale(1.06)}.sh-chat__toggle.is-open{background:var(--sh-text,#333);transform:none}.sh-chat__panel{background:#fff;border-radius:14px;flex-direction:column;width:380px;max-width:calc(100vw - 40px);height:520px;max-height:calc(100vh - 110px);display:flex;position:absolute;bottom:76px;right:0;overflow:hidden;box-shadow:0 12px 40px #0000002e}.sh-chat__header{background:var(--sh-primary,#1a5fb4);color:#fff;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.sh-chat__heading{align-items:center;gap:10px;min-width:0;display:flex}.sh-chat__status{background:#34d399;border-radius:50%;flex:none;width:10px;height:10px;animation:2s infinite sh-chat-pulse;box-shadow:0 0 #34d39999}@keyframes sh-chat-pulse{0%{box-shadow:0 0 #34d3998c}70%{box-shadow:0 0 0 7px #34d39900}to{box-shadow:0 0 #34d39900}}.sh-chat__title{font-size:15px;font-weight:600;line-height:1.2}.sh-chat__subtitle{opacity:.85;margin-top:2px;font-size:12px}.sh-chat__end{color:#fff;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #ffffff8c;border-radius:6px;padding:4px 10px;font-size:12px}.sh-chat__end:hover{background:#ffffff24}.sh-chat__x{cursor:pointer;color:#fff;background:#ffffff29;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.sh-chat__x:hover{background:#ffffff47}.sh-chat__body{background:var(--sh-surface-alt,#f7f8fa);flex:1;padding:14px;overflow-y:auto}.sh-chat__hint{text-align:center;color:#999;padding:30px 10px;font-size:13px}.sh-chat__msg{flex-direction:column;margin-bottom:12px;display:flex}.sh-chat__msg.is-visitor{align-items:flex-end}.sh-chat__msg.is-agent,.sh-chat__msg.is-system{align-items:flex-start}.sh-chat__msg.is-system{align-items:center}.sh-chat__bubble{word-break:break-word;white-space:pre-wrap;max-width:78%;color:var(--sh-text,#333);background:#fff;border-radius:12px;padding:8px 12px;font-size:13px;line-height:20px;box-shadow:0 1px 2px #0000000d}.sh-chat__msg.is-visitor .sh-chat__bubble{background:var(--sh-primary,#1a5fb4);color:#fff;box-shadow:none}.sh-chat__msg.is-system .sh-chat__bubble{color:#888;box-shadow:none;background:#ececec;font-size:12px}.sh-chat__time{color:#aaa;margin-top:3px;font-size:11px}.sh-chat__ended{text-align:center;color:#888;background:#ececec;border-radius:8px;margin:4px 0 8px;padding:8px 12px;font-size:12px}.sh-chat__image{border-radius:6px;max-width:200px;display:block}.sh-chat__file{color:inherit;text-decoration:underline}.sh-chat__footer{background:#fff;border-top:1px solid #eee;align-items:flex-end;gap:8px;padding:10px;display:flex}.sh-chat__input{resize:none;border:1px solid #ddd;border-radius:8px;outline:none;flex:1;padding:8px 10px;font-family:inherit;font-size:13px}.sh-chat__input:focus{border-color:var(--sh-primary,#1a5fb4)}.sh-chat__submit{background:var(--sh-primary,#1a5fb4);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:8px 16px;font-size:13px}.sh-chat__submit:disabled{opacity:.5;cursor:not-allowed}.sh-chat__submit.is-block{width:100%;padding:10px}@media (width<=560px){.sh-chat__panel{border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;position:fixed;inset:0}}
