@property --ldx-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ldx-rot { to { --ldx-a: 360deg; } }
@keyframes ldx-spin { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(90deg); } }
@keyframes ldx-blink { 50% { opacity: 0; } }
@keyframes ldx-pulse { 50% { transform: scale(1.12); } }
@keyframes ldx-flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ldx-thinking {
  0%,100% { background: var(--ldx-acc); box-shadow: 12px 0 rgba(16,207,201,.3), 24px 0 rgba(16,207,201,.3); }
  33% { background: rgba(16,207,201,.3); box-shadow: 12px 0 var(--ldx-acc), 24px 0 rgba(16,207,201,.3); }
  66% { background: rgba(16,207,201,.3); box-shadow: 12px 0 rgba(16,207,201,.3), 24px 0 var(--ldx-acc); }
}

.ldx-dock {
  --ldx-acc: #10cfc9;
  --ldx-bg: #141a1f;
  --ldx-card: #1d252c;
  --ldx-card2: #26323b;
  --ldx-f: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: var(--w, 272px);
  z-index: 99990;
  font-family: var(--ldx-f);
  color: #fff;
  line-height: normal;
  box-sizing: border-box;
  transition: width .5s cubic-bezier(.16, 1, .3, 1), bottom .3s;
}
.ldx-dock *, .ldx-dock *::before, .ldx-dock *::after { box-sizing: border-box; }
.ldx-dock button, .ldx-dock input { font-family: inherit; }
.ldx-dock.is-open { --w: min(720px, calc(100vw - 32px)); }
.ldx-pop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 12px);
  max-height: calc(100vh - 170px);
  overflow: auto;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1);
  scrollbar-width: none;
}
.ldx-pop::-webkit-scrollbar { display: none; }
.ldx-dock.is-open .ldx-pop { opacity: 1; transform: none; pointer-events: auto; }
.ldx-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  margin: 0;
  padding: 6px 6px 6px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ldx-card);
  isolation: isolate;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.ldx-bar::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -2;
  background: conic-gradient(from var(--ldx-a, 0deg), rgba(16,207,201,0) 0 55%, rgba(16,207,201,.95) 75%, rgba(150,255,249,1) 85%, rgba(16,207,201,0) 100%);
  animation: ldx-rot 5s linear infinite;
  opacity: .85;
}
.ldx-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: var(--ldx-card);
  transition: background-color .3s;
}
.ldx-dock:not(.is-open) .ldx-bar { background: #fff; }
.ldx-dock:not(.is-open) .ldx-bar::after { background: #fff; }
.ldx-dock:not(.is-open) .ldx-ghost { color: #59636a; }
.ldx-dock:not(.is-open) .ldx-ghost b { color: #141a1f; }
.ldx-dock.is-open .ldx-bar { background: #fff; }
.ldx-dock.is-open .ldx-field input { color: #141a1f !important; }
.ldx-dock.is-open .ldx-ghost { color: #59636a; }
.ldx-dock.is-open .ldx-ghost b { color: #141a1f; }
.ldx-dock.is-open .ldx-bar::before { animation-duration: 2.6s; }
.ldx-dock.is-open .ldx-bar::after { background: #fff; }
.ldx-star { color: var(--ldx-acc); width: 24px; height: 24px; flex: none; animation: ldx-spin 4s ease-in-out infinite; }
.ldx-field { position: relative; flex: 1; min-width: 0; display: block; cursor: text; }
.ldx-field input {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 500 18px/1 var(--ldx-f) !important;
  caret-color: var(--ldx-acc);
}
.ldx-dock:not(.is-open) .ldx-field input { pointer-events: none; }
.ldx-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  color: #adadad;
  font: 500 18px/1 var(--ldx-f);
}
.ldx-ghost b { color: #fff; font-weight: 700; margin-right: .4em; }
.ldx-colon, .ldx-caret { display: none; }
.ldx-dock.is-open .ldx-colon { display: inline; }
.ldx-dock.is-open .ldx-caret {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  margin-left: 2px;
  background: var(--ldx-acc);
  animation: ldx-blink 1s steps(1) infinite;
}
.ldx-dock.is-active .ldx-ghost { opacity: 0; }
.ldx-dock.is-dictating .ldx-ghost { opacity: 0; }
.ldx-dock .ldx-mic {
  display: none;
  width: 42px !important;
  height: 42px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--ldx-bg) !important;
  color: #fff !important;
  cursor: pointer;
  flex: none;
}
.ldx-dock.is-open .ldx-mic:not([hidden]) { display: grid; }
.ldx-mic:hover { color: var(--ldx-acc) !important; }
.ldx-mic.is-listening { background: var(--ldx-acc) !important; color: #141a1f !important; animation: ldx-pulse 1.1s ease-in-out infinite; }
.ldx-mic.is-listening svg, .ldx-chat-mic.is-listening svg { display:none; }
.ldx-mic.is-listening::after, .ldx-chat-mic.is-listening::after { content:"■"; font-size:13px; line-height:1; }
.ldx-mic.is-reconnecting, .ldx-chat-mic.is-reconnecting { background:#f2b84b !important; animation:ldx-pulse .65s ease-in-out infinite; }
.ldx-dock .ldx-send {
  position: relative;
  width: 52px !important;
  height: 52px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  color: #141a1f !important;
  background: linear-gradient(135deg, #10cfc9, #7dfff8 55%, #10cfc9) !important;
  background-size: 200% 200% !important;
  animation: ldx-flow 4s ease-in-out infinite;
  transition: transform .2s, opacity .2s;
}
.ldx-send:disabled { cursor: wait; opacity: .62; }
.ldx-send svg { width: 22px; height: 22px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.ldx-send:hover:not(:disabled) svg { transform: translateX(4px); }
.ldx-send:active:not(:disabled) { transform: scale(.92); }
.ldx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.ldx-dock.has-answer .ldx-chips { display: none; }
.ldx-dock .ldx-chips button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #fff !important;
  color: #141a1f !important;
  font: 600 14px/1 var(--ldx-f);
  cursor: pointer;
}
.ldx-dock .ldx-chips button:hover { background: #e9fafa !important; color: #141a1f !important; }
.ldx-chips svg { width: 14px; height: 14px; color: var(--ldx-acc); }
.ldx-answer { display: none; }
.ldx-dock.has-answer .ldx-answer { display: block; }
.ldx-q { margin: 0 0 10px 20px; font-size: 14px; font-weight: 600; color: #dadada; }
.ldx-a { position: relative; display: flex; gap: 14px; padding: 20px 52px 20px 20px; background: var(--ldx-card); border-radius: 28px; }
.ldx-who { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ldx-acc); color: #141a1f; font-size: 12px; font-weight: 800; }
.ldx-response { flex: 1; min-width: 0; }
.ldx-txt { margin: 0; min-height: 1.6em; color: #fff; font-size: 15.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.ldx-txt.is-thinking::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ldx-acc); animation: ldx-pulse 1s ease-in-out infinite; }
.ldx-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ldx-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 999px; background: var(--ldx-acc); color: #141a1f !important; font-size: 14px; font-weight: 700; text-decoration: none !important; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.ldx-links a.on { opacity: 1; transform: none; }
.ldx-links a.alt { background: var(--ldx-bg); color: #fff !important; }
.ldx-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: #adadad; }
.ldx-dock .ldx-x { position: absolute; top: 12px; right: 12px; width: 32px !important; height: 32px !important; min-width: 0 !important; padding: 0 !important; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ldx-bg) !important; color: #fff !important; cursor: pointer; }
.ldx-x:hover { color: var(--ldx-acc) !important; }
.ldx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:root.ldx-chat-lock, :root.ldx-chat-lock body {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}
.ldx-chat {
  --ldx-acc: #10cfc9;
  --ldx-bg: #10161b;
  --ldx-card: #1d252c;
  --ldx-card2: #26323b;
  --ldx-f: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  position: fixed;
  inset: 14px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 8%, rgba(16,207,201,.12), transparent 30%),
    linear-gradient(145deg, #141c22, #0f151a 66%);
  color: #fff;
  font-family: var(--ldx-f);
  line-height: normal;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity .28s ease, transform .38s cubic-bezier(.16,1,.3,1), visibility 0s linear .38s;
}
.ldx-chat *, .ldx-chat *::before, .ldx-chat *::after { box-sizing: border-box; }
.ldx-chat.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ldx-chat button, .ldx-chat input { font-family: inherit; }
.ldx-chat-head {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(16,22,27,.74);
  backdrop-filter: blur(18px);
}
.ldx-chat-brand { display: flex; align-items: center; gap: 11px; }
.ldx-chat-logo, .ldx-msg-avatar {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--ldx-acc);
  color: #11191e;
  font-weight: 800;
}
.ldx-chat-logo { width: 48px; height: 48px; font-size: 13px; }
.ldx-chat-brand div { display: grid; gap: 3px; }
.ldx-chat-brand strong { font-size: 16px; }
.ldx-chat-brand span:not(.ldx-chat-logo) { color: #aeb8be; font-size: 12px; }
.ldx-chat-actions { display: flex; align-items: center; gap: 9px; }
.ldx-chat-new, .ldx-chat-close, .ldx-chat-mic, .ldx-chat-send {
  margin: 0 !important;
  border: 0 !important;
  cursor: pointer;
}
.ldx-chat-new {
  min-height: 44px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #11191e !important;
  font-size: 13px;
  font-weight: 700;
}
.ldx-chat-close {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  background: var(--ldx-card2) !important;
  color: #fff !important;
}
.ldx-chat-close:hover { color: var(--ldx-acc) !important; }
.ldx-thread {
  width: 100%;
  margin: 0;
  padding: 42px 8px 164px;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}
.ldx-thread::-webkit-scrollbar { width: 10px; }
.ldx-thread::-webkit-scrollbar-track { background: transparent; }
.ldx-thread::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: rgba(255,255,255,.25); background-clip: padding-box; }
.ldx-msg { width: calc(100% - 68px); max-width: 1052px; display: flex; gap: 14px; margin: 0 auto 34px; }
.ldx-msg-user { justify-content: flex-end; }
.ldx-msg-avatar { width: 42px; height: 42px; margin-top: 18px; font-size: 11px; }
.ldx-msg-body { min-width: 0; max-width: min(780px, calc(100% - 70px)); }
.ldx-msg-user .ldx-msg-body { max-width: min(680px, 82%); }
.ldx-msg-meta { margin: 0 0 8px; color: #aeb8be; font-size: 12px; font-weight: 700; }
.ldx-msg-user .ldx-msg-meta { display: none; }
.ldx-msg-text {
  margin: 0 !important;
  padding: 0 !important;
  color: #f5f7f8 !important;
  font: 500 18px/1.65 var(--ldx-f) !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ldx-msg-user .ldx-msg-text {
  padding: 13px 18px !important;
  border: 1px solid rgba(16,207,201,.34);
  border-radius: 22px 22px 5px 22px;
  background: var(--ldx-card2);
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.ldx-msg-text.is-thinking::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 24px 2px 2px;
  border-radius: 50%;
  background: var(--ldx-acc);
  box-shadow: 12px 0 rgba(16,207,201,.3), 24px 0 rgba(16,207,201,.3);
  animation: ldx-thinking .9s steps(1, end) infinite;
}
.ldx-projects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 0; }
.ldx-projects:empty { display:none; }
.ldx-project-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; border:1px solid rgba(255,255,255,.1); border-radius:16px; background:var(--ldx-card); opacity:0; transform:translateY(10px); transition:opacity .35s,transform .4s cubic-bezier(.16,1,.3,1),border-color .25s; }
.ldx-project-card.on { opacity:1; transform:none; }
.ldx-project-card:hover { border-color:rgba(16,207,201,.5); }
.ldx-project-card img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; background:var(--ldx-card2); }
.ldx-project-content { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:14px; }
.ldx-project-meta { margin:0 0 7px; color:var(--ldx-acc); font-size:9.5px; font-weight:750; line-height:1.3; text-transform:uppercase; letter-spacing:.04em; }
.ldx-project-content strong { color:#fff; font-size:14px; line-height:1.3; }
.ldx-project-content p { display:-webkit-box; margin:8px 0 14px !important; overflow:hidden; color:#b6c0c6 !important; font:500 11.5px/1.5 var(--ldx-f) !important; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.ldx-project-content a { display:inline-flex; align-items:center; min-height:34px; margin-top:auto; padding:0 12px; border-radius:999px; background:var(--ldx-acc); color:#11191e !important; font-size:11px; font-weight:750; text-decoration:none !important; }
.ldx-msg-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ldx-msg-links:empty { display: none; }
.ldx-msg-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ldx-acc);
  color: #11191e !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s cubic-bezier(.16,1,.3,1);
}
.ldx-msg-links a.on { opacity: 1; transform: none; }
.ldx-msg-links a.alt { background: var(--ldx-card2); color: #fff !important; }
.ldx-lead-card { max-width:720px !important; padding:20px !important; border:1px solid rgba(16,207,201,.32); border-radius:18px; background:var(--ldx-card); }
.ldx-lead-title { display:block; margin:2px 0 7px; color:#fff; font-size:18px; line-height:1.35; }
.ldx-lead-copy { margin:0 0 16px !important; color:#b9c3c9 !important; font:500 13px/1.55 var(--ldx-f) !important; }
.ldx-lead-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 !important; }
.ldx-lead-form > label:not(.ldx-lead-consent) { display:grid; gap:6px; color:#dfe6e9; font-size:11px; font-weight:700; }
.ldx-lead-form input[type="text"] { width:100% !important; min-height:44px !important; margin:0 !important; padding:0 13px !important; border:1px solid rgba(255,255,255,.13) !important; border-radius:12px !important; outline:0 !important; box-shadow:none !important; background:var(--ldx-bg) !important; color:#fff !important; font:500 13px/1 var(--ldx-f) !important; }
.ldx-lead-form input[type="text"]:focus { border-color:var(--ldx-acc) !important; }
.ldx-lead-consent { grid-column:1/-1; display:flex; align-items:flex-start; gap:8px; color:#aeb8be; font-size:10.5px; line-height:1.45; }
.ldx-lead-consent input { flex:0 0 auto; width:15px !important; height:15px !important; margin:1px 0 0 !important; accent-color:var(--ldx-acc); }
.ldx-lead-consent a { color:var(--ldx-acc) !important; }
.ldx-lead-error { grid-column:1/-1; margin:0 !important; color:#ffaaa7 !important; font:600 11px/1.4 var(--ldx-f) !important; }
.ldx-lead-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; }
.ldx-lead-actions button { min-height:40px !important; margin:0 !important; padding:0 15px !important; border:0 !important; border-radius:999px !important; font:750 11px/1 var(--ldx-f) !important; }
.ldx-lead-submit { background:var(--ldx-acc) !important; color:#11191e !important; }
.ldx-lead-submit:disabled { cursor:wait; opacity:.6; }
.ldx-lead-skip { background:var(--ldx-card2) !important; color:#fff !important; }
.ldx-lead-contact-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.09); }
.ldx-lead-contact-actions a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:0 15px; border-radius:999px; background:var(--ldx-card2); color:#fff !important; font:750 11px/1 var(--ldx-f); text-decoration:none !important; }
.ldx-lead-contact-actions a:first-child { background:var(--ldx-acc); color:#11191e !important; }
.ldx-lead-contact-actions svg { width:16px; height:16px; fill:currentColor; }
.ldx-lead-contact-actions a:hover { transform:translateY(-1px); }
.ldx-chat-form {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 48px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 7px !important;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(29,37,44,.94);
  box-shadow: 0 18px 55px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.ldx-chat-note {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  margin: 0 !important;
  color: #89949b !important;
  font: 500 11px/1.2 var(--ldx-f) !important;
  text-align: center;
  pointer-events: none;
}
.ldx-chat-field { flex: 1; min-width: 0; display: block; }
.ldx-chat-field input {
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 12px 0 24px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff !important;
  font: 500 16px/1 var(--ldx-f) !important;
  caret-color: var(--ldx-acc);
}
.ldx-chat-field input::placeholder { color: #98a3aa; opacity: 1; }
.ldx-chat-mic, .ldx-chat-send {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
}
.ldx-chat-mic { background: var(--ldx-bg) !important; color: #fff !important; }
.ldx-chat-mic[hidden] { display: none !important; }
.ldx-chat-mic.is-listening { background: var(--ldx-acc) !important; color: #11191e !important; animation: ldx-pulse 1.1s ease-in-out infinite; }
.ldx-chat-send {
  background: linear-gradient(135deg, #10cfc9, #7dfff8) !important;
  color: #11191e !important;
}
.ldx-chat-send:disabled, .ldx-chat-mic:disabled { cursor: wait; opacity: .55; }
.ldx-chat-send svg { width: 23px; height: 23px; }

@media (hover: hover) and (min-width: 768px) {
  .ldx-dock:not(.is-open) .ldx-bar:hover { transform: translateY(-3px); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ldx-dock {
    bottom: 76px;
    transition: left .55s cubic-bezier(.16, 1, .3, 1), width .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1), bottom .3s;
  }
  .ldx-dock.is-folded:not(.is-open) { left: 12px; width: 54px; transform: none; }
  .ldx-dock.is-folded:not(.is-open) .ldx-bar { min-height: 54px; padding: 0 15px; gap: 0; }
  .ldx-dock.is-folded:not(.is-open) .ldx-field { opacity: 0; flex: 0 1 0; overflow: hidden; pointer-events: none; }
  .ldx-dock.is-folded:not(.is-open) .ldx-send { opacity: 0; width: 0 !important; min-width: 0; pointer-events: none; }
  .ldx-pop { max-height: calc(100vh - 190px); }
}
@media (max-width: 600px) {
  .ldx-dock { --w: 258px; }
  .ldx-bar { min-height: 60px; padding: 5px 5px 5px 16px; }
  .ldx-field input, .ldx-ghost { font-size: 16px !important; }
  .ldx-send { width: 48px !important; height: 48px !important; }
  .ldx-a { padding: 16px 46px 16px 16px; gap: 10px; border-radius: 22px; }
}
@media (max-width: 767px) {
  .ldx-dock { display: block !important; right: auto; bottom: 76px; transform: none; left: calc((100% - 258px) / 2); width: 258px; transition: left .55s cubic-bezier(.16, 1, .3, 1), width .55s cubic-bezier(.16, 1, .3, 1); }
  .ldx-dock.is-folded:not(.is-open) { left: 12px; width: 54px; }
  .ldx-dock.is-open { left: 8px; right: 8px; width: auto; }
  .ldx-dock.is-open .ldx-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 8px; }
  .ldx-dock .ldx-chips button { width: 100%; justify-content: center; padding: 0 8px; font-size: 12.5px; white-space: nowrap; }
  .ldx-bar, .ldx-pop { width: 100%; }
  .ldx-dock .ldx-bar { transition: padding .55s cubic-bezier(.16, 1, .3, 1), gap .55s cubic-bezier(.16, 1, .3, 1); }
  .ldx-dock .ldx-field { transition: opacity .25s ease, flex-grow .55s cubic-bezier(.16, 1, .3, 1); }
  .ldx-dock .ldx-send { transition: opacity .25s ease, width .55s cubic-bezier(.16, 1, .3, 1), transform .2s; }
  .ldx-dock.is-folded:not(.is-open) .ldx-bar { padding: 0 15px; gap: 0; min-height: 54px; }
  .ldx-dock.is-folded:not(.is-open) .ldx-field { opacity: 0; flex: 0 1 0; overflow: hidden; pointer-events: none; }
  .ldx-dock.is-folded:not(.is-open) .ldx-send { opacity: 0; width: 0 !important; min-width: 0; pointer-events: none; }
  .ldx-pop { max-height: calc(100vh - 190px); }
  .ldx-chat { inset: 0; border: 0; border-radius: 0; }
  .ldx-chat-head { min-height: 70px; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 12px; }
  .ldx-chat-logo { width: 42px; height: 42px; }
  .ldx-chat-brand div span { display: none; }
  .ldx-chat-new { min-height: 40px; padding: 0 12px !important; font-size: 11.5px; }
  .ldx-chat-close { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  .ldx-thread { padding: 28px 4px 142px; }
  .ldx-msg { width: calc(100% - 24px); gap: 9px; margin-bottom: 26px; }
  .ldx-msg-avatar { width: 34px; height: 34px; margin-top: 17px; font-size: 9px; }
  .ldx-msg-body { max-width: calc(100% - 43px); }
  .ldx-msg-user .ldx-msg-body { max-width: 88%; }
  .ldx-msg-text { font-size: 15.5px !important; line-height: 1.55 !important; }
  .ldx-msg-user .ldx-msg-text { font-size: 14.5px !important; }
  .ldx-projects { grid-template-columns:1fr; }
  .ldx-project-card.has-image { display:grid; grid-template-columns:112px minmax(0,1fr); }
  .ldx-project-card.has-image img { height:100%; min-height:138px; aspect-ratio:auto; }
  .ldx-project-content { padding:12px; }
  .ldx-msg-links { gap: 6px; }
  .ldx-msg-links a { min-height: 36px; padding: 0 12px; font-size: 11.5px; }
  .ldx-lead-card { padding:16px !important; }
  .ldx-lead-form { grid-template-columns:1fr; }
  .ldx-lead-consent,.ldx-lead-error,.ldx-lead-actions { grid-column:1; }
  .ldx-chat-form { bottom: 28px; width: calc(100% - 24px); min-height: 62px; padding: 5px !important; }
  .ldx-chat-note { bottom: 7px; width: calc(100% - 20px); font-size: 9.5px !important; }
  .ldx-chat-field input { height: 50px !important; padding-left: 15px !important; font-size: 16px !important; }
  .ldx-lead-form input[type="text"] { font-size: 16px !important; }
  .ldx-chat-mic, .ldx-chat-send { width: 48px !important; height: 48px !important; min-width: 48px !important; }
}
@media (max-width: 1024px) {
  .ldx-chat input { font-size: 16px !important; }
  .ldx-dock .ldx-mic { display: none !important; }
  /* Hide only while LoDigitalizo's mobile navigation is open. */
  html:has(.ln-mnav.is-open) .ldx-dock:not(.is-open) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .ldx-chat {
    top: var(--ldx-mobile-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: var(--ldx-mobile-height, 100dvh);
    max-height: var(--ldx-mobile-height, 100dvh);
    border: 0;
    border-radius: 0;
    overscroll-behavior: none;
  }
  .lodi-mobile-bar,
  .lodi-mobile-bar > .e-con-inner {
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  .lodi-mobile-bar .lodi-budget {
    --width: 50%;
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    transition: width .35s ease, max-width .35s ease, flex-basis .35s ease;
  }
  .lodi-mobile-bar .lodi-call,
  .lodi-mobile-bar .lodi-whatsapp {
    --width: 25%;
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
    transition: width .35s ease, max-width .35s ease, flex-basis .35s ease;
  }
  .lodi-mobile-bar .lodi-chat-slot,
  .lodi-mobile-bar .elementor-widget-html:has(.lodi-chat-button) {
    --width: 0%;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden;
    align-self: stretch !important;
    line-height: 0 !important;
    opacity: 0;
    pointer-events: none;
    transition: width .35s ease, max-width .35s ease, flex-basis .35s ease, opacity .2s ease;
  }
  .lodi-mobile-bar .lodi-chat-button {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 60px !important;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #11191e !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer;
  }
  .lodi-mobile-bar .lodi-chat-slot > .elementor-widget-container,
  .lodi-mobile-bar .elementor-widget-html:has(.lodi-chat-button) > .elementor-widget-container {
    display: block !important;
    width: 100%;
    height: 100%;
    line-height: 0 !important;
  }
  .lodi-mobile-bar .lodi-chat-button svg {
    display: block;
    width: 27px;
    height: 27px;
  }
  html.lodi-chat-docked .lodi-mobile-bar .lodi-budget {
    --width: 43%;
    width: 43% !important;
    max-width: 43% !important;
    flex-basis: 43% !important;
  }
  html.lodi-chat-docked .lodi-mobile-bar .lodi-call,
  html.lodi-chat-docked .lodi-mobile-bar .lodi-whatsapp,
  html.lodi-chat-docked .lodi-mobile-bar .lodi-chat-slot,
  html.lodi-chat-docked .lodi-mobile-bar .elementor-widget-html:has(.lodi-chat-button) {
    --width: 19%;
    width: 19% !important;
    max-width: 19% !important;
    flex-basis: 19% !important;
  }
  html.lodi-chat-docked .lodi-mobile-bar .lodi-chat-slot,
  html.lodi-chat-docked .lodi-mobile-bar .elementor-widget-html:has(.lodi-chat-button) {
    opacity: 1;
    pointer-events: auto;
  }
  html.lodi-chat-docked .ldx-dock:not(.is-open) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
/* Desktop frosted-glass treatment. Kept out of tablet/mobile layouts. */
@media (min-width: 1025px) {
  .ldx-dock:not(.is-open) .ldx-bar,
  .ldx-dock.is-open .ldx-bar {
    background: rgba(18, 25, 30, .52);
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: blur(9px) saturate(55%) brightness(.86);
    backdrop-filter: blur(9px) saturate(55%) brightness(.86);
  }

  .ldx-dock:not(.is-open) .ldx-bar::after,
  .ldx-dock.is-open .ldx-bar::after {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ldx-bar::before {
    display: none;
  }

  .ldx-dock:not(.is-open) .ldx-ghost,
  .ldx-dock.is-open .ldx-ghost {
    color: rgba(255, 255, 255, .72);
  }

  .ldx-dock:not(.is-open) .ldx-ghost b,
  .ldx-dock.is-open .ldx-ghost b {
    color: #fff;
  }

  .ldx-dock.is-open .ldx-field input {
    color: #fff !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ldx-bar::before, .ldx-send, .ldx-star, .ldx-caret { animation: none !important; }
  .ldx-msg-text.is-thinking::after { animation: none !important; }
  .ldx-links a, .ldx-msg-links a, .ldx-project-card { opacity: 1; transform: none; }
  .ldx-chat { transition: none; }
}
