/* Ask Dova Care — customer service widget (views/partials/care_widget.php, assets/js/care_widget.js).
   Launcher bottom-right (label on desktop, icon on phones), panel slides up, full-screen sheet on phones.
   --dvc-b is set by the script to sit above sticky bars and the cookie banner. Dark: html[data-theme=dark] + --dk-*. */
.dvc.dk-keep{--dvc-b:20px;--dvc-r:20px;--dvc-brand:#5418F0;--dvc-blue:#2F6FF2;--dvc-ink:#0A1737;--dvc-ink2:#3A4562;--dvc-mut:#687391;--dvc-bg:#fff;--dvc-soft:#F6F8FC;--dvc-line:#E4E8F0;
  position:fixed;right:var(--dvc-r);bottom:var(--dvc-b);z-index:880;font-family:Mulish,system-ui,sans-serif;transition:bottom .25s ease}
.dvc.dk-keep *{box-sizing:border-box}
.dk-keep .dvc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dk-keep .dvc-l{position:relative;display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 20px 0 16px;border:0;border-radius:999px;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,#5418F0 0%,#3274F4 100%);box-shadow:0 12px 28px -6px rgba(84,24,240,.45),0 2px 6px rgba(10,23,55,.18);font:800 14.5px Figtree,Mulish,sans-serif;letter-spacing:.01em;
  transition:transform .18s ease,box-shadow .18s ease,opacity .2s}
