.dream-adviser {
  --da-bg: #f7f8fa;
  --da-surface: #fff;
  --da-text: #0f1419;
  --da-muted: #5c6672;
  --da-border: #dfe4e8;
  --da-accent: #4169e1;
  --da-accent-soft: #e9eeff;
  color: var(--da-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.dream-adviser [hidden] { display: none !important; }
.dream-adviser__launcher {
  position: fixed; z-index: 9998; right: 24px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px; border: 0; border-radius: 999px;
  background: #0f1419; color: #fff; font: inherit; font-weight: 700;
  box-shadow: 0 12px 32px rgba(15,20,25,.22); cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.dream-adviser__launcher:hover { background: var(--da-accent); transform: translateY(-2px); }
.dream-adviser__launcher:focus-visible, .dream-adviser button:focus-visible, .dream-adviser a:focus-visible, .dream-adviser input:focus-visible { outline: 3px solid #9bb1ff; outline-offset: 3px; }
.dream-adviser__launcher svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dream-adviser__panel {
  position: fixed; z-index: 9999; right: 24px; bottom: 88px;
  display: flex; flex-direction: column; width: min(410px, calc(100vw - 32px));
  max-height: min(690px, calc(100dvh - 120px)); min-height: 470px;
  overflow: hidden; border: 1px solid rgba(15,20,25,.1); border-radius: 18px;
  background: var(--da-surface); box-shadow: 0 24px 70px rgba(15,20,25,.2);
}
.dream-adviser__panel[hidden] { display: none; }
.dream-adviser__header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #0f1419; color: #fff; }
.dream-adviser__brand-mark { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; font-size: 17px; font-weight: 800; }
.dream-adviser__heading { display: grid; min-width: 0; line-height: 1.35; }
.dream-adviser__heading strong { font-size: 14px; font-weight: 750; }
.dream-adviser__heading span { color: #c5ccd4; font-size: 12px; }
.dream-adviser__close { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.dream-adviser__close:hover { background: rgba(255,255,255,.13); }
.dream-adviser__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dream-adviser__conversation { flex: 1; overflow: auto; padding: 22px 20px 16px; background: var(--da-bg); scrollbar-color: #c6ccd3 transparent; }
.dream-adviser__intro { margin-bottom: 18px; }
.dream-adviser__eyebrow { margin: 0 0 7px; color: var(--da-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dream-adviser__intro h2 { margin: 0 0 7px; color: var(--da-text); font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.dream-adviser__intro p:last-child { margin: 0; color: var(--da-muted); font-size: 14px; }
.dream-adviser__choices { display: grid; gap: 9px; }
.dream-adviser__choices button { width: 100%; padding: 12px 14px; border: 1px solid var(--da-border); border-radius: 10px; background: #fff; color: var(--da-text); text-align: left; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.dream-adviser__choices button:hover { transform: translateY(-1px); border-color: #aebef5; background: #fbfcff; }
.dream-adviser__thread { display: grid; gap: 10px; margin-top: 14px; }
.dream-adviser__message { max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 14px; overflow-wrap: anywhere; }
.dream-adviser__message--visitor { justify-self: end; border-bottom-right-radius: 4px; background: #0f1419; color: #fff; }
.dream-adviser__prompt { margin: 14px 0 10px; color: var(--da-text); font-size: 14px; font-weight: 700; }
.dream-adviser__choices--followup { gap: 7px; }
.dream-adviser__choices--followup button { padding: 10px 12px; font-size: 13px; }
.dream-adviser__answer-form { display: flex; gap: 8px; }
.dream-adviser__answer-form input, .dream-adviser__lead input:not([type=checkbox]) { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd5db; border-radius: 9px; background: #fff; color: var(--da-text); font: inherit; font-size: 14px; }
.dream-adviser__answer-form input::placeholder { color: #89929c; }
.dream-adviser__next, .dream-adviser__send { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #0f1419; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.dream-adviser__next:hover, .dream-adviser__send:hover { background: var(--da-accent); }
.dream-adviser__result { margin-top: 18px; padding: 15px; border: 1px solid #dce4ff; border-radius: 12px; background: #fff; }
.dream-adviser__result h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; }
.dream-adviser__result p:last-child { margin: 0; color: var(--da-muted); font-size: 13px; }
.dream-adviser__service-link { display: inline-flex; margin-top: 12px; color: #3155c3; font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.dream-adviser__lead { display: grid; gap: 11px; margin-top: 14px; padding: 16px; border: 1px solid var(--da-border); border-radius: 12px; background: #fff; }
.dream-adviser__lead h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.dream-adviser__lead > p { margin: -5px 0 0; color: var(--da-muted); font-size: 13px; }
.dream-adviser__lead > label:not(.dream-adviser__consent) { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.dream-adviser__lead > label span { color: var(--da-muted); font-weight: 400; }
.dream-adviser__lead input:not([type=checkbox]) { min-height: 40px; font-size: 13px; }
.dream-adviser__consent { display: flex; align-items: flex-start; gap: 8px; color: var(--da-muted); font-size: 11px; line-height: 1.45; }
.dream-adviser__consent input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--da-accent); }
.dream-adviser__consent a { color: #3155c3; text-decoration: underline; text-underline-offset: 2px; }
.dream-adviser__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.dream-adviser__send { justify-self: start; padding-inline: 19px; }
.dream-adviser__send:disabled { opacity: .65; cursor: wait; }
.dream-adviser__form-status { min-height: 18px; margin: 0; color: #3155c3; font-size: 12px; }
.dream-adviser__footer { display: flex; justify-content: center; gap: 5px; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--da-border); color: var(--da-muted); font-size: 12px; }
.dream-adviser__footer a { color: var(--da-text); font-weight: 700; text-decoration: none; }
.dream-adviser__footer a:hover { color: var(--da-accent); }
.dream-adviser[data-mode="shortcode"] .dream-adviser__panel { position: relative; right: auto; bottom: auto; width: min(100%, 440px); max-height: 680px; min-height: 550px; margin: 24px auto; }
body .dream-adviser__panel, body .dream-adviser__panel * { box-sizing: border-box; }
@media (max-width: 520px) {
  .dream-adviser__launcher { right: 14px; bottom: 14px; min-height: 50px; padding-inline: 16px; }
  .dream-adviser__panel { right: 8px; bottom: 76px; width: calc(100vw - 16px); max-height: calc(100dvh - 90px); min-height: min(470px, calc(100dvh - 90px)); border-radius: 16px; }
  .dream-adviser__conversation { padding: 18px 15px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dream-adviser *, .dream-adviser *::before, .dream-adviser *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
