.jgd-ai{--ai-navy:#0d1a2d;--ai-navy-2:#162b46;--ai-orange:#f36b12;--ai-line:#dce3eb;--ai-muted:#667085;--ai-soft:#f4f7fa;color:#111820;font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;letter-spacing:0}
.jgd-ai *{box-sizing:border-box}
.jgd-ai-launch{position:fixed;right:22px;bottom:24px;z-index:2147483000;display:flex;align-items:center;gap:8px;min-width:116px;min-height:52px;padding:10px 17px;border:0;border-radius:999px;background:var(--ai-navy);color:#fff;box-shadow:0 14px 38px rgba(13,26,45,.28);cursor:pointer;font:inherit}
.jgd-ai-launch:hover{background:#152a47;transform:translateY(-1px)}.jgd-ai-launch:focus-visible,.jgd-ai button:focus-visible,.jgd-ai a:focus-visible,.jgd-ai input:focus-visible,.jgd-ai textarea:focus-visible{outline:3px solid rgba(243,107,18,.38);outline-offset:2px}
.jgd-ai-launch span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:var(--ai-orange);font-size:16px}.jgd-ai-launch b{font-size:15px}
.jgd-ai-panel{position:fixed;right:22px;bottom:86px;z-index:2147483001;display:grid;width:min(410px,calc(100vw - 32px));height:min(690px,calc(100dvh - 118px));grid-template-rows:auto auto minmax(0,1fr) auto auto auto;overflow:hidden;border:1px solid #ccd5df;border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(10,24,42,.28)}
.jgd-ai-panel[hidden]{display:none}.jgd-ai-head{display:flex;align-items:center;gap:11px;padding:16px 15px;background:linear-gradient(135deg,var(--ai-navy),var(--ai-navy-2));color:#fff}
.jgd-ai-avatar{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border:2px solid rgba(255,255,255,.72);border-radius:14px;background:var(--ai-orange);font-size:13px;font-weight:900}.jgd-ai-head>div:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column}.jgd-ai-head strong{font-size:17px;line-height:1.35}.jgd-ai-head span{display:flex;align-items:center;gap:6px;color:#d9e4ef;font-size:12px}.jgd-ai-head i{width:7px;height:7px;border-radius:50%;background:#56d487}.jgd-ai-close{display:grid;width:42px;height:42px;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font-size:28px;line-height:1}
.jgd-ai-notice{padding:9px 14px;border-bottom:1px solid #f0d8c9;background:#fff5ee;color:#91400c;font-size:12px;font-weight:700;line-height:1.5}
.jgd-ai-messages{min-height:0;padding:16px 14px;overflow-y:auto;overscroll-behavior:contain;background:var(--ai-soft);scrollbar-width:thin;scrollbar-color:#b9c4d0 transparent}
.jgd-ai-message{display:flex;margin:0 0 12px}.jgd-ai-message.user{justify-content:flex-end}.jgd-ai-bubble{max-width:88%;padding:12px 14px;border:1px solid #dde4eb;border-radius:6px 16px 16px 16px;background:#fff;color:#27364a;font-size:14px;line-height:1.62;white-space:pre-line;overflow-wrap:anywhere;box-shadow:0 3px 14px rgba(23,38,58,.05)}.jgd-ai-message.user .jgd-ai-bubble{border-color:var(--ai-navy);border-radius:16px 6px 16px 16px;background:var(--ai-navy);color:#fff}.jgd-ai-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.jgd-ai-links a{padding:7px 9px;border:1px solid #cdd7e2;border-radius:9px;background:#fff;color:#173f6a;font-size:12px;font-weight:800;text-decoration:none}.jgd-ai-links a:hover{border-color:var(--ai-orange);color:#a74306}
.jgd-ai-message.is-typing .jgd-ai-bubble{display:flex;gap:4px;padding:14px}.jgd-ai-message.is-typing span{width:6px;height:6px;border-radius:50%;background:#91a0b1;animation:jgd-ai-dot 1s infinite alternate}.jgd-ai-message.is-typing span:nth-child(2){animation-delay:.18s}.jgd-ai-message.is-typing span:nth-child(3){animation-delay:.36s}@keyframes jgd-ai-dot{to{transform:translateY(-4px);background:var(--ai-orange)}}
.jgd-ai-products{display:grid;gap:9px;margin-top:12px}.jgd-ai-product{display:grid;grid-template-columns:116px minmax(0,1fr);overflow:hidden;border:1px solid #d7e0e9;border-radius:12px;background:#fff}.jgd-ai-product>img{width:116px;height:100%;min-height:136px;padding:4px;border-right:1px solid #e2e7ed;object-fit:contain;background:#eef1f4}.jgd-ai-product-body{display:flex;min-width:0;flex-direction:column;gap:4px;padding:10px}.jgd-ai-product-body b{color:#15263b;font-size:13px;line-height:1.42}.jgd-ai-product-body strong{color:#111820;font-size:15px}.jgd-ai-product-body span{color:#6c7a8d;font-size:11px}.jgd-ai-product-actions{display:flex;gap:6px;margin-top:5px}.jgd-ai-product-actions a,.jgd-ai-product-actions button,.jgd-ai-handoff{display:inline-flex;min-height:32px;align-items:center;justify-content:center;padding:6px 9px;border:1px solid #cad5e1;border-radius:8px;background:#fff;color:#173f6a;cursor:pointer;font:800 11px/1.2 inherit;text-decoration:none}.jgd-ai-product-actions button,.jgd-ai-handoff{border-color:#0d1a2d;background:#0d1a2d;color:#fff}.jgd-ai-handoff{margin-top:10px}
.jgd-ai-quick{display:flex;gap:7px;padding:10px 12px;overflow-x:auto;border-top:1px solid var(--ai-line);background:#fff;scrollbar-width:none}.jgd-ai-quick::-webkit-scrollbar{display:none}.jgd-ai-quick[hidden]{display:none}.jgd-ai-quick button{flex:0 0 auto;min-height:38px;padding:8px 11px;border:1px solid #cfd8e2;border-radius:999px;background:#fff;color:#233b57;cursor:pointer;font:700 12px/1.35 inherit}.jgd-ai-quick button:hover{border-color:var(--ai-orange);background:#fff7f1;color:#a74306}
.jgd-ai-inputbar{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--ai-line);background:#fff}.jgd-ai-inputbar textarea{width:100%;min-height:44px;max-height:96px;resize:none;padding:10px 12px;border:1px solid #cfd8e2;border-radius:11px;background:#f8fafc;color:#111820;font:14px/1.5 inherit}.jgd-ai-inputbar button{min-width:58px;height:44px;border:0;border-radius:11px;background:var(--ai-orange);color:#fff;cursor:pointer;font:800 13px/1 inherit}
.jgd-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px;background:#fff}.jgd-ai-actions button,.jgd-ai-actions a{display:flex;min-height:40px;align-items:center;justify-content:center;border:1px solid #ccd6e0;border-radius:10px;background:#fff;color:#263b55;cursor:pointer;font:800 12px/1.3 inherit;text-align:center;text-decoration:none}.jgd-ai-actions button{border-color:var(--ai-navy);background:var(--ai-navy);color:#fff}
.jgd-ai-lead{position:absolute;inset:72px 12px 12px;z-index:2;overflow-y:auto;padding:18px;border:1px solid #cdd6e0;border-radius:16px;background:#fff;box-shadow:0 16px 60px rgba(13,26,45,.25)}.jgd-ai-lead-title{display:flex;align-items:center;justify-content:space-between}.jgd-ai-lead-title b{font-size:19px}.jgd-ai-lead-title button{display:grid;width:40px;height:40px;place-items:center;border:0;background:transparent;color:#677587;cursor:pointer;font-size:25px}.jgd-ai-lead p{margin:4px 0 15px;color:var(--ai-muted);font-size:13px;line-height:1.55}.jgd-ai-lead label{display:grid;gap:6px;margin:0 0 12px;color:#344054;font-size:13px;font-weight:800}.jgd-ai-lead input[type="text"],.jgd-ai-lead input[type="tel"],.jgd-ai-lead input:not([type]){width:100%;height:46px;padding:0 12px;border:1px solid #cfd8e2;border-radius:10px;font:15px inherit}.jgd-ai-lead .jgd-ai-consent{display:flex;align-items:flex-start;gap:8px;padding:11px;border-radius:10px;background:#f5f7fa;font-weight:500;line-height:1.5}.jgd-ai-consent input{width:19px;height:19px;flex:0 0 19px;margin-top:1px;accent-color:var(--ai-orange)}.jgd-ai-consent a{color:#174d82}.jgd-ai-submit{width:100%;min-height:48px;border:0;border-radius:11px;background:var(--ai-navy);color:#fff;cursor:pointer;font:800 15px inherit}.jgd-ai-result{margin-top:10px;color:#b42318;font-size:13px;font-weight:700;line-height:1.55}.jgd-ai-result.success{padding:10px;border-radius:9px;background:#eaf8f1;color:#137a51}
.jgd-ai-privacy-info{display:grid;gap:3px;margin:0 0 12px;padding:11px;border:1px solid #e0e6ed;border-radius:10px;background:#fafbfc;color:#5d6b7c;font-size:11px;line-height:1.45}.jgd-ai-privacy-info b{color:#344054;font-size:12px}
.ai-consultant-page{min-height:calc(100vh - 300px);padding:42px 0 70px;background:linear-gradient(180deg,#f4f7fa,#fff)}.ai-consultant-page .ai-page-intro{width:min(880px,calc(100% - 32px));margin:0 auto 22px;text-align:center}.ai-consultant-page .ai-page-intro h1{margin:0 0 8px;color:#0d1a2d;font-size:36px;line-height:1.25}.ai-consultant-page .ai-page-intro p{margin:0;color:#667085;font-size:16px}.ai-consultant-page [data-ai-consultant-host]{width:min(760px,calc(100% - 32px));margin:auto}.jgd-ai-panel.is-page{position:relative;right:auto;bottom:auto;width:100%;height:min(720px,calc(100dvh - 150px));min-height:590px;margin:0;border-radius:24px;box-shadow:0 20px 70px rgba(13,26,45,.16)}.jgd-ai-panel.is-page .jgd-ai-bubble{max-width:78%}
.jgd-ai .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:640px){.jgd-ai-launch{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));min-width:104px;min-height:48px;padding:8px 14px}.jgd-ai-panel:not(.is-page){top:max(8px,env(safe-area-inset-top));right:8px;bottom:calc(76px + env(safe-area-inset-bottom));width:calc(100vw - 16px);height:auto;max-height:none;border-radius:18px}.jgd-ai-head{padding:9px 10px}.jgd-ai-avatar{width:36px;height:36px;flex-basis:36px;border-radius:11px}.jgd-ai-head strong{font-size:16px}.jgd-ai-close{width:38px;height:38px}.jgd-ai-notice{padding:6px 10px;font-size:11px;line-height:1.4}.jgd-ai-messages{padding:10px 8px}.jgd-ai-message{margin-bottom:10px}.jgd-ai-bubble{max-width:94%;padding:11px 12px;font-size:14px}.jgd-ai-product{grid-template-columns:92px minmax(0,1fr)}.jgd-ai-product>img{width:92px;min-height:118px}.jgd-ai-quick{padding:7px 8px}.jgd-ai-quick button{min-height:34px;padding:7px 10px}.jgd-ai-inputbar{padding:7px 8px}.jgd-ai-inputbar textarea{min-height:40px;padding:8px 10px}.jgd-ai-inputbar button{height:40px}.jgd-ai-actions{padding:0 8px 8px}.jgd-ai-actions button,.jgd-ai-actions a{min-height:36px}.jgd-ai-lead{inset:58px 8px 8px;padding:16px}.jgd-ai-open{overflow:hidden}.ai-consultant-page{padding:24px 0 36px}.ai-consultant-page .ai-page-intro h1{font-size:28px}.jgd-ai-panel.is-page{height:calc(100dvh - 170px);min-height:540px;border-radius:18px}.jgd-ai-panel.is-page .jgd-ai-bubble{max-width:94%}}
@media(prefers-reduced-motion:reduce){.jgd-ai *{animation:none!important;scroll-behavior:auto!important}.jgd-ai-launch:hover{transform:none}}
