#sapon-chat-dialog{border:0;border-radius:22px;padding:0;width:min(620px,calc(100vw - 24px));height:min(650px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;background:#faf8f2;color:#173F35;box-shadow:0 24px 90px #173f3540;font:16px/1.55 system-ui,sans-serif}#sapon-chat-dialog[open]{display:flex;flex-direction:column}#sapon-chat-dialog::backdrop{background:#173f3570}#sapon-chat-dialog *{box-sizing:border-box}#sapon-chat-dialog .sapon-chat-head{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#173F35;color:white;padding:18px 22px}#sapon-chat-dialog h2{font-size:21px;line-height:1.25;margin:0;color:inherit}#sapon-chat-dialog button,.sapon-chat-entry button{cursor:pointer;min-height:44px;border-radius:12px;border:1px solid #173F35;padding:10px 16px;background:#173F35;color:white;font:inherit}#sapon-chat-dialog button:disabled,.sapon-chat-entry button:disabled{opacity:.55;cursor:default}#sapon-chat-dialog button[data-chat-close]{background:transparent;border:0;font-size:30px;padding:0;min-width:44px;color:white}#sapon-chat-dialog button:focus-visible,#sapon-chat-dialog a:focus-visible,#sapon-chat-dialog input:focus-visible,#sapon-chat-dialog textarea:focus-visible{outline:3px solid #a7b783;outline-offset:2px}#sapon-chat-app{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;padding:18px 20px;gap:16px}#sapon-chat-dialog .chat-messages{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain;scrollbar-width:thin;padding:6px 4px}#sapon-chat-dialog .chat-bubble{flex-shrink:0;max-width:94%;padding:13px 16px;background:white;border:1px solid #e3e6dc;border-radius:18px 18px 18px 5px;align-self:flex-start;overflow-wrap:anywhere}#sapon-chat-dialog .chat-bubble.customer{align-self:flex-end;background:#173F35;color:white;border:0;border-radius:18px 18px 5px 18px}#sapon-chat-dialog .chat-bubble .body{white-space:pre-wrap}#sapon-chat-dialog .chat-bubble strong{font-size:12px;opacity:.8}#sapon-chat-dialog .chat-bubble time{display:block;font-size:11px;opacity:.65;margin-top:7px}#sapon-chat-dialog a{color:#173F35;text-decoration:underline;overflow-wrap:anywhere}#sapon-chat-dialog .customer a{color:white}#sapon-chat-dialog .chat-composer{flex:none;display:flex;align-items:flex-end;gap:10px;margin:0;padding-top:12px;border-top:1px solid #dddeda}#sapon-chat-dialog textarea,#sapon-chat-dialog input{width:100%;min-width:0;background:white;color:#173F35;border:1px solid #b8c2af;border-radius:12px;padding:12px;font:inherit}#sapon-chat-dialog textarea{flex:1;height:52px;min-height:52px;max-height:110px;resize:none}#sapon-chat-dialog .chat-composer button{flex:none;font-size:14px}#sapon-chat-dialog .chat-auth{overflow-y:auto;min-height:0;color:#173F35}#sapon-chat-dialog .chat-auth label{display:block;font-weight:600;margin:14px 0 6px}#sapon-chat-dialog .chat-auth button{margin:12px 8px 0 0}#sapon-chat-notice{flex:none;margin:0;padding:0 22px 14px;color:#66704A;font-size:13px;white-space:pre-wrap;max-height:80px;overflow:auto}#sapon-chat-notice:empty{display:none}#sapon-chat-dialog .chat-loading{color:#66704A}#sapon-chat-dialog .chat-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:480px){#sapon-chat-dialog{border-radius:16px;width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}#sapon-chat-dialog .sapon-chat-head{padding:13px 15px}#sapon-chat-dialog h2{font-size:19px}#sapon-chat-app{padding:12px;gap:10px}#sapon-chat-dialog .chat-bubble{max-width:96%;padding:12px}#sapon-chat-dialog .chat-composer{gap:6px}#sapon-chat-dialog .chat-composer button{padding:10px;font-size:13px}#sapon-chat-notice{padding:0 14px 12px}}
