:root{--cw-bg: #f5f7fb;--cw-card: #ffffff;--cw-border: #dfe5f2;--cw-text: #142033;--cw-subtle: #52607a;--cw-primary: #0f766e;--cw-primary-strong: #0b5c56;--cw-accent: #f59e0b;--cw-ai: #ecf3ff;--cw-user: #e4f7ef}.cw-chat-widget,.cw-chat-widget *,.demo-shell,.demo-shell *,.demo-widget-popup,.demo-widget-popup *,.demo-dock-panel,.demo-dock-panel *{box-sizing:border-box}body.cw-demo-body{margin:0;font-family:IBM Plex Sans,Segoe UI,sans-serif;background:radial-gradient(circle at top right,#e3ecff 0%,var(--cw-bg) 50%,#edf8f2 100%);color:var(--cw-text)}.demo-shell{max-width:920px;margin:0 auto;padding:2rem 1rem 3rem}.demo-shell h1{margin-bottom:.4rem}.demo-meta{margin-top:0;color:var(--cw-subtle)}.demo-root{margin-top:1rem}.demo-shell-embed-ready{max-width:1260px}.demo-shell-hero{display:grid;gap:.35rem}.demo-shell-title{margin:0}.demo-layout-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1rem 0 .75rem;padding:.8rem 1rem;border:1px solid var(--cw-border);border-radius:16px;background:#ffffffc7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.demo-layout-label{color:var(--cw-subtle);font-size:.9rem;font-weight:600;margin-right:.3rem}.demo-layout-button{border:1px solid #c7cfdf;background:#fff;color:var(--cw-text);border-radius:999px;padding:.5rem .85rem;cursor:pointer}.demo-layout-button.is-active{background:var(--cw-primary);border-color:var(--cw-primary);color:#fff}.demo-stage-status{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.8rem 1rem;border:1px solid var(--cw-border);border-radius:16px;background:#ffffffb8}.demo-stage-status-title{font-size:.98rem}.demo-stage-status-chip{color:var(--cw-subtle);font-size:.9rem}.demo-control-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr) minmax(0,1fr);gap:1rem;margin-top:1rem}.demo-embed-stage{display:grid;gap:1rem;margin-top:1rem}.demo-embed-stage-full{grid-template-columns:minmax(0,1fr)}.demo-embed-stage-sidebar{grid-template-columns:minmax(0,1.3fr) minmax(280px,380px);align-items:start}.demo-embed-stage-widget{grid-template-columns:minmax(0,420px) minmax(220px,1fr);align-items:start}.demo-embed-stage-header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;border:1px solid var(--cw-border);border-radius:16px;background:#ffffffb8}.demo-embed-stage-title{font-size:.96rem}.demo-embed-stage-chip{color:var(--cw-subtle);font-size:.85rem}.demo-widget-frame{min-width:0}.demo-widget-frame.cw-layout-full{width:100%}.demo-widget-frame.cw-layout-sidebar,.demo-widget-frame.cw-layout-widget{max-width:100%}.demo-embed-info{min-width:0;padding:1rem;border:1px solid var(--cw-border);border-radius:16px;background:#ffffffc2;box-shadow:0 8px 24px #0f172a0d}.demo-embed-info-title{margin:0 0 .75rem;font-size:1rem}.demo-auth-shell,.demo-embed-docs{display:grid;gap:.75rem;padding:.9rem;border:1px solid var(--cw-border);border-radius:14px;background:#ffffffb8}.demo-auth-form{display:grid;gap:.7rem}.demo-auth-field{display:grid;gap:.25rem;font-size:.95rem;font-weight:600;color:var(--cw-subtle)}.demo-auth-field input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:.7rem .8rem;font:inherit;color:var(--cw-text)}.demo-auth-status{margin:.2rem 0 0;color:var(--cw-subtle);line-height:1.45}.demo-auth-test-command{margin:0;padding:.7rem .85rem;border:1px dashed #b8c6e3;border-radius:12px;background:#f7fbff;color:var(--cw-text);font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.9rem}.demo-auth-summary{display:grid;gap:.35rem;color:var(--cw-subtle);font-size:.92rem}.demo-auth-summary p{margin:0}.demo-doc-link{color:var(--cw-primary);font-weight:600;text-decoration:none}.demo-doc-link:hover{text-decoration:underline}.demo-code-snippet{margin:0;padding:.9rem;border-radius:12px;background:#0f172a;color:#dbeafe;overflow-x:auto;font-size:.86rem;line-height:1.45}.demo-host-surface{margin-top:1.25rem;border:1px solid var(--cw-border);border-radius:24px;background:#ffffffb3;overflow:hidden;box-shadow:0 18px 40px #0f172a14}.demo-host-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--cw-border);background:#ffffffd1}.demo-host-title{font-size:1rem}.demo-host-subtle{color:var(--cw-subtle);font-size:.9rem}.demo-host-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,320px);gap:1.25rem;padding:1.25rem;min-height:720px}.demo-host-content{display:grid;align-content:start;gap:1rem}.demo-host-heading{margin:0;font-size:1.5rem}.demo-host-copy{margin:0;color:var(--cw-subtle);line-height:1.5}.demo-host-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.demo-host-card,.demo-host-aside{display:grid;gap:.65rem;align-content:start;padding:1rem;border:1px solid var(--cw-border);border-radius:18px;background:#ffffffc7}.demo-host-card-title{font-size:.98rem}.demo-inline-embed{display:grid;gap:.7rem;padding:1rem;border:1px solid var(--cw-border);border-radius:20px;background:#ffffffc7}.demo-inline-embed-title{font-size:1rem}.demo-inline-mount{min-width:0}.demo-dock-launcher{position:fixed;top:50%;right:.75rem;transform:translateY(-50%);z-index:45;border:0;border-radius:999px;padding:.9rem 1rem;background:var(--cw-primary);color:#fff;box-shadow:0 14px 30px #0f766e47;cursor:pointer}.demo-dock-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,92vw);z-index:50;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f8fbfffa;border-left:1px solid var(--cw-border);box-shadow:-24px 0 44px #0f172a2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.demo-widget-launcher{position:fixed;right:1.25rem;bottom:1.25rem;z-index:55;width:68px;height:68px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--cw-primary) 0%,#0b5c56 100%);color:#fff;font-weight:700;box-shadow:0 18px 40px #0f766e57;cursor:pointer}.demo-widget-popup{position:fixed;right:1.25rem;bottom:5.9rem;width:min(430px,calc(100vw - 2rem));max-height:calc(100vh - 8rem);z-index:56;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--cw-border);border-radius:24px;background:#f8fbfffa;box-shadow:0 22px 48px #0f172a38;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.demo-overlay-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-bottom:1px solid var(--cw-border)}.demo-overlay-title{font-size:1rem}.demo-overlay-close{border:1px solid var(--cw-border);background:#fff;color:var(--cw-text);border-radius:10px;padding:.45rem .7rem;cursor:pointer}.demo-overlay-mount{min-height:0;overflow:auto;padding:1rem}.cw-chat-widget{display:grid;grid-template-rows:auto minmax(0,1fr) auto;position:relative;background:var(--cw-card);border:1px solid var(--cw-border);border-radius:24px;box-shadow:0 18px 42px #11182717;overflow:hidden;width:100%;min-height:100%;height:100%}.cw-chat-widget.cw-no-header{grid-template-rows:minmax(0,1fr) auto}.cw-layout-sidebar{border-radius:18px;min-height:calc(100vh - 8rem)}.cw-layout-widget{max-width:520px;border-radius:22px;max-height:calc(100vh - 12rem)}.cw-support-embed{height:100%;min-height:0;width:100%;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;background:#fff}.cw-chat-header{position:relative;padding:.68rem .95rem .56rem;border-bottom:1px solid var(--cw-border);background:linear-gradient(180deg,#fff,#fbfcff)}.cw-chat-header-has-close{padding-right:3.75rem}.cw-chat-close{position:absolute;top:50%;right:.75rem;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:999px;box-shadow:none;transform:translateY(-50%)}.cw-chat-title{margin:0;font-size:.96rem;line-height:1.2}.cw-chat-status{margin:.12rem 0 0;color:var(--cw-subtle);font-size:.78rem;line-height:1.3}.cw-chat-status-meta{min-height:0}.cw-mcp-panel,.cw-approval-panel{margin:.85rem 1.2rem 0;padding:.9rem .95rem;border:1px solid #dbe3f3;border-radius:18px;background:linear-gradient(180deg,#f8fbfffa,#f3f7fffa);box-shadow:0 10px 28px #0f172a0d}.cw-mcp-panel{display:grid;gap:.6rem}.cw-mcp-panel-head,.cw-approval-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.cw-mcp-panel-title,.cw-approval-panel-title{font-size:.95rem;letter-spacing:.01em}.cw-mcp-panel-headline,.cw-approval-panel-state{margin:0;color:var(--cw-primary-strong);font-size:.86rem;font-weight:700;text-align:right}.cw-mcp-panel-detail,.cw-approval-panel-detail{margin:0;color:var(--cw-subtle);line-height:1.45}.cw-mcp-badge-row{display:flex;flex-wrap:wrap;gap:.45rem}.cw-mcp-badge{display:inline-flex;align-items:center;min-height:28px;padding:.28rem .6rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;font-weight:700;letter-spacing:.01em}.cw-mcp-badge-info{background:#eef4ff;color:#35539b;border-color:#c9d9f7}.cw-mcp-badge-success{background:#edf8f2;color:#1f6b45;border-color:#cce9da}.cw-mcp-badge-warning{background:#fff7e6;color:#8b5a00;border-color:#ffe0a8}.cw-mcp-badge-neutral{background:#f4f6fa;color:#52607a;border-color:#dbe3f3}.cw-approval-panel{display:grid;gap:.75rem}.cw-chat-transcript>.cw-approval-panel{align-self:stretch;margin:.2rem 0}.cw-approval-actions{display:flex;flex-wrap:wrap;gap:.55rem}.cw-approval-action.is-busy{opacity:.72}.cw-approval-action[aria-busy=true]{cursor:progress}.cw-command-menu{position:absolute;left:.9rem;bottom:4.6rem;background:#fff;border:1px solid var(--cw-border);border-radius:18px;box-shadow:0 16px 34px #0f172a1f;display:grid;padding:.45rem;gap:.35rem;min-width:220px;z-index:19}.cw-hidden{display:none!important}.cw-command-btn{border:0;background:#f8fafc;color:var(--cw-text);border-radius:14px;text-align:left;padding:.7rem .8rem;cursor:pointer}.cw-command-btn:hover{background:#eef4ff}.cw-chat-transcript{display:flex;flex-direction:column;gap:.6rem;height:auto;min-height:360px;flex:1 1 auto;overflow-y:auto;padding:1.1rem 1.2rem;background:linear-gradient(180deg,#fbfcff,#f7faff);scroll-behavior:smooth}.cw-layout-sidebar .cw-chat-transcript{height:calc(100vh - 18rem)}.cw-layout-widget .cw-chat-transcript{height:min(420px,calc(100vh - 22rem))}.cw-support-embed .cw-chat-transcript{height:auto;flex:1 1 auto;min-height:0;background:#fff}.cw-empty-state{display:grid;align-content:center;justify-items:center;gap:.8rem;min-height:100%;padding:1.5rem .5rem;text-align:center}.cw-empty-state-notice{width:min(100%,340px);padding:.85rem 1rem;border-radius:18px;border:1px solid #cfe3d3;background:linear-gradient(180deg,#f5fbf5,#edf8ee);color:#1f5c34;box-shadow:0 10px 24px #1f5c3414}.cw-empty-state-notice-title{display:block;margin-bottom:.25rem;font-size:.95rem}.cw-empty-state-notice-copy{margin:0;color:#36684a;line-height:1.45}.cw-loading-state{display:grid;align-content:center;justify-items:center;gap:.9rem;min-height:100%;padding:1.5rem .5rem;text-align:center}.cw-loading-state-spinner{width:42px;height:42px;border-radius:999px;border:3px solid #dce6fb;border-top-color:var(--cw-primary);animation:cwRotate .9s linear infinite}.cw-loading-state-copy{margin:0;max-width:260px;color:var(--cw-subtle);line-height:1.45}.cw-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:999px;background:linear-gradient(180deg,#eef2ff,#e8f0ff);color:#6a7fc8;box-shadow:inset 0 1px #fffc}.cw-empty-state-icon-svg{width:32px;height:32px;fill:currentColor}.cw-empty-state-title{margin:0;font-size:1.28rem}.cw-empty-state-copy{margin:0;max-width:280px;color:var(--cw-subtle);line-height:1.45}.cw-quick-actions{display:grid;gap:.55rem;width:100%;max-width:320px;margin-top:.35rem}.cw-quick-action{border:1px solid #dbe3f3;background:#ffffffe6;color:var(--cw-text);border-radius:16px;padding:.85rem .95rem;text-align:left;font:inherit;line-height:1.35;cursor:pointer;box-shadow:0 6px 16px #0f172a0a}.cw-quick-action:hover{background:#fff;border-color:#cbd8f0}.cw-bubble{position:relative;max-width:85%;min-width:min(17rem,85%);border-radius:14px;padding:.6rem .78rem;border:1px solid transparent;box-shadow:0 4px 14px #0f172a0a}.cw-bubble-meta{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;font-size:.72rem;color:var(--cw-subtle)}.cw-bubble-author{font-weight:700;color:var(--cw-text)}.cw-bubble-time{color:#7785a2}.cw-bubble-kind{margin-left:auto;padding:.12rem .4rem;border-radius:999px;background:#7785a21f;text-transform:uppercase;letter-spacing:.05em;font-size:.64rem}.cw-reply-preview{display:block;width:100%;margin:.48rem 0 0;padding:.45rem .58rem;border:1px solid rgba(99,102,241,.24);border-left:3px solid #6366f1;border-radius:8px;background:#6366f112;color:#334155;font:inherit;font-size:.78rem;line-height:1.3;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.cw-reply-preview:hover{background:#6366f11c}.cw-bubble-highlight{outline:2px solid rgba(99,102,241,.55);outline-offset:2px}.cw-bubble-text{margin:.25rem 0 0;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.cw-bubble-text>:first-child{margin-top:0}.cw-bubble-text>:last-child{margin-bottom:0}.cw-bubble-text p{margin:.45rem 0}.cw-audio-message{margin:.42rem 0 0;width:min(100%,22rem)}.cw-audio-message audio{display:block;width:100%;max-width:100%;min-height:2.5rem}.cw-bubble-actions{position:absolute;right:.45rem;bottom:.35rem;display:flex;justify-content:flex-end;opacity:0;pointer-events:none;transform:translateY(50%);transition:opacity .14s ease,transform .14s ease}.cw-bubble:hover .cw-bubble-actions,.cw-bubble:focus-within .cw-bubble-actions{opacity:1;pointer-events:auto;transform:translateY(50%)}.cw-bubble-action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:999px;background:#7785a21a;color:#60708e;cursor:pointer}.cw-bubble-action:hover{background:#4d7cff24;color:var(--cw-primary-strong)}.cw-bubble-action.is-copied{background:#28a74529;color:#1e7a38}.cw-bubble-action-icon{width:15px;height:15px;fill:currentColor}.cw-bubble-text h3,.cw-bubble-text h4,.cw-bubble-text h5,.cw-bubble-text h6{margin:.7rem 0 .35rem;line-height:1.3}.cw-bubble-text ul,.cw-bubble-text ol{margin:.45rem 0;padding-left:1.35rem}.cw-bubble-text ul{list-style:disc}.cw-bubble-text ol{list-style:decimal}.cw-bubble-text li{margin:.2rem 0;padding-left:.1rem}.cw-bubble-text li::marker{color:#6b7a96}.cw-bubble-text hr{border:0;border-top:1px solid #cfd9ec;margin:.75rem 0}.cw-bubble-text blockquote{margin:.55rem 0;padding:.15rem 0 .15rem .8rem;border-left:3px solid #c3d3f7;color:#41516d}.cw-bubble-text .cw-table-wrap{margin:.55rem 0;overflow-x:auto}.cw-bubble-text .cw-table{width:100%;min-width:420px;border-collapse:collapse;border-spacing:0;background:#ffffffc7;border:1px solid #d7e0ef;border-radius:12px;overflow:hidden}.cw-bubble-text .cw-table th,.cw-bubble-text .cw-table td{padding:.62rem .75rem;border-bottom:1px solid #e5ebf5;text-align:left;vertical-align:top;white-space:nowrap}.cw-bubble-text .cw-table th{background:#eef4ff;color:#29436f;font-weight:700;font-size:.88rem}.cw-bubble-text .cw-table td{color:var(--cw-text);font-size:.95rem}.cw-bubble-text .cw-table tbody tr:last-child td{border-bottom:0}.cw-bubble-text code{padding:.08rem .32rem;border-radius:6px;background:#14203314;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.92em;white-space:break-spaces;overflow-wrap:anywhere;word-break:break-word}.cw-bubble-text pre{max-width:100%;margin:.55rem 0;padding:.7rem .8rem;border-radius:10px;background:#142033;color:#ebf2ff;overflow-x:auto;white-space:pre}.cw-bubble-text pre code{padding:0;border-radius:0;background:transparent;color:inherit;white-space:pre;overflow-wrap:normal;word-break:normal}.cw-bubble-text a{color:var(--cw-primary);text-decoration:underline;text-underline-offset:2px;pointer-events:auto}.cw-bubble-text .cw-inline-link{display:inline;max-width:100%;overflow-wrap:anywhere;word-break:break-word;vertical-align:bottom}.cw-typing-bubble{min-width:190px}.cw-typing-indicator{display:inline-flex;align-items:center;gap:.35rem;margin-top:.32rem;min-height:12px;color:var(--cw-subtle)}.cw-typing-dot{width:9px;height:9px;border-radius:999px;background:#7f95bc;opacity:.35;animation:cwTypingPulse 1.15s infinite ease-in-out}.cw-typing-dot:nth-child(2){animation-delay:.18s}.cw-typing-dot:nth-child(3){animation-delay:.36s}@keyframes cwTypingPulse{0%,80%,to{transform:translateY(0);opacity:.35}40%{transform:translateY(-3px);opacity:1}}@keyframes cwRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cw-user{align-self:flex-end;background:var(--cw-user);border-color:#bde6d4}.cw-assistant{align-self:flex-start;background:var(--cw-ai);border-color:#ccdfff}.cw-activity-bubble{position:relative;overflow:visible;width:min(34rem,85%);min-width:min(20rem,85%);background:linear-gradient(135deg,#eef7f4,#f7fbff);border-color:#b9ded6;border-left:4px solid var(--cw-primary);color:#253b45}.cw-activity-bubble:before{content:none}.cw-activity-bubble .cw-bubble-kind{background:#0f766e24;color:var(--cw-primary-strong)}.cw-activity-bubble .cw-bubble-text{color:#30495a;font-style:italic;overflow-wrap:anywhere;white-space:normal}.cw-chat-retry{margin:.65rem 1.2rem;border:1px solid #f4d49a;background:#fff8e9;border-radius:12px;padding:.7rem}.cw-chat-retry-title{display:block;margin-bottom:.2rem}.cw-chat-retry-detail{margin:0 0 .55rem;color:#5b4a26}.cw-chat-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"toggle input send" "footer footer footer";align-items:end;gap:.5rem;padding:.78rem .9rem 1rem;border-top:1px solid var(--cw-border);background:linear-gradient(180deg,#ffffffeb,#fff);position:relative}.cw-chat-input-shell{grid-area:input;display:grid;gap:.45rem;min-width:0}.cw-pending-uploads{display:flex;flex-wrap:wrap;gap:.45rem}.cw-pending-upload{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;padding:.28rem .35rem .28rem .7rem;border:1px solid #d8e0ef;border-radius:999px;background:#f8fafc;color:#41526d}.cw-pending-upload-label{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.cw-pending-upload-remove{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:0;border-radius:999px;background:transparent;color:#64748b;font:inherit;font-size:1rem;line-height:1;cursor:pointer}.cw-pending-upload-remove:hover{background:#e5edf9;color:#334155}.cw-chat-input{border:1px solid #d8e0ef;border-radius:22px;padding:.95rem 1rem;min-width:0;min-height:50px;max-height:160px;resize:none;font:inherit;line-height:1.4;color:var(--cw-text);background:#fff;box-shadow:inset 0 1px #fffc;width:100%}.cw-chat-input:focus{outline:none;border-color:#9cb4e6;box-shadow:0 0 0 3px #4d7cff1f}.cw-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d4dcec;background:#fff;color:var(--cw-text);border-radius:18px;padding:.5rem .65rem;cursor:pointer;box-shadow:0 2px 10px #0f172a0a}.cw-btn:hover{background:#f8f9fc}.cw-btn:disabled{cursor:not-allowed;opacity:.55;box-shadow:none}.cw-btn-primary{border-color:var(--cw-primary);background:var(--cw-primary);color:#fff}.cw-btn-primary:hover{background:var(--cw-primary-strong)}.cw-send-btn:hover{background:#fff;color:var(--cw-primary);border-color:var(--cw-primary)}.cw-upload-label{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d4dcec;border-radius:18px;padding:.5rem;cursor:pointer;background:#fff;box-shadow:0 2px 10px #0f172a0a}.cw-upload-input{display:none}.cw-icon-btn{display:inline-flex;align-items:center;justify-content:center;grid-area:toggle;min-width:46px;min-height:46px;padding:.6rem;border-radius:999px}.cw-send-btn{grid-area:send;min-width:50px;min-height:50px;border-radius:999px}.cw-chat-composer-footer{grid-area:footer;position:relative;margin-top:.2rem;padding-bottom:.05rem;text-align:center;font-size:.72rem;line-height:1.35;color:#7b879c;display:flex;align-items:center;justify-content:center;gap:.32rem;flex-wrap:wrap}.cw-chat-composer-footer a{color:var(--cw-primary);font-weight:600;text-decoration:none}.cw-chat-composer-footer a:hover{text-decoration:underline}.cw-chat-footer-separator{color:#a3adbd}.cw-chat-ai-notice{position:static;display:inline-flex;align-items:center}.cw-chat-ai-notice-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:#64748b;cursor:help;font:inherit;font-weight:600;line-height:inherit;padding:0;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.16rem}.cw-chat-ai-notice-trigger:hover,.cw-chat-ai-notice-trigger:focus-visible{color:var(--cw-primary);outline:none;text-decoration-color:currentColor}.cw-chat-ai-notice-popover{position:absolute;left:50%;bottom:calc(100% + .5rem);z-index:20;width:min(22rem,calc(100% - 1rem));max-width:22rem;padding:.7rem .8rem;border:1px solid rgba(148,163,184,.3);border-radius:8px;background:#111827;box-shadow:0 16px 34px #0f172a38;color:#f8fafc;font-size:.78rem;font-weight:500;line-height:1.45;opacity:0;pointer-events:none;text-align:left;transform:translate(-50%,.25rem);transition:opacity .16s ease,transform .16s ease}.cw-chat-ai-notice:hover .cw-chat-ai-notice-popover,.cw-chat-ai-notice:focus-within .cw-chat-ai-notice-popover,.cw-chat-ai-notice.is-open .cw-chat-ai-notice-popover{opacity:1;transform:translate(-50%)}.cw-command-toggle{color:#64748b}.cw-command-toggle.is-recording{color:#b42318;border-color:#f1b5ae;background:#fff4f2}.cw-command-toggle:hover,.cw-upload-label:hover,.cw-icon-btn:hover{background:#f8fafc}.cw-composer-menu{position:absolute;left:.9rem;bottom:4.6rem;display:grid;gap:.4rem;min-width:168px;padding:.45rem;border:1px solid var(--cw-border);border-radius:18px;background:#fffffffa;box-shadow:0 16px 34px #0f172a1f;z-index:18}.cw-composer-action{display:flex;align-items:center;gap:.65rem;width:100%;border:0;background:#f8fafc;color:var(--cw-text);border-radius:14px;padding:.7rem .8rem;font:inherit;cursor:pointer}.cw-composer-action:hover{background:#eef4ff}.cw-composer-action-svg{width:18px;height:18px;fill:currentColor;flex:0 0 auto}.cw-composer-action-label{font-size:.95rem}.cw-upload-label,.cw-upload-input,.cw-btn[aria-label="Record voice message"]{display:none!important}.cw-scroll-to-bottom{position:absolute;left:50%;transform:translate(-50%);bottom:6.2rem;z-index:15;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid rgba(120,144,184,.35);border-radius:999px;background:#fffffff5;color:var(--cw-primary-strong);box-shadow:0 12px 28px #0f172a24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.cw-scroll-to-bottom:hover{background:#f8fbff}.cw-scroll-to-bottom-icon{display:block;width:22px;height:22px;fill:currentColor}.cw-icon-button-inner{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;width:100%;height:100%;line-height:0}.cw-icon-button-svg{display:block;width:18px;height:18px;fill:currentColor}.cw-btn-primary .cw-icon-button-svg{fill:currentColor}.cw-icon-button-text{font-size:.85rem}@media(max-width:720px){.demo-control-grid,.demo-host-body,.demo-host-cards{grid-template-columns:1fr}.demo-dock-panel{width:min(100vw,100%)}.demo-widget-popup{right:.75rem;left:.75rem;width:auto;bottom:5.5rem}.cw-chat-composer{grid-template-columns:auto minmax(0,1fr) auto}.cw-bubble{max-width:92%}.cw-bubble-kind{margin-left:0}.demo-layout-toolbar{align-items:flex-start}}
