#ahm-ai-v1{font:15px/1.55 system-ui,-apple-system,"Noto Sans Thai",sans-serif;color:#17382f}#ahm-ai-v1 *{box-sizing:border-box}#ahm-ai-v1 [hidden]{display:none!important}#ahm-ai-v1 button,#ahm-ai-v1 input,#ahm-ai-v1 select,#ahm-ai-v1 textarea{font:inherit}#ahm-ai-v1 button{cursor:pointer}#ahm-ai-v1 .ahm-launch{position:fixed;right:22px;bottom:22px;z-index:99990;border:0;border-radius:32px;background:#176b52;color:white;padding:14px 20px;box-shadow:0 5px 24px #0003}#ahm-ai-v1 .ahm-panel{position:fixed;right:22px;bottom:84px;width:410px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px);z-index:99991;background:white;border:1px solid #dce7e1;border-radius:18px;box-shadow:0 12px 48px #0003;overflow:auto}#ahm-ai-v1 header{display:flex;align-items:center;justify-content:space-between;background:#176b52;color:white;padding:17px 20px;position:sticky;top:0;z-index:1}#ahm-ai-v1 small{display:block;font-size:12px}#ahm-ai-v1 .ahm-close{background:transparent;border:0;color:white;font-size:28px;line-height:1;padding:4px 8px}#ahm-ai-v1 .ahm-test{font-size:12px;background:#fff6dc;padding:8px 18px;color:#765410}#ahm-ai-v1 .ahm-body{padding:18px}#ahm-ai-v1 h3{font-size:18px;margin:0 0 12px;color:#176b52}#ahm-ai-v1 p{margin:0 0 13px}#ahm-ai-v1 label{display:block;margin:10px 0;font-size:14px}#ahm-ai-v1 input:not([type=checkbox]),#ahm-ai-v1 select,#ahm-ai-v1 textarea{display:block;width:100%;padding:9px 10px;border:1px solid #b9cec3;border-radius:7px;background:white;color:#17382f;min-height:40px}#ahm-ai-v1 input[type=checkbox]{margin-right:8px}#ahm-ai-v1 .ahm-actions{display:flex;gap:8px;margin-top:18px}#ahm-ai-v1 .ahm-primary{border:0;border-radius:8px;padding:10px 14px;background:#176b52;color:white}#ahm-ai-v1 .ahm-secondary,#ahm-ai-v1 .ahm-quick{border:1px solid #c7dacf;border-radius:8px;padding:10px;background:#f4f8f5;color:#176b52}#ahm-ai-v1 .ahm-quick{width:100%;text-align:left;margin:5px 0}#ahm-ai-v1 .ahm-error{color:#9f2828;margin-top:10px}#ahm-ai-v1 .ahm-summary{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f6;padding:12px;border-radius:8px}#ahm-ai-v1 .ahm-progress{font-size:12px;color:#677e73}#ahm-ai-v1 .ahm-honey{display:none!important}#ahm-ai-v1 button:focus-visible,#ahm-ai-v1 input:focus-visible,#ahm-ai-v1 select:focus-visible,#ahm-ai-v1 textarea:focus-visible{outline:3px solid #e6bd63;outline-offset:2px}#ahm-ai-v1 button:disabled{opacity:.6;cursor:wait}@media(max-width:480px){#ahm-ai-v1 .ahm-panel{left:12px;right:12px;width:auto;max-width:none;bottom:76px;max-height:calc(100dvh - 96px)}#ahm-ai-v1 .ahm-launch{right:12px;bottom:14px;padding:12px 16px}}
/* Conversation UI: isolated to the assistant, retaining its viewport placement. */
#ahm-ai-v1 .ahm-panel:not([hidden]){display:flex;flex-direction:column;height:620px;overflow:hidden}
#ahm-ai-v1 .ahm-panel>header{flex:none;position:relative}
#ahm-ai-v1 .ahm-body{display:flex;flex-direction:column;min-height:0;flex:1;padding:0;overflow:hidden}
#ahm-ai-v1 .ahm-transcript{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;scrollbar-gutter:stable}
#ahm-ai-v1 .ahm-message{max-width:100%;padding:12px 14px;border-radius:14px;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#eef7f2;color:#17382f}
#ahm-ai-v1 .ahm-message--user{margin-left:26px;background:#176b52;color:white;border-bottom-right-radius:4px}
#ahm-ai-v1 .ahm-message--assistant{margin-right:12px;border-bottom-left-radius:4px}
#ahm-ai-v1 .ahm-message-label{display:block;font-size:11px;font-weight:600;margin-bottom:5px;opacity:.8}
#ahm-ai-v1 .ahm-answer-options{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
#ahm-ai-v1 .ahm-answer-options button{max-width:100%;overflow-wrap:anywhere}
#ahm-ai-v1 .ahm-composer{flex:none;border-top:1px solid #dce7e1;background:white;padding:10px 12px}
#ahm-ai-v1 .ahm-chat-label{font-size:12px;margin:0 0 5px}
#ahm-ai-v1 .ahm-compose-row{display:flex;gap:8px;align-items:center}
#ahm-ai-v1 .ahm-compose-row input{flex:1;min-width:0;width:0}
#ahm-ai-v1 .ahm-compose-row button{flex:none;min-height:42px}
#ahm-ai-v1 [data-contact]{border:1px solid #dce7e1;border-radius:12px;padding:12px;background:#fafcfb;margin-top:14px}
#ahm-ai-v1 .ahm-consent{overflow-wrap:anywhere}

#ahm-ai-v1 .ahm-handoff{padding:12px;border:1px solid #dce7e1;border-radius:12px}#ahm-ai-v1 .ahm-handoff button{margin-top:12px;max-width:100%;white-space:normal}#ahm-ai-v1 .ahm-line-qr{padding-top:12px}#ahm-ai-v1 .ahm-line-qr img{display:block;max-width:100%;height:auto;margin:auto}

/* Staging Home only; stylesheet served by the staging-restricted plugin. */
body.home.page-id-15 #masthead .custom-logo{transform:scale(.825);transform-origin:left center;}
@media(min-width:768px){body.home.page-id-15 #post-15 .entry-content > .wp-block-kadence-rowlayout:has(h1) > .kt-row-column-wrap > .wp-block-kadence-column:has(h1){justify-content:center;}}

/* Bilingual conversation UX: panel-only, no site layout changes. */
#ahm-ai-v1 .ahm-compose-row input{color:#17382f!important;-webkit-text-fill-color:#17382f;caret-color:#176b52;background:#fff;opacity:1}
#ahm-ai-v1 .ahm-compose-row input::placeholder{color:#6b7d75;opacity:1;-webkit-text-fill-color:#6b7d75}
#ahm-ai-v1 .ahm-typing{font-size:13px;color:#52655b;padding:8px 12px;margin-bottom:12px}
#ahm-ai-v1 .ahm-human-action{margin:8px 0 12px}
#ahm-ai-v1 .ahm-known-contact{font-size:14px;overflow-wrap:anywhere}
#ahm-ai-v1 .ahm-line-link{display:inline-flex;margin-top:12px;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
#ahm-ai-v1 .ahm-message,#ahm-ai-v1 [data-contact]{min-width:0}
@media(max-width:480px){#ahm-ai-v1 .ahm-panel:not([hidden]){height:calc(100dvh - 96px)}#ahm-ai-v1 .ahm-compose-row input{font-size:16px}#ahm-ai-v1 .ahm-message{padding:10px 12px}}
