.context-chat{position:fixed;z-index:85;right:18px;bottom:68px;color:var(--text-main,#354139)}
.context-chat[hidden],.context-chat-form[hidden]{display:none}
.context-chat-launcher{width:42px;height:42px;display:grid;place-items:center;padding:3px;border:1px solid #bcc2b0;border-radius:9px;background:var(--surface,#faf8f0);box-shadow:0 3px 9px #363c2322}
.context-chat-launcher img{width:34px;height:34px;object-fit:contain}
.context-chat-launcher[aria-expanded=true]{outline:2px solid #8c9c73;outline-offset:2px}
.context-chat-form{position:fixed;left:calc(var(--context-chat-left,216px) + 28px);right:80px;bottom:20px;max-width:1450px;margin:auto;filter:drop-shadow(0 4px 12px #343e2920)}
.context-chat-target{display:flex;align-items:center;gap:8px;max-width:90%;width:fit-content;min-height:28px;margin:0 0 -1px 20px;padding:3px 10px;border:1px solid #c2caad;border-radius:7px 7px 0 0;background:#e9eddc;color:#536542}
.context-chat-target span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.context-chat-target button{border:0;background:transparent;padding:0 4px;color:inherit}
.context-chat-input{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #b8c29d;border-radius:14px;background:var(--surface,#faf9f2);min-height:54px}
.context-chat-input textarea{flex:1;min-width:0;max-height:140px;resize:none;border:0;outline:0;background:transparent;padding:4px 6px;line-height:1.65;color:inherit}
.context-chat-input button{display:grid;place-items:center;width:38px;height:38px;flex:none;border:0;border-radius:8px;background:transparent;padding:7px;color:#63734e}
.context-chat-input button svg{width:24px;height:24px}
.context-chat-input .interview-send{background:linear-gradient(#7d8969,#596547);color:#fff;border:1px solid #566343}
.context-chat-input :focus-visible,.context-chat-launcher:focus-visible,.context-chat-target button:focus-visible{outline:3px solid #579cba;outline-offset:2px}
.context-chat-files{display:flex;flex-wrap:wrap;gap:5px;background:var(--surface,#faf9f2);border-radius:8px}
.context-chat-files:empty,.context-chat-form p:empty{display:none}
.context-chat-files>span{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;padding:5px 9px}
.context-chat-files button{border:0;background:transparent}
.context-chat-form p{margin:4px 0 0;padding:5px 12px;background:var(--surface,#faf9f2);border-radius:8px;overflow-wrap:anywhere}
@keyframes context-chat-enter{from{opacity:.3;clip-path:inset(0 0 0 100%);transform:translateX(24px)}to{opacity:1;clip-path:inset(0);transform:translateX(0)}}
@media(max-width:760px){.context-chat{right:12px;bottom:78px}.context-chat-form{left:10px;right:10px;bottom:calc(12px + env(safe-area-inset-bottom));max-height:65dvh}.context-chat-input{gap:3px}.context-chat-target{margin-left:10px}}
@media(prefers-reduced-motion:reduce){.context-chat-form{animation:none}}
