/* 쩡이쌤과외 V86 테스트용. 모든 스타일은 #jj-ai-chat-root에 한정. */
#jj-ai-chat-root{--jj-pink:#c53370;--jj-navy:#243149;--jj-border:#f1d5e2;--jj-bg:#fff;--jj-text:#243149;font-family:'Pretendard','Noto Sans KR',system-ui,-apple-system,sans-serif;color:var(--jj-text);font-size:14px;line-height:1.5}
#jj-ai-chat-root *{box-sizing:border-box}
#jj-ai-chat-root button,#jj-ai-chat-root a,#jj-ai-chat-root textarea{font:inherit}
#jj-ai-chat-root .jj-launcher{position:fixed;right:20px;bottom:88px;display:flex;align-items:center;gap:8px;background:var(--jj-pink);color:white;border:0;border-radius:999px;padding:13px 17px;box-shadow:0 7px 26px #8b16494d;cursor:pointer;z-index:6500;font-weight:800}
#jj-ai-chat-root .jj-launcher:focus-visible,#jj-ai-chat-root button:focus-visible,#jj-ai-chat-root a:focus-visible,#jj-ai-chat-root textarea:focus-visible{outline:3px solid #395ee2;outline-offset:3px}
#jj-ai-chat-root .jj-window{display:none;flex-direction:column;position:fixed;right:20px;bottom:89px;width:min(390px,calc(100vw - 24px));height:min(590px,calc(100dvh - 110px));max-height:85vh;background:var(--jj-bg);border:1px solid var(--jj-border);border-radius:19px;box-shadow:0 16px 48px #11203933;overflow:hidden;z-index:6501}
#jj-ai-chat-root[data-open="true"] .jj-window{display:flex}
#jj-ai-chat-root[data-open="true"] .jj-launcher{display:none}
#jj-ai-chat-root .jj-head{background:linear-gradient(120deg,#273a58,#b92e70);color:white;padding:15px 15px 13px;display:flex;align-items:center;gap:10px}
#jj-ai-chat-root .jj-head-title{font-weight:800;font-size:16px;margin:0}
#jj-ai-chat-root .jj-head-sub{font-size:11px;opacity:.92;margin:2px 0 0}
#jj-ai-chat-root .jj-head-close{margin-left:auto;border:0;background:#ffffff26;border-radius:9px;width:36px;height:36px;cursor:pointer;color:white;font-size:22px}
#jj-ai-chat-root .jj-robot{display:grid;place-items:center;border-radius:12px;background:#ffffff2b;width:39px;height:39px;font-size:21px}
#jj-ai-chat-root .jj-messages{padding:17px 14px 14px;overflow:auto;flex:1;background:linear-gradient(#fff,#fff8fb);overscroll-behavior:contain}
#jj-ai-chat-root .jj-message{margin:0 0 12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
#jj-ai-chat-root .jj-message.jj-user{align-items:flex-end}
#jj-ai-chat-root .jj-bubble{max-width:88%;padding:12px 13px;border-radius:14px 14px 14px 4px;white-space:pre-wrap;word-break:break-word;background:#f3eff5;border:1px solid #f2e5ee}
#jj-ai-chat-root .jj-user .jj-bubble{border-radius:14px 14px 4px 14px;background:#ffe4f0;border:1px solid #f9cade}
#jj-ai-chat-root .jj-hint{color:#666;font-size:11px;margin:6px 0 10px}
#jj-ai-chat-root .jj-chips{display:flex;flex-wrap:wrap;gap:7px;padding:4px 0 12px}
#jj-ai-chat-root .jj-chip{border:1px solid #e9bfd2;border-radius:12px;background:white;padding:8px 11px;color:#95254f;cursor:pointer;min-height:38px;font-size:12px}
#jj-ai-chat-root .jj-compose{border-top:1px solid #f1e5eb;padding:9px 11px 10px;background:white}
#jj-ai-chat-root .jj-compose-row{display:flex;gap:7px;align-items:end}
#jj-ai-chat-root .jj-input{width:100%;resize:none;min-height:42px;max-height:95px;border:1px solid #ead5e1;border-radius:10px;padding:10px;outline:none;color:#20273a;background:white}
#jj-ai-chat-root .jj-send{height:43px;min-width:55px;padding:0 11px;border:0;background:var(--jj-pink);border-radius:10px;color:white;font-weight:750;cursor:pointer}
#jj-ai-chat-root .jj-send:disabled{opacity:.5;cursor:not-allowed}
#jj-ai-chat-root .jj-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;font-size:11px;color:#74707a}
#jj-ai-chat-root .jj-cta{color:#9e2459;font-weight:750;text-decoration:underline;text-underline-offset:3px}
#jj-ai-chat-root .jj-demo-badge{padding:2px 6px;border-radius:5px;background:#fff3c8;color:#704000;font-size:10px}
#jj-ai-chat-root .jj-status{font-size:11px;color:#7d5670;padding:0 14px 6px;background:#fff8fb;min-height:17px}
#jj-ai-chat-root.jj-hidden-for-modal{visibility:hidden;pointer-events:none}
@media(max-width:600px){#jj-ai-chat-root .jj-launcher{bottom:90px;right:10px;padding:11px 14px;font-size:12px}#jj-ai-chat-root .jj-window{inset:8px 8px 88px 8px;width:auto;height:auto;max-height:none;border-radius:14px;z-index:6501}#jj-ai-chat-root .jj-head{padding:13px}#jj-ai-chat-root .jj-messages{padding:12px}#jj-ai-chat-root .jj-bubble{max-width:94%}}
@media(prefers-reduced-motion:no-preference){#jj-ai-chat-root .jj-window{animation:jj-rise .18s ease-out}@keyframes jj-rise{from{opacity:.6;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
