/* Watson v3 — CSS scoped pe #dh-root și .sw-sticky-wrap. Nicio regulă pe html/body în afara claselor dh-has-chat / dh-chat-open. */
#dh-root, .sw-sticky-wrap {
  --dw-serif: var(--global-heading-font-family, 'Aventa Bold'), Georgia, serif;
  --dw-sans: var(--global-body-font-family, 'Open Sans'), system-ui, sans-serif;
  --bg-base: #0c1626;
  --gold: #d4a574; --gold-bright: #e6bf90; --gold-deep: #a07a4d;
  --success: #6dc594; --warn: #f5a524;
  --ink: #f5f0e4; --ink-2: #b8bccc; --ink-4: #5e6986;
  --border: #2a3a55;
  --ease: cubic-bezier(.175, .885, .32, 1.275);
  font-family: var(--dw-sans);
  -webkit-font-smoothing: antialiased;
}
#dh-root *, #dh-root *::before, #dh-root *::after, .sw-sticky-wrap *, .sw-sticky-wrap *::before, .sw-sticky-wrap *::after { box-sizing: border-box; }

@keyframes dhPulse { 0% { box-shadow: 0 0 0 0 rgba(109,197,148,.6); } 70% { box-shadow: 0 0 0 12px rgba(109,197,148,0); } 100% { box-shadow: 0 0 0 0 rgba(109,197,148,0); } }
@keyframes dhMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dhDotBounce { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes dhBarFill { from { width: 0; } }
@keyframes dhFadeIn { from { opacity: 0; } to { opacity: .7; } }
@keyframes dhTeaserIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ===== PANOU CHAT ===== */
html body #dh-root .dh-chat-panel {
  position: fixed; right: 20px; bottom: 100px; z-index: 100010;
  width: min(500px, calc(100vw - 40px));
  height: min(840px, calc(100vh - 130px));
  background: linear-gradient(165deg, rgba(18,30,51,.97), rgba(7,16,30,.97));
  border: 1px solid rgba(212,165,116,.35);
  border-radius: 24px;
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  display: none; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.96);
  transition: opacity .35s ease, transform .35s var(--ease);
  font-family: var(--dw-sans); color: var(--ink);
}
html body #dh-root .dh-chat-panel.open { display: flex; opacity: 1; transform: translateY(0) scale(1); }
html body #dh-root .dh-chat-head { padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(212,165,116,.18); display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
html body #dh-root .dh-chat-avatar { width: 42px; height: 42px; flex-shrink: 0; aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); display: flex; align-items: center; justify-content: center; color: #1a1206; font-family: var(--dw-serif); font-weight: 700; font-size: 1.15rem; }
html body #dh-root .dh-chat-title { flex: 1 1 auto; min-width: 0; }
html body #dh-root .dh-chat-name { font-family: var(--dw-serif); font-size: 1.05rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
html body #dh-root .dh-chat-status { font-size: .72rem; color: var(--success); display: flex; align-items: center; gap: 6px; margin-top: 2px; min-width: 0; }
html body #dh-root .dh-chat-status::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--success); animation: dhPulse 2s var(--ease) infinite; }
html body #dh-root .dh-chat-panel.dh-closed .dh-chat-status { color: var(--warn); }
html body #dh-root .dh-chat-panel.dh-closed .dh-chat-status::before { background: var(--warn); animation: none; }
html body #dh-root .dh-chat-status > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #dh-root .dh-chat-status .dh-status-short { display: none; }
html body #dh-root .dh-chat-head button { flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--dw-sans); }
html body #dh-root .dh-chat-close, html body #dh-root .dh-clear { background: rgba(255,255,255,.06); border: 1px solid var(--border); width: 32px; height: 32px; border-radius: 8px; color: var(--ink-2); font-size: 1.1rem; padding: 0; }
html body #dh-root .dh-clear svg { width: 15px; height: 15px; }
html body #dh-root .dh-clear:hover { color: var(--ink); background: rgba(255,255,255,.12); }
html body #dh-root .dh-quick-exit { background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.35); width: 32px; height: 32px; border-radius: 8px; color: #ff8a8a; padding: 0; transition: background .2s ease, transform .2s ease; }
html body #dh-root .dh-quick-exit:hover { background: rgba(255,80,80,.28); transform: scale(1.05); }
html body #dh-root .dh-quick-exit svg { width: 14px; height: 14px; }
html body #dh-root .dh-lang-wrap { position: relative; flex-shrink: 0; }
html body #dh-root .dh-lang { background: transparent; border: 1px solid rgba(212,165,116,.35); color: var(--gold-bright); border-radius: 999px; padding: 0 9px 0 7px; height: 28px; font-size: .72rem; font-weight: 700; letter-spacing: .4px; gap: 5px; }
html body #dh-root .dh-lang svg { width: 14px; height: 14px; opacity: .9; }
html body #dh-root .dh-lang:hover, html body #dh-root .dh-lang[aria-expanded="true"] { background: rgba(212,165,116,.12); }
html body #dh-root .dh-lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 150px; background: linear-gradient(165deg, rgba(18,30,51,.99), rgba(7,16,30,.99)); border: 1px solid rgba(212,165,116,.35); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); z-index: 5; display: flex; flex-direction: column; gap: 2px; }
html body #dh-root .dh-lang-menu[hidden] { display: none; }
html body #dh-root .dh-lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: transparent; border: none; color: var(--ink); padding: 9px 12px; border-radius: 8px; font-size: .86rem; font-family: var(--dw-sans); cursor: pointer; }
html body #dh-root .dh-lang-menu button:hover { background: rgba(212,165,116,.12); }
html body #dh-root .dh-lang-menu button.on { color: var(--gold-bright); font-weight: 700; }
html body #dh-root .dh-lang-menu button.on::after { content: "✓"; color: var(--success); }
html body #dh-root .dh-chat-qr.lang { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); color: var(--ink); font-weight: 600; width: 100%; text-align: center; }
html body #dh-root .dh-trust-bar { display: flex; gap: 14px; padding: 8px 20px; background: rgba(212,165,116,.05); border-bottom: 1px solid rgba(212,165,116,.1); font-size: .7rem; color: var(--ink-2); flex-shrink: 0; flex-wrap: wrap; }
html body #dh-root .dh-trust-bar span { display: flex; align-items: center; gap: 5px; }
html body #dh-root .dh-trust-bar span::before { content: "✓"; color: var(--success); font-weight: 700; }
html body #dh-root .dh-chat-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(212,165,116,.3) transparent; overscroll-behavior: contain; }
html body #dh-root .dh-chat-body::-webkit-scrollbar { width: 6px; }
html body #dh-root .dh-chat-body::-webkit-scrollbar-thumb { background: rgba(212,165,116,.3); border-radius: 3px; }
html body #dh-root .dh-chat-msg { max-width: 92%; padding: 13px 17px; border-radius: 18px; font-size: .95rem; line-height: 1.55; animation: dhMsgIn .35s var(--ease); word-wrap: break-word; }
html body #dh-root .dh-chat-msg.bot { align-self: flex-start; background: rgba(212,165,116,.1); border: 1px solid rgba(212,165,116,.2); color: var(--ink); border-bottom-left-radius: 6px; }
html body #dh-root .dh-chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #1a1206; border-bottom-right-radius: 6px; font-weight: 500; }
html body #dh-root .dh-chat-msg.bot a { color: var(--gold-bright); text-decoration: underline; }
html body #dh-root .dh-chat-msg.bot b { color: #fff; }
html body #dh-root .dh-progress { display: flex; gap: 5px; margin: -2px 0 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(212,165,116,.18); }
html body #dh-root .dh-progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(212,165,116,.18); position: relative; overflow: hidden; }
html body #dh-root .dh-progress span.on { background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep)); animation: dhBarFill .5s var(--ease); }
html body #dh-root .dh-progress-label { font-size: .7rem; color: var(--ink-4); margin-bottom: 6px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; }
html body #dh-root .dh-typing { align-self: flex-start; padding: 14px 18px; border-radius: 18px; background: rgba(212,165,116,.1); border: 1px solid rgba(212,165,116,.2); display: flex; gap: 5px; align-items: center; }
html body #dh-root .dh-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); animation: dhDotBounce 1.4s infinite ease-in-out both; }
html body #dh-root .dh-typing span:nth-child(1) { animation-delay: -.32s; }
html body #dh-root .dh-typing span:nth-child(2) { animation-delay: -.16s; }
html body #dh-root .dh-testimonial { align-self: flex-start; max-width: 88%; font-size: .78rem; color: var(--ink-4); font-style: italic; padding: 0 4px; margin: -6px 0 -2px; animation: dhFadeIn .6s ease forwards; opacity: 0; }
html body #dh-root .dh-testimonial::before { content: "„"; color: var(--gold); font-size: 1.3rem; font-family: var(--dw-serif); margin-right: 2px; }
html body #dh-root .dh-chat-quickreplies { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; flex-shrink: 0; }
html body #dh-root .dh-chat-quickreplies:empty { display: none; }
html body #dh-root .dh-chat-qr { background: rgba(212,165,116,.08); border: 1px solid rgba(212,165,116,.25); color: var(--gold-bright); padding: 9px 14px; border-radius: 999px; font-size: .84rem; cursor: pointer; transition: all .2s ease; font-family: var(--dw-sans); text-align: left; line-height: 1.3; }
html body #dh-root .dh-chat-qr:hover { background: rgba(212,165,116,.18); transform: translateY(-1px); }
html body #dh-root .dh-chat-qr.send-wa { background: linear-gradient(135deg, rgba(37,211,102,.25), rgba(18,140,70,.25)); border-color: rgba(37,211,102,.55); color: #7ee5a3; font-weight: 600; }
html body #dh-root .dh-chat-qr.call-tel { background: linear-gradient(135deg, rgba(212,165,116,.25), rgba(160,122,77,.25)); border-color: rgba(212,165,116,.55); color: #e6bf90; font-weight: 600; }
html body #dh-root .dh-chat-qr.skip { color: var(--ink-4); border-color: rgba(255,255,255,.12); }
html body #dh-root .dh-chat-qr.back { color: var(--ink-2); border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.03); }

