.tc-agent-fab{position:fixed;right:var(--tc-space-5,24px);bottom:var(--tc-space-5,24px);z-index:42;width:calc(48px * 1.15 * 1.2);height:calc(48px * 1.15 * 1.2);padding:0;border:1px solid var(--tc-border,#e8e4df);border-radius:999px;background:var(--tc-surface,#fff);box-shadow:0 4px 16px rgba(26,23,20,.12);cursor:grab;display:inline-flex;align-items:center;justify-content:center;touch-action:none;-webkit-user-select:none;user-select:none}.tc-agent-fab:focus-visible,.tc-agent-fab:hover{outline:none;border-color:var(--tc-accent,#ff6a00);background:var(--tc-accent-soft,rgba(255,106,0,.12))}.tc-agent-fab:active{cursor:grabbing}.tc-agent-fab-logo{width:46px;height:46px;object-fit:contain;pointer-events:none}html[data-theme=dark] .tc-agent-fab{box-shadow:0 4px 16px rgba(0,0,0,.45)}.legacy-app-root .legacy-modal.tc-agent-drawer{width:min(420px,100%)}.legacy-app-root .legacy-modal.tc-agent-drawer .catalog-modal-body.tc-agent-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:var(--tc-stack-gap-min,12px);padding:12px 16px;overflow:hidden}.legacy-app-root .legacy-modal.tc-agent-drawer .catalog-modal-footer{justify-content:stretch;flex-direction:column;align-items:stretch;gap:var(--tc-stack-gap-min,12px)}.tc-agent-quota{display:flex;flex-direction:column;gap:6px;width:100%}.tc-agent-quota-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;line-height:1.35;color:var(--tc-muted,#6b6560)}.tc-agent-quota-track{height:6px;border-radius:999px;background:var(--tc-surface-2,#fafaf8);border:1px solid var(--tc-border,#e8e4df);overflow:hidden}.tc-agent-quota-fill{height:100%;border-radius:999px;background:var(--tc-accent,#ff6a00);transition:width .15s ease}.tc-agent-quota--warn .tc-agent-quota-fill{background:var(--tc-warn,#b45309)}.tc-agent-quota--danger .tc-agent-quota-fill{background:var(--tc-danger,#b42318)}.tc-agent-skel-bar{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#ececec,#f5f5f5,#ececec);background-size:200% 100%;animation:shimmer 1.4s infinite}.tc-agent-skel-bar--used{width:58%;max-width:11.5rem}.tc-agent-skel-bar--reset{width:28%;max-width:6.5rem}.tc-agent-quota-track--skel{border:0;background:transparent;overflow:hidden}.tc-agent-skel-bar--track{height:6px;width:100%;max-width:none;border-radius:999px}html[data-theme=dark] .tc-agent-skel-bar{background:linear-gradient(90deg,var(--legacy-skeleton-from,#2a2a2a),var(--legacy-skeleton-mid,#3a3a3a),var(--legacy-skeleton-from,#2a2a2a));background-size:200% 100%}@media (prefers-reduced-motion:reduce){.tc-agent-skel-bar{animation:none}}.tc-agent-thread{flex:1 1 auto;min-height:0;overflow:auto}.tc-agent-empty,.tc-agent-thread{display:flex;flex-direction:column;gap:12px}.tc-agent-empty{margin:auto 0}.tc-agent-empty p{margin:0;color:var(--tc-muted,#6b6560);font-size:14px}.tc-agent-hints{display:flex;flex-direction:column;gap:8px}.tc-agent-hint{text-align:left;border:1px solid var(--tc-border,#e8e4df);background:var(--tc-surface-2,#fafaf8);color:var(--tc-text,#1a1714);border-radius:8px;padding:8px 12px;font-size:13px;cursor:pointer}.tc-agent-hint:focus-visible,.tc-agent-hint:hover{border-color:var(--tc-accent,#ff6a00);outline:none}.tc-agent-msg{display:flex;flex-direction:column;gap:8px;max-width:92%}.tc-agent-msg--user{align-self:flex-end;align-items:flex-end}.tc-agent-msg--assistant{align-self:flex-start;align-items:flex-start}.tc-agent-print-links{display:flex;flex-direction:column;gap:8px}.tc-agent-print-link{font-size:13px;line-height:1.35;color:var(--tc-accent,#ff6a00);text-decoration:none}.tc-agent-print-link:focus-visible,.tc-agent-print-link:hover{text-decoration:underline;outline:none}.tc-agent-bubble{max-width:100%;padding:8px 12px;border-radius:10px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.tc-agent-bubble--user{align-self:flex-end;background:var(--tc-accent-soft,rgba(255,106,0,.12));color:var(--tc-text,#1a1714)}.tc-agent-bubble--assistant{align-self:flex-start;background:var(--tc-surface-2,#fafaf8);border:1px solid var(--tc-border,#e8e4df);color:var(--tc-text,#1a1714)}.tc-agent-bubble--pending{max-width:92%;align-self:flex-start;color:var(--tc-muted,#6b6560)}.tc-agent-error{margin:0;color:var(--tc-danger,#b42318);font-size:13px}.tc-agent-composer{display:flex;gap:8px;align-items:flex-end;width:100%}.tc-agent-composer textarea{flex:1 1 auto;min-height:36px;max-height:56px;height:36px;line-height:20px;overflow-y:auto;overflow-wrap:anywhere;box-sizing:border-box;resize:none;border:1px solid var(--tc-border,#e8e4df);border-radius:8px;padding:8px 12px;font:inherit;font-size:14px;background:var(--tc-surface,#fff);color:var(--tc-text,#1a1714)}.tc-agent-composer textarea:focus{outline:none;border-color:var(--tc-accent,#ff6a00)}.tc-agent-composer textarea:disabled{background:var(--tc-surface-2,#fafaf8);color:var(--tc-muted,#6b6560);cursor:not-allowed}.tc-agent-composer textarea:disabled:focus{border-color:var(--tc-border,#e8e4df)}.tc-agent-composer .legacy-btn-primary,.tc-agent-mic{min-height:36px;height:36px}.tc-agent-mic{flex:0 0 36px;width:36px;padding:0;border:1px solid var(--tc-border,#e8e4df);border-radius:8px;background:var(--tc-surface,#fff);color:var(--tc-text,#1a1714);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tc-agent-mic:focus-visible,.tc-agent-mic:hover:not(:disabled){outline:none;border-color:var(--tc-accent,#ff6a00);background:var(--tc-accent-soft,rgba(255,106,0,.12))}.tc-agent-mic:disabled{cursor:not-allowed;color:var(--tc-muted,#6b6560);background:var(--tc-surface-2,#fafaf8)}.tc-agent-mic--on{border-color:var(--tc-accent,#ff6a00);background:var(--tc-accent-soft,rgba(255,106,0,.12));color:var(--tc-accent,#ff6a00)}.tc-agent-mic--on .legacy-btn-icon{animation:tc-agent-mic-pulse 1.2s ease-in-out infinite}@keyframes tc-agent-mic-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.tc-agent-mic--on .legacy-btn-icon{animation:none}}@media (max-width:640px){.tc-agent-fab{right:16px;bottom:16px}}