.dk-keep .dvc-l:hover{transform:translateY(-2px);box-shadow:0 16px 32px -6px rgba(84,24,240,.5),0 2px 6px rgba(10,23,55,.2)}
.dk-keep .dvc-l:focus-visible,.dk-keep .dvc-x:focus-visible,.dk-keep .dvc-send:focus-visible,.dk-keep .dvc-chip:focus-visible,.dk-keep .dvc-ln:focus-visible,.dk-keep .dvc-sg:focus-visible{outline:3px solid #F5B70A;outline-offset:2px}
.dk-keep .dvc-l svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dk-keep .dvc-dot{position:absolute;top:4px;right:6px;width:13px;height:13px;border-radius:50%;background:#E5484D;border:2px solid #fff;animation:dvcPulse 1.6s ease-in-out infinite}
.dk-keep .dvc-dot[hidden]{display:none}
@keyframes dvcPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
.dvc.dk-keep.open .dvc-l{opacity:0;pointer-events:none;transform:scale(.9)}
.dk-keep .dvc-p{padding:0;margin:0;position:absolute;right:0;bottom:0;width:400px;max-width:calc(100vw - 32px);height:min(640px,calc(100vh - var(--dvc-b) - 24px));background:var(--dvc-bg);color:var(--dvc-ink);
  border:1px solid #DDD3FF;border-radius:20px;box-shadow:0 24px 60px -12px rgba(10,23,55,.35),0 4px 14px rgba(10,23,55,.08);display:flex;flex-direction:column;overflow:hidden;
  transform-origin:bottom right;animation:dvcUp .26s cubic-bezier(.2,.8,.2,1)}
.dk-keep .dvc-p[hidden]{display:none}
@keyframes dvcUp{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
.dk-keep .dvc-h{display:flex;align-items:center;gap:11px;padding:14px 14px 13px 16px;background:linear-gradient(135deg,#5418F0 0%,#3274F4 100%);color:#fff}
.dk-keep .dvc-av{width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center;flex:none}
.dk-keep .dvc-av svg{width:26px;height:26px}
.dk-keep .dvc-ht{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.dk-keep .dvc-ht strong{font:800 16px Figtree,Mulish,sans-serif;color:#fff;letter-spacing:.01em}
.dk-keep .dvc-ht small{display:flex;align-items:center;gap:6px;font:600 11.5px Mulish,sans-serif;color:rgba(255,255,255,.86);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dk-keep .dvc-live{width:7px;height:7px;border-radius:50%;background:#5BE49B;box-shadow:0 0 0 3px rgba(91,228,155,.25);flex:none}
.dk-keep .dvc-x{width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.dk-keep .dvc-x:hover{background:rgba(255,255,255,.24)}
.dk-keep .dvc-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.dk-keep .dvc-st{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#E3F4EC;color:#17694A;font:700 12px Mulish,sans-serif;border-bottom:1px solid #CBE9D9}
.dk-keep .dvc-st[hidden]{display:none}
.dk-keep .dvc-st::before{content:"";width:8px;height:8px;border-radius:50%;background:#1E9E62;flex:none}
.dk-keep .dvc-log{flex:1;overflow-y:auto;padding:16px 14px 10px;display:flex;flex-direction:column;gap:10px;background:var(--dvc-soft);scroll-behavior:smooth;overscroll-behavior:contain}
.dk-keep .dvc-log:focus-visible{outline:2px solid #8FB0FF;outline-offset:-2px}
.dk-keep .dvc-m{max-width:86%;display:flex;flex-direction:column;gap:6px}
.dk-keep .dvc-m.u{align-self:flex-end;align-items:flex-end}
.dk-keep .dvc-m.a,.dk-keep .dvc-m.h{align-self:flex-start}
.dk-keep .dvc-b{padding:10px 13px;border-radius:16px;font:600 13.5px/1.5 Mulish,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
.dk-keep .dvc-m.u .dvc-b{background:var(--dvc-blue);color:#fff;border-bottom-right-radius:5px}
.dk-keep .dvc-m.a .dvc-b{background:#fff;color:var(--dvc-ink);border:1px solid var(--dvc-line);border-bottom-left-radius:5px}
.dk-keep .dvc-m.h .dvc-b{background:#E3F4EC;color:#0F4D35;border:1px solid #BFE3CF;border-bottom-left-radius:5px}
.dk-keep .dvc-b a{color:inherit;text-decoration:underline}
.dk-keep .dvc-meta{font:700 10.5px Mulish,sans-serif;color:#98A2BC;padding:0 4px}
.dk-keep .dvc-acts{display:flex;flex-wrap:wrap;gap:6px}
.dk-keep .dvc-ln{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px;border-radius:999px;border:1px solid #CFC2FF;background:#F4F0FF;color:var(--dvc-brand);font:800 12px Mulish,sans-serif;text-decoration:none;cursor:pointer}
.dk-keep .dvc-ln:hover{background:#EAE2FF}
.dk-keep .dvc-ln svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dk-keep .dvc-typing{display:inline-flex;gap:4px;padding:13px 14px}
.dk-keep .dvc-typing i{width:7px;height:7px;border-radius:50%;background:#98A2BC;animation:dvcDot 1.1s infinite ease-in-out}
.dk-keep .dvc-typing i:nth-child(2){animation-delay:.15s}.dk-keep .dvc-typing i:nth-child(3){animation-delay:.3s}
@keyframes dvcDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.dk-keep .dvc-sgs{display:flex;flex-direction:column;gap:7px;margin:2px 0 4px}
.dk-keep .dvc-sgs>span{font:800 10.5px Mulish,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--dvc-mut);padding-left:2px}
.dk-keep .dvc-sg{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;border-radius:14px;border:1px solid #DDD3FF;background:linear-gradient(135deg,#FBF9FF,#F3F7FF);color:var(--dvc-ink);cursor:pointer;text-decoration:none;font:inherit}
.dk-keep .dvc-sg:hover{border-color:#B9A6FF}
.dk-keep .dvc-sg b{display:block;font:800 13px Mulish,sans-serif}
.dk-keep .dvc-sg small{display:block;font:600 11.5px Mulish,sans-serif;color:var(--dvc-mut);margin-top:1px}
.dk-keep .dvc-sg>i{width:30px;height:30px;border-radius:9px;background:#F1ECFF;color:var(--dvc-brand);display:grid;place-items:center;flex:none;font-style:normal}
.dk-keep .dvc-sg>i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dk-keep .dvc-chips{display:flex;gap:7px;padding:9px 12px 3px;overflow-x:auto;scrollbar-width:none;background:var(--dvc-bg);border-top:1px solid #EEF1F7}
.dk-keep .dvc-chips::-webkit-scrollbar{display:none}
.dk-keep .dvc-chips:empty{display:none}
.dk-keep .dvc-chip{flex:none;height:32px;padding:0 13px;border-radius:999px;border:1px solid #D6DCEA;background:#fff;color:var(--dvc-ink2);font:700 12.5px Mulish,sans-serif;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.dk-keep .dvc-chip:hover{border-color:var(--dvc-brand);color:var(--dvc-brand);background:#F7F4FF}
.dk-keep .dvc-chip.person{border-color:#BFE3CF;color:#17694A;background:#F1FAF5}
.dk-keep .dvc-f{display:flex;gap:8px;padding:9px 12px 8px;background:var(--dvc-bg)}
.dk-keep .dvc-f input{flex:1;min-width:0;height:44px;border:1.5px solid #D6DCEA;border-radius:14px;padding:0 14px;font:600 14px Mulish,sans-serif;color:var(--dvc-ink);background:#fff}
.dk-keep .dvc-f input:focus{outline:none;border-color:var(--dvc-brand);box-shadow:0 0 0 3px rgba(84,24,240,.14)}
.dk-keep .dvc-send{width:44px;height:44px;border-radius:14px;border:0;background:var(--dvc-brand);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.dk-keep .dvc-send:hover{background:#4510D6}
.dk-keep .dvc-send[disabled]{opacity:.55;cursor:default}
.dk-keep .dvc-send svg{width:19px;height:19px;fill:currentColor}
.dk-keep .dvc-foot{margin:0;padding:0 14px 10px;font:600 10.5px/1.4 Mulish,sans-serif;color:#98A2BC;background:var(--dvc-bg)}
.dk-keep .dvc-foot:empty{display:none}
/* phones: icon launcher, full-screen sheet */
@media (max-width:600px){
  .dvc.dk-keep{--dvc-r:14px}
  .dk-keep .dvc-l{width:56px;height:56px;padding:0;justify-content:center}
  .dk-keep .dvc-lt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .dk-keep .dvc-l svg{width:25px;height:25px}
  .dvc.dk-keep.open{right:0;bottom:0;left:0;top:0}
  .dvc.dk-keep.open .dvc-p{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;border-radius:0;border:0;animation-name:dvcSheet}
  .dk-keep .dvc-h{padding-top:calc(12px + env(safe-area-inset-top))}
  .dk-keep .dvc-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .dk-keep .dvc-f input{font-size:16px}
}
@keyframes dvcSheet{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.dvc.dk-keep,.dk-keep .dvc-l,.dk-keep .dvc-p,.dk-keep .dvc-dot,.dk-keep .dvc-typing i{animation:none!important;transition:none!important}}
html.dvc-lock,html.dvc-lock body{overflow:hidden}
/* dark */
html[data-theme="dark"] .dvc.dk-keep{--dvc-bg:var(--dk-surface,#2A2F38);--dvc-soft:var(--dk-bg,#22262E);--dvc-line:var(--dk-border,#3F4653);--dvc-ink:var(--dk-text,#DFE4EB);--dvc-ink2:var(--dk-text-2,#C2C9D4);--dvc-mut:var(--dk-muted,#A0A8B6)}
html[data-theme="dark"] .dk-keep .dvc-p{border-color:var(--dk-border,#3F4653);box-shadow:0 24px 60px -12px rgba(0,0,0,.7)}
html[data-theme="dark"] .dk-keep .dvc-h{background:linear-gradient(135deg,#3E1BB0 0%,#2C5CC4 100%)}
html[data-theme="dark"] .dk-keep .dvc-l{box-shadow:0 12px 28px -6px rgba(0,0,0,.6)}
html[data-theme="dark"] .dk-keep .dvc-dot{border-color:var(--dk-bg,#22262E)}
html[data-theme="dark"] .dk-keep .dvc-m.a .dvc-b{background:var(--dk-raised,#333944);color:var(--dk-text,#DFE4EB);border-color:var(--dk-border,#3F4653)}
html[data-theme="dark"] .dk-keep .dvc-m.u .dvc-b{background:var(--dk-primary,#4471D6)}
html[data-theme="dark"] .dk-keep .dvc-m.h .dvc-b{background:var(--dk-green-bg,#253E33);color:var(--dk-green-fg,#86D3A8);border-color:var(--dk-green-bd,#36604C)}
html[data-theme="dark"] .dk-keep .dvc-meta,html[data-theme="dark"] .dk-keep .dvc-foot{color:var(--dk-faint,#9098A7)}
html[data-theme="dark"] .dk-keep .dvc-ln{background:var(--dk-violet-bg,#372F52);color:var(--dk-violet-fg,#C4B4F8);border-color:#4D4275}
html[data-theme="dark"] .dk-keep .dvc-sg{background:var(--dk-raised,#333944);border-color:var(--dk-border,#3F4653);color:var(--dk-text,#DFE4EB)}
html[data-theme="dark"] .dk-keep .dvc-sg>i{background:var(--dk-violet-bg,#372F52);color:var(--dk-violet-fg,#C4B4F8)}
html[data-theme="dark"] .dk-keep .dvc-chips{border-color:var(--dk-border,#3F4653)}
html[data-theme="dark"] .dk-keep .dvc-chip{background:var(--dk-raised,#333944);border-color:var(--dk-border-2,#566072);color:var(--dk-text-2,#C2C9D4)}
html[data-theme="dark"] .dk-keep .dvc-chip:hover{color:#fff;border-color:var(--dk-violet-fg,#C4B4F8);background:var(--dk-violet-bg,#372F52)}
html[data-theme="dark"] .dk-keep .dvc-chip.person{background:var(--dk-green-bg,#253E33);border-color:var(--dk-green-bd,#36604C);color:var(--dk-green-fg,#86D3A8)}
html[data-theme="dark"] .dk-keep .dvc-f input{background:var(--dk-bg,#22262E);border-color:var(--dk-border-2,#566072);color:var(--dk-text,#DFE4EB)}
html[data-theme="dark"] .dk-keep .dvc-st{background:var(--dk-green-bg,#253E33);color:var(--dk-green-fg,#86D3A8);border-color:var(--dk-green-bd,#36604C)}
@media print{.dvc{display:none!important}}
