.msh-sc-root{--msh-sc-bg: #ffffff;--msh-sc-panel: #ffffff;--msh-sc-text: #17191b;--msh-sc-muted: #5c6469;--msh-sc-border: rgba(23, 25, 27, .1);--msh-sc-accent: #007bff;--msh-sc-accent-soft: rgba(0, 123, 255, .12);--msh-sc-user-bubble: rgba(0, 0, 0, .05);--msh-sc-shadow: 0 12px 40px rgba(15, 23, 42, .18);position:fixed;right:16px;bottom:16px;z-index:2147483000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.45;color:var(--msh-sc-text)}html[data-mode=dark] .msh-sc-root,.msh-sc-root[data-mode=dark]{--msh-sc-bg: #121417;--msh-sc-panel: #1a1d21;--msh-sc-text: #f3f5f7;--msh-sc-muted: #9aa3ab;--msh-sc-border: rgba(255, 255, 255, .12);--msh-sc-accent-soft: rgba(0, 123, 255, .22);--msh-sc-user-bubble: rgba(255, 255, 255, .08);--msh-sc-shadow: 0 12px 40px rgba(0, 0, 0, .45)}.msh-sc-root *{box-sizing:border-box}.msh-sc-fab{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:none;border-radius:999px;background:var(--msh-sc-accent);color:#fff;flex:0 0 auto;cursor:pointer;box-shadow:var(--msh-sc-shadow)}.msh-sc-fab-icon{display:block}.msh-sc-fab:hover{filter:brightness(1.05)}.msh-sc-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e5484d;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}.msh-sc-panel{position:absolute;right:0;bottom:56px;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100vh - 96px));display:flex;flex-direction:column;background:var(--msh-sc-panel);border:1px solid var(--msh-sc-border);border-radius:14px;box-shadow:var(--msh-sc-shadow);overflow:hidden}.msh-sc-panel[hidden]{display:none!important}.msh-sc-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--msh-sc-border)}.msh-sc-title{margin:0;font-size:15px;font-weight:650;white-space:nowrap}.msh-sc-close{border:none;background:transparent;color:var(--msh-sc-muted);font-size:18px;line-height:1;cursor:pointer;padding:4px 6px;flex:0 0 auto}.msh-sc-body{flex:1;overflow:auto;padding:12px 14px;background:var(--msh-sc-bg)}.msh-sc-login{display:flex;flex-direction:column;gap:10px;padding:24px 8px;text-align:center;color:var(--msh-sc-muted)}.msh-sc-login button{align-self:center;border:none;border-radius:8px;background:var(--msh-sc-accent);color:#fff;padding:10px 18px;font-weight:600;cursor:pointer;white-space:nowrap;flex:0 0 auto}.msh-sc-msg{display:flex;margin-bottom:8px}.msh-sc-msg.is-user{justify-content:flex-end}.msh-sc-msg.is-admin{justify-content:flex-start}.msh-sc-bubble{max-width:78%;padding:8px 12px;border-radius:12px;word-break:break-word;line-height:1.45}.msh-sc-text{white-space:pre-wrap}.msh-sc-msg.is-user .msh-sc-bubble{background:var(--msh-sc-accent-soft);border-bottom-right-radius:4px}.msh-sc-msg.is-admin .msh-sc-bubble{background:var(--msh-sc-user-bubble);border-bottom-left-radius:4px}.msh-sc-meta{margin-top:2px;font-size:10px;line-height:1.2;color:var(--msh-sc-muted);opacity:.75}.msh-sc-imgs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.msh-sc-imgs img{width:88px;height:66px;object-fit:cover;border-radius:6px;cursor:pointer;border:1px solid var(--msh-sc-border)}.msh-sc-composer{border-top:1px solid var(--msh-sc-border);padding:10px 12px;background:var(--msh-sc-panel)}.msh-sc-composer.is-dragging{outline:2px dashed var(--msh-sc-accent);outline-offset:-4px}.msh-sc-pending{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.msh-sc-pending-item{position:relative}.msh-sc-pending-item img{width:56px;height:42px;object-fit:cover;border-radius:6px}.msh-sc-pending-item button{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border:none;border-radius:50%;background:#e5484d;color:#fff;font-size:12px;cursor:pointer;line-height:1}.msh-sc-input{width:100%;min-height:64px;max-height:120px;resize:vertical;border:1px solid var(--msh-sc-border);border-radius:8px;padding:8px 10px;background:var(--msh-sc-bg);color:var(--msh-sc-text);font:inherit}.msh-sc-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.msh-sc-actions button{border:none;border-radius:8px;padding:8px 12px;cursor:pointer;font-weight:600;white-space:nowrap;flex:0 0 auto}.msh-sc-actions .msh-sc-attach{background:transparent;color:var(--msh-sc-muted);border:1px solid var(--msh-sc-border)}.msh-sc-actions .msh-sc-send{background:var(--msh-sc-accent);color:#fff}.msh-sc-actions .msh-sc-send:disabled{opacity:.55;cursor:not-allowed}.msh-sc-drag-hint{font-size:12px;color:var(--msh-sc-muted)}.msh-sc-empty{text-align:center;color:var(--msh-sc-muted);padding:28px 8px}.msh-sc-error{color:#e5484d;font-size:12px;margin-top:6px}@media (max-width: 760px){.msh-sc-root{right:12px;bottom:calc(72px + env(safe-area-inset-bottom,0px))}.msh-sc-fab{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.msh-sc-fab.is-dragging{cursor:grabbing;filter:brightness(1.08)}.msh-sc-panel{position:fixed;top:0;left:0;width:100vw;height:100vh;bottom:0;right:0;border-radius:0}.msh-sc-drag-hint{display:none!important}}
