.lc-widget {
  --lc-ink: #202720;
  --lc-cream: #f5f2eb;
  --lc-bronze: #b69c76;
  --lc-border: rgba(32, 39, 32, .18);
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1000;
  color: var(--lc-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}
.lc-widget *, .lc-widget *::before, .lc-widget *::after { box-sizing: border-box; }
.lc-widget button, .lc-widget input { font: inherit; }
.lc-widget button { cursor: pointer; }
.lc-widget p, .lc-widget h2 { margin: 0; }
.lc-widget button:focus-visible, .lc-widget a:focus-visible, .lc-widget input:focus-visible, .lc-log:focus-visible {
  outline: 2px solid var(--lc-bronze);
  outline-offset: 4px;
}
.lc-launcher {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  min-height: 54px;
  padding: 12px 23px 12px 18px;
  border: 1px solid rgba(182, 156, 118, .55);
  border-radius: 2px;
  color: var(--lc-cream);
  background: var(--lc-ink);
  box-shadow: 0 6px 30px rgba(15, 22, 15, .18);
  letter-spacing: .025em;
  transition: background .2s ease, transform .2s ease;
}
.lc-launcher:hover { background: #343e33; transform: translateY(-2px); }
.lc-launcher-mark { font-size: 23px; font-weight: 300; color: #d0bc9a; line-height: 1; }
.lc-panel {
  display: flex;
  flex-direction: column;
  width: 390px;
  max-width: calc(100vw - 48px);
  height: min(610px, calc(100vh - 110px));
  height: min(610px, calc(100dvh - 110px));
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--lc-cream);
  border: 1px solid var(--lc-border);
  border-radius: 3px;
  box-shadow: 0 18px 70px rgba(15, 22, 15, .22);
  animation: lc-appear .2s ease-out;
}
.lc-panel[hidden] { display: none !important; }
.lc-header {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 20px 19px 24px;
  color: var(--lc-cream);
  background: var(--lc-ink);
}
.lc-eyebrow { font-size: 9px; letter-spacing: .2em; color: #d0bc9a; }
.lc-title { margin-top: 3px !important; color: var(--lc-cream); font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
.lc-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 242, 235, .25);
  border-radius: 50%;
  background: transparent;
  color: var(--lc-cream);
  font-size: 26px !important;
  line-height: 1;
}
.lc-close:hover { background: rgba(245, 242, 235, .1); }
.lc-disclosure {
  flex: 0 0 auto;
  padding: 10px 24px;
  border-bottom: 1px solid var(--lc-border);
  color: #51594f;
  font-size: 10px;
  letter-spacing: .02em;
}
.lc-log {
  flex: 1 1 auto;
  min-height: 110px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b8bcaf transparent;
  padding: 22px 23px 8px;
}
.lc-message { margin: 0 0 22px; overflow-wrap: anywhere; }
.lc-speaker { margin-bottom: 7px !important; color: #666d62; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.lc-message-text { font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.lc-message-user { margin-left: 28px; padding: 12px 14px; background: #e8e8dd; border-left: 1px solid #b4b9aa; }
.lc-message-user .lc-message-text { font-size: 12px; }
.lc-message-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 15px; margin-top: 12px; }
.lc-widget .lc-contact-link, .lc-widget .lc-phone-link { display: inline-flex; align-items: center; min-height: 36px; color: #374832; font-size: 11px; line-height: 1.5; text-underline-offset: 4px; text-decoration: underline; }
.lc-widget .lc-contact-link:hover, .lc-widget .lc-phone-link:hover { color: #5a4731; }
.lc-draft-note { margin-top: 7px !important; color: #62675d; font-size: 10px; line-height: 1.6; }
.lc-prompts { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; padding: 8px 23px 15px; }
.lc-chip {
  padding: 8px 10px;
  min-height: 36px;
  border: 1px solid #a9ad9f;
  border-radius: 2px;
  color: #3f4a39;
  background: transparent;
  font-size: 10px !important;
  line-height: 1.4;
  transition: background .15s ease;
}
.lc-chip:hover { background: #e7e6da; }
.lc-form { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; margin: 0 23px; border-bottom: 1px solid #8e9483; }
.lc-input { flex: 1; min-width: 0; width: 100%; height: 47px; padding: 9px 3px; border: 0; border-radius: 0; background: transparent; color: var(--lc-ink); font-size: 16px !important; line-height: 1.5; box-shadow: none; }
.lc-input::placeholder { color: #6b7165; opacity: 1; font-size: 12px; }
.lc-send { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 2px; background: var(--lc-ink); color: var(--lc-cream); font-size: 23px !important; }
.lc-send:hover { background: #3d4839; }
.lc-privacy { flex: 0 0 auto; padding: 12px 24px 17px; color: #62685d; font-size: 9px; line-height: 1.55; }
.lc-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes lc-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
  .lc-widget { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .lc-launcher { min-height: 48px; padding: 10px 16px 10px 13px; font-size: 12px !important; }
  .lc-panel { width: calc(100vw - 24px); max-width: calc(100vw - 24px); height: min(590px, calc(100dvh - 90px)); margin-bottom: 8px; }
  .lc-header { padding: 18px 18px 15px 20px; }
  .lc-log { padding: 18px 19px 6px; }
  .lc-prompts { padding-left: 19px; padding-right: 19px; }
  .lc-form { margin-left: 19px; margin-right: 19px; }
  .lc-disclosure { padding-left: 20px; padding-right: 20px; }
  .lc-privacy { padding-left: 20px; padding-right: 20px; }
}
@media (max-height: 540px) {
  .lc-panel { height: calc(100dvh - 87px); }
  .lc-header { padding-top: 10px; padding-bottom: 10px; }
  .lc-title { font-size: 23px; }
  .lc-prompts { display: none; }
  .lc-log { min-height: 50px; padding-top: 12px; }
  .lc-privacy { padding-top: 7px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-panel { animation: none; }
  .lc-launcher, .lc-chip { transition: none; }
  .lc-launcher:hover { transform: none; }
}
.lc-input{margin:0}.lc-privacy a{text-decoration:underline;text-underline-offset:3px}.lc-message-actions .lc-contact-link{font-family:inherit}.lc-message-actions button.lc-contact-link{padding:0;border:0;background:none;text-align:left}.lc-panel .lc-prompts{gap:6px}.lc-disclosure{font-size:10px}