/* card de identitate */
html body #dh-root .dh-card { align-self: stretch; border: 1px solid rgba(212,165,116,.45); border-radius: 16px; padding: 14px 16px; background: linear-gradient(160deg, rgba(212,165,116,.16), rgba(212,165,116,.05)); animation: dhMsgIn .4s var(--ease); }
html body #dh-root .dh-card-head { display: flex; align-items: center; gap: 12px; }
html body #dh-root .dh-card-logo { height: 40px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }
html body #dh-root .dh-card-avatar { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #1a1206; font-family: var(--dw-serif); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
html body #dh-root .dh-card-title { font-family: var(--dw-serif); font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.2; }
html body #dh-root .dh-card-sub { font-size: .78rem; color: var(--gold-bright); margin-top: 3px; line-height: 1.35; }
html body #dh-root .dh-card-city { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: rgba(109,197,148,.14); border: 1px solid rgba(109,197,148,.4); color: #d6f5e3; font-size: .86rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
html body #dh-root .dh-card-city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px rgba(109,197,148,.9); flex-shrink: 0; }
html body #dh-root .dh-card-rows { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body #dh-root .dh-card-rows li { font-size: .8rem; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; }
html body #dh-root .dh-card-rows li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }
html body #dh-root .dh-card-more { margin-top: 10px; background: transparent; border: none; color: var(--gold-bright); font-family: var(--dw-sans); font-size: .82rem; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* buton permanent — scrie direct unui detectiv */
html body #dh-root .dh-direct { margin: 0 18px 10px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; cursor: pointer; text-align: left; border: 1px solid rgba(37,211,102,.5); background: linear-gradient(135deg, rgba(37,211,102,.22), rgba(18,140,70,.18)); color: #fff; font-family: var(--dw-sans); transition: transform .25s var(--ease), box-shadow .25s ease; }
html body #dh-root .dh-direct:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(37,211,102,.6); }
html body #dh-root .dh-direct-ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); display: flex; align-items: center; justify-content: center; color: #fff; }
html body #dh-root .dh-direct-ico svg { width: 18px; height: 18px; }
html body #dh-root .dh-direct-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html body #dh-root .dh-direct-txt b { font-size: .9rem; font-weight: 700; color: #fff; }
html body #dh-root .dh-direct-txt small { font-size: .7rem; color: #a8e8c0; }

