﻿.bsp-chat {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 1.5rem auto;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #acb9ba;
  border-radius: 1rem;
  background: #f7fbfa;
  color: #112829;
  font: 1rem/1.55 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.bsp-chat h2 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.25rem); }
.bsp-chat-handoff { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.bsp-chat a, .bsp-chat button { display: inline-flex; align-items: center; min-height: 44px; }
.bsp-chat a { color: #005459; text-decoration: underline; }
.bsp-chat label { display: block; font-weight: 600; }
.bsp-chat input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #546b6e;
  border-radius: .4rem;
  padding: .5rem;
  font: inherit;
  color: #112829;
  background: #fff;
}
.bsp-chat .bsp-chat-consent {
  display: flex;
  gap: .75rem;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1rem;
}
.bsp-chat-consent input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.bsp-chat button {
  border: 0;
  border-radius: .4rem;
  padding: .5rem 1rem;
  background: #005459;
  color: #fff;
  font: inherit;
  font-weight: 650;
}
.bsp-chat button:disabled { background: #405759; }
.bsp-chat :focus-visible { outline: 3px solid #965100; outline-offset: 3px; }

.bsp-chat { font: inherit; background: #f8f7f3; }
.bsp-chat button[aria-disabled="true"] { background: #405759; }
.bsp-chat [hidden] { display: none; }

.bsp-chat fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.bsp-chat legend { font-weight: 700; margin-bottom: .5rem; }
.bsp-chat select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: .25rem 0 .8rem;
  padding: .45rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #546b6e;
  border-radius: .4rem;
}
.bsp-chat #bsp-chat-status { margin-top: 1rem; }
