.ts-assistant { position: fixed; right: 16px; bottom: 16px; z-index: 900; font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.5; color: #1a1a1a; }
.ts-assistant * { box-sizing: border-box; }
.ts-launch { display: flex; align-items: center; gap: .5rem; min-height: 48px; padding: .6rem 1rem; border: 0; border-radius: 24px; background: #0d1f3c; color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 4px 16px #0004; }
.ts-launch:hover { background: #24485f; }
.ts-teaser { position: absolute; right: 0; bottom: 60px; width: 230px; padding: .6rem 2rem .6rem .8rem; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px #0003; font-size: .9rem; }
.ts-teaser button { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: #333; }
.ts-panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 32px)); border-radius: 12px; background: #fff; box-shadow: 0 8px 32px #0005; overflow: hidden; }
.ts-head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: #0d1f3c; color: #fff; }
.ts-head strong { display: block; font-size: 1rem; }
.ts-head span { font-size: .8rem; opacity: .85; }
.ts-close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
.ts-log { flex: 1; overflow-y: auto; padding: 1rem; background: #f4f6f9; }
.ts-msg { max-width: 90%; margin: 0 0 .6rem; padding: .55rem .8rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px #0002; font-size: .95rem; }
.ts-msg.ts-me { margin-left: auto; background: #24485f; color: #fff; }
.ts-opts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .8rem; }
.ts-opts button, .ts-opts a { min-height: 44px; padding: .5rem .8rem; border: 1px solid #24485f; border-radius: 22px; background: #fff; color: #0d1f3c; font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.ts-opts button:hover, .ts-opts a:hover { background: #e8eef4; }
.ts-opts .ts-primary { background: #0d1f3c; color: #fff; }
.ts-opts .ts-primary:hover { background: #24485f; }
.ts-assistant button:focus-visible, .ts-assistant a:focus-visible { outline: 3px solid #ffb400; outline-offset: 2px; }
.ts-note { padding: .5rem 1rem; border-top: 1px solid #dde3ea; font-size: .75rem; color: #444; background: #fff; }
.ts-note a { color: #0d1f3c; }
@media (prefers-reduced-motion: no-preference) { .ts-panel { animation: ts-in .15s ease-out; } @keyframes ts-in { from { opacity: 0; transform: translateY(8px); } } }
@media print { .ts-assistant { display: none; } }