html body #dh-root .dh-chat-input { padding: 12px 18px; border-top: 1px solid rgba(212,165,116,.18); display: flex; gap: 10px; background: rgba(7,16,30,.5); flex-shrink: 0; }
html body #dh-root .dh-chat-input input { flex: 1; min-width: 0; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px; color: var(--ink); font-family: var(--dw-sans); font-size: 16px; }
html body #dh-root .dh-chat-input input:focus { outline: none; border-color: var(--gold); }
html body #dh-root .dh-chat-send { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); border: none; color: #1a1206; padding: 0 18px; border-radius: 12px; font-weight: 700; cursor: pointer; font-family: var(--dw-sans); }
html body #dh-root .dh-chat-foot { padding: 8px 18px 12px; font-size: .68rem; color: var(--ink-4); text-align: center; letter-spacing: .3px; flex-shrink: 0; line-height: 1.4; }

/* teaser — bulă discretă deasupra barei sticky */
.sw-sticky-wrap .dh-teaser { pointer-events: auto; position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(360px, calc(100vw - 32px)); display: flex; align-items: center; gap: 10px; padding: 10px 40px 10px 12px; border-radius: 16px; background: linear-gradient(165deg, rgba(18,30,51,.97), rgba(7,16,30,.97)); border: 1px solid rgba(212,165,116,.35); box-shadow: 0 20px 50px -15px rgba(0,0,0,.7); color: var(--ink); font-size: .86rem; line-height: 1.35; cursor: pointer; animation: dhTeaserIn .45s var(--ease); }
.sw-sticky-wrap .dh-teaser-av { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); display: flex; align-items: center; justify-content: center; color: #1a1206; font-family: var(--dw-serif); font-weight: 700; }
.sw-sticky-wrap .dh-teaser-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.06); color: var(--ink-2); cursor: pointer; font-size: 1rem; line-height: 1; display: flex; align-items: center; justify-content: center; }

