body{min-height:100vh;margin:0}.chat-page{--chat-shell-bg: #f6f1e8;--chat-shell-surface: #fffaf2;--chat-shell-timeline-bg: #fffaf2;--chat-shell-soft: rgba(196, 78, 255, .07);--chat-shell-border: rgba(42, 33, 20, .1);--chat-shell-text: #20180f;--chat-shell-muted: rgba(32, 24, 15, .68);--chat-shell-accent: #c44eff;--chat-shell-accent-strong: #8b36ff;--chat-shell-input-bg: rgba(255, 250, 242, .97);--chat-shell-other-bubble: rgba(255, 250, 242, .92);--chat-shell-own-bubble: rgba(196, 78, 255, .12);--chat-shell-shadow: 0 14px 38px rgba(78, 48, 9, .08);--chat-shell-control-bg: rgba(255, 252, 246, .92);--chat-shell-control-hover: rgba(196, 78, 255, .1);--chat-shell-control-active: rgba(196, 78, 255, .16);width:100%;min-width:0;height:100%;min-height:0;overflow:hidden;position:relative;display:flex;flex-direction:column}.chat-page .str-chat__channel,.chat-page .str-chat__container,.chat-page .str-chat__main-panel,.chat-page .str-chat__main-panel-inner,.chat-page .str-chat__list,.chat-page .str-chat__message-list-scroll{overflow-x:hidden}.chat-page .str-chat__channel,.chat-page .str-chat__container,.chat-page .str-chat__main-panel,.chat-page .str-chat__main-panel-inner{height:100%}.chat-page .str-chat{height:100%;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.chat-page .str-chat__channel,.chat-page .str-chat__container,.chat-page .str-chat__main-panel,.chat-page .str-chat__main-panel-inner{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.chat-page,.chat-page .str-chat,.chat-page .str-chat__channel,.chat-page .str-chat__container,.chat-page .str-chat__main-panel,.chat-page .str-chat__main-panel-inner,.chat-page .str-chat__message-input,.chat-page .str-chat__message-input-inner,.chat-page .str-chat__message-textarea-container,.chat-page .str-chat__channel-list,.chat-page .str-chat__list,.chat-page .str-chat__virtual-list,.chat-page .str-chat__ul,.chat-page .str-chat__message-list-scroll,.chat-page .str-chat__message-textarea-with-emoji-picker{min-width:0;max-width:100%;background-color:var(--chat-shell-bg);color:var(--chat-shell-text)}.chat-page .str-chat__message-textarea-container,.chat-page .str-chat__message-textarea-react-host{flex:1 1 0;min-width:0;width:auto}.chat-page .str-chat__channel-list{border-inline-start:none;border-inline-end:none;background:linear-gradient(180deg,var(--chat-shell-soft),transparent 20%),var(--chat-shell-surface)}.chat-page .str-chat__channel-list,.chat-page .str-chat__list,.chat-page .str-chat__message-list-scroll,.chat-page .str-chat__virtual-list{overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}.chat-page .str-chat__main-panel-inner{display:flex;flex-direction:column;min-height:0}.chat-page__message-area{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--chat-shell-soft),transparent 18%),var(--chat-shell-bg)}.chat-page__header-shell{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;min-height:56px;padding:10px 18px;border-bottom:1px solid var(--chat-shell-border);background:var(--chat-shell-surface)}.chat-page__header-shell-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.chat-page__header-shell-title{color:var(--chat-shell-text);font-weight:700;line-height:1.3}.chat-page__header-shell-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.chat-page__header-shell-badge,.chat-page__header-shell-subtitle{font-size:11px;line-height:1.35;letter-spacing:.55px;text-transform:uppercase}.chat-page__header-shell-badge{color:var(--chat-shell-accent);font-weight:800}.chat-page__header-shell-subtitle{color:var(--chat-shell-muted);font-weight:700}.chat-page__header-shell-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.chat-page__timeline-entry-source,.chat-page__timeline-entry-status,.chat-page__timeline-separator-label{font-size:11px;line-height:1.35;letter-spacing:.55px;text-transform:uppercase}.chat-page__timeline-entry-status,.chat-page__timeline-separator-label{color:var(--chat-shell-muted);font-weight:700}.chat-page__timeline-entry-source{display:inline-flex;align-items:center;gap:6px;font-weight:800}.chat-page__timeline-entry-source:before{content:"";width:7px;height:7px;background:currentColor}.chat-page__timeline-entry-source--imported{color:#2f6f55}.chat-page__timeline-entry-source--native{color:var(--chat-shell-accent)}.chat-page__timeline-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.chat-page__timeline-scroll::-webkit-scrollbar{display:none}.chat-page__timeline-list{display:flex;flex-direction:column;gap:12px;padding:12px 22px 24px}.chat-page__timeline-separator{display:flex;align-items:center;gap:12px}.chat-page__timeline-separator:before,.chat-page__timeline-separator:after{content:"";flex:1 1 auto;border-top:1px solid var(--chat-shell-border)}.chat-page__timeline-entry{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:end;gap:10px;max-width:min(76%,760px);min-width:0}.chat-page__timeline-entry--own{align-self:flex-end;grid-template-columns:minmax(0,1fr) 32px}.chat-page__timeline-entry--own .chat-page__timeline-entry-avatar-slot{grid-column:2;grid-row:1}.chat-page__timeline-entry--own .chat-page__timeline-entry-body{grid-column:1;grid-row:1;align-items:flex-end}.chat-page__timeline-entry--system{grid-template-columns:minmax(0,1fr)}.chat-page__timeline-entry--system .chat-page__timeline-entry-avatar-slot{display:none}.chat-page__timeline-entry-body{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:8px}.chat-page__timeline-entry-avatar-slot{width:32px;min-height:32px;display:flex;align-items:flex-end;justify-content:center}.chat-page__timeline-entry-avatar{width:32px;height:32px;overflow:hidden;border-radius:50%;background:var(--chat-shell-soft);color:var(--chat-shell-accent);display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:13px;font-weight:800}.chat-page__timeline-entry-avatar img{width:100%;height:100%;display:block;object-fit:cover}.chat-page__timeline-entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.chat-page__timeline-entry--own .chat-page__timeline-entry-meta{justify-content:flex-end}.chat-page__timeline-entry-sender{color:var(--chat-shell-text);font-size:12px;font-weight:700}.chat-page__timeline-entry-time{color:var(--chat-shell-muted);font-size:12px;font-weight:600}.chat-page__timeline-entry-bubble{padding:10px 12px;border-left:2px solid var(--chat-shell-border);background:var(--chat-shell-other-bubble);color:var(--chat-shell-text);line-height:1.72;white-space:pre-wrap;overflow-wrap:anywhere}.chat-page__timeline-entry--own .chat-page__timeline-entry-bubble{background:var(--chat-shell-own-bubble);border-left-color:var(--chat-shell-accent)}.chat-page__timeline-entry--imported .chat-page__timeline-entry-bubble{background:var(--chat-shell-timeline-bg);border-left-color:#2a21142e}.chat-page__timeline-entry--system .chat-page__timeline-entry-bubble{background:transparent;border-left-color:var(--chat-shell-border);color:var(--chat-shell-muted)}.chat-page__timeline-entry--selectable{cursor:pointer}.chat-page__timeline-entry--selected .chat-page__timeline-entry-bubble{box-shadow:inset 0 0 0 2px #c44eff47}.chat-page__timeline-footer-note{padding-top:4px;color:var(--chat-shell-muted);font-size:12px;text-align:center}.chat-page__composer-shell{display:flex;flex-direction:column;gap:8px;padding:10px 16px 14px;border-top:1px solid rgba(42,33,20,.08);background:linear-gradient(180deg,#fffaf26b,#fffaf2f2),var(--chat-shell-bg);box-shadow:0 -10px 24px #4e30090a}.chat-page__composer-shell-hint{display:flex;align-items:center;gap:8px;min-height:18px;padding:0 2px;color:var(--chat-shell-muted);font-size:11px;line-height:1.35;letter-spacing:.55px;text-transform:uppercase;font-weight:700}.chat-page__composer-shell-hint:before{content:"";flex:0 0 auto;width:16px;height:1px;background:currentColor;opacity:.5}.chat-page .str-chat__message-list{display:flex;flex:1 1 auto;min-height:0}.chat-page .str-chat__message-list,.chat-page .str-chat__message-list-scroll,.chat-page .str-chat__list,.chat-page .str-chat__virtual-list{flex:1 1 auto;min-height:0}.chat-page .str-chat__message-list-scroll{overflow-y:auto;background:linear-gradient(180deg,var(--chat-shell-soft),transparent 16%),var(--chat-shell-bg)}.chat-page .str-chat__channel-list::-webkit-scrollbar,.chat-page .str-chat__list::-webkit-scrollbar,.chat-page .str-chat__message-list-scroll::-webkit-scrollbar,.chat-page .str-chat__virtual-list::-webkit-scrollbar{display:none}.chat-page .str-chat__message,.chat-page .str-chat__message-inner,.chat-page .str-chat__message-bubble,.chat-page .str-chat__message-content,.chat-page .str-chat__quoted-message-preview,.chat-page .str-chat__quoted-message-preview .str-chat__message-bubble,.chat-page .str-chat__message-attachment,.chat-page .str-chat__message-attachment-list,.chat-page .str-chat__message-attachment-card{min-width:0;max-width:100%}.chat-page .str-chat__message-text,.chat-page .str-chat__message-text-inner,.chat-page .str-chat__message-text p,.chat-page .str-chat__message-text a,.chat-page .str-chat__message-text pre,.chat-page .str-chat__message-text code,.chat-page .str-chat__message-textarea,.chat-page .str-chat__message-textarea textarea{overflow-wrap:anywhere;word-break:break-word;color:var(--chat-shell-text)}.chat-page__channel-header{display:flex;align-items:center;gap:12px;padding-right:12px;background-color:var(--chat-shell-surface);border-bottom:1px solid var(--chat-shell-border)}.chat-page__channel-header .str-chat__channel-header{flex:1;min-width:0}.chat-page .chat-call-actions{display:inline-flex;align-items:center;gap:6px}.chat-page .chat-call-button{border:1px solid rgba(15,23,42,.12);border-radius:999px;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.chat-page .str-chat__message-input,.chat-page .str-chat__message-input-inner,.chat-page .str-chat__message-textarea-container,.chat-page .str-chat__message-textarea-with-emoji-picker,.chat-page .str-chat__attachment-preview-list{background-color:transparent}.chat-page .str-chat__message-input{border-top:none;padding:0;background:transparent}.chat-page .str-chat__message-input .str-chat__message-input-inner,.chat-page .str-chat__attachment-preview-list{border-top:none}.chat-page .str-chat__message-input-inner{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 10px 8px 12px;border:1px solid rgba(42,33,20,.12);border-radius:14px;background:linear-gradient(180deg,#ffffff6b,#fffaf2e0),var(--chat-shell-input-bg);box-shadow:inset 0 1px #ffffffb8,0 12px 30px #4e300914}.chat-page .str-chat__message-input-inner:focus-within{border-color:#c44eff5c;box-shadow:inset 0 1px #ffffffb8,0 0 0 3px #c44eff1a,0 14px 34px #4e30091a}.chat-page .str-chat__file-input-container{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px}.chat-page .str-chat__file-input{width:1px;height:1px;opacity:0}.chat-page .str-chat__file-input-label{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;border:1px solid transparent;border-radius:10px;color:var(--chat-shell-muted);cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.chat-page .str-chat__file-input-label:hover{border-color:#2a21141a;background:var(--chat-shell-control-hover);color:var(--chat-shell-text)}.chat-page .str-chat__file-input-label svg{width:22px;height:22px}.chat-page .str-chat__message-textarea-container{display:flex;align-items:center;align-self:stretch;padding:0 4px}.chat-page .str-chat__message-textarea-with-emoji-picker{display:flex;align-items:center;width:100%;min-height:100%}.chat-page .str-chat__message-textarea-react-host,.chat-page .str-chat__textarea{flex:1 1 auto;min-width:0;width:100%}.chat-page .str-chat__message-textarea,.chat-page .str-chat__message-textarea textarea,.chat-page textarea.str-chat__message-textarea{min-height:34px;padding:7px 0;border:0;outline:0;background:transparent;color:var(--chat-shell-text);font-size:15px;line-height:1.45}.chat-page .str-chat__message-textarea::placeholder,.chat-page .str-chat__message-textarea textarea::placeholder,.chat-page textarea.str-chat__message-textarea::placeholder{color:#20180f73}.chat-page .str-chat__channel-header,.chat-page .str-chat__header-hamburger{background-color:transparent}.chat-page .str-chat__message-bubble,.chat-page .str-chat__quoted-message-preview,.chat-page .str-chat__quoted-message-preview .str-chat__message-bubble,.chat-page .str-chat__message-attachment-card{background-color:var(--chat-shell-other-bubble);border-color:var(--chat-shell-border);box-shadow:none}.chat-page .str-chat__message--me .str-chat__message-bubble,.chat-page .str-chat__message-simple--me .str-chat__message-bubble,.chat-page .str-chat__message-row--me .str-chat__message-bubble{background-color:var(--chat-shell-own-bubble)}.chat-page .str-chat__message-text,.chat-page .str-chat__message-text p,.chat-page .str-chat__message-text-inner,.chat-page .str-chat__channel-header-title,.chat-page .str-chat__channel-header-info,.chat-page .str-chat__message-simple__text-inner{color:var(--chat-shell-text)}.chat-page .str-chat__message-simple__actions__action,.chat-page .str-chat__date-separator-date,.chat-page .str-chat__message-metadata{color:var(--chat-shell-muted)}.chat-page__timeline-import{display:flex;flex-direction:column;gap:12px;padding:18px 24px 16px;border-bottom:1px solid var(--chat-shell-border);background:linear-gradient(180deg,var(--chat-shell-soft),transparent 74%),var(--chat-shell-timeline-bg)}.chat-page__timeline-kicker-row,.chat-page__timeline-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}.chat-page__timeline-kicker,.chat-page__timeline-kicker-secondary,.chat-page__timeline-meta-item,.chat-page__timeline-divider-label{font-size:11px;line-height:1.35;letter-spacing:.55px;text-transform:uppercase}.chat-page__timeline-kicker{color:var(--chat-shell-accent);font-weight:800}.chat-page__timeline-kicker-secondary,.chat-page__timeline-meta-item,.chat-page__timeline-divider-label{color:var(--chat-shell-muted);font-weight:700}.chat-page__timeline-preview{display:flex;flex-direction:column;border-top:1px solid var(--chat-shell-border)}.chat-page__timeline-row{display:grid;grid-template-columns:90px 92px minmax(0,1fr);gap:12px;align-items:start;padding:10px 0;border-bottom:1px solid var(--chat-shell-border)}.chat-page__timeline-time,.chat-page__timeline-speaker{color:var(--chat-shell-muted);font-weight:600}.chat-page__timeline-text{color:var(--chat-shell-text);line-height:1.7}.chat-page__timeline-divider{display:flex;align-items:center;gap:12px}.chat-page__timeline-divider:before{content:"";flex:1 1 auto;border-top:1px solid var(--chat-shell-border)}@media (max-width: 900px){.chat-page__header-shell,.chat-page__timeline-list{padding-inline:16px}.chat-page__timeline-entry{max-width:100%}.chat-page__timeline-import{padding-inline:16px}.chat-page__timeline-row{grid-template-columns:76px minmax(0,1fr)}.chat-page__timeline-speaker{grid-column:2}.chat-page__timeline-text{grid-column:1 / -1}}.chat-page .chat-call-button--active{background-color:#2563eb24;border-color:#2563eb99;color:#2563eb}.chat-page .str-chat__message-text pre,.chat-page .str-chat__message-text code{white-space:pre-wrap}.chat-page img,.chat-page video,.chat-page svg,.chat-page canvas,.chat-page iframe{max-width:100%}.chat-page .str-chat__ai-send-actions{display:flex;align-items:center;flex:0 0 auto;gap:8px;padding-left:8px;border-left:1px solid rgba(42,33,20,.1)}.chat-page .str-chat__ai-toggle-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:0;border-radius:12px;border:1px solid rgba(196,78,255,.28);background:#c44eff14;color:var(--chat-shell-accent-strong);font-size:13px;font-weight:850;letter-spacing:.08em;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.chat-page .str-chat__ai-toggle-button:disabled{border-color:#2a21141a;background:#2a211408;color:#20180f59;cursor:not-allowed}.chat-page .str-chat__ai-toggle-button:not(:disabled):hover,.chat-page .str-chat__ai-toggle-button:not(:disabled):focus-visible{border-color:#c44eff80;background:#c44eff21;outline:none}.chat-page .str-chat__ai-toggle-button--active{border-color:#c44effb8;background:linear-gradient(135deg,var(--chat-shell-accent),var(--chat-shell-accent-strong));color:#fff;box-shadow:0 10px 22px #8b36ff3d}.chat-page .str-chat__ai-toggle-button--active:after{content:"";position:absolute;bottom:7px;right:7px;width:6px;height:6px;border-radius:999px;background-color:#22c55e;box-shadow:0 0 0 2px #ffffffd6}.chat-page .str-chat__ai-toggle-button--thinking{cursor:progress;animation:ai-toggle-pulse 1.4s ease-in-out infinite}.chat-page .str-chat__ai-toggle-count{position:absolute;top:calc(var(--str-chat__spacing-px) * -4);right:calc(var(--str-chat__spacing-px) * -4);min-width:calc(var(--str-chat__spacing-px) * 18);height:calc(var(--str-chat__spacing-px) * 18);padding:0 calc(var(--str-chat__spacing-px) * 4);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background-color:var(--str-chat__primary-color);color:var(--str-chat__on-primary-color, #fff);font:var(--str-chat__caption-text)}.chat-page .str-chat__send-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;min-width:42px;padding:0;border:1px solid transparent;border-radius:12px;background:linear-gradient(135deg,var(--chat-shell-accent),var(--chat-shell-accent-strong));color:#fff;cursor:pointer;box-shadow:0 10px 22px #8b36ff38;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.chat-page .str-chat__send-button svg{width:22px;height:22px;fill:currentColor}.chat-page .str-chat__send-button:not(:disabled):hover,.chat-page .str-chat__send-button:not(:disabled):focus-visible{transform:translateY(-1px);box-shadow:0 13px 26px #8b36ff47;outline:none}.chat-page .str-chat__send-button:disabled{background:#2a211414;color:#20180f4d;box-shadow:none;cursor:not-allowed}.chat-page .str-chat__ai-input-panel{display:flex;flex-direction:column;gap:0}.chat-page .str-chat__ai-status-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--str-chat__spacing-2);padding:calc(var(--str-chat__spacing-px) * 6) calc(var(--str-chat__spacing-px) * 8);border-radius:calc(var(--str-chat__spacing-px) * 8);border:1px solid rgba(15,23,42,.08);background:#0f172a08;color:var(--str-chat__text-color, #0f172a);font:var(--str-chat__caption-text)}.chat-page .str-chat__ai-status-left,.chat-page .str-chat__ai-status-right{display:flex;align-items:center;flex-wrap:wrap;gap:var(--str-chat__spacing-1)}.chat-page .str-chat__ai-status-title{font:var(--str-chat__subtitle-medium-text);color:var(--str-chat__text-color, #0f172a)}.chat-page .str-chat__ai-status-pill{display:inline-flex;align-items:center;padding:calc(var(--str-chat__spacing-px) * 2) calc(var(--str-chat__spacing-px) * 8);border-radius:999px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;font-size:11px}.chat-page .str-chat__ai-status-pill--active{background:var(--str-chat__primary-color, #2563eb);color:var(--str-chat__on-primary-color, #fff)}.chat-page .str-chat__ai-status-pill--inactive{background:#0f172a14;color:#0f172ab3}.chat-page .str-chat__ai-status-pill--disabled{border:1px dashed rgba(15,23,42,.2);background:#0f172a08;color:#0f172a73}.chat-page .str-chat__ai-thinking{position:relative;padding-left:calc(var(--str-chat__spacing-px) * 10);color:var(--str-chat__primary-color, #2563eb);font-weight:600}.chat-page .str-chat__ai-thinking:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:calc(var(--str-chat__spacing-px) * 6);height:calc(var(--str-chat__spacing-px) * 6);border-radius:999px;background:var(--str-chat__primary-color, #2563eb);box-shadow:0 0 #2563eb66;animation:ai-thinking-pulse 1.2s ease-in-out infinite}.chat-page .str-chat__ai-hint{color:#0f172a99}.chat-page .str-chat__ai-selection{display:inline-flex;align-items:center;gap:calc(var(--str-chat__spacing-px) * 6);padding:calc(var(--str-chat__spacing-px) * 2) calc(var(--str-chat__spacing-px) * 6);border-radius:999px;background:#0f172a0f}.chat-page .str-chat__ai-selection-clear{border:none;background:transparent;color:var(--str-chat__primary-color, #2563eb);cursor:pointer;font:inherit;padding:0}.chat-page .str-chat__ai-selection-clear:hover{text-decoration:underline}.chat-page .str-chat__ai-context-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid transparent;background:var(--chat-shell-control-bg);color:var(--chat-shell-muted);cursor:pointer;padding:0;border-radius:11px;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.chat-page .str-chat__ai-context-toggle[aria-expanded=true]{border-color:#c44eff57;background:var(--chat-shell-control-active);color:var(--chat-shell-accent-strong)}.chat-page .str-chat__ai-context-toggle:hover,.chat-page .str-chat__ai-context-toggle:focus-visible{border-color:#2a21141a;background:var(--chat-shell-control-hover);color:var(--chat-shell-text);outline:none}.chat-page .str-chat__ai-context-toggle--active{border-color:#c44eff57;background:var(--chat-shell-control-active);color:var(--chat-shell-accent-strong)}.chat-page .str-chat__ai-context-wrapper{position:relative;display:inline-flex;align-items:center}.chat-page .str-chat__ai-context-panel{position:absolute;right:0;bottom:calc(100% + 12px);display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;width:min(360px,calc(100vw - 32px));padding:14px;box-sizing:border-box;border-radius:8px;border:1px solid var(--chat-shell-border);background:var(--chat-shell-surface);box-shadow:0 18px 42px #2a211429;color:var(--chat-shell-text);z-index:80}.chat-page .str-chat__ai-context-panel-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.chat-page .str-chat__ai-context-panel-title{min-width:0;color:var(--chat-shell-text);font-size:14px;font-weight:800;line-height:1.3}.chat-page .str-chat__ai-context-panel-status{flex:0 0 auto;color:var(--chat-shell-muted);font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap}.chat-page .str-chat__ai-context-mode-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.chat-page .str-chat__ai-context-mode{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:68px;padding:10px;border:1px solid var(--chat-shell-border);border-radius:6px;background:#fffaf299;color:var(--chat-shell-text);cursor:pointer;text-align:left}.chat-page .str-chat__ai-context-mode:hover,.chat-page .str-chat__ai-context-mode:focus-visible{border-color:#c44eff59;outline:none}.chat-page .str-chat__ai-context-mode--active{border-color:#c44eff7a;background:#c44eff1a}.chat-page .str-chat__ai-context-mode-label{max-width:100%;color:var(--chat-shell-text);font-size:13px;font-weight:800;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-page .str-chat__ai-context-mode-value{max-width:100%;color:var(--chat-shell-muted);font-size:12px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-page .str-chat__ai-selection-toggle{align-self:flex-start;border:1px solid rgba(15,23,42,.16);background:#0f172a08;color:#0f172acc;cursor:pointer;padding:calc(var(--str-chat__spacing-px) * 2) calc(var(--str-chat__spacing-px) * 6);border-radius:999px;font:inherit}.chat-page .str-chat__ai-selection-toggle--active{border-color:#2563eb66;background:#2563eb1a;color:var(--str-chat__primary-color, #2563eb)}.chat-page .str-chat__ai-selection-hint{color:var(--chat-shell-muted);font-size:12px;font-weight:650;line-height:1.45}.chat-page .str-chat__ai-context-control{display:flex;flex-direction:column;align-items:stretch;gap:8px}.chat-page .str-chat__ai-context-label{color:var(--chat-shell-muted);font-size:12px;font-weight:750;line-height:1.35}.chat-page .str-chat__ai-context-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.chat-page .str-chat__ai-context-preset{min-width:0;height:34px;border:1px solid var(--chat-shell-border);border-radius:6px;background:#fffaf2c7;color:var(--chat-shell-text);cursor:pointer;font-size:13px;font-weight:800;line-height:1}.chat-page .str-chat__ai-context-preset:hover,.chat-page .str-chat__ai-context-preset:focus-visible{border-color:#c44eff59;outline:none}.chat-page .str-chat__ai-context-preset--active{border-color:#c44eff8c;background:#c44eff21;color:var(--chat-shell-accent)}.chat-page .str-chat__ai-context-selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-top:2px;border-top:1px solid var(--chat-shell-border)}.chat-page .str-chat__ul[data-ai-selection-mode=true] .str-chat__li[data-message-id]{position:relative;cursor:pointer;padding-inline-start:calc(var(--str-chat__spacing-px) * 8)}.chat-page .str-chat__ul[data-ai-selection-mode=true] .str-chat__li[data-message-id]:before{content:"";position:absolute;left:calc(var(--str-chat__spacing-px) * 2);top:50%;transform:translateY(-50%);width:calc(var(--str-chat__spacing-px) * 8);height:calc(var(--str-chat__spacing-px) * 8);border-radius:999px;border:1px solid rgba(15,23,42,.35);background:var(--str-chat__surface-color, #fff)}.chat-page .str-chat__ul[data-ai-selection-mode=true] .str-chat__li[data-message-id][data-ai-selected=true]:before{border-color:var(--str-chat__primary-color, #2563eb);background:var(--str-chat__primary-color, #2563eb)}.chat-page .str-chat__ul[data-ai-selection-mode=true] .str-chat__li[data-message-id][data-ai-selected=true]:after{content:"";position:absolute;left:calc(var(--str-chat__spacing-px) * 5.5);top:50%;transform:translate(-50%,-58%) rotate(45deg);width:calc(var(--str-chat__spacing-px) * 3);height:calc(var(--str-chat__spacing-px) * 5);border:2px solid #fff;border-top:0;border-left:0}.chat-page .str-chat__ul[data-ai-selection-mode=true] .str-chat__li[data-message-id][data-ai-selected=true] .str-chat__message-bubble{box-shadow:0 0 0 2px #2563eb40}@keyframes ai-thinking-pulse{0%{box-shadow:0 0 #2563eb66}70%{box-shadow:0 0 0 8px #2563eb00}to{box-shadow:0 0 #2563eb00}}@keyframes ai-toggle-pulse{0%{box-shadow:0 0 #2563eb59}70%{box-shadow:0 0 0 12px #2563eb00}to{box-shadow:0 0 #2563eb00}}.chat-page .chat-call-overlay{position:absolute;inset:0;z-index:30;display:flex;align-items:stretch;justify-content:center;padding:16px;background:#0f172a8c}.chat-page .chat-call-overlay__panel{width:min(100%,960px);display:flex;flex-direction:column;background:#0b1220;color:#e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 24px 60px #0f172a73}.chat-page .chat-call-overlay__header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#0f172ad9}.chat-page .chat-call-overlay__title{display:inline-flex;align-items:center;gap:8px;font-weight:600}.chat-page .chat-call-overlay__status{font-size:12px;color:#e2e8f0b3}.chat-page .chat-call-overlay__error{padding:6px 16px;font-size:12px;background:#dc26262e;color:#fecaca}.chat-page .chat-call-overlay__theme{display:flex;flex-direction:column;flex:1;min-height:0}.chat-page .chat-call-overlay__content{flex:1;min-height:0}.chat-page .chat-call-overlay__content .str-video__speaker-layout__wrapper{height:100%}@media (max-width: 640px){.chat-page .chat-call-overlay{padding:8px}.chat-page .chat-call-overlay__panel{border-radius:12px}}
