.prototype-loading{padding:40px;color:#8c8c8c}
#toast[data-kind=success]{padding:10px 16px;border-radius:24px}
.chat-type-tabs,.ticket-mode-row{gap:8px!important;justify-content:flex-start}
.module-switcher{display:inline-flex;flex-shrink:0;align-items:center;padding:4px;gap:0;background:#f5f6fa;border-radius:12px;height:40px}
.module-tab{position:relative;border:0;background:transparent;color:rgba(0,0,0,.45);height:32px;line-height:32px;padding:0 8px;border-radius:6px;font-size:14px;white-space:nowrap}
.module-tab.active{background:#f60;color:#fff;font-weight:600;box-shadow:0 0 8px rgba(188,201,228,.35)}
.module-unread-dot{position:absolute;right:1px;top:1px;width:7px;height:7px;border:1.5px solid #fff;border-radius:50%;background:#ff4d4f}
.module-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:28px;padding:3px;border:0;background:transparent;color:rgba(0,0,0,.45)}
.module-icon-button:hover,.module-icon-button:focus-visible{color:#f60}
.module-icon-button:disabled{color:rgba(0,0,0,.25);cursor:not-allowed;opacity:1}
.module-icon{width:14px;height:14px;display:block;fill:currentColor}
.module-tooltip{position:fixed;z-index:5000;max-width:calc(100vw - 16px);padding:6px 8px;min-height:32px;box-sizing:border-box;background:rgba(0,0,0,.75);border-radius:6px;color:#fff;font:12px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Microsoft YaHei",sans-serif;white-space:normal;pointer-events:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}
.module-tooltip::after{content:'';position:absolute;left:var(--arrow-left);transform:translateX(-50%);border:5px solid transparent}
.module-tooltip[data-placement=top]::after{top:100%;border-top-color:rgba(0,0,0,.75)}
.module-tooltip[data-placement=bottom]::after{bottom:100%;border-bottom-color:rgba(0,0,0,.75)}
.workbench-fullscreen>.global-rail,.workbench-fullscreen>.topbar{display:none}
#app.workbench-fullscreen>.main{position:fixed;inset:0;left:0;top:0;right:0;bottom:0;padding:0 4px 4px!important;z-index:20;background:#f5f6fa}
.workbench-fullscreen .chat-type-tabs,.workbench-fullscreen .ticket-mode-row{height:60px;min-height:60px;padding-top:8px;padding-bottom:8px}
.module-demo .demo-identity{display:flex;flex-direction:column;gap:6px;margin:14px 0}
.module-demo .demo-state{padding:10px;background:#f7f8fa;border-radius:6px;line-height:1.8}
.module-demo .demo-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.module-demo .check-row{margin-top:12px;display:flex;gap:8px;align-items:center}
body:has(.module-icon-button[aria-busy=true]) .module-demo [data-action^=demo-]{pointer-events:none;opacity:.5}