@media (max-width: 520px) {
  body.dh-has-chat { padding-bottom: 80px; }
  body.dh-chat-open { overflow: hidden; }
  html body #dh-root .dh-chat-panel { top: 8px; right: 8px; left: 8px; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); width: auto; height: auto; max-height: none; border-radius: 18px; }
  html body #dh-root .dh-chat-status .dh-status-full { display: none; }
  html body #dh-root .dh-chat-status .dh-status-short { display: inline; }
  html body #dh-root .dh-chat-status { font-size: .68rem; }
  html body #dh-root .dh-chat-name { font-size: 1rem; }
  html body #dh-root .dh-chat-head { padding: 12px 12px 12px 14px; gap: 8px; }
  html body #dh-root .dh-chat-avatar { width: 36px; height: 36px; font-size: 1rem; }
  html body #dh-root .dh-chat-close, html body #dh-root .dh-quick-exit, html body #dh-root .dh-clear { width: 28px; height: 28px; }
  html body #dh-root .dh-lang { height: 26px; padding: 0 8px; }
  html body #dh-root .dh-direct { margin: 0 12px 8px; padding: 9px 12px; }
  html body #dh-root .dh-chat-quickreplies { gap: 7px; }
  html body #dh-root .dh-chat-qr { min-height: 44px; padding: 10px 14px; font-size: .9rem; }
  html body #dh-root .dh-card { padding: 12px 13px; }
  html body #dh-root .dh-chat-body { padding: 14px 12px 6px; }
  html body #dh-root .dh-chat-input { padding: 10px 12px; }
  .sw-sticky-wrap .dh-teaser { left: 0; right: 0; transform: none; width: auto; max-width: none; }
}

