yc-agent-ui 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +2 -2
- package/es/components/dialog-form/src/index.vue.d.ts +2 -2
- package/es/components/display-item/index.d.ts +6 -6
- package/es/components/display-item/src/index.vue.d.ts +6 -6
- package/es/components/drawer-form/index.d.ts +14 -14
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +4 -4
- package/es/components/form/src/form-content.vue.d.ts +4 -4
- package/es/components/form/src/index.vue.d.ts +4 -4
- package/es/components/form-item/index.d.ts +6 -6
- package/es/components/form-item/src/index.vue.d.ts +4 -4
- package/es/components/page/index.d.ts +86 -86
- package/es/components/page/src/index.vue.d.ts +30 -30
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +26 -26
- package/es/components/search/src/index.vue.d.ts +10 -10
- package/es/components/table/src/table-column.vue.d.ts +12 -12
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +5 -0
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +2 -1
- package/es/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +88 -88
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +96 -96
- package/es/index.css +9 -9
- package/es/packages/components/yc-ai-chat/src/bubble2.vue.mjs +3 -2
- package/es/packages/components/yc-ai-chat/src/mobile-frame2.vue.mjs +34 -31
- package/es/packages/components/yc-ai-chat/src/presets.mjs +1 -1
- package/es/packages/components/yc-ai-chat/src/sender2.vue.mjs +16 -15
- package/es/packages/components/yc-ai-chat/src/sidebar2.vue.mjs +63 -35
- package/es/packages/components/yc-ai-chat/src/studio2.vue.mjs +42 -72
- package/es/packages/components/yc-ai-chat/src/welcome2.vue.mjs +22 -40
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +353 -368
- package/index.min.js +18 -18
- package/index.min.mjs +18 -18
- package/index.mjs +353 -368
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +2 -2
- package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
- package/lib/components/display-item/index.d.ts +6 -6
- package/lib/components/display-item/src/index.vue.d.ts +6 -6
- package/lib/components/drawer-form/index.d.ts +14 -14
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +4 -4
- package/lib/components/form/src/form-content.vue.d.ts +4 -4
- package/lib/components/form/src/index.vue.d.ts +4 -4
- package/lib/components/form-item/index.d.ts +6 -6
- package/lib/components/form-item/src/index.vue.d.ts +4 -4
- package/lib/components/page/index.d.ts +86 -86
- package/lib/components/page/src/index.vue.d.ts +30 -30
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +26 -26
- package/lib/components/search/src/index.vue.d.ts +10 -10
- package/lib/components/table/src/table-column.vue.d.ts +12 -12
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +5 -0
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +2 -1
- package/lib/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +88 -88
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +96 -96
- package/lib/index.css +12 -12
- package/lib/packages/components/yc-ai-chat/src/bubble2.vue.js +3 -2
- package/lib/packages/components/yc-ai-chat/src/mobile-frame2.vue.js +34 -31
- package/lib/packages/components/yc-ai-chat/src/presets.js +1 -1
- package/lib/packages/components/yc-ai-chat/src/sender2.vue.js +16 -15
- package/lib/packages/components/yc-ai-chat/src/sidebar2.vue.js +63 -35
- package/lib/packages/components/yc-ai-chat/src/studio2.vue.js +41 -71
- package/lib/packages/components/yc-ai-chat/src/welcome2.vue.js +21 -39
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/src/yc-ai-chat.scss +11 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
.yc-chat-studio{--yc-ink-900:#0f172a;--yc-ink-700:#334155;--yc-ink-500:#64748b;--yc-ink-400:#94a3b8;--yc-surface-0:#fff;--yc-surface-50:#f8fafc;--yc-surface-100:#f1f5f9;--yc-line-200:#e2e8f0;--yc-line-300:#cbd5e1;--yc-accent-blue:#2563eb;--yc-accent-blue-bg:#eff6ff;--yc-accent-blue-border:#bfdbfe;--yc-chat-thinking-bg:#f8fafc;border:1px solid var(--yc-line-200);border-radius:12px;color:var(--yc-ink-900);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,sans-serif;height:calc(100vh - 96px);min-height:620px;overflow:hidden}.yc-chat-studio,.yc-chat-studio__notices{background:var(--yc-surface-0);display:flex;flex-direction:column}.yc-chat-studio__notices{flex-shrink:0;gap:8px;padding:10px 16px 0}.yc-chat-studio__topbar{background:var(--yc-surface-0);border-bottom:1px solid var(--yc-line-200);flex-shrink:0;gap:12px;justify-content:space-between;min-height:52px;padding:8px 14px}.yc-chat-studio__left,.yc-chat-studio__topbar{align-items:center;display:flex;flex-wrap:wrap}.yc-chat-studio__left{gap:8px;min-width:0}.yc-chat-studio__right{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.yc-chat-studio__icon-btn{align-items:center;background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:8px;color:var(--yc-ink-700);cursor:pointer;display:inline-flex;height:32px;justify-content:center;transition:background-color .15s ease,border-color .15s ease,color .15s ease;width:32px}.yc-chat-studio__icon-btn svg{height:16px;width:16px}.yc-chat-studio__icon-btn:hover{background:var(--yc-surface-50);border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__context{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.yc-chat-studio__status-group{align-items:center;display:inline-flex;gap:8px;padding-left:4px}.yc-chat-studio__status-chip{align-items:center;background:var(--yc-surface-100);border:1px solid transparent;border-radius:999px;color:var(--yc-ink-500);display:inline-flex;font-size:12px;font-weight:500;gap:6px;height:26px;padding:0 9px}.yc-chat-studio__status-chip .status-dot{background:var(--yc-ink-400);border-radius:50%;height:6px;width:6px}.yc-chat-studio__status-chip.is-connected{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.yc-chat-studio__status-chip.is-connected .status-dot{background:#10b981}.yc-chat-studio__status-chip.is-connecting{background:#fffbeb;border-color:#fde68a;color:#b45309}.yc-chat-studio__status-chip.is-connecting .status-dot{background:#f59e0b}.yc-chat-studio__status-chip.is-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.yc-chat-studio__status-chip.is-error .status-dot{background:#ef4444}.yc-chat-studio__subtitle{color:var(--yc-ink-400);font-size:12px;white-space:nowrap}@media (max-width:1280px){.yc-chat-studio__subtitle{display:none}}.yc-chat-studio__segmented{align-items:center;background:var(--yc-surface-100);border:1px solid var(--yc-line-200);border-radius:8px;display:inline-flex;gap:2px;padding:3px}.yc-chat-studio__segment-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:var(--yc-ink-500);cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:26px;padding:0 10px;transition:all .15s ease}.yc-chat-studio__segment-btn svg{height:14px;width:14px}.yc-chat-studio__segment-btn:hover:not(.is-active){color:var(--yc-ink-900)}.yc-chat-studio__segment-btn.is-active{background:var(--yc-surface-0);box-shadow:0 1px 2px rgba(15,23,42,.08);color:var(--yc-ink-900);font-weight:600}.yc-chat-studio__devices{align-items:center;display:inline-flex;gap:4px}.yc-chat-studio__device-pill{background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:7px;color:var(--yc-ink-500);cursor:pointer;font-size:12px;font-weight:500;height:28px;padding:0 10px;transition:all .15s ease}.yc-chat-studio__device-pill:hover{border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__device-pill.is-active{background:var(--yc-ink-900);border-color:var(--yc-ink-900);color:#fff}.yc-chat-studio__ghost-btn{align-items:center;background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:8px;color:var(--yc-ink-700);cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:32px;padding:0 11px;transition:all .15s ease}.yc-chat-studio__ghost-btn svg{height:14px;width:14px}.yc-chat-studio__ghost-btn .is-spinning{animation:yc-chat-spin .9s linear infinite}.yc-chat-studio__ghost-btn:hover:not(:disabled){background:var(--yc-surface-50);border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__ghost-btn:disabled{cursor:not-allowed;opacity:.5}.yc-chat-studio__web-body{display:flex;flex:1;min-height:0;overflow:hidden}.yc-chat-studio__sidebar-wrap{background:#fcfcfd;border-right:1px solid var(--yc-line-200);flex-shrink:0;overflow:hidden;transition:width .2s ease;width:256px}.yc-chat-studio__sidebar-wrap.is-collapsed{border-right-color:transparent;width:0}.yc-chat-studio__main{background:var(--yc-surface-0);display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.yc-chat-studio__stream{flex:1;min-height:0;overflow-y:auto;padding:24px 24px 12px;scroll-behavior:smooth}.yc-chat-studio__stream-inner{display:flex;flex-direction:column;margin:0 auto;max-width:800px;min-height:100%;width:100%}.yc-chat-studio__composer-dock{background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff 30%);flex-shrink:0;padding:8px 24px 20px}.yc-chat-studio__composer-inner{margin:0 auto;max-width:800px;width:100%}.yc-chat-studio__mobile-stage{background-color:var(--yc-surface-50);background-image:radial-gradient(#cbd5e1 1px,transparent 0);background-size:18px 18px;flex:1;overflow-y:auto;padding:16px}.yc-chat-studio__mobile-canvas,.yc-chat-studio__mobile-stage{align-items:center;display:flex;justify-content:center;min-height:0}.yc-chat-studio__mobile-canvas{width:100%}.yc-chat-studio__mobile-stream{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:12px 12px 8px}.yc-chat-select{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#0f172a;cursor:pointer;display:inline-flex;font-size:12.5px;gap:6px;height:32px;line-height:1;max-width:240px;padding:0 9px 0 10px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.yc-chat-select:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.yc-chat-select.is-open{border-color:#0f172a;box-shadow:0 0 0 2px rgba(15,23,42,.08)}.yc-chat-select.is-disabled,.yc-chat-select:disabled{background:#f8fafc;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-select__prefix{border-right:1px solid #e2e8f0;color:#64748b;flex-shrink:0;font-size:11.5px;font-weight:500;padding-right:6px;white-space:nowrap}.yc-chat-select__value{color:#475569;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-select.has-value .yc-chat-select__value{color:#0f172a;font-weight:600}.yc-chat-select.is-disabled .yc-chat-select__value{color:#94a3b8;font-weight:400}.yc-chat-select__chevron{color:#94a3b8;flex-shrink:0;height:14px;margin-left:2px;width:14px}.yc-chat-select__clear{align-items:center;border-radius:4px;color:#94a3b8;display:inline-flex;flex-shrink:0;height:16px;justify-content:center;width:16px}.yc-chat-select__clear svg{height:12px;width:12px}.yc-chat-select__clear:hover{background:#e2e8f0;color:#0f172a}.yc-chat-select__popover{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 12px 32px -6px rgba(15,23,42,.14),0 4px 10px -2px rgba(15,23,42,.06);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,sans-serif;max-width:300px;min-width:220px;overflow:hidden;z-index:3200}.yc-chat-select__search{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:7px;padding:8px 10px}.yc-chat-select__search-icon{color:#94a3b8;flex-shrink:0;height:14px;width:14px}.yc-chat-select__search-input{background:transparent;border:none;color:#0f172a;font-size:12.5px;outline:none;width:100%}.yc-chat-select__search-input::-moz-placeholder{color:#94a3b8}.yc-chat-select__search-input::placeholder{color:#94a3b8}.yc-chat-select__list{max-height:256px;overflow-y:auto;padding:4px}.yc-chat-select__empty{color:#94a3b8;font-size:12.5px;padding:18px 12px;text-align:center}.yc-chat-select__option{align-items:center;background:transparent;border:none;border-radius:6px;color:#334155;cursor:pointer;display:flex;font-size:12.5px;gap:8px;justify-content:space-between;padding:7px 9px;text-align:left;transition:background-color .12s ease,color .12s ease;width:100%}.yc-chat-select__option:hover{background:#f1f5f9;color:#0f172a}.yc-chat-select__option.is-selected{background:#f8fafc;color:#0f172a;font-weight:600}.yc-chat-select__option-body{display:flex;flex-direction:column;gap:2px;min-width:0}.yc-chat-select__option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-select__option-desc{color:#94a3b8;font-size:11px;font-weight:400}.yc-chat-select__check{color:#0f172a;flex-shrink:0;height:14px;width:14px}.yc-chat-sidebar{display:flex;flex-direction:column;height:100%;min-width:220px;width:100%}.yc-chat-sidebar__header{border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px;padding:12px}.yc-chat-sidebar__create-btn{align-items:center;background:#0f172a;border:1px solid #0f172a;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;gap:6px;height:36px;justify-content:center;padding:0 12px;transition:all .15s ease;width:100%}.yc-chat-sidebar__create-btn svg{height:15px;width:15px}.yc-chat-sidebar__create-btn:hover:not(:disabled){background:#1e293b;border-color:#1e293b}.yc-chat-sidebar__create-btn:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-sidebar__search{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:7px;display:flex;gap:6px;height:30px;padding:0 9px}.yc-chat-sidebar__search svg{color:#94a3b8;flex-shrink:0;height:13px;width:13px}.yc-chat-sidebar__search-input{background:transparent;border:none;color:#0f172a;font-size:12px;outline:none;width:100%}.yc-chat-sidebar__search-input::-moz-placeholder{color:#94a3b8}.yc-chat-sidebar__search-input::placeholder{color:#94a3b8}.yc-chat-sidebar__body{flex:1;min-height:0;overflow-y:auto}.yc-chat-sidebar__empty{color:#94a3b8;font-size:12.5px;line-height:1.6;padding:40px 16px;text-align:center}.yc-chat-sidebar__item{align-items:center;display:flex;gap:8px;justify-content:space-between;min-width:0;padding:2px 0;width:100%}.yc-chat-sidebar__item-main{flex:1;min-width:0}.yc-chat-sidebar__item-title{color:#0f172a;font-size:13px;font-weight:500;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-sidebar__item-time{color:#94a3b8;font-size:11px;line-height:1.3;margin-top:2px}.yc-chat-sidebar__delete-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;display:inline-flex;height:24px;justify-content:center;opacity:0;transition:all .14s ease;width:24px}.yc-chat-sidebar__delete-btn svg{height:14px;width:14px}.yc-chat-sidebar__delete-btn:hover{background:#fef2f2;color:#dc2626}.yc-chat-sidebar__item.active .yc-chat-sidebar__delete-btn,.yc-chat-sidebar__item:hover .yc-chat-sidebar__delete-btn{opacity:1}.yc-chat-sidebar__more{padding:8px 0 12px;text-align:center}.yc-chat-sidebar__more-btn{background:transparent;border:none;color:#475569;cursor:pointer;font-size:12px}.yc-chat-sidebar__more-btn:hover:not(:disabled){color:#0f172a;text-decoration:underline}.yc-chat-welcome{align-items:center;display:flex;flex:1;justify-content:center;padding:28px 16px}.yc-chat-welcome__inner{gap:26px;max-width:620px;width:100%}.yc-chat-welcome__hero,.yc-chat-welcome__inner{align-items:center;display:flex;flex-direction:column}.yc-chat-welcome__hero{gap:12px;text-align:center}.yc-chat-welcome__glyph{align-items:center;background:#0f172a;border-radius:12px;box-shadow:0 6px 16px -4px rgba(15,23,42,.18);color:#fff;display:inline-flex;height:44px;justify-content:center;width:44px}.yc-chat-welcome__glyph svg{height:22px;width:22px}.yc-chat-welcome .elx-welcome,.yc-chat-welcome .elx-welcome-container{align-items:center!important;background:transparent!important;border:none!important;box-shadow:none!important;justify-content:center!important;padding:0!important;text-align:center!important}.yc-chat-welcome .elx-welcome__content{align-items:center!important;text-align:center!important}.yc-chat-welcome .elx-welcome__title{color:#0f172a!important;font-size:19px!important;font-weight:600!important;justify-content:center!important;letter-spacing:-.01em}.yc-chat-welcome .elx-welcome__description{color:#64748b!important;font-size:13.5px!important;line-height:1.6!important;margin:4px auto 0!important;max-width:420px}.yc-chat-welcome__prompts{width:100%}.yc-chat-welcome__prompts .elx-prompts-title{color:#64748b!important;font-size:12px!important;font-weight:500!important;margin-bottom:8px!important}.yc-chat-welcome__prompts .elx-prompts-items{display:grid!important;gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))}.yc-chat-welcome__prompts .elx-prompts-item{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:10px!important;padding:12px 14px!important;transition:all .15s ease!important;width:100%!important}.yc-chat-welcome__prompts .elx-prompts-item:hover{background:#f8fafc!important;border-color:#94a3b8!important;transform:translateY(-1px)}.yc-chat-welcome.is-compact{padding:18px 8px}.yc-chat-welcome.is-compact .yc-chat-welcome__glyph{border-radius:10px;height:38px;width:38px}.yc-chat-welcome.is-compact .elx-welcome__title{font-size:16px!important}.yc-chat-welcome.is-compact .elx-welcome__description{font-size:12.5px!important}.yc-chat-welcome.is-compact .yc-chat-welcome__prompts .elx-prompts-items{grid-template-columns:minmax(0,1fr)}.yc-chat-bubble{margin-bottom:20px;width:100%}.yc-chat-bubble .el-bubble{gap:12px}.yc-chat-bubble .el-bubble-content-wrapper{max-width:min(720px,100%)}.yc-chat-bubble.user .el-bubble-content-wrapper{align-items:flex-end;max-width:min(580px,86%)}.yc-chat-bubble__avatar{align-items:center;background:#0f172a;border-radius:8px;color:#fff;display:inline-flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.yc-chat-bubble__avatar svg{height:14px;width:14px}.yc-chat-bubble__header{align-items:center;display:flex;gap:8px;margin-bottom:4px}.yc-chat-bubble__sender{color:#0f172a;font-size:12.5px;font-weight:600}.yc-chat-bubble__status{background:#fef2f2;border-radius:999px;color:#dc2626;font-size:11px;padding:1px 7px}.yc-chat-bubble__surface.assistant{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.03);padding:12px 16px}.yc-chat-bubble__surface.user{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:18px 18px 4px 18px;color:#0f172a;padding:10px 15px}.yc-chat-bubble__body{display:flex;flex-direction:column;gap:10px;min-width:0;word-break:break-word}.yc-chat-bubble__metrics{border-top:1px dashed #e2e8f0;display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:8px}.yc-chat-bubble__metric-pill{background:#f8fafc;border-radius:5px;color:#64748b;font-size:11px;font-variant-numeric:tabular-nums;padding:2px 7px}.yc-chat-bubble__footer{align-items:flex-start;display:flex;gap:10px;justify-content:space-between;margin-top:4px;width:100%}.yc-chat-bubble__footer.is-user{justify-content:flex-end}.yc-chat-bubble__identifiers{color:#64748b;font-size:11px}.yc-chat-bubble__identifiers summary{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.yc-chat-bubble__identifiers summary:hover{color:#0f172a}.yc-chat-bubble__identifiers .message-identifiers__list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;display:flex;flex-direction:column;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;gap:2px;margin-top:4px;padding:6px 8px;word-break:break-all}.yc-chat-bubble__actions{align-items:center;display:inline-flex;gap:4px;margin-left:auto}.yc-chat-bubble__actions .message-action-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:inline-flex;font-size:11.5px;gap:4px;height:24px;padding:0 7px;transition:all .14s ease}.yc-chat-bubble__actions .message-action-btn svg{height:13px;width:13px}.yc-chat-bubble__actions .message-action-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.yc-chat-bubble__actions .message-action-btn:disabled{cursor:not-allowed;opacity:.4}.yc-chat-bubble.is-compact{margin-bottom:14px}.yc-chat-bubble.is-compact .yc-chat-bubble__avatar{border-radius:6px;height:24px;width:24px}.yc-chat-bubble.is-compact .yc-chat-bubble__surface.assistant{border-radius:10px;padding:10px 12px}.yc-chat-bubble.is-compact .yc-chat-bubble__surface.user{border-radius:15px 15px 4px 15px;padding:8px 12px}.yc-chat-thinking{width:100%}.yc-chat-thinking .el-thinking{margin:0!important}.yc-chat-thinking .trigger{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:7px!important;font-size:12px!important;padding:5px 10px!important}.yc-chat-thinking__label{color:#334155;font-size:12px;font-weight:500}.yc-chat-thinking__label.is-error{color:#dc2626}.yc-chat-thinking__body{color:#64748b;font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.yc-chat-thinking__body.is-error{color:#dc2626}.yc-chat-file-card{align-items:center;display:inline-flex;gap:8px;max-width:100%}.yc-chat-file-card--composer{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:2px 6px 2px 2px;position:relative}.yc-chat-file-card--artifact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;display:flex;justify-content:space-between;padding:6px 10px 6px 6px;width:100%}.yc-chat-file-card__main{flex:1;min-width:0}.yc-chat-file-card__main .elx-files-card{background:transparent!important;border:none!important;box-shadow:none!important;padding:2px 4px!important}.yc-chat-file-card__remove{align-items:center;background:#e2e8f0;border:none;border-radius:50%;color:#475569;cursor:pointer;display:inline-flex;height:20px;justify-content:center;width:20px}.yc-chat-file-card__remove svg{height:11px;width:11px}.yc-chat-file-card__remove:hover{background:#fee2e2;color:#dc2626}.yc-chat-file-card__download{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:7px;color:#0f172a;cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;gap:4px;height:28px;padding:0 10px}.yc-chat-file-card__download svg{height:13px;width:13px}.yc-chat-file-card__download:hover:not(:disabled){background:#f1f5f9}.yc-chat-sender{background:#fff;border:1px solid #cbd5e1;position:relative;transition:border-color .16s ease,box-shadow .16s ease}.yc-chat-sender .composer-file-input{display:none}.yc-chat-sender__attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.yc-chat-sender__textarea{background:transparent;border:none;color:#0f172a;display:block;font-family:inherit;font-size:14px;line-height:1.6;outline:none;padding:2px 0;resize:none;width:100%}.yc-chat-sender__textarea::-moz-placeholder{color:#94a3b8}.yc-chat-sender__textarea::placeholder{color:#94a3b8}.yc-chat-sender__textarea:disabled{color:#94a3b8;cursor:not-allowed}.yc-chat-sender.is-web{border-radius:16px;box-shadow:0 4px 20px -6px rgba(15,23,42,.08),0 1px 3px rgba(15,23,42,.03);padding:12px 14px 10px}.yc-chat-sender.is-web:focus-within{border-color:#0f172a;box-shadow:0 0 0 3px rgba(15,23,42,.06),0 8px 24px -8px rgba(15,23,42,.1)}.yc-chat-sender.is-web.is-disabled{background:#fcfcfd;border-color:#e2e8f0}.yc-chat-sender.is-dragover{background:#eff6ff;border-color:#2563eb}.yc-chat-sender__toolbar{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yc-chat-sender__controls{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.yc-chat-sender__chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#475569;cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:30px;padding:0 11px;transition:all .15s ease}.yc-chat-sender__chip svg{height:14px;width:14px}.yc-chat-sender__chip:hover:not(:disabled):not(.is-active){background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.yc-chat-sender__chip.is-active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;font-weight:600}.yc-chat-sender__chip:disabled{background:#f8fafc;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-sender__submit-btn{align-items:center;background:#0f172a;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;height:32px;justify-content:center;transition:all .15s ease;width:32px}.yc-chat-sender__submit-btn svg{height:15px;width:15px}.yc-chat-sender__submit-btn:hover:not(:disabled){background:#1e293b;transform:translateY(-1px)}.yc-chat-sender__submit-btn:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed;transform:none}.yc-chat-sender__submit-btn.is-stop{background:#0f172a;color:#fff}.yc-chat-sender .composer-stop-square{background:currentColor;border-radius:2px;display:inline-block;height:9px;width:9px}.yc-chat-sender.is-mobile{background:#fff;border:none;border-radius:0;border-top:1px solid #e2e8f0;box-shadow:none;padding:8px 10px}.yc-chat-sender__mobile-chips{align-items:center;display:flex;gap:6px;margin-bottom:6px}.yc-chat-sender__mobile-chips .yc-chat-sender__chip{font-size:11.5px;height:25px;padding:0 9px}.yc-chat-sender__mobile-row{align-items:flex-end;display:flex;gap:8px}.yc-chat-sender__mobile-row .yc-chat-sender__textarea{background:#f1f5f9;border-radius:18px;font-size:13.5px;line-height:1.45;max-height:96px;padding:7px 12px}.yc-chat-sender__mobile-attach{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:50%;color:#475569;cursor:pointer;display:inline-flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.yc-chat-sender__mobile-attach svg{height:15px;width:15px}.yc-chat-sender__mobile-attach:disabled{background:#f8fafc;color:#cbd5e1;cursor:not-allowed}.yc-mobile-device{align-items:center;display:flex;flex-direction:column;gap:8px}.yc-mobile-device__shell{background:linear-gradient(145deg,#27272a,#09090b);border:1px solid hsla(0,0%,100%,.14);border-radius:42px;box-shadow:0 24px 60px -16px rgba(15,23,42,.26),0 6px 20px -6px rgba(15,23,42,.12);display:flex;flex-direction:column;height:min(var(--yc-device-height,800px) + 20px,100vh - 200px);min-height:500px;overflow:hidden;padding:10px;width:calc(var(--yc-device-width, 393px) + 20px)}.yc-mobile-device__statusbar{align-items:center;background:#fff;border-radius:32px 32px 0 0;color:#0f172a;display:flex;flex-shrink:0;height:30px;justify-content:space-between;padding:4px 18px 0}.yc-mobile-device__clock{font-size:12px;font-variant-numeric:tabular-nums;font-weight:600;width:48px}.yc-mobile-device__island{background:#09090b;border-radius:999px;height:19px;width:80px}.yc-mobile-device__signals{align-items:center;display:inline-flex;gap:5px;justify-content:flex-end;width:48px}.yc-mobile-device__signal-svg{height:10px;width:15px}.yc-mobile-device__battery-svg{height:11px;width:21px}.yc-mobile-device__navbar{align-items:center;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;flex-shrink:0;height:44px;justify-content:space-between;padding:0 10px}.yc-mobile-device__nav-btn{align-items:center;background:transparent;border:none;border-radius:8px;color:#334155;cursor:pointer;display:inline-flex;height:32px;justify-content:center;position:relative;width:32px}.yc-mobile-device__nav-btn svg{height:16px;width:16px}.yc-mobile-device__nav-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.yc-mobile-device__nav-btn:disabled{color:#cbd5e1;cursor:not-allowed}.yc-mobile-device__badge{background:#0f172a;border-radius:999px;color:#fff;font-size:9px;height:14px;line-height:14px;min-width:14px;padding:0 3px;position:absolute;right:1px;text-align:center;top:2px}.yc-mobile-device__nav-center{align-items:center;display:flex;flex-direction:column;min-width:0}.yc-mobile-device__nav-title{color:#0f172a;font-size:13.5px;font-weight:600;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-mobile-device__nav-sub{align-items:center;color:#64748b;display:inline-flex;font-size:10.5px;gap:4px}.yc-mobile-device__dot{background:#94a3b8;border-radius:50%;height:6px;width:6px}.yc-mobile-device__dot.is-connected{background:#10b981}.yc-mobile-device__dot.is-connecting{background:#f59e0b}.yc-mobile-device__dot.is-error{background:#ef4444}.yc-mobile-device__nav-actions{align-items:center;display:inline-flex;gap:2px}.yc-mobile-device__viewport{background:#f8fafc;position:relative}.yc-mobile-device__body,.yc-mobile-device__viewport{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.yc-mobile-device__footer{background:#fff;flex-shrink:0}.yc-mobile-device__drawer-mask{background:rgba(15,23,42,.36);display:flex;inset:0;position:absolute;z-index:15}.yc-mobile-device__drawer{background:#fff;box-shadow:8px 0 24px rgba(15,23,42,.16);display:flex;flex-direction:column;height:100%;width:82%}.yc-mobile-device__drawer-top{align-items:center;border-bottom:1px solid #e2e8f0;color:#0f172a;display:flex;font-size:13px;font-weight:600;height:42px;justify-content:space-between;padding:0 10px 0 14px}.yc-mobile-device__drawer-content{flex:1;min-height:0;overflow:hidden}.yc-mobile-device__home-bar{align-items:center;background:#fff;border-radius:0 0 32px 32px;display:flex;flex-shrink:0;height:18px;justify-content:center}.yc-mobile-device__home-bar span{background:rgba(15,23,42,.2);border-radius:999px;height:4px;width:118px}.yc-mobile-device__caption{align-items:center;color:#64748b;display:inline-flex;font-size:12px;gap:8px}@keyframes yc-chat-spin{to{transform:rotate(1turn)}}@media (max-width:768px){.yc-chat-studio{border-radius:10px;height:calc(100dvh - 84px);min-height:480px}.yc-chat-studio__sidebar-wrap{border-right-color:transparent;width:0}.yc-chat-studio__stream{padding:14px 12px 8px}.yc-chat-studio__composer-dock{padding:6px 10px 12px}}
|
|
1
|
+
.yc-chat-studio{--yc-ink-900:#0f172a;--yc-ink-700:#334155;--yc-ink-500:#64748b;--yc-ink-400:#94a3b8;--yc-surface-0:#fff;--yc-surface-50:#f8fafc;--yc-surface-100:#f1f5f9;--yc-line-200:#e2e8f0;--yc-line-300:#cbd5e1;--yc-accent-blue:#2563eb;--yc-accent-blue-bg:#eff6ff;--yc-accent-blue-border:#bfdbfe;--yc-chat-thinking-bg:#f8fafc;border:1px solid var(--yc-line-200);border-radius:12px;color:var(--yc-ink-900);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,sans-serif;height:calc(100vh - 96px);min-height:620px;overflow:hidden}.yc-chat-studio,.yc-chat-studio__notices{background:var(--yc-surface-0);display:flex;flex-direction:column}.yc-chat-studio__notices{flex-shrink:0;gap:8px;padding:10px 16px 0}.yc-chat-studio__topbar{background:var(--yc-surface-0);border-bottom:1px solid var(--yc-line-200);flex-shrink:0;gap:12px;justify-content:space-between;min-height:52px;padding:8px 14px}.yc-chat-studio__left,.yc-chat-studio__topbar{align-items:center;display:flex;flex-wrap:wrap}.yc-chat-studio__left{gap:8px;min-width:0}.yc-chat-studio__right{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.yc-chat-studio__icon-btn{align-items:center;background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:8px;color:var(--yc-ink-700);cursor:pointer;display:inline-flex;height:32px;justify-content:center;transition:background-color .15s ease,border-color .15s ease,color .15s ease;width:32px}.yc-chat-studio__icon-btn svg{height:16px;width:16px}.yc-chat-studio__icon-btn:hover{background:var(--yc-surface-50);border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__context{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.yc-chat-studio__status-group{align-items:center;display:inline-flex;gap:8px;padding-left:4px}.yc-chat-studio__status-chip{align-items:center;background:var(--yc-surface-100);border:1px solid transparent;border-radius:999px;color:var(--yc-ink-500);display:inline-flex;font-size:12px;font-weight:500;gap:6px;height:26px;padding:0 9px}.yc-chat-studio__status-chip .status-dot{background:var(--yc-ink-400);border-radius:50%;height:6px;width:6px}.yc-chat-studio__status-chip.is-connected{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.yc-chat-studio__status-chip.is-connected .status-dot{background:#10b981}.yc-chat-studio__status-chip.is-connecting{background:#fffbeb;border-color:#fde68a;color:#b45309}.yc-chat-studio__status-chip.is-connecting .status-dot{background:#f59e0b}.yc-chat-studio__status-chip.is-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.yc-chat-studio__status-chip.is-error .status-dot{background:#ef4444}.yc-chat-studio__subtitle{color:var(--yc-ink-400);font-size:12px;white-space:nowrap}@media (max-width:1280px){.yc-chat-studio__subtitle{display:none}}.yc-chat-studio__segmented{align-items:center;background:var(--yc-surface-100);border:1px solid var(--yc-line-200);border-radius:8px;display:inline-flex;gap:2px;padding:3px}.yc-chat-studio__segment-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:var(--yc-ink-500);cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:26px;padding:0 10px;transition:all .15s ease}.yc-chat-studio__segment-btn svg{height:14px;width:14px}.yc-chat-studio__segment-btn:hover:not(.is-active){color:var(--yc-ink-900)}.yc-chat-studio__segment-btn.is-active{background:var(--yc-surface-0);box-shadow:0 1px 2px rgba(15,23,42,.08);color:var(--yc-ink-900);font-weight:600}.yc-chat-studio__devices{align-items:center;display:inline-flex;gap:4px}.yc-chat-studio__device-pill{background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:7px;color:var(--yc-ink-500);cursor:pointer;font-size:12px;font-weight:500;height:28px;padding:0 10px;transition:all .15s ease}.yc-chat-studio__device-pill:hover{border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__device-pill.is-active{background:var(--yc-ink-900);border-color:var(--yc-ink-900);color:#fff}.yc-chat-studio__ghost-btn{align-items:center;background:var(--yc-surface-0);border:1px solid var(--yc-line-200);border-radius:8px;color:var(--yc-ink-700);cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:32px;padding:0 11px;transition:all .15s ease}.yc-chat-studio__ghost-btn svg{height:14px;width:14px}.yc-chat-studio__ghost-btn .is-spinning{animation:yc-chat-spin .9s linear infinite}.yc-chat-studio__ghost-btn:hover:not(:disabled){background:var(--yc-surface-50);border-color:var(--yc-line-300);color:var(--yc-ink-900)}.yc-chat-studio__ghost-btn:disabled{cursor:not-allowed;opacity:.5}.yc-chat-studio__web-body{display:flex;flex:1;min-height:0;overflow:hidden}.yc-chat-studio__sidebar-wrap{background:#fcfcfd;border-right:1px solid var(--yc-line-200);flex-shrink:0;overflow:hidden;transition:width .2s ease;width:256px}.yc-chat-studio__sidebar-wrap.is-collapsed{border-right-color:transparent;width:0}.yc-chat-studio__main{background:var(--yc-surface-0);display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.yc-chat-studio__stream{flex:1;min-height:0;overflow-y:auto;padding:24px 24px 12px;scroll-behavior:smooth}.yc-chat-studio__stream-inner{display:flex;flex-direction:column;margin:0 auto;max-width:800px;min-height:100%;width:100%}.yc-chat-studio__composer-dock{background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff 30%);flex-shrink:0;padding:8px 24px 20px}.yc-chat-studio__composer-inner{margin:0 auto;max-width:800px;width:100%}.yc-chat-studio__mobile-stage{background-color:var(--yc-surface-50);background-image:radial-gradient(#cbd5e1 1px,transparent 0);background-size:18px 18px;flex:1;overflow-y:auto;padding:16px}.yc-chat-studio__mobile-canvas,.yc-chat-studio__mobile-stage{align-items:center;display:flex;justify-content:center;min-height:0}.yc-chat-studio__mobile-canvas{width:100%}.yc-chat-studio__mobile-stream{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:12px 12px 8px}.yc-chat-select{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#0f172a;cursor:pointer;display:inline-flex;font-size:12.5px;gap:6px;height:32px;line-height:1;max-width:240px;padding:0 9px 0 10px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.yc-chat-select:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.yc-chat-select.is-open{border-color:#0f172a;box-shadow:0 0 0 2px rgba(15,23,42,.08)}.yc-chat-select.is-disabled,.yc-chat-select:disabled{background:#f8fafc;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-select__prefix{border-right:1px solid #e2e8f0;color:#64748b;flex-shrink:0;font-size:11.5px;font-weight:500;padding-right:6px;white-space:nowrap}.yc-chat-select__value{color:#475569;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-select.has-value .yc-chat-select__value{color:#0f172a;font-weight:600}.yc-chat-select.is-disabled .yc-chat-select__value{color:#94a3b8;font-weight:400}.yc-chat-select__chevron{color:#94a3b8;flex-shrink:0;height:14px;margin-left:2px;width:14px}.yc-chat-select__clear{align-items:center;border-radius:4px;color:#94a3b8;display:inline-flex;flex-shrink:0;height:16px;justify-content:center;width:16px}.yc-chat-select__clear svg{height:12px;width:12px}.yc-chat-select__clear:hover{background:#e2e8f0;color:#0f172a}.yc-chat-select__popover{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 12px 32px -6px rgba(15,23,42,.14),0 4px 10px -2px rgba(15,23,42,.06);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,sans-serif;max-width:300px;min-width:220px;overflow:hidden;z-index:3200}.yc-chat-select__search{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:7px;padding:8px 10px}.yc-chat-select__search-icon{color:#94a3b8;flex-shrink:0;height:14px;width:14px}.yc-chat-select__search-input{background:transparent;border:none;color:#0f172a;font-size:12.5px;outline:none;width:100%}.yc-chat-select__search-input::-moz-placeholder{color:#94a3b8}.yc-chat-select__search-input::placeholder{color:#94a3b8}.yc-chat-select__list{max-height:256px;overflow-y:auto;padding:4px}.yc-chat-select__empty{color:#94a3b8;font-size:12.5px;padding:18px 12px;text-align:center}.yc-chat-select__option{align-items:center;background:transparent;border:none;border-radius:6px;color:#334155;cursor:pointer;display:flex;font-size:12.5px;gap:8px;justify-content:space-between;padding:7px 9px;text-align:left;transition:background-color .12s ease,color .12s ease;width:100%}.yc-chat-select__option:hover{background:#f1f5f9;color:#0f172a}.yc-chat-select__option.is-selected{background:#f8fafc;color:#0f172a;font-weight:600}.yc-chat-select__option-body{display:flex;flex-direction:column;gap:2px;min-width:0}.yc-chat-select__option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-select__option-desc{color:#94a3b8;font-size:11px;font-weight:400}.yc-chat-select__check{color:#0f172a;flex-shrink:0;height:14px;width:14px}.yc-chat-sidebar{display:flex;flex-direction:column;height:100%;min-width:220px;width:100%}.yc-chat-sidebar__header{border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px;padding:12px}.yc-chat-sidebar__create-btn{align-items:center;background:#0f172a;border:1px solid #0f172a;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;gap:6px;height:36px;justify-content:center;padding:0 12px;transition:all .15s ease;width:100%}.yc-chat-sidebar__create-btn svg{height:15px;width:15px}.yc-chat-sidebar__create-btn:hover:not(:disabled){background:#1e293b;border-color:#1e293b}.yc-chat-sidebar__create-btn:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-sidebar__search{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:7px;display:flex;gap:6px;height:30px;padding:0 9px}.yc-chat-sidebar__search svg{color:#94a3b8;flex-shrink:0;height:13px;width:13px}.yc-chat-sidebar__search-input{background:transparent;border:none;color:#0f172a;font-size:12px;outline:none;width:100%}.yc-chat-sidebar__search-input::-moz-placeholder{color:#94a3b8}.yc-chat-sidebar__search-input::placeholder{color:#94a3b8}.yc-chat-sidebar__body{flex:1;min-height:0;overflow-y:auto}.yc-chat-sidebar__empty{color:#94a3b8;font-size:12.5px;line-height:1.6;padding:40px 16px;text-align:center}.yc-chat-sidebar__item{align-items:center;display:flex;gap:8px;justify-content:space-between;min-width:0;padding:2px 0;width:100%}.yc-chat-sidebar__item-main{flex:1;min-width:0}.yc-chat-sidebar__item-title{color:#0f172a;font-size:13px;font-weight:500;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-chat-sidebar__item-time{color:#94a3b8;font-size:11px;line-height:1.3;margin-top:2px}.yc-chat-sidebar__delete-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;display:inline-flex;height:24px;justify-content:center;opacity:0;transition:all .14s ease;width:24px}.yc-chat-sidebar__delete-btn svg{height:14px;width:14px}.yc-chat-sidebar__delete-btn:hover{background:#fef2f2;color:#dc2626}.yc-chat-sidebar__item.active .yc-chat-sidebar__delete-btn,.yc-chat-sidebar__item:hover .yc-chat-sidebar__delete-btn{opacity:1}.yc-chat-sidebar__more{padding:8px 0 12px;text-align:center}.yc-chat-sidebar__more-btn{background:transparent;border:none;color:#475569;cursor:pointer;font-size:12px}.yc-chat-sidebar__more-btn:hover:not(:disabled){color:#0f172a;text-decoration:underline}.yc-chat-welcome{align-items:center;display:flex;flex:1;justify-content:center;padding:28px 16px}.yc-chat-welcome__inner{gap:26px;max-width:620px;width:100%}.yc-chat-welcome__hero,.yc-chat-welcome__inner{align-items:center;display:flex;flex-direction:column}.yc-chat-welcome__hero{gap:12px;text-align:center}.yc-chat-welcome__glyph{align-items:center;display:inline-flex;height:44px;justify-content:center;width:44px}.yc-chat-welcome__glyph img,.yc-chat-welcome__glyph svg{height:44px;-o-object-fit:contain;object-fit:contain;width:44px}.yc-chat-welcome .elx-welcome,.yc-chat-welcome .elx-welcome-container{align-items:center!important;background:transparent!important;border:none!important;box-shadow:none!important;justify-content:center!important;padding:0!important;text-align:center!important}.yc-chat-welcome .elx-welcome__content{align-items:center!important;text-align:center!important}.yc-chat-welcome .elx-welcome__title{color:#0f172a!important;font-size:19px!important;font-weight:600!important;justify-content:center!important;letter-spacing:-.01em}.yc-chat-welcome .elx-welcome__description{color:#64748b!important;font-size:13.5px!important;line-height:1.6!important;margin:4px auto 0!important;max-width:420px}.yc-chat-welcome__prompts{width:100%}.yc-chat-welcome__prompts .elx-prompts-title{color:#64748b!important;font-size:12px!important;font-weight:500!important;margin-bottom:8px!important}.yc-chat-welcome__prompts .elx-prompts-items{display:grid!important;gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))}.yc-chat-welcome__prompts .elx-prompts-item{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:10px!important;padding:12px 14px!important;transition:all .15s ease!important;width:100%!important}.yc-chat-welcome__prompts .elx-prompts-item:hover{background:#f8fafc!important;border-color:#94a3b8!important;transform:translateY(-1px)}.yc-chat-welcome.is-compact{padding:18px 8px}.yc-chat-welcome.is-compact .yc-chat-welcome__glyph,.yc-chat-welcome.is-compact .yc-chat-welcome__glyph img,.yc-chat-welcome.is-compact .yc-chat-welcome__glyph svg{height:38px;width:38px}.yc-chat-welcome.is-compact .elx-welcome__title{font-size:16px!important}.yc-chat-welcome.is-compact .elx-welcome__description{font-size:12.5px!important}.yc-chat-welcome.is-compact .yc-chat-welcome__prompts .elx-prompts-items{grid-template-columns:minmax(0,1fr)}.yc-chat-bubble{margin-bottom:20px;width:100%}.yc-chat-bubble .el-bubble{gap:12px}.yc-chat-bubble .el-bubble-content-wrapper{max-width:min(720px,100%)}.yc-chat-bubble.user .el-bubble-content-wrapper{align-items:flex-end;max-width:min(580px,86%)}.yc-chat-bubble__avatar{align-items:center;background:#0f172a;border-radius:8px;color:#fff;display:inline-flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.yc-chat-bubble__avatar svg{height:14px;width:14px}.yc-chat-bubble__header{align-items:center;display:flex;gap:8px;margin-bottom:4px}.yc-chat-bubble__sender{color:#0f172a;font-size:12.5px;font-weight:600}.yc-chat-bubble__status{background:#fef2f2;border-radius:999px;color:#dc2626;font-size:11px;padding:1px 7px}.yc-chat-bubble__surface.assistant{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.03);padding:12px 16px}.yc-chat-bubble__surface.user{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:18px 18px 4px 18px;color:#0f172a;padding:10px 15px}.yc-chat-bubble__body{display:flex;flex-direction:column;gap:10px;min-width:0;word-break:break-word}.yc-chat-bubble__metrics{border-top:1px dashed #e2e8f0;display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:8px}.yc-chat-bubble__metric-pill{background:#f8fafc;border-radius:5px;color:#64748b;font-size:11px;font-variant-numeric:tabular-nums;padding:2px 7px}.yc-chat-bubble__footer{align-items:flex-start;display:flex;gap:10px;justify-content:space-between;margin-top:4px;width:100%}.yc-chat-bubble__footer.is-user{justify-content:flex-end}.yc-chat-bubble__identifiers{color:#64748b;font-size:11px}.yc-chat-bubble__identifiers summary{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.yc-chat-bubble__identifiers summary:hover{color:#0f172a}.yc-chat-bubble__identifiers .message-identifiers__list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;display:flex;flex-direction:column;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;gap:2px;margin-top:4px;padding:6px 8px;word-break:break-all}.yc-chat-bubble__actions{align-items:center;display:inline-flex;gap:4px;margin-left:auto}.yc-chat-bubble__actions .message-action-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:inline-flex;font-size:11.5px;gap:4px;height:24px;padding:0 7px;transition:all .14s ease}.yc-chat-bubble__actions .message-action-btn svg{height:13px;width:13px}.yc-chat-bubble__actions .message-action-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.yc-chat-bubble__actions .message-action-btn:disabled{cursor:not-allowed;opacity:.4}.yc-chat-bubble.is-compact{margin-bottom:14px}.yc-chat-bubble.is-compact .yc-chat-bubble__avatar{border-radius:6px;height:24px;width:24px}.yc-chat-bubble.is-compact .yc-chat-bubble__surface.assistant{border-radius:10px;padding:10px 12px}.yc-chat-bubble.is-compact .yc-chat-bubble__surface.user{border-radius:15px 15px 4px 15px;padding:8px 12px}.yc-chat-thinking{width:100%}.yc-chat-thinking .el-thinking{margin:0!important}.yc-chat-thinking .trigger{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:7px!important;font-size:12px!important;padding:5px 10px!important}.yc-chat-thinking__label{color:#334155;font-size:12px;font-weight:500}.yc-chat-thinking__label.is-error{color:#dc2626}.yc-chat-thinking__body{color:#64748b;font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.yc-chat-thinking__body.is-error{color:#dc2626}.yc-chat-file-card{align-items:center;display:inline-flex;gap:8px;max-width:100%}.yc-chat-file-card--composer{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:2px 6px 2px 2px;position:relative}.yc-chat-file-card--artifact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;display:flex;justify-content:space-between;padding:6px 10px 6px 6px;width:100%}.yc-chat-file-card__main{flex:1;min-width:0}.yc-chat-file-card__main .elx-files-card{background:transparent!important;border:none!important;box-shadow:none!important;padding:2px 4px!important}.yc-chat-file-card__remove{align-items:center;background:#e2e8f0;border:none;border-radius:50%;color:#475569;cursor:pointer;display:inline-flex;height:20px;justify-content:center;width:20px}.yc-chat-file-card__remove svg{height:11px;width:11px}.yc-chat-file-card__remove:hover{background:#fee2e2;color:#dc2626}.yc-chat-file-card__download{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:7px;color:#0f172a;cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;gap:4px;height:28px;padding:0 10px}.yc-chat-file-card__download svg{height:13px;width:13px}.yc-chat-file-card__download:hover:not(:disabled){background:#f1f5f9}.yc-chat-sender{background:#fff;border:1px solid #cbd5e1;position:relative;transition:border-color .16s ease,box-shadow .16s ease}.yc-chat-sender .composer-file-input{display:none}.yc-chat-sender__attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.yc-chat-sender__textarea{background:transparent;border:none;color:#0f172a;display:block;font-family:inherit;font-size:14px;line-height:1.6;outline:none;padding:2px 0;resize:none;width:100%}.yc-chat-sender__textarea::-moz-placeholder{color:#94a3b8}.yc-chat-sender__textarea::placeholder{color:#94a3b8}.yc-chat-sender__textarea:disabled{color:#94a3b8;cursor:not-allowed}.yc-chat-sender.is-web{border-radius:16px;box-shadow:0 4px 20px -6px rgba(15,23,42,.08),0 1px 3px rgba(15,23,42,.03);padding:12px 14px 10px}.yc-chat-sender.is-web:focus-within{border-color:#0f172a;box-shadow:0 0 0 3px rgba(15,23,42,.06),0 8px 24px -8px rgba(15,23,42,.1)}.yc-chat-sender.is-web.is-disabled{background:#fcfcfd;border-color:#e2e8f0}.yc-chat-sender.is-dragover{background:#eff6ff;border-color:#2563eb}.yc-chat-sender__toolbar{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yc-chat-sender__controls{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.yc-chat-sender__chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#475569;cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;height:30px;padding:0 11px;transition:all .15s ease}.yc-chat-sender__chip svg{height:14px;width:14px}.yc-chat-sender__chip:hover:not(:disabled):not(.is-active){background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.yc-chat-sender__chip.is-active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;font-weight:600}.yc-chat-sender__chip:disabled{background:#f8fafc;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.yc-chat-sender__submit-btn{align-items:center;background:#0f172a;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;height:32px;justify-content:center;transition:all .15s ease;width:32px}.yc-chat-sender__submit-btn svg{height:15px;width:15px}.yc-chat-sender__submit-btn:hover:not(:disabled){background:#1e293b;transform:translateY(-1px)}.yc-chat-sender__submit-btn:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed;transform:none}.yc-chat-sender__submit-btn.is-stop{background:#0f172a;color:#fff}.yc-chat-sender .composer-stop-square{background:currentColor;border-radius:2px;display:inline-block;height:9px;width:9px}.yc-chat-sender.is-mobile{background:#fff;border:none;border-radius:0;border-top:1px solid #e2e8f0;box-shadow:none;padding:8px 10px}.yc-chat-sender__mobile-chips{align-items:center;display:flex;gap:6px;margin-bottom:6px}.yc-chat-sender__mobile-chips .yc-chat-sender__chip{font-size:11.5px;height:25px;padding:0 9px}.yc-chat-sender__mobile-row{align-items:flex-end;display:flex;gap:8px}.yc-chat-sender__mobile-row .yc-chat-sender__textarea{background:#f1f5f9;border-radius:18px;font-size:13.5px;line-height:1.45;max-height:96px;padding:7px 12px}.yc-chat-sender__mobile-attach{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:50%;color:#475569;cursor:pointer;display:inline-flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.yc-chat-sender__mobile-attach svg{height:15px;width:15px}.yc-chat-sender__mobile-attach:disabled{background:#f8fafc;color:#cbd5e1;cursor:not-allowed}.yc-mobile-device{align-items:center;display:flex;flex-direction:column;gap:8px}.yc-mobile-device__shell{background:linear-gradient(145deg,#27272a,#09090b);border:1px solid hsla(0,0%,100%,.14);border-radius:42px;box-shadow:0 24px 60px -16px rgba(15,23,42,.26),0 6px 20px -6px rgba(15,23,42,.12);display:flex;flex-direction:column;height:min(var(--yc-device-height,800px) + 20px,100vh - 200px);min-height:500px;overflow:hidden;padding:10px;width:calc(var(--yc-device-width, 393px) + 20px)}.yc-mobile-device__statusbar{align-items:center;background:#fff;border-radius:32px 32px 0 0;color:#0f172a;display:flex;flex-shrink:0;height:30px;justify-content:space-between;padding:4px 18px 0}.yc-mobile-device__clock{font-size:12px;font-variant-numeric:tabular-nums;font-weight:600;width:48px}.yc-mobile-device__island{background:#09090b;border-radius:999px;height:19px;width:80px}.yc-mobile-device__signals{align-items:center;display:inline-flex;gap:5px;justify-content:flex-end;width:48px}.yc-mobile-device__signal-svg{height:10px;width:15px}.yc-mobile-device__battery-svg{height:11px;width:21px}.yc-mobile-device__navbar{align-items:center;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;flex-shrink:0;height:44px;justify-content:space-between;padding:0 10px}.yc-mobile-device__nav-btn{align-items:center;background:transparent;border:none;border-radius:8px;color:#334155;cursor:pointer;display:inline-flex;height:32px;justify-content:center;position:relative;width:32px}.yc-mobile-device__nav-btn svg{height:16px;width:16px}.yc-mobile-device__nav-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.yc-mobile-device__nav-btn:disabled{color:#cbd5e1;cursor:not-allowed}.yc-mobile-device__badge{background:#0f172a;border-radius:999px;color:#fff;font-size:9px;height:14px;line-height:14px;min-width:14px;padding:0 3px;position:absolute;right:1px;text-align:center;top:2px}.yc-mobile-device__nav-center{align-items:center;display:flex;flex-direction:column;min-width:0}.yc-mobile-device__nav-title{color:#0f172a;font-size:13.5px;font-weight:600;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-mobile-device__nav-sub{align-items:center;color:#64748b;display:inline-flex;font-size:10.5px;gap:4px}.yc-mobile-device__dot{background:#94a3b8;border-radius:50%;height:6px;width:6px}.yc-mobile-device__dot.is-connected{background:#10b981}.yc-mobile-device__dot.is-connecting{background:#f59e0b}.yc-mobile-device__dot.is-error{background:#ef4444}.yc-mobile-device__nav-actions{align-items:center;display:inline-flex;gap:2px}.yc-mobile-device__viewport{background:#f8fafc;position:relative}.yc-mobile-device__body,.yc-mobile-device__viewport{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.yc-mobile-device__footer{background:#fff;flex-shrink:0}.yc-mobile-device__drawer-mask{background:rgba(15,23,42,.36);display:flex;inset:0;position:absolute;z-index:15}.yc-mobile-device__drawer{background:#fff;box-shadow:8px 0 24px rgba(15,23,42,.16);display:flex;flex-direction:column;height:100%;width:82%}.yc-mobile-device__drawer-top{align-items:center;border-bottom:1px solid #e2e8f0;color:#0f172a;display:flex;font-size:13px;font-weight:600;height:42px;justify-content:space-between;padding:0 10px 0 14px}.yc-mobile-device__drawer-content{flex:1;min-height:0;overflow:hidden}.yc-mobile-device__home-bar{align-items:center;background:#fff;border-radius:0 0 32px 32px;display:flex;flex-shrink:0;height:18px;justify-content:center}.yc-mobile-device__home-bar span{background:rgba(15,23,42,.2);border-radius:999px;height:4px;width:118px}.yc-mobile-device__caption{align-items:center;color:#64748b;display:inline-flex;font-size:12px;gap:8px}@keyframes yc-chat-spin{to{transform:rotate(1turn)}}@media (max-width:768px){.yc-chat-studio{border-radius:10px;height:calc(100dvh - 84px);min-height:480px}.yc-chat-studio__sidebar-wrap{border-right-color:transparent;width:0}.yc-chat-studio__stream{padding:14px 12px 8px}.yc-chat-studio__composer-dock{padding:6px 10px 12px}}
|
|
@@ -761,17 +761,15 @@
|
|
|
761
761
|
&__glyph {
|
|
762
762
|
width: 44px;
|
|
763
763
|
height: 44px;
|
|
764
|
-
border-radius: 12px;
|
|
765
|
-
background: #0f172a;
|
|
766
|
-
color: #ffffff;
|
|
767
764
|
display: inline-flex;
|
|
768
765
|
align-items: center;
|
|
769
766
|
justify-content: center;
|
|
770
|
-
box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.18);
|
|
771
767
|
|
|
772
|
-
svg
|
|
773
|
-
|
|
774
|
-
|
|
768
|
+
svg,
|
|
769
|
+
img {
|
|
770
|
+
width: 44px;
|
|
771
|
+
height: 44px;
|
|
772
|
+
object-fit: contain;
|
|
775
773
|
}
|
|
776
774
|
}
|
|
777
775
|
|
|
@@ -845,7 +843,12 @@
|
|
|
845
843
|
.yc-chat-welcome__glyph {
|
|
846
844
|
width: 38px;
|
|
847
845
|
height: 38px;
|
|
848
|
-
|
|
846
|
+
|
|
847
|
+
svg,
|
|
848
|
+
img {
|
|
849
|
+
width: 38px;
|
|
850
|
+
height: 38px;
|
|
851
|
+
}
|
|
849
852
|
}
|
|
850
853
|
|
|
851
854
|
.elx-welcome__title {
|