.ctf-agent-root{position:fixed;z-index:9999;inset-inline-end:20px;bottom:20px;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.45;color:#142033;pointer-events:none;zoom:1}.ctf-agent-root *{box-sizing:border-box}.ctf-agent-launcher,.ctf-agent-panel{pointer-events:auto}.ctf-agent-launcher{width:60px;height:60px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:linear-gradient(145deg,#004080,#003366);color:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(0,51,102,.45);transition:transform .15s ease,box-shadow .15s ease}.ctf-agent-launcher:hover,.ctf-agent-launcher:focus-visible{transform:scale(1.06);box-shadow:0 10px 28px rgba(0,51,102,.55);outline:2px solid #7eb6ff;outline-offset:3px}.ctf-agent-launcher[aria-expanded=true]{background:linear-gradient(145deg,#12345b,#001a33)}.ctf-agent-launcher svg{width:28px;height:28px;fill:currentColor}.ctf-agent-panel{position:absolute;inset-inline-end:0;bottom:76px;width:min(380px,calc(100vw - 28px));height:min(520px,calc(100vh - 110px));height:min(520px,calc(100dvh - 110px));display:none;flex-direction:column;background:#fff;border:1px solid #d7e3f2;border-radius:16px;overflow:hidden;box-shadow:0 16px 40px rgba(16,35,60,.28);contain:layout paint}.ctf-agent-root.is-open .ctf-agent-panel{display:flex}.ctf-agent-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#003366,#12345b);color:#fff}.ctf-agent-header h2{margin:0;font-size:16px;font-weight:700}.ctf-agent-close{border:0;padding:4px 8px;border-radius:6px;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}.ctf-agent-close:hover,.ctf-agent-close:focus-visible{background:rgba(255,255,255,.15);outline:none}.ctf-agent-transcript{flex:1;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overscroll-behavior:contain;padding:14px;background:#f5f8fb}.ctf-agent-msg{max-width:88%;padding:10px 12px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.ctf-agent-msg--bot{align-self:flex-start;background:#fff;border:1px solid #e3e8ef;border-start-start-radius:4px}.ctf-agent-msg--user{align-self:flex-end;background:#d7e8f8;border-start-end-radius:4px}.ctf-agent-msg--error{align-self:stretch;max-width:100%;background:#fff4f4;border:1px solid #f0c2c2;color:#8a1f1f}.ctf-agent-handoff{padding:8px 14px 0;background:#fff;font-size:13px;color:#607086}.ctf-agent-handoff a{color:#0a5cb8;text-decoration:underline}.ctf-agent-form{display:flex;gap:8px;padding:12px 14px 14px;background:#fff;border-top:1px solid #e3e8ef}.ctf-agent-input{flex:1;min-width:0;border:1px solid #c9d6e5;border-radius:10px;padding:10px 12px;font:inherit;color:inherit;background:#fff}.ctf-agent-input:focus{outline:2px solid #7eb6ff;border-color:#003366}.ctf-agent-send{border:0;border-radius:10px;padding:10px 14px;background:#003366;color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}.ctf-agent-send:hover,.ctf-agent-send:focus-visible{background:#004080;outline:none}.ctf-agent-send:disabled{opacity:.55;cursor:not-allowed}@media (max-width:480px){.ctf-agent-root{inset-inline-end:12px;bottom:12px}.ctf-agent-panel{width:calc(100vw - 24px);height:min(70vh,calc(100vh - 90px));height:min(70dvh,calc(100dvh - 90px))}.ctf-agent-launcher{width:56px;height:56px}}
