.ict-chat-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1000;border:1px solid #d4902c;border-radius:16px;background:#faaf40;color:#202827;padding:14px 20px;font:700 15px/1.4 system-ui,sans-serif;box-shadow:0 6px 24px #20282726;cursor:pointer}
.ict-chat{position:fixed;inset:auto 20px 20px auto;margin:0;padding:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100dvh - 40px);border:1px solid #dce2dd;border-radius:18px;background:#fff;color:#202827;box-shadow:0 18px 65px #20282733;font:15px/1.5 system-ui,sans-serif;overflow:hidden}
.ict-chat[open]{display:flex;flex-direction:column}.ict-chat::backdrop{background:#20282740}.ict-chat *{box-sizing:border-box}.ict-chat [hidden]{display:none!important}.ict-chat header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1f4f0;padding:18px;border-bottom:1px solid #dce2dd}.ict-chat h2{margin:0;font:700 19px/1.3 system-ui,sans-serif;color:#202827}.ict-chat small{font-size:12px;color:#46524e}.ict-chat-content{padding:18px;overflow-y:auto;flex:1;min-height:0}.ict-chat p{margin:0 0 14px;color:#46524e;font-size:14px}.ict-chat a{color:#202827;text-decoration:underline;display:inline-block;margin:0 14px 12px 0}.ict-chat button{font:600 14px/1.4 system-ui,sans-serif;cursor:pointer;padding:10px 14px;border:1px solid #dce2dd;border-radius:8px;background:#fff;color:#202827}.ict-chat header button{font-size:24px;min-width:44px;min-height:44px;padding:4px}.ict-chat label{display:block;font-size:14px;font-weight:600;margin:0 0 12px}.ict-chat input,.ict-chat select,.ict-chat textarea{display:block;width:100%;min-width:0;max-width:100%;padding:10px;margin-top:6px;border:1px solid #bcc8c0;border-radius:8px;background:#fff;color:#202827;font:400 16px/1.4 system-ui,sans-serif}.ict-chat textarea{resize:vertical}.ict-chat form button{background:#faaf40;border-color:#d4902c;width:100%}.ict-chat button:disabled{opacity:.6;cursor:wait}.ict-chat :focus-visible,.ict-chat-launcher:focus-visible{outline:3px solid #986012;outline-offset:3px}.ict-chat-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ict-chat-actions a{margin:0}.ict-chat-log{max-height:240px;overflow-y:auto;overscroll-behavior:contain}.ict-chat-log article{padding:12px;margin:0 12px 12px 0;border-radius:12px;background:#f1f4f0;overflow-wrap:anywhere}.ict-chat-log .ict-chat-own{margin:0 0 12px 12px;background:#fff2da}.ict-chat-log p{white-space:pre-wrap;margin:5px 0}.ict-chat-log time{font-size:11px;color:#46524e}.ict-chat-status{padding:0 18px;margin:0!important;flex-shrink:0}.ict-chat-status:not(:empty){padding:12px 18px;border-top:1px solid #dce2dd}
@media(max-width:540px){.ict-chat{inset:8px;max-width:none;width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.ict-chat-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:12px 16px}.ict-chat-content{padding:14px}}
