.dw-assistant,
.dw-conversion {
  --dw-navy: #030532;
  --dw-blue: #1c64eb;
  --dw-ink: #1d2939;
  --dw-copy: #475467;
  --dw-line: #dfe6fa;
  --dw-pale: #edf6fe;
  --dw-white: #fff;
  font-family: "Overused Grotesk", Arial, sans-serif;
}

.dw-assistant *,
.dw-conversion * { box-sizing: border-box; }

.dw-assistant {
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  z-index: 2147482000;
}

.dw-assistant button,
.dw-assistant input,
.dw-assistant textarea,
.dw-assistant select { font: inherit; }

.dw-launchers { display: flex; align-items: center; gap: 10px; }
.dw-launcher {
  align-items: center;
  background: var(--dw-white);
  border: 1px solid var(--dw-line);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(3, 5, 50, .16);
  color: var(--dw-navy);
  cursor: pointer;
  display: flex;
  gap: 11px;
  min-height: 62px;
  padding: 8px 18px 8px 8px;
  transition: transform .2s ease, border-color .2s ease;
}
.dw-launcher:hover { border-color: #b5caee; transform: translateY(-2px); }
.dw-launcher-icon {
  align-items: center;
  background: var(--dw-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.dw-launcher-copy { line-height: 1.12; text-align: left; }
.dw-launcher-copy small { color: #667085; display: block; font-size: 10px; letter-spacing: .12em; margin-bottom: 4px; text-transform: uppercase; }
.dw-launcher-copy strong { font-size: 14px; font-weight: 500; }

.dw-panel {
  background: var(--dw-white);
  border: 1px solid var(--dw-line);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(3, 5, 50, .22);
  display: flex;
  flex-direction: column;
  height: min(680px, calc(100vh - 110px));
  overflow: hidden;
  width: min(420px, calc(100vw - 28px));
}
.dw-panel[hidden] { display: none; }
.dw-panel-head { background: linear-gradient(115deg, var(--dw-navy), #102a76); color: #fff; padding: 20px; }
.dw-panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dw-eyebrow { color: #b7c9eb; font-size: 10px; letter-spacing: .14em; margin: 0 0 4px; text-transform: uppercase; }
.dw-panel h2 { color: #fff; font-size: 21px; font-weight: 400; line-height: 1.2; margin: 0; }
.dw-close {
  align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff;
  cursor: pointer; display: flex; flex: 0 0 auto; height: 38px; justify-content: center; width: 38px;
}
.dw-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 17px; }
.dw-tab { background: transparent; border: 0; border-radius: 99px; color: #cbd5e8; cursor: pointer; font-size: 13px; min-height: 38px; padding: 8px; }
.dw-tab[aria-selected="true"] { background: #fff; color: var(--dw-navy); }
.dw-panel-body { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.dw-view { display: flex; flex: 1; flex-direction: column; min-height: 0; width: 100%; }
.dw-view[hidden] { display: none; }

.dw-messages { display: flex; flex: 1; flex-direction: column; gap: 14px; overflow-y: auto; padding: 20px 18px 14px; scroll-behavior: smooth; scrollbar-color: #c7d5ec transparent; scrollbar-width: thin; }
.dw-message { border-radius: 18px 18px 18px 5px; color: var(--dw-copy); font-size: 13.5px; line-height: 1.55; max-width: 89%; overflow-wrap: anywhere; padding: 12px 14px; }
.dw-message--agent { align-self: flex-start; background: linear-gradient(145deg, #f0f7ff, #e8f3fc); border: 1px solid rgba(191, 214, 239, .48); box-shadow: 0 5px 16px rgba(30, 64, 110, .045); width: fit-content; }
.dw-message--agent p { font-size: inherit; line-height: inherit; margin: 0; }
.dw-message--agent p + p { margin-top: 9px; }
.dw-message--agent ul, .dw-message--agent ol { margin: 8px 0 2px; padding-left: 19px; }
.dw-message--agent li { margin: 4px 0; padding-left: 2px; }
.dw-message--agent li::marker { color: var(--dw-blue); }
.dw-message--agent strong { color: var(--dw-navy); font-weight: 600; }
.dw-message--agent code { background: rgba(255,255,255,.7); border-radius: 4px; font: inherit; padding: 1px 4px; }
.dw-message--user { align-self: flex-end; background: linear-gradient(135deg, var(--dw-navy), #111d61); border-radius: 18px 18px 5px 18px; box-shadow: 0 7px 18px rgba(3, 5, 50, .12); color: #fff; }
.dw-message--error { background: #fff0f0; color: #9b1c1c; }
.dw-message--streaming { min-width: 58px; }
.dw-thinking { align-items: center; display: flex; gap: 4px; height: 18px; justify-content: center; }
.dw-thinking i { animation: dw-thinking-dot 1.15s cubic-bezier(.4,0,.2,1) infinite; background: var(--dw-blue); border-radius: 50%; display: block; height: 6px; opacity: .34; width: 6px; }
.dw-thinking i:nth-child(2) { animation-delay: .15s; }
.dw-thinking i:nth-child(3) { animation-delay: .3s; }
.dw-tool-card { background: #fff; border: 1px solid var(--dw-line); border-radius: 14px; color: var(--dw-copy); font-size: 13px; line-height: 1.4; padding: 12px; }
.dw-tool-card--completed { border-color: #afd8bd; background: #f2fbf5; }
.dw-tool-card strong { color: var(--dw-navy); display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.dw-tool-card p { margin: 0; }
.dw-slot-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dw-slot-list button { background: #fff; border: 1px solid #bfd0eb; border-radius: 999px; color: var(--dw-copy); cursor: pointer; font-size: 11px; padding: 7px 9px; }
.dw-suggestions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; padding: 2px 18px 13px; }
.dw-suggestions[aria-hidden="true"] { opacity: .45; pointer-events: none; }
.dw-chip { background: #fff; border: 1px solid #cddbf1; border-radius: 999px; color: #344054; cursor: pointer; flex: 0 1 auto; font-size: 11.5px; line-height: 1.3; max-width: 100%; min-height: 34px; padding: 7px 11px; text-align: left; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; white-space: normal; }
.dw-chip:hover { background: #f2f7ff; border-color: #9dbbea; color: var(--dw-navy); transform: translateY(-1px); }
.dw-composer { background: #fff; border-top: 1px solid var(--dw-line); display: flex; gap: 8px; padding: 12px; }
.dw-composer input { background: #fbfdff; border: 1px solid #cbd5e1; border-radius: 999px; color: var(--dw-ink); flex: 1; min-width: 0; outline: 0; padding: 12px 16px; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dw-composer input:focus { background: #fff; border-color: #80a9ef; box-shadow: 0 0 0 4px rgba(28, 100, 235, .1); }
.dw-composer input:disabled { cursor: wait; opacity: .7; }
.dw-send { align-items: center; background: linear-gradient(145deg, #11175c, var(--dw-navy)); border: 0; border-radius: 50%; box-shadow: 0 7px 17px rgba(3, 5, 50, .18); color: #fff; cursor: pointer; display: flex; flex: 0 0 auto; height: 44px; justify-content: center; transition: box-shadow .18s ease, transform .18s ease; width: 44px; }
.dw-send:hover { box-shadow: 0 9px 22px rgba(3, 5, 50, .25); transform: translateY(-1px); }
.dw-send:disabled { box-shadow: none; cursor: wait; opacity: .45; transform: none; }

.dw-primary, .dw-secondary {
  border-radius: 999px; cursor: pointer; min-height: 46px; padding: 10px 18px;
}
.dw-primary { background: var(--dw-navy); border: 1px solid var(--dw-navy); color: #fff; }
.dw-primary:disabled { background: #d7dce8; border-color: #d7dce8; color: #697386; cursor: not-allowed; }
.dw-secondary { background: #fff; border: 1px solid #cbd5e1; color: var(--dw-copy); }
.dw-privacy { color: #667085 !important; font-size: 11px !important; margin-top: 14px !important; }

.dw-booking { overflow-y: auto; padding: 18px; }
.dw-booking-intro { color: var(--dw-copy); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.dw-booking-prompt { align-items: center; display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 20px 12px; text-align: center; }
.dw-booking-prompt .dw-orb { height: 88px; margin-bottom: 18px; width: 88px; }
.dw-booking-prompt h3 { color: var(--dw-navy); font-size: 25px; font-weight: 400; margin: 0 0 9px; }
.dw-booking-prompt p { color: var(--dw-copy); font-size: 14px; line-height: 1.5; margin: 0; max-width: 310px; }
.dw-booking-prompt ul { color: var(--dw-copy); display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; list-style: none; margin: 18px 0 22px; padding: 0; }
.dw-booking-prompt li { background: var(--dw-pale); border-radius: 999px; font-size: 11px; padding: 7px 10px; }
.dw-booking-form { display: grid; gap: 11px; }
.dw-field { display: grid; gap: 5px; }
.dw-field label { color: #344054; font-size: 12px; }
.dw-field input { border: 0; border-bottom: 1px solid #bfcce0; border-radius: 0; color: var(--dw-ink); min-height: 42px; padding: 8px 2px; width: 100%; }
.dw-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dw-status { border-radius: 12px; font-size: 13px; line-height: 1.4; margin: 10px 0 0; padding: 10px; }
.dw-status--success { background: #eaf8ef; color: #156b35; }
.dw-status--error { background: #fff0f0; color: #9b1c1c; }
.dw-external-frame { border: 0; height: 100%; width: 100%; }
.dw-consent { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; padding: 28px; text-align: center; }
.dw-consent p { color: var(--dw-copy); font-size: 14px; line-height: 1.5; }

.dw-contact-booking { background: linear-gradient(145deg, #030532, #102a76); border-radius: 20px; color: #fff; display: flex; min-height: 100%; overflow: hidden; position: relative; }
.dw-contact-booking::after { background: radial-gradient(circle, rgba(255,255,255,.17) 0 1px, transparent 1.5px); background-size: 16px 16px; content: ""; height: 250px; opacity: .55; position: absolute; right: -55px; top: -45px; width: 260px; }
.dw-contact-booking-copy { align-self: center; padding: 46px 40px; position: relative; z-index: 1; }
.dw-contact-booking .dw-contact-eyebrow { color: #9db7eb; font-size: 11px; letter-spacing: .12em; margin: 0 0 14px; text-transform: uppercase; }
.dw-contact-booking h3 { color: #fff; font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.08; margin: 0 0 18px; }
.dw-contact-booking-copy > p:not(.dw-contact-eyebrow) { color: #d7dfef; font-size: 15px; line-height: 1.6; margin: 0; }
.dw-contact-booking ul { display: grid; gap: 10px; list-style: none; margin: 28px 0; padding: 0; }
.dw-contact-booking li { color: #eef3ff; font-size: 13px; }
.dw-contact-booking li::before { color: #8cb1ff; content: "✓"; margin-right: 9px; }
.dw-contact-booking-button { align-items: center; background: #fff; border: 1px solid #fff; border-radius: 999px; color: #030532; display: flex; font-size: 14px; justify-content: space-between; min-height: 52px; padding: 12px 18px; width: 100%; }
.dw-contact-booking-button span { font-size: 20px; line-height: 1; }
.dw-contact-booking small { color: #aebcda; display: block; font-size: 11px; line-height: 1.45; margin-top: 18px; }

.dw-booking-open { overflow: hidden; }
.dw-booking-modal { font-family: "Overused Grotesk", Arial, sans-serif; inset: 0; position: fixed; z-index: 2147483000; }
.dw-booking-modal[hidden] { display: none; }
.dw-booking-backdrop { backdrop-filter: blur(8px); background: rgba(3, 5, 50, .68); inset: 0; position: absolute; }
.dw-booking-dialog { background: #fff; border: 1px solid #dfe6fa; border-radius: 22px; box-shadow: 0 30px 90px rgba(3,5,50,.3); display: flex; flex-direction: column; height: min(640px, calc(100dvh - 48px)); inset: 50% auto auto 50%; max-width: 1100px; overflow: hidden; position: absolute; transform: translate(-50%, -50%); width: min(1100px, calc(100vw - 48px)); }
.dw-booking-dialog > header { align-items: center; border-bottom: 1px solid #dfe6fa; display: flex; justify-content: space-between; padding: 17px 22px; }
.dw-booking-dialog header p { color: #1c64eb; font-size: 10px; letter-spacing: .11em; margin: 0 0 3px; text-transform: uppercase; }
.dw-booking-dialog header h2 { color: #030532; font-size: 21px; font-weight: 400; line-height: 1.2; margin: 0; }
.dw-booking-close { align-items: center; background: #edf6fe; border: 0; border-radius: 50%; color: #030532; display: flex; flex: 0 0 auto; height: 40px; justify-content: center; width: 40px; }
.dw-booking-frame { flex: 1; min-height: 0; }
.dw-booking-frame .dw-consent { min-height: 430px; }

.dw-conversion { background: var(--dw-pale); padding: 72px 0; }
#social-media { margin-bottom: 0; padding-bottom: 0; }
.cta-block-section, .cta-block-section.padding-bottom { padding-bottom: 72px; }
.dw-conversion-inner { background: linear-gradient(120deg, var(--dw-navy), #123b9b); border-radius: 20px; color: #fff; margin: 0 auto; max-width: 1280px; overflow: hidden; padding: 48px; position: relative; width: 80%; }
.dw-conversion-inner::after { background: radial-gradient(circle, rgba(255,255,255,.16) 0 1px, transparent 1.5px); background-size: 16px 16px; content: ""; height: 180px; opacity: .5; position: absolute; right: -30px; top: -30px; width: 240px; }
.dw-conversion-copy { max-width: 710px; position: relative; z-index: 1; }
.dw-conversion .dw-eyebrow { color: #b9c9e8; }
.dw-conversion h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); font-weight: 400; line-height: 1.08; margin: 8px 0 16px; }
.dw-conversion p { color: #d7dfef; font-size: 17px; line-height: 1.55; margin: 0; }
.dw-conversion-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; position: relative; z-index: 1; }
.dw-conversion-actions button { background: #fff; border: 1px solid #fff; border-radius: 999px; color: var(--dw-navy); cursor: pointer; min-height: 52px; padding: 12px 20px; }
.dw-conversion-actions button:last-child { background: transparent; color: #fff; }
.dw-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; position: relative; z-index: 1; }
.dw-proof span { color: #d7dfef; font-size: 12px; }
.dw-proof span::before { color: #8cb1ff; content: "✓"; margin-right: 7px; }

.dw-assistant :focus-visible,
.dw-conversion :focus-visible { outline: 3px solid #74a3ff; outline-offset: 3px; }
.dw-sr-only { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0,0,0,0); white-space: nowrap; }

@keyframes dw-thinking-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0) scale(.85); } 30% { opacity: 1; transform: translateY(-3px) scale(1); } }

@media (max-width: 767px) {
  .dw-assistant { bottom: max(10px, env(safe-area-inset-bottom)); right: 10px; }
  .dw-launcher-copy { display: none; }
  .dw-launcher { min-height: 58px; padding: 6px; }
  .dw-launcher-icon { height: 46px; width: 46px; }
  .dw-panel { border-radius: 18px; height: calc(100dvh - 20px); width: calc(100vw - 20px); }
  .dw-messages { padding: 16px 14px 12px; }
  .dw-suggestions { padding-left: 14px; padding-right: 14px; }
  .dw-assistant--open .dw-launchers { display: none; }
  .dw-field-row { grid-template-columns: 1fr; }
  .dw-contact-booking { min-height: 480px; order: -1; }
  .dw-contact-booking-copy { padding: 36px 26px; }
  .dw-booking-dialog { border-radius: 16px; height: calc(100dvh - 20px); width: calc(100vw - 20px); }
  .dw-booking-dialog > header { padding: 14px 16px; }
  .dw-booking-dialog header h2 { font-size: 18px; }
  .dw-conversion { padding: 44px 0; }
  .cta-block-section, .cta-block-section.padding-bottom { padding-bottom: 44px; }
  .dw-conversion-inner { padding: 34px 24px; width: 92%; }
  .dw-conversion-actions { flex-direction: column; }
  .dw-conversion-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dw-assistant *, .dw-conversion * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
