.project-chat{position:fixed;bottom:16px;right:16px;z-index:1000;max-width:calc(100vw - 32px);font:15px/1.5 system-ui,sans-serif;color:#f3f7ff;text-align:left}.project-chat *{box-sizing:border-box}.project-chat [hidden]{display:none!important}.project-chat button{font:inherit;cursor:pointer;min-height:44px;margin:0;border:1px solid #56708d;border-radius:8px;padding:10px 14px;background:#1c3450;color:#f3f7ff}.project-chat #chat-toggle,.project-chat #chat-send{background:#e3bd77;color:#101b29;border-color:#e3bd77;font-weight:650}.project-chat #chat-body{position:absolute;right:0;bottom:58px;width:430px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 100px);overflow:auto;padding:18px;border:1px solid #56708d;border-radius:14px;background:#101b2c;box-shadow:0 14px 60px #0009}.project-chat .chat-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.project-chat .chat-head small{display:block;color:#b2c5db}.project-chat .chat-head button{font-size:24px;padding:2px 12px;flex-shrink:0}.project-chat #chat-log{min-height:120px;max-height:34dvh;overflow:auto;margin:14px 0;scroll-behavior:smooth}.project-chat .chat-message{margin:10px 0;padding:10px 12px;border-radius:10px;background:#1b3047}.project-chat .chat-message.customer{background:#263c39}.project-chat .chat-message small{font-size:10px;letter-spacing:.1em;color:#a6d9ed}.project-chat .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;color:#f3f7ff;font-size:14px}.project-chat #chat-options{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.project-chat #chat-options button{font-size:12px;padding:8px 10px;flex:1 1 140px;text-align:left}.project-chat #chat-form{display:block;margin:0}.project-chat #chat-form label{display:block;font-size:12px;margin:8px 0;color:#c5d6e8}.project-chat .chat-input-row{display:flex;align-items:stretch;gap:8px}.project-chat #chat-question{font:inherit;background:#071322;color:#fff;border:1px solid #5b7894;border-radius:8px;min-width:0;width:100%;padding:10px;resize:vertical;margin:0}.project-chat #chat-status{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.project-chat .chat-footnote{color:#aebfd0;font-size:11px;line-height:1.5;margin:10px 0 0}.project-chat a{color:#8ee4f7}.project-chat :focus-visible{outline:3px solid #83ddeb;outline-offset:2px}.project-chat button:disabled{opacity:.55;cursor:wait}@media(max-width:520px){.project-chat{bottom:10px;right:10px;max-width:calc(100vw - 20px)}.project-chat #chat-body{width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:14px;max-height:calc(100dvh - 88px)}.project-chat #chat-log{max-height:36dvh}.project-chat #chat-options button{flex-basis:120px}}

.project-chat #chat-facts{padding:8px 0;margin:0 0 10px;border-bottom:1px solid #36506b;color:#bcd1e4}.project-chat #chat-facts summary{font-size:12px;cursor:pointer}.project-chat #chat-facts p{font-size:12px;margin:5px 0;overflow-wrap:anywhere}

.project-chat #chat-body{display:block}.project-chat #chat-options{flex-shrink:0;max-height:160px;overflow-y:auto}.project-chat #chat-log{flex:none;max-height:32dvh}
