/* Standalone /chat only. Existing homepage widget and admin styles stay unchanged. */
@media(max-width:760px){.chat-page #bugiChat .bugi-chat__welcome-character--desktop{display:none!important}.chat-page #bugiChat .bugi-chat__welcome-character--mobile{display:block!important;position:absolute}}
.chat-page{margin:0;background:#f1f6ff;color:#182e4b;font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased}
.chat-page *{box-sizing:border-box}.chat-page button,.chat-page input,.chat-page textarea,.chat-page select{font-family:inherit}.chat-page button,.chat-page a{-webkit-tap-highlight-color:transparent}.chat-page a{color:inherit}.chat-page button{cursor:pointer}.chat-page :focus-visible{outline:3px solid #1768de;outline-offset:4px}.chat-page [hidden]{display:none!important}
.chat-page__app{max-width:1200px;margin:0 auto;padding:0 36px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.chat-page__topbar{height:82px;flex:0 0 82px;display:flex;align-items:center;justify-content:space-between;gap:16px}.chat-page__brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:22px;font-weight:850;letter-spacing:-.8px}.chat-page__brand img{object-fit:contain;border-radius:12px}.chat-page__brand small{margin-left:9px;padding-left:12px;border-left:1px solid #cbd7e7;font-size:14px;font-weight:600;letter-spacing:-.3px;color:#526681}.chat-page__topbar nav{display:flex;align-items:center;gap:10px}.chat-page__topbar nav a,.chat-page__topbar nav button{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#47607f;font-size:13px;font-weight:650;text-decoration:none}.chat-page__topbar nav button:hover,.chat-page__topbar nav a:hover{background:#fff;border-color:#d8e3f2}.chat-page__topbar svg{width:17px;height:17px}
.chat-page__main{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:56px;flex:1;min-height:0;padding:10px 0 20px}.chat-page__intro{max-width:460px;padding:8px 0}.chat-page__eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:19px;color:#3368ab;font-size:13px;font-weight:750;letter-spacing:.2px}.chat-page__eyebrow>span{width:7px;height:7px;background:#2279e9;border-radius:50%;box-shadow:0 0 0 5px #dfeaff}.chat-page__intro h1{margin:0;font-size:clamp(29px,3.3vw,42px);line-height:1.3;letter-spacing:-1.8px;font-weight:800;word-break:keep-all}.chat-page__intro h1 em{color:#1564d8;font-style:normal}.chat-page__description{margin:16px 0 0;font-size:16px;line-height:1.75;color:#5c6e85;letter-spacing:-.4px}.chat-page__character{height:235px;display:flex;align-items:center;justify-content:center;position:relative;margin:4px 0 8px}.chat-page__character:before{content:"";position:absolute;width:208px;height:164px;bottom:0;right:25px;background:#e0edff;border-radius:50%}.chat-page__character>img{position:relative;object-fit:contain;width:230px;height:230px;margin-left:78px;filter:drop-shadow(0 10px 7px #b8cde944)}.chat-page__speech{position:absolute;left:0;top:60px;padding:14px 17px;border:1px solid #d7e3f3;background:#fff;border-radius:17px 17px 4px 17px;box-shadow:0 6px 18px #254f8710;z-index:1;color:#1f548e;font-size:14px;font-weight:750;transform:rotate(-3deg)}
.chat-page__help{display:grid;gap:9px}.chat-page__help button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 17px;border:1px solid #d8e4f4;border-radius:16px;background:#ffffffb8;color:#203d61;transition:background .15s,border-color .15s}.chat-page__help button:hover{background:#fff;border-color:#95b8ec}.chat-page__help-icon,.chat-page__help svg{flex:0 0 28px;width:28px;height:28px;color:#236fd9;font-size:26px}.chat-page__help button>span:nth-child(2){flex:1}.chat-page__help strong{display:block;font-size:14px;font-weight:750}.chat-page__help small{display:block;margin-top:4px;color:#62758f;font-size:12px;line-height:1.4}.chat-page__resources{display:flex;align-items:center;gap:22px;margin-top:20px}.chat-page__resources a{text-decoration:none;font-size:13px;color:#546b88;font-weight:600}.chat-page__resources a:hover{color:#1264d8;text-decoration:underline}.chat-page__resources span{margin-left:5px;color:#7291ba}
.chat-page__stage{height:min(820px,calc(100dvh - 154px));min-height:560px;min-width:0;position:relative}.chat-page__footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 22px;color:#6c7e94;font-size:11px;line-height:1.5}.chat-page__footer a{text-decoration:none}.chat-page__footer a:hover{text-decoration:underline}
.chat-page #bugiChat{position:relative;inset:auto;z-index:1;width:100%;height:100%;font-family:inherit}.chat-page #bugiChat .bugi-chat__launcher,.chat-page #bugiChat .bugi-chat__close{display:none!important}.chat-page #bugiChat .bugi-chat__panel{position:relative;inset:auto;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;max-height:none;margin:0;border:1px solid #d6e2f1;border-radius:26px;background:#fff;box-shadow:0 18px 50px #284f8020;animation:none;transform:none}
.chat-page #bugiChat .bugi-chat__header{flex-shrink:0;min-height:79px;padding:16px 22px;background:#fff;color:#1b365b;border-bottom:1px solid #e1e8f2}.chat-page #bugiChat .bugi-chat__header:after{display:none}.chat-page #bugiChat .bugi-chat__header img{width:44px;height:44px;border:0;box-shadow:none;background:#eaf2ff;border-radius:15px;animation:none}.chat-page #bugiChat .bugi-chat__header strong{font-size:17px;letter-spacing:-.5px}.chat-page #bugiChat .bugi-chat__header span{font-size:12px;color:#5f728b;opacity:1}.chat-page #bugiChat .bugi-chat__header i{animation:none;box-shadow:none;background:#23855c}.chat-page #bugiChat.is-human .bugi-chat__header i{background:#c58016}
.chat-page #bugiChat .bugi-chat__messages{flex:1;min-height:0;overscroll-behavior:contain;padding:22px;background:#f6f8fc;scrollbar-gutter:stable}.chat-page #bugiChat .bugi-chat__welcome{min-height:0;gap:17px;flex-shrink:0}.chat-page #bugiChat .bugi-chat__welcome-copy{min-height:145px;padding:22px 18px;background:#edf4ff;border:0;box-shadow:none;border-radius:20px}.chat-page #bugiChat .bugi-chat__welcome-copy strong{font-size:21px;color:#1b426f}.chat-page #bugiChat .bugi-chat__welcome-copy span{font-size:14px;line-height:1.65;color:#48607e}.chat-page #bugiChat .bugi-chat__welcome-character--desktop{width:105px;height:115px}.chat-page #bugiChat .bugi-chat__welcome-trust{font-size:11px;color:#576d88}.chat-page #bugiChat .bugi-chat__quick{display:grid;grid-template-columns:1fr 1fr;padding:0;background:transparent;gap:9px;overflow:visible}.chat-page #bugiChat .bugi-chat__quick p{grid-column:1/-1;font-size:13px;margin:0 0 2px;color:#435c7d}.chat-page #bugiChat .bugi-chat__quick button{min-width:0;width:100%;min-height:49px;padding:10px 25px 10px 12px;border-radius:12px;font-size:13px;line-height:1.5;font-weight:600;white-space:normal;word-break:keep-all;box-shadow:none}.chat-page #bugiChat .bugi-chat__quick button:last-child{grid-column:1/-1}.chat-page #bugiChat .bugi-chat__privacy{font-size:11px;color:#6b7f96;line-height:1.5}.chat-page #bugiChat .bugi-chat__bubble{font-size:15px;line-height:1.7}.chat-page #bugiChat .bugi-chat__bubble--bot{max-width:94%}.chat-page #bugiChat .bugi-chat__bubble--bot:before{font-size:11px;top:-20px}.chat-page #bugiChat .bugi-chat__feedback small,.chat-page #bugiChat .bugi-chat__feedback button{font-size:11px}.chat-page #bugiChat .bugi-chat__feedback button{min-height:30px;padding:5px 9px}.chat-page #bugiChat .bugi-chat__answer-title{font-size:16px}.chat-page #bugiChat .bugi-chat__answer-note{font-size:13px}.chat-page #bugiChat .bugi-chat__answer-source{font-size:12px}.chat-page #bugiChat .bugi-chat__product-choices button{font-size:14px;min-height:44px}
.chat-page #bugiChat .bugi-chat__links{flex-shrink:0;padding:12px 16px 6px;gap:8px}.chat-page #bugiChat .bugi-chat__links button{font-size:12px;min-height:38px;padding:8px 4px}.chat-page #bugiChat .bugi-chat__form{flex-shrink:0;padding:8px 16px;gap:9px}.chat-page #bugiChat .bugi-chat__form textarea{font-size:16px;line-height:1.45;min-width:0;min-height:48px;padding:12px 14px;box-shadow:none}.chat-page #bugiChat .bugi-chat__form button{flex:0 0 48px;width:48px;height:48px;border-radius:15px;box-shadow:none}.chat-page #bugiChat .bugi-chat__notice{flex-shrink:0;padding:0 16px 14px;color:#6d7e94;font-size:10px;line-height:1.4}.chat-page #bugiChat .bugi-chat__contact,.chat-page #bugiChat .bugi-chat__intake{min-height:0;flex-shrink:1;overflow-y:auto;max-height:60%;overscroll-behavior:contain;margin:7px 16px;font-size:14px}.chat-page #bugiChat .bugi-chat__contact input:not([type=checkbox]),.chat-page #bugiChat .bugi-chat__intake input:not([type=checkbox]),.chat-page #bugiChat .bugi-chat__intake textarea,.chat-page #bugiChat .bugi-chat__intake select{font-size:16px}.chat-page #bugiChat .bugi-chat__contact label,.chat-page #bugiChat .bugi-chat__intake label,.chat-page #bugiChat .bugi-chat__contact small{font-size:12px;line-height:1.5}.chat-page #bugiChat .bugi-chat__contact input[type=checkbox],.chat-page #bugiChat .bugi-chat__intake input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.chat-page #bugiChat .bugi-chat__turnstile--chat{flex-shrink:0}
.chat-page__toast{position:fixed;left:50%;bottom:max(25px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:10030;max-width:calc(100% - 32px);margin:0;padding:13px 20px;border-radius:13px;background:#183557;color:#fff;font-size:14px;text-align:center;box-shadow:0 8px 30px #18355730;pointer-events:none}.chat-page__share{position:fixed;z-index:10040;left:50%;top:80px;transform:translateX(-50%);width:min(420px,calc(100% - 30px));padding:20px;border:1px solid #bfd2ed;border-radius:18px;background:#fff;box-shadow:0 12px 50px #14345a30}.chat-page__share label{display:block;margin-bottom:12px;font-size:14px}.chat-page__share input{width:100%;padding:12px;border:1px solid #bfcfe3;border-radius:8px;font-size:16px}.chat-page__share button{display:block;margin:12px 0 0 auto;padding:8px 15px;border:0;border-radius:8px;background:#e8f1ff;color:#205b9e}.chat-page__nojs{position:absolute;inset:0;z-index:2;padding:60px 24px;background:#fff;border-radius:26px;text-align:center;line-height:1.8}.chat-page__nojs a{color:#1264d8}
@media(min-width:761px) and (max-height:790px){.chat-page__character{height:156px}.chat-page__character>img{width:168px;height:168px}.chat-page__character:before{height:125px;width:160px;right:65px}.chat-page__speech{top:42px;font-size:12px;padding:10px 13px}.chat-page__intro h1{font-size:34px}.chat-page__description{margin-top:10px;font-size:14px}.chat-page__eyebrow{margin-bottom:12px}.chat-page__help button{padding:12px 14px}.chat-page__resources{margin-top:14px}.chat-page__topbar{height:66px;flex-basis:66px}.chat-page__stage{height:calc(100dvh - 118px);min-height:520px}.chat-page__main{padding:6px 0 14px}.chat-page__footer{padding-bottom:14px}}
@media(max-width:960px) and (min-width:761px){.chat-page__app{padding:0 24px}.chat-page__main{gap:26px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.chat-page__intro h1{font-size:29px}.chat-page__character>img{margin-left:60px}.chat-page__speech{font-size:12px}.chat-page__help strong{font-size:13px}.chat-page__help small{font-size:11px}.chat-page #bugiChat .bugi-chat__messages{padding:16px}.chat-page #bugiChat .bugi-chat__welcome-copy{padding:18px 14px}.chat-page #bugiChat .bugi-chat__welcome-copy span{font-size:13px}}
@media(max-width:760px){html:has(.chat-page){height:100%;overflow:hidden}.chat-page{height:100%;overflow:hidden;background:#fff}.chat-page__app{position:fixed;left:0;right:0;top:0;max-width:none;margin:0;padding:0;height:var(--chat-viewport-height,100dvh);min-height:0;transform:translateY(var(--chat-viewport-top,0px));background:#fff}.chat-page__topbar{height:calc(53px + env(safe-area-inset-top,0px));flex:0 0 calc(53px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 15px 0;border-bottom:1px solid #e8edf5;gap:8px}.chat-page__brand{gap:7px;font-size:17px}.chat-page__brand img{width:29px;height:29px}.chat-page__brand small{font-size:12px;padding-left:9px;margin-left:6px}.chat-page__topbar nav{gap:0}.chat-page__topbar nav button,.chat-page__topbar nav a{padding:9px;font-size:12px;min-height:38px}.chat-page__topbar nav button span,.chat-page__website{display:none!important}.chat-page__topbar svg{width:21px;height:21px}.chat-page__main{display:flex;flex:1;min-height:0;padding:0;gap:0}.chat-page__intro,.chat-page__footer{display:none}.chat-page__stage{height:100%;min-height:0;width:100%;flex:1}.chat-page #bugiChat .bugi-chat__panel{position:relative;inset:auto;width:100%;height:100%;max-height:none;min-height:0;border:0;border-radius:0;box-shadow:none;padding-bottom:env(safe-area-inset-bottom,0px)}.chat-page #bugiChat .bugi-chat__header{padding:11px 17px;min-height:66px}.chat-page #bugiChat .bugi-chat__header img{width:38px;height:38px;border-radius:12px}.chat-page #bugiChat .bugi-chat__header strong{font-size:16px}.chat-page #bugiChat .bugi-chat__header span{font-size:11px}.chat-page #bugiChat .bugi-chat__messages{padding:17px 14px;scrollbar-gutter:auto}.chat-page #bugiChat .bugi-chat__welcome{gap:14px}.chat-page #bugiChat .bugi-chat__welcome-copy{min-height:132px;padding:18px 105px 18px 17px;border-radius:17px}.chat-page #bugiChat .bugi-chat__welcome-copy strong{font-size:19px}.chat-page #bugiChat .bugi-chat__welcome-copy span{font-size:13px;line-height:1.6}.chat-page #bugiChat .bugi-chat__welcome-character--mobile{width:91px;height:91px;right:8px;top:50%;transform:translateY(-50%)}.chat-page #bugiChat .bugi-chat__quick{gap:8px}.chat-page #bugiChat .bugi-chat__quick button{font-size:13px;padding:9px 22px 9px 11px;min-height:46px}.chat-page #bugiChat .bugi-chat__privacy{font-size:10px}.chat-page #bugiChat .bugi-chat__bubble{font-size:15px}.chat-page #bugiChat .bugi-chat__links{padding:10px 12px 4px}.chat-page #bugiChat .bugi-chat__links button{min-height:37px;font-size:12px}.chat-page #bugiChat .bugi-chat__form{padding:7px 12px}.chat-page #bugiChat .bugi-chat__form textarea{font-size:16px;min-height:46px;padding:11px 12px}.chat-page #bugiChat .bugi-chat__form button{width:46px;height:46px;flex-basis:46px}.chat-page #bugiChat .bugi-chat__notice{padding:0 10px 9px;font-size:10px}.chat-page #bugiChat .bugi-chat__contact,.chat-page #bugiChat .bugi-chat__intake{margin:6px 12px;max-height:64%}.chat-page[data-keyboard-open="true"] #bugiChat .bugi-chat__header{min-height:47px;padding:6px 14px}.chat-page[data-keyboard-open="true"] #bugiChat .bugi-chat__header img{width:31px;height:31px}.chat-page[data-keyboard-open="true"] #bugiChat .bugi-chat__notice{display:none}.chat-page[data-keyboard-open="true"] #bugiChat .bugi-chat__panel{padding-bottom:0}}
@media(max-width:360px){.chat-page__brand small{font-size:11px}.chat-page #bugiChat .bugi-chat__welcome-copy{padding-right:85px}.chat-page #bugiChat .bugi-chat__welcome-character--mobile{width:73px;height:73px}.chat-page #bugiChat .bugi-chat__welcome-copy span{font-size:12px}.chat-page #bugiChat .bugi-chat__quick button{font-size:12px}.chat-page #bugiChat .bugi-chat__welcome-trust{font-size:10px;gap:6px}}

/* Six Office questions form three even rows; generic chat keeps its layout. */
.chat-page #bugiChat[data-office-support="1"] .bugi-chat__quick button:last-child{grid-column:auto}