/* ===== BARA STICKY ===== */
.sw-sticky-wrap { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9999; pointer-events: none; }
.sw-sticky { pointer-events: auto; display: flex; gap: 8px; padding: 8px; background: linear-gradient(135deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 50%, rgba(255,255,255,.06) 100%); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; box-shadow: 0 30px 60px -15px rgba(0,0,0,.55), 0 8px 20px -8px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04) inset, 0 1px 0 rgba(255,255,255,.18) inset; position: relative; isolation: isolate; animation: swEnter .9s var(--ease) backwards; }
.sw-sticky::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%), radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.08), transparent 70%); pointer-events: none; z-index: -1; }
@keyframes swEnter { 0% { opacity: 0; transform: translateY(80px) scale(.92); } 60% { opacity: 1; } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.sw-btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border: none; cursor: pointer; border-radius: 999px; font-family: var(--dw-sans); font-size: .92rem; font-weight: 600; text-decoration: none !important; white-space: nowrap; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s ease, filter .25s ease; }
.sw-btn::before { content: ''; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 50%); pointer-events: none; z-index: 1; }
.sw-btn:hover { transform: translateY(-1px); }
.sw-btn:active { transform: translateY(0); transition-duration: .08s; }
.sw-btn > * { position: relative; z-index: 2; }
.sw-btn-wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff !important; box-shadow: 0 8px 22px -4px rgba(37,211,102,.55), 0 2px 4px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.1) inset; }
.sw-btn-call { background: linear-gradient(135deg, #0A84FF 0%, #0050D0 100%); color: #fff !important; box-shadow: 0 8px 22px -4px rgba(10,132,255,.55), 0 2px 4px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.1) inset; }
.sw-btn-watson { background: linear-gradient(135deg, #f0cfa3 0%, #e6bf90 40%, #a07a4d 100%); color: #1a1206 !important; box-shadow: 0 8px 22px -4px rgba(212,165,116,.6), 0 2px 4px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.18) inset; }
.sw-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; }
.sw-icon svg { width: 100%; height: 100%; display: block; }
.sw-watson-w { font-family: var(--dw-serif); font-weight: 700; font-size: 1.4rem; color: #1a1206; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 0 14px rgba(255,255,255,.25); transition: transform .35s ease; }
.sw-btn-watson:hover .sw-watson-w { transform: rotate(-8deg) scale(1.12); }
.sw-text { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; line-height: 1.05; }
.sw-label { font-size: inherit; font-weight: 700; letter-spacing: .2px; }
.sw-label-full { display: inline; } .sw-label-short { display: none; }
.sw-sub { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 500; opacity: .92; letter-spacing: .1px; }
.sw-sub-full { display: inline; } .sw-sub-short { display: none; }
.sw-sub-tel { font-variant-numeric: tabular-nums; opacity: .88; }
.sw-online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; flex-shrink: 0; border: 1.5px solid rgba(255,255,255,.4); animation: swDotGlow 1.6s ease-in-out infinite; will-change: box-shadow, transform; }
.sw-closed .sw-online-dot { background: #f5a524; animation: none; }
@keyframes swDotGlow { 0%, 100% { box-shadow: 0 0 6px rgba(74,222,128,.8), 0 0 2px rgba(74,222,128,1), 0 0 0 0 rgba(74,222,128,.5); transform: scale(1); } 50% { box-shadow: 0 0 16px rgba(74,222,128,1), 0 0 6px rgba(255,255,255,.6), 0 0 0 4px rgba(74,222,128,.15); transform: scale(1.18); } }
.sw-btn-watson .sw-online-dot { border-color: rgba(26,18,6,.35); }
@media (max-width: 720px) { .sw-sticky { gap: 7px; padding: 7px; } .sw-btn { padding: 10px 14px; font-size: .9rem; gap: 9px; } .sw-watson-w { font-size: 1.3rem; } .sw-sub { font-size: .66rem; } }
@media (max-width: 520px) {
  .sw-sticky-wrap { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .sw-sticky { gap: 6px; padding: 6px; border-radius: 22px; animation: swEnterMobile .9s var(--ease) backwards; }
  .sw-btn { flex: 1; padding: 11px 8px; font-size: .85rem; gap: 8px; justify-content: center; min-width: 0; }
  .sw-icon { width: 20px; height: 20px; } .sw-watson-w { font-size: 1.32rem; }
  .sw-text { gap: 2px; } .sw-sub { font-size: .65rem; gap: 5px; }
  .sw-online-dot { width: 8px; height: 8px; border-width: 1px; }
  .sw-label-full { display: none; } .sw-label-short { display: inline; }
  .sw-sub-full { display: none; } .sw-sub-short { display: inline; }
  .sw-label, .sw-sub { overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
  @keyframes swEnterMobile { 0% { opacity: 0; transform: translateY(80px) scale(.94); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
  body.dh-has-chat { padding-bottom: 102px !important; }
}
@media (min-width: 420px) and (max-width: 520px) {
  .sw-sticky { padding: 7px; gap: 7px; }
  .sw-btn { padding: 13px 10px; font-size: .92rem; gap: 9px; }
  .sw-icon { width: 22px; height: 22px; } .sw-watson-w { font-size: 1.42rem; }
  .sw-sub { font-size: .72rem; gap: 6px; }
  .sw-online-dot { width: 9px; height: 9px; border-width: 1.5px; }
  body.dh-has-chat { padding-bottom: 110px !important; }
}
@media (max-width: 380px) {
  .sw-text { display: none !important; }
  .sw-btn { padding: 14px 0; }
  .sw-icon { width: 24px; height: 24px; position: relative; }
  .sw-watson-w { font-size: 1.55rem; }
  .sw-btn-wa .sw-icon::after, .sw-btn-watson .sw-icon::after { content: ''; position: absolute; top: -2px; right: -3px; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.4); animation: swDotGlow 1.6s ease-in-out infinite; }
  body.dh-has-chat { padding-bottom: 86px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .sw-sticky-wrap { bottom: 6px; }
  .sw-sticky { padding: 5px; gap: 5px; }
  .sw-btn { padding: 7px 12px; font-size: .8rem; }
  .sw-icon { width: 18px; height: 18px; } .sw-watson-w { font-size: 1.15rem; }
  .sw-sub { font-size: .6rem; }
  .sw-online-dot { animation: none; }
  body.dh-has-chat { padding-bottom: 60px; }
}
@media (min-width: 1800px) {
  .sw-btn { padding: 12px 24px; font-size: 1rem; }
  .sw-icon { width: 24px; height: 24px; } .sw-watson-w { font-size: 1.55rem; }
  .sw-sub { font-size: .78rem; }
  .sw-online-dot { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-sticky, .sw-online-dot, html body #dh-root .dh-chat-msg, html body #dh-root .dh-progress span.on, .sw-sticky-wrap .dh-teaser { animation: none !important; }
  .sw-btn, .sw-watson-w, html body #dh-root .dh-chat-panel { transition: none !important; }
}
