.ai-launcher{position:fixed;right:24px;bottom:24px;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 20px;border:1px solid #b7ccd6;border-radius:99px;background:#314b56;color:#fff;box-shadow:0 7px 25px #243b4c30;font-weight:700;font-size:13px;z-index:35;cursor:pointer}.ai-launcher>span:first-child{font-size:22px;color:#eedecc}.ai-popup{position:fixed;right:24px;bottom:88px;width:min(420px,calc(100vw - 32px));max-height:min(740px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid #c3d7df;border-radius:22px;box-shadow:0 15px 65px #20374730;z-index:36;overflow:hidden}.ai-popup-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;background:#c3d7df;color:#23323a}.ai-popup-head strong,.ai-popup-head small{display:block}.ai-popup-head strong{font-family:Manrope,sans-serif;font-size:16px}.ai-popup-head small{font-size:11px;margin-top:4px}.ai-popup-body{padding:18px;overflow:auto;overscroll-behavior:contain}.ai-popup-body h3{font-size:16px;margin:16px 0 10px}.ai-popup .field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.ai-popup .field>span{font-size:11px;font-weight:700}.ai-popup .field input,.ai-popup .field textarea,.ai-popup .field select{width:100%;padding:10px 12px;border:1px solid #d2dfe4;border-radius:10px;background:white;color:#23323a;font-size:13px}.ai-popup .field textarea{resize:vertical}.ai-transcript{display:flex;flex-direction:column;gap:12px;max-height:300px;overflow:auto}.ai-bubble{max-width:94%;padding:12px 14px;font-size:13px;line-height:1.6;border-radius:14px;background:#f0f5f7;white-space:pre-wrap;overflow-wrap:anywhere}.ai-bubble.user{align-self:flex-end;background:#eedecc;border-bottom-right-radius:4px}.ai-bubble.assistant{border-bottom-left-radius:4px}.ai-bubble p{margin:0}.ai-bubble img,.ai-photo-preview img{display:block;max-width:130px;max-height:120px;object-fit:cover;border-radius:9px;margin-bottom:8px}.ai-composer-actions{display:flex;justify-content:space-between;gap:10px}.ai-privacy{font-size:10px;line-height:1.6;color:#53636b;margin:12px 0}.ai-estimate{padding:12px 14px;margin:16px 0;background:#faf6f0;border:1px solid #e6d9c9;border-radius:12px;font-size:12px;line-height:1.5}.ai-estimate p{margin:5px 0}.ai-estimate small{font-size:10px;color:#53636b}.ai-estimate b{display:block;font-size:16px}.ai-next{display:grid;gap:12px;margin-top:14px}.ai-next .text-link{justify-self:center;font-size:11px}.ai-photo-preview{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.ai-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ai-match{padding:13px 0;border-bottom:1px solid #e1e7ea}.ai-match label{display:flex;gap:9px;align-items:center;font-size:13px}.ai-match p{font-size:11px;line-height:1.5;margin:7px 0;color:#53636b}.ai-match small{display:block;font-size:11px;margin-bottom:8px}.ai-match .text-link{font-size:11px}.ai-match-list>.btn{margin-top:14px}.ai-consent{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.6;margin-top:14px}.ai-consent input{margin-top:3px;flex:none}.case-board-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.case-board-toolbar p{font-size:13px;line-height:1.6;color:#53636b;margin:0}.case-board-toolbar button{flex:none}.service-case{padding:24px;margin-bottom:18px}.service-case>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.service-case h2{font-size:19px;margin:7px 0 14px}.service-case small{font-size:11px;color:#53636b}.service-case>p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.case-photos{display:flex;gap:10px;flex-wrap:wrap}.case-photos img{width:140px;height:110px;object-fit:cover;border-radius:12px;border:1px solid #e1e7ea}.case-candidate{display:flex;gap:18px;align-items:center;justify-content:space-between;border-top:1px solid #e1e7ea;padding:15px 0}.case-candidate strong{font-size:13px}.case-candidate small{display:block;margin-top:4px}.case-candidate p{font-size:12px;white-space:pre-wrap;margin:5px 0}.ai-quote-tools{padding:15px 18px;display:flex;align-items:center;gap:16px;background:#f0f5f7;border:1px solid #c3d7df;border-radius:12px;margin-bottom:18px}.ai-quote-tools p{margin:0;font-size:12px;line-height:1.5}.ai-quote-review{padding:12px;border-radius:10px;background:#faf6f0;font-size:12px;white-space:pre-wrap;line-height:1.6}
@media(max-width:720px){.ai-launcher{right:16px;bottom:18px;min-height:46px;padding:0 16px;font-size:12px}.ai-popup{right:16px;bottom:76px;max-height:calc(100dvh - 95px);border-radius:17px}.case-candidate,.service-case>header,.ai-quote-tools{align-items:stretch;flex-direction:column}.service-case{padding:18px}.case-board-toolbar{align-items:flex-start}.ai-form-pair{grid-template-columns:1fr}}

.chat-simple-composer{border:1px solid #c3d7df;border-radius:18px;padding:10px 12px;margin-top:12px;background:#fff}
.ai-popup .chat-simple-composer .field{margin:0}
.ai-popup .chat-simple-composer textarea{border:0;resize:none;padding:8px 2px;min-height:62px}
.chat-composer-toolbar,.training-composer .chat-composer-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:7px}
.chat-composer-toolbar small{flex:1;font-size:10px;color:#74858c}
.chat-attach-plus,.training-composer .chat-attach-plus,.ai-popup .chat-attach-plus{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;background:transparent;border:1px solid #d2dfe4;border-radius:50%;font-size:25px;line-height:1;color:#314b56;cursor:pointer}
.chat-attach-plus:hover{background:#eef4f6}
.chat-send,.training-composer .chat-send,.ai-popup .chat-send{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;background:#314b56;border:0;border-radius:50%;font-size:23px;line-height:1;color:#fff;cursor:pointer}
.chat-send:disabled,.chat-attach-plus:disabled{opacity:.45;cursor:default}
.chat-attach-plus:focus-visible,.chat-send:focus-visible{outline:3px solid #c3d7df;outline-offset:2px}
.chat-attachment-preview,.chat-sent-photos{display:flex;flex-wrap:wrap;gap:10px}
.chat-attachment-preview:empty,.chat-sent-photos:empty{display:none}
.chat-attachment-preview figure{position:relative;margin:0 0 8px;padding:0}
.chat-attachment-preview img,.chat-sent-photos img{display:block;width:78px;height:78px;object-fit:cover;border:1px solid #d2dfe4;border-radius:12px}
.chat-attachment-preview figure button{position:absolute;right:-5px;top:-5px;width:22px;height:22px;border:1px solid #d2dfe4;border-radius:50%;background:#fff;color:#314b56;padding:0;line-height:1;cursor:pointer}
.chat-sent-photos img{width:auto;max-width:220px;height:auto;max-height:170px;margin-bottom:8px}
