/* Chat Bati Service 15 — ouvert par le bouton « Parlons de votre projet ». */
dialog.bs15-dialog {
    border: 0;
    border-radius: 14px;
    padding: 0;
    margin: auto;
    width: min(560px, 96vw);
    height: min(680px, 88vh);
    max-height: 88vh;
    background: #faf9f6;
    color: #252b30;
    font-family: Arial, sans-serif;
    box-shadow: 0 18px 60px rgba(13, 48, 68, .35);
}
dialog.bs15-dialog::backdrop { background: rgba(13, 48, 68, .45); }
.bs15-chat { display: flex; flex-direction: column; height: 100%; }
.bs15-chatbar {
    display: flex; align-items: center; gap: 12px;
    background: #0d3044; color: #fff; padding: 12px 16px;
    border-radius: 14px 14px 0 0;
}
.bs15-chatbar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; }
.bs15-chatbar b { display: block; font-size: 16px; }
.bs15-chatbar span { font-size: 12.5px; opacity: .85; }
.bs15-chatbar .bs15-x {
    margin-left: auto; border: 0; background: transparent; color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.bs15-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bs15-bubble {
    max-width: 85%; padding: 10px 14px; border-radius: 14px;
    font-size: 15px; line-height: 1.45; white-space: pre-line;
}
.bs15-bubble.bot { align-self: flex-start; background: #fff; border: 1px solid #e4e0d8; border-bottom-left-radius: 4px; }
.bs15-bubble.user { align-self: flex-end; background: #166080; color: #fff; border-bottom-right-radius: 4px; }
.bs15-recap {
    align-self: stretch; background: #fff; border: 1px solid #e4e0d8;
    border-left: 4px solid #166080; border-radius: 10px; padding: 12px 14px;
}
.bs15-recap b { display: block; margin-bottom: 8px; color: #0d3044; }
.bs15-recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.bs15-recap dt { font-weight: bold; color: #166080; }
.bs15-recap dd { margin: 0; overflow-wrap: anywhere; }
.bs15-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
.bs15-btn {
    border: 0; border-radius: 999px; padding: 10px 18px; font-size: 15px;
    font-weight: bold; cursor: pointer;
}
.bs15-btn.primary { background: #ffcf29; color: #0d3044; }
.bs15-btn.secondary { background: #fff; color: #0d3044; border: 1.5px solid #166080; }
.bs15-btn:disabled { opacity: .55; cursor: default; }
.bs15-entry { display: flex; gap: 8px; padding: 10px 16px; align-items: stretch; }
.bs15-entry input {
    flex: 1; border: 1.5px solid #cfd8dc; border-radius: 10px;
    padding: 10px 12px; font-size: 15px; font-family: inherit;
}
.bs15-entry input:focus { outline: 2px solid #166080; outline-offset: 1px; }
.bs15-error { margin: 0; padding: 0 16px 6px; color: #b3261e; font-size: 13.5px; }
.bs15-note { margin: 0; padding: 8px 16px 12px; font-size: 12px; color: #6b7178; }
@media (max-width: 560px) {
    dialog.bs15-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .bs15-chatbar { border-radius: 0; }
}
