.tc-root{--tc-bottom:24px;--tc-viewport-height:100dvh;--tc-viewport-top:0px;--tc-ink:#1d232b;--tc-muted:#69737e;--tc-line:#e6e8eb;--tc-accent:#b89a62;position:fixed;right:24px;bottom:calc(var(--tc-bottom) + env(safe-area-inset-bottom,0px));z-index:10020;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--tc-ink);text-align:left;color-scheme:light;letter-spacing:normal;-webkit-font-smoothing:antialiased}
.tc-root,.tc-root *,.tc-root *::before,.tc-root *::after{box-sizing:border-box}.tc-root [hidden]{display:none!important}.tc-root button,.tc-root textarea{font:inherit;letter-spacing:normal;text-transform:none;margin:0;float:none;min-width:0;box-shadow:none;-webkit-appearance:none;appearance:none}.tc-root button::before,.tc-root button::after{display:none}.tc-root button{cursor:pointer}.tc-root button:disabled{cursor:default}.tc-root a{color:inherit;text-decoration:none}.tc-root button:focus-visible,.tc-root a:focus-visible,.tc-root textarea:focus-visible,.tc-root .tc-log:focus-visible{outline:2px solid #967643;outline-offset:3px}.tc-root .tc-icon{display:block;width:22px;height:22px;flex:none;pointer-events:none}.tc-root button{display:inline-flex;align-items:center;justify-content:center}
.tc-root .tc-toggle{gap:12px;background:#20262e;color:#fff;border:1px solid #3c424a;border-radius:100px;padding:9px 22px 9px 10px;box-shadow:0 6px 20px #17212d26,0 2px 5px #17212d14;min-height:58px;line-height:1.3;transition:background .18s,box-shadow .18s,transform .18s}.tc-root .tc-toggle:hover{background:#2c333c;box-shadow:0 8px 28px #17212d33;transform:translateY(-2px)}.tc-toggle-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff0c;border:1px solid #ffffff19;color:#e3d7c2}.tc-root .tc-toggle-mark .tc-icon{width:25px;height:25px}.tc-toggle-label{font-size:13px;font-weight:600;letter-spacing:.01em;white-space:nowrap}.tc-is-open .tc-toggle{background:#303740}
.tc-panel{position:absolute;right:0;bottom:74px;width:408px;height:654px;max-height:calc(var(--tc-viewport-height) - var(--tc-bottom) - 100px);display:flex;flex-direction:column;background:#fff;border:1px solid #dfe3e7;border-radius:22px;box-shadow:0 24px 80px #15202f26,0 6px 18px #15202f12;overflow:hidden;isolation:isolate;animation:tc-reveal .2s ease-out}
.tc-header{display:flex;align-items:center;gap:12px;padding:20px 17px 20px 20px;background:linear-gradient(125deg,#252c35,#191f27);color:#fff;flex:none;border-bottom:1px solid #3b414a}.tc-avatar{display:grid;place-items:center;width:43px;height:43px;flex:none;border:1px solid #c8b68e66;border-radius:14px;background:#ffffff05;color:#e3d7c2}.tc-root .tc-avatar .tc-icon{width:27px;height:27px}.tc-titles{flex:1;min-width:0}.tc-root .tc-title{font:600 15px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#fff;margin:0;padding:0;letter-spacing:0;overflow-wrap:anywhere}.tc-root .tc-subtitle{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.4;color:#bfc7d0;margin:6px 0 0;padding:0}.tc-root .tc-subtitle .tc-icon{width:11px;height:11px;color:#cdbb97}.tc-root .tc-close{border:1px solid transparent;background:transparent;color:#d1d7df;width:36px;height:36px;flex:none;padding:0;border-radius:10px;transition:background .15s,color .15s}.tc-root .tc-close:hover{background:#ffffff0e;color:#fff}.tc-root .tc-close:focus-visible{outline-color:#e3d7c2}
.tc-log{flex:1;min-height:55px;overflow:auto;overscroll-behavior:contain;padding:22px 18px 18px;background:#f6f7f8;display:flex;flex-direction:column;gap:14px;scrollbar-width:thin;scrollbar-color:#cdd2d8 transparent;scroll-padding:18px}.tc-log::-webkit-scrollbar{width:5px}.tc-log::-webkit-scrollbar-thumb{background:#cdd2d8;border-radius:5px}.tc-log-caption{flex-shrink:0;text-align:center;font-size:9px;font-weight:600;line-height:1.3;letter-spacing:.13em;color:#78828e;margin-bottom:3px}.tc-message{display:flex;align-items:flex-start;gap:8px;flex-shrink:0;padding:13px 15px;border-radius:16px;max-width:94%;font-size:13px;line-height:1.65}.tc-message-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.tc-assistant{background:#fff;border:1px solid #e7e9ec;border-bottom-left-radius:5px;align-self:flex-start;box-shadow:0 2px 3px #15202f03}.tc-user{background:#2d3540;color:#fff;align-self:flex-end;border-bottom-right-radius:5px}.tc-error{background:#fff8f5;border:1px solid #edd9cf;color:#814d35;align-self:flex-start;font-size:12px}.tc-root .tc-error .tc-icon{width:17px;height:17px;margin-top:2px}.tc-waiting{display:flex;align-items:center;gap:8px;color:#6f7985;font-size:11px;padding:3px 2px;flex:none}.tc-typing{display:flex;gap:3px;align-items:center;height:15px}.tc-typing i{width:4px;height:4px;border-radius:50%;background:#89929d;animation:tc-pulse 1.15s infinite}.tc-typing i:nth-child(2){animation-delay:.15s}.tc-typing i:nth-child(3){animation-delay:.3s}
.tc-suggestions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:1px;flex:none}.tc-root .tc-suggestion{display:flex;gap:20px;justify-content:space-between;min-height:38px;padding:8px 12px;border-radius:10px;border:1px solid #dde1e6;background:#fff;color:#495463;font-size:12px;line-height:1.5;font-weight:500;transition:border-color .15s,background .15s}.tc-root .tc-suggestion .tc-icon{width:15px;height:15px;color:#7e8792}.tc-root .tc-suggestion:hover{border-color:#b5a688;background:#fcfbf8;color:#20262e}.tc-root .tc-suggestion:disabled{opacity:.5}
.tc-products{display:flex;flex-direction:column;gap:9px;flex-shrink:0}.tc-root .tc-product{display:flex;align-items:center;gap:13px;border:1px solid #e0e4e8;background:#fff;border-radius:14px;padding:11px;transition:border-color .15s,box-shadow .15s}.tc-root .tc-product:hover{border-color:#b5a688;box-shadow:0 3px 12px #17212d08}.tc-product-thumb{position:relative;display:flex;align-items:center;justify-content:center;width:86px;height:100px;flex:none;background:#f7f8f9;border-radius:9px;overflow:hidden}.tc-root .tc-product-placeholder{width:32px;height:32px;color:#b1b8c1;position:absolute}.tc-product-thumb img{display:block;position:relative;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;background:#fff}.tc-image-ready .tc-product-placeholder{display:none}.tc-product-info{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}.tc-product-name{font-size:12px;line-height:1.45;font-weight:500;overflow-wrap:anywhere}.tc-price{font-size:16px;line-height:1.3;font-weight:650;color:#20262e;margin-top:3px}.tc-availability{font-size:10px;line-height:1.4;color:#687583}.tc-product-open{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:600;line-height:1.5;color:#7c6744;margin-top:4px}.tc-root .tc-product-open .tc-icon{width:13px;height:13px}
.tc-actions{display:flex;justify-content:space-between;gap:10px;padding:9px 18px 8px;border-top:1px solid var(--tc-line);align-items:center;flex:none;background:#fff}.tc-root .tc-manager,.tc-root .tc-reset{display:inline-flex;align-items:center;gap:5px;min-height:32px;line-height:1.4;font-size:11px;white-space:nowrap}.tc-root .tc-manager{color:#4a5563}.tc-root .tc-manager:hover{color:#7c6744}.tc-root .tc-reset{padding:0;background:transparent;border:0;color:#707b89}.tc-root .tc-reset:hover{color:#27313d}.tc-root .tc-reset:disabled{opacity:.45}.tc-root .tc-actions .tc-icon{width:14px;height:14px}.tc-actions-label{font-size:10px;color:#7a8491}
.tc-form{display:block;margin:0;padding:0 14px 9px;flex:none;background:#fff}.tc-composer{display:flex;align-items:flex-end;gap:6px;padding:4px 5px 4px 4px;border:1px solid #dfe3e8;border-radius:15px;background:#f8f9fa;transition:border-color .15s,box-shadow .15s}.tc-composer:focus-within{border-color:#ac9c7f;box-shadow:0 0 0 3px #ac9c7f12}.tc-root .tc-input{display:block;resize:none;min-height:44px;height:44px;max-height:108px;width:100%;min-width:0;background:transparent;border:0;border-radius:10px;padding:10px 9px;color:#252c35;font-size:14px;line-height:24px;box-shadow:none;outline:none;overflow-y:auto}.tc-root .tc-input::placeholder{color:#8b939f;opacity:1}.tc-root .tc-input:focus-visible{outline:none}.tc-root .tc-input[readonly]{color:#707b89}.tc-root .tc-send{width:38px;height:38px;flex:none;margin-bottom:3px;background:#252d38;border:1px solid #252d38;color:#fff;border-radius:11px;padding:0;transition:background .15s,border-color .15s}.tc-root .tc-send .tc-icon{width:20px;height:20px}.tc-root .tc-send:hover:not(:disabled){background:#3c4653;border-color:#3c4653}.tc-root .tc-send:disabled{background:#e4e7eb;border-color:#e4e7eb;color:#98a1ae}.tc-root .tc-notice{font-size:9px;line-height:1.45;color:#828b97;padding:0 20px 14px;margin:0;flex:none;background:#fff}.tc-is-busy .tc-send{cursor:wait}
.tc-root .tc-enter{animation:tc-answer-enter .3s cubic-bezier(.22,.61,.36,1) var(--tc-enter-delay,0ms) both}.tc-root .tc-enter:focus-visible{animation:none}
@keyframes tc-answer-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes tc-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes tc-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(max-width:600px){.tc-root{right:12px;bottom:calc(min(var(--tc-bottom),32px) + env(safe-area-inset-bottom,0px))}.tc-root .tc-toggle{min-height:54px;padding:7px 18px 7px 8px;gap:9px}.tc-toggle-label{font-size:12px}.tc-panel{position:fixed;right:12px;top:calc(var(--tc-viewport-top) + 10px + env(safe-area-inset-top,0px));bottom:auto;width:calc(100vw - 24px);height:calc(var(--tc-viewport-height) - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:740px;border-radius:20px}.tc-is-open .tc-toggle{visibility:hidden}.tc-header{padding:16px 14px 16px 16px;gap:10px}.tc-avatar{width:40px;height:40px;border-radius:12px}.tc-root .tc-title{font-size:14px}.tc-log{padding:18px 14px 15px;gap:12px}.tc-message{font-size:13px;padding:12px 14px}.tc-root .tc-input{font-size:16px}.tc-actions{padding:7px 16px}.tc-form{padding:0 12px 8px}.tc-root .tc-notice{padding:0 17px 12px}.tc-product-thumb{width:78px;height:94px}}
@media(max-width:360px){.tc-root .tc-title{font-size:13px}.tc-root .tc-subtitle{font-size:10px}.tc-avatar{width:34px;height:38px}.tc-header{gap:8px;padding:13px 10px 13px 13px}.tc-log{padding:14px 12px}.tc-actions{padding-left:13px;padding-right:13px}.tc-product-thumb{width:66px;height:90px}.tc-root .tc-product{gap:10px}.tc-product-name{font-size:11px}.tc-price{font-size:15px}}
@media(max-height:520px) and (max-width:600px){.tc-header{padding-top:10px;padding-bottom:10px}.tc-avatar{width:34px;height:34px}.tc-actions{padding-top:2px;padding-bottom:2px}.tc-root .tc-notice{font-size:8px;padding-bottom:7px}.tc-form{padding-bottom:6px}.tc-log{padding-top:12px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.tc-root *,.tc-root *::before,.tc-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tc-root .tc-toggle:hover{transform:none}}

.tc-assistant{flex-direction:column;gap:7px}.tc-answer-source{font-size:9px;line-height:1.4;letter-spacing:.025em;color:#8c795b}.tc-history-note{flex:none;text-align:center;padding:3px 8px;font-size:10px;line-height:1.5;color:#7d8794}

.tc-sources{flex:none;border:1px solid #e2e6ea;border-radius:12px;padding:11px 13px;background:#fff}.tc-sources-title{display:block;font-size:10px;font-weight:600;letter-spacing:.025em;color:#7d705c;margin-bottom:7px}.tc-root .tc-source-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.tc-root .tc-source-list>li{margin:0;padding:0;list-style:none}.tc-root .tc-source-list>li::before{display:none}.tc-root .tc-source-link{display:flex;gap:8px;align-items:flex-start;color:#3c4651;text-decoration:none;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tc-root .tc-source-link:hover{color:#8c795b}.tc-source-link .tc-icon{flex:none;width:15px;height:15px;margin-top:2px}
