:root{
  --bg:#F6F7FB; --surface:#FFFFFF; --card:#FFFFFF; --border:#D9DEEB;
  --text:#0A0A12; --muted:#454F63; --blue:#0055FF; --blue-hover:#0055d4;
  --tile:#FFFFFF; --shadow:0 12px 32px rgba(16,24,64,.10); --grad:linear-gradient(135deg,#0055FF,#3D7BFF);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;font-weight:400;line-height:1.65;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
h1,h2,h3{letter-spacing:-.02em;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
header.site{position:sticky;top:0;z-index:40;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 1px 0 rgba(16,24,64,.03)}
.hbar{display:flex;align-items:center;gap:18px;padding:13px 0}
.brand{display:flex;align-items:center;gap:11px;font-weight:800}
.brand img{width:34px;height:34px}
.brand small{display:block;font-weight:600;color:var(--muted);font-size:10.5px;letter-spacing:1.2px}
nav.main{display:flex;gap:4px;margin-left:10px;flex-wrap:wrap}
nav.main a{padding:8px 13px;border-radius:10px;font-weight:600;font-size:14.5px;color:var(--muted)}
nav.main a.on,nav.main a:hover{background:rgba(0,85,255,.1);color:var(--blue)}
.hsp{flex:1}
.hbtn{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;padding:8px 14px;font-weight:600;font-size:14px}
.hbtn:hover{border-color:var(--blue);color:var(--blue)}
.hero{text-align:center;padding:58px 0 8px}
.hero h1{font-size:clamp(32px,5vw,50px);font-weight:800;letter-spacing:-.5px}
.hero p{color:var(--muted);max-width:660px;margin:14px auto 0;font-size:16.5px}
.searchbox{max-width:640px;margin:26px auto 0;position:relative}
.searchbox input{width:100%;padding:16px 110px 16px 18px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:16px;box-shadow:var(--shadow);outline:none}
.searchbox input:focus{border-color:var(--blue)}
.searchbox .kbd{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:12.5px;border:1px solid var(--border);border-radius:6px;padding:2px 8px}
.sresults{max-width:640px;margin:10px auto 0;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;display:none}
.sresults a{display:flex;gap:10px;align-items:center;padding:11px 16px;border-bottom:1px solid var(--border);font-weight:600;font-size:14.5px}
.sresults a:last-child{border-bottom:0}
.sresults a:hover{background:rgba(0,85,255,.06)}
.sresults small{color:var(--muted);font-weight:500}
section.blk{padding:34px 0 6px}
section.blk h2{font-size:23px;font-weight:800;margin-bottom:16px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px;transition:.18s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(0,85,255,.4)}
.tile{background:var(--tile);border:1px solid var(--border);border-radius:12px;height:84px;display:flex;align-items:center;justify-content:center;padding:12px;margin-bottom:14px}
.tile img{max-height:54px;max-width:100%}
.card h3{font-size:17px}
.tagline{color:var(--blue);font-weight:700;font-size:13.5px}
.card p{color:var(--muted);font-size:14px;margin-top:6px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tags span{font-size:12.5px;background:rgba(0,85,255,.08);color:var(--muted);border-radius:99px;padding:3px 10px;font-weight:600}
.badge{float:right;font-size:12px;font-weight:700;border-radius:99px;padding:3px 10px;background:rgba(34,197,94,.12);color:#16A34A}
.btn{display:inline-block;padding:11px 20px;border-radius:11px;font-weight:700;font-size:14.5px;border:1px solid transparent;transition:.15s}
.btn-p{background:var(--grad);color:#fff;box-shadow:0 6px 18px rgba(0,85,255,.26)}.btn-p:hover{filter:brightness(1.08)}
.btn-g{border-color:var(--border);color:var(--text);background:var(--surface)}.btn-g:hover{border-color:var(--blue);color:var(--blue)}
.btnrow{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.list a{display:flex;justify-content:space-between;align-items:center;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px 18px;margin-bottom:10px;font-weight:600}
.list a:hover{border-color:var(--blue)}
.list small{color:var(--muted);font-weight:500}
.helpgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.mail{color:var(--blue);font-weight:700}
footer.site{border-top:1px solid var(--border);margin-top:54px;padding:26px 0 42px;color:var(--muted);font-size:14px;text-align:center}
.doc{display:grid;grid-template-columns:210px 1fr;gap:28px;padding:30px 0}
@media(max-width:760px){.doc{grid-template-columns:1fr}}
.toc{position:sticky;top:84px;align-self:start;font-size:14px}
.toc a{display:block;padding:5px 0;color:var(--muted);font-weight:600}
.toc a:hover{color:var(--blue)}
.prose h2{margin:22px 0 8px;font-size:21px}
.prose p{margin:8px 0;color:var(--text)}
.prose ul,.prose ol{margin:8px 0 8px 20px}
form.f{display:grid;gap:13px;max-width:620px}
form.f label{font-weight:700;font-size:14px;display:grid;gap:6px}
form.f input,form.f select,form.f textarea{padding:12px 14px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:15px;font-family:inherit;outline:none}
form.f input:focus,form.f select:focus,form.f textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,85,255,.18);outline:none}
img{image-rendering:-webkit-optimize-contrast}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border);border-radius:8px}::-webkit-scrollbar-track{background:transparent}
.note{background:rgba(0,85,255,.07);border:1px solid rgba(0,85,255,.25);border-radius:12px;padding:14px 16px;font-size:14.5px}
.err{background:rgba(220,38,38,.08);border:1px solid rgba(220,38,38,.3);border-radius:12px;padding:12px 16px;font-size:14.5px;color:#DC2626}
/* Chat launcher + panel */
#zex-launcher{position:fixed;right:22px;bottom:22px;z-index:90;background:var(--blue);color:#fff;border:0;border-radius:99px;padding:13px 22px;font-weight:800;font-size:15px;display:flex;gap:9px;align-items:center;box-shadow:0 14px 34px rgba(0,85,255,.4)}
#zex-launcher:hover{background:var(--blue-hover)}
#zex-launcher .dot{width:9px;height:9px;border-radius:50%;background:#4ADE80}
#zex-panel{position:fixed;right:22px;bottom:22px;z-index:95;width:min(392px,calc(100vw - 24px));height:min(640px,calc(100vh - 40px));background:var(--surface);border:1px solid var(--border);border-radius:20px;box-shadow:0 30px 70px rgba(5,10,40,.35);display:none;flex-direction:column;overflow:hidden}
#zex-panel.open{display:flex}
.zp-head{background:linear-gradient(135deg,#0055FF,#0038B8);color:#fff;padding:18px 18px 14px}
.zp-head .row{display:flex;align-items:center;gap:10px}
.zp-head img{width:30px;height:30px;background:#fff;border-radius:8px;padding:3px}
.zp-head b{font-size:16.5px}
.zp-head .x{margin-left:auto;background:rgba(255,255,255,.16);border:0;color:#fff;width:30px;height:30px;border-radius:9px;font-size:15px}
.zp-head .live{font-size:12.5px;opacity:.92;display:flex;gap:6px;align-items:center;margin-top:3px}
.zp-head .live i{width:8px;height:8px;border-radius:50%;background:#4ADE80;display:inline-block}
.zp-body{flex:1;overflow-y:auto;padding:16px;background:var(--bg)}
.zp-greet{font-size:24px;font-weight:800;line-height:1.25;margin:4px 0 14px}
.zp-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:15px 16px;margin-bottom:12px;text-align:left;width:100%;display:block}
.zp-card:hover{border-color:var(--blue)}
.zp-card b{font-size:15px;display:block}
.zp-card span{color:var(--muted);font-size:13.5px}
.zp-search{display:flex;gap:8px;margin-bottom:10px}
.zp-search input{flex:1;padding:11px 13px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14.5px;outline:none}
.zp-art{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:11px 14px;margin-bottom:8px;font-weight:600;font-size:14px;color:var(--text)}
.zp-art:hover{border-color:var(--blue);color:var(--blue)}
.zp-tabs{display:flex;border-top:1px solid var(--border);background:var(--surface)}
.zp-tabs button{flex:1;background:none;border:0;padding:11px 0 13px;font-weight:700;font-size:13px;color:var(--muted)}
.zp-tabs button.on{color:var(--blue)}
.msg{display:flex;margin-bottom:12px}
.msg .b{max-width:84%;padding:11px 14px;border-radius:15px;font-size:15px;white-space:pre-wrap;word-break:break-word}
.msg.u{justify-content:flex-end}
.msg.u .b{background:var(--blue);color:#fff;border-bottom-right-radius:5px}
.msg.a .b{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:5px}
.msg .b img{max-width:100%;border-radius:10px;display:block;margin-bottom:7px}
.cite{display:block;margin-top:8px;font-size:12.5px}
.cite a{color:var(--blue);font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 12px}
.chips button{border:1px solid rgba(0,85,255,.35);background:rgba(0,85,255,.06);color:var(--blue);font-weight:700;font-size:13px;border-radius:99px;padding:7px 13px}
.composer{border-top:1px solid var(--border);background:var(--surface);padding:10px}
.composer .att{display:none;align-items:center;gap:8px;font-size:13px;margin-bottom:8px}
.composer .att img{width:38px;height:38px;object-fit:cover;border-radius:8px}
.composer .row{display:flex;gap:6px;align-items:flex-end}
.composer textarea{flex:1;resize:none;max-height:96px;padding:11px 12px;border-radius:12px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:14.5px;font-family:inherit;outline:none}
.icobtn{border:1px solid var(--border);background:var(--surface);border-radius:11px;width:40px;height:40px;font-size:17px;flex:none}
.icobtn.rec{background:#DC2626;color:#fff;border-color:#DC2626}
.sendbtn{background:var(--blue);color:#fff;border:0;border-radius:11px;width:44px;height:40px;font-size:17px;flex:none}
.voice-note{font-size:13px;color:#DC2626;padding:6px 2px 0;display:none}
.emojis{display:none;flex-wrap:wrap;gap:4px;padding:8px 2px 0}
.emojis button{background:none;border:0;font-size:19px;padding:3px}
.mini{font-size:13px;color:var(--muted)}
.listen{background:none;border:0;color:var(--blue);font-weight:700;font-size:12.5px;padding:4px 0 0}
/* Image lightbox — opens in front, no page change */
.lb{position:fixed;inset:0;z-index:200;background:rgba(5,8,20,.88);display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}
.lb.open{display:flex}
.lb img{max-width:100%;max-height:92vh;object-fit:contain;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lb .lbx{position:absolute;top:16px;right:16px;width:42px;height:42px;border-radius:12px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:19px}
.msg .b img,.prose img,.docimg{cursor:zoom-in}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:13px;margin:16px 0 6px}
.stat{background:var(--card);border:1px solid var(--border);border-radius:15px;padding:16px;transition:.18s}
.stat:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.stat b{font-size:25px;display:block;line-height:1.15}
.stat span{color:var(--muted);font-size:13px;font-weight:600}
.card,.btn,.hbtn,.zp-card,.zp-art{transition:all .18s ease}
.team{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 4px}
.mate{display:flex;align-items:center;gap:9px;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:8px 13px 8px 8px;font-size:13.5px}
.mate .av{width:32px;height:32px;border-radius:9px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;position:relative}
.mate .av i{position:absolute;right:-2px;bottom:-2px;width:9px;height:9px;border-radius:50%;background:#22C55E;border:2px solid var(--card)}
.mate small{color:var(--muted);display:block;line-height:1.25}
.desk{display:grid;grid-template-columns:320px 1fr;gap:16px;margin-top:12px}
@media(max-width:820px){.desk{grid-template-columns:1fr}}
.conv{display:block;width:100%;text-align:left;background:var(--card);border:1px solid var(--border);border-radius:13px;padding:12px 14px;margin-bottom:9px;color:var(--text)}
.conv.on{border-color:var(--blue);box-shadow:var(--shadow)}
.conv b{font-size:14.5px}
.conv small{color:var(--muted);display:block}
.thread{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px}
.cinfo{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:13px 15px;font-size:14px;margin-bottom:14px}
.atabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 2px}
.atabs button{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;padding:8px 16px;font-weight:600;font-size:14px;cursor:pointer;font-family:inherit}
.atabs button.on{background:linear-gradient(135deg,#0055FF,#3D7BFF);border-color:transparent;color:#fff;box-shadow:0 4px 14px rgba(0,85,255,.30)}
.chipf{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.chipf button{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:99px;padding:6px 13px;font-weight:700;font-size:13px}
.chipf button.on{background:var(--blue);border-color:var(--blue);color:#fff}
::selection{background:rgba(0,85,255,.22)}
*{scrollbar-width:thin;scrollbar-color:rgba(120,130,150,.45) transparent}
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-thumb{background:rgba(120,130,150,.4);border-radius:99px;border:2px solid transparent;background-clip:content-box}
.hbtn{height:40px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
#zex-launcher{background:linear-gradient(135deg,#0A63FF,#0040C8);box-shadow:0 14px 34px rgba(0,85,255,.45),0 0 0 5px rgba(0,85,255,.10)}
#zex-launcher .dot{animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)}70%{box-shadow:0 0 0 8px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
.msg .b.note-b{background:rgba(245,197,66,.14);border:1px dashed rgba(200,150,20,.55);color:var(--text)}
@media(max-width:880px){ .kbdt,.tlbl{display:none} }
/* Minimal brand cards (fresh, clean) */
.bcard{display:flex;flex-direction:column;height:100%}
.btop{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.blogo{width:52px;height:52px;border:1px solid var(--border);border-radius:14px;display:flex;align-items:center;justify-content:center;padding:9px;background:#fff}
.blogo img{max-width:100%;max-height:100%}
.bstat{font-size:12px;font-weight:700;color:#16A34A;display:flex;gap:6px;align-items:center;padding-top:4px}
.bstat i{width:7px;height:7px;border-radius:50%;background:#22C55E;display:inline-block}
.babout{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bfoot{display:flex;align-items:center;gap:13px;margin-top:auto;padding-top:17px}
.bsp{flex:1}
.blink{font-weight:700;color:var(--blue);font-size:14px;white-space:nowrap}
.blink:hover{text-decoration:underline}
/* Icon alignment */
.zp-tabs button{display:flex;flex-direction:column;align-items:center;gap:3px}
.chips button{display:inline-flex;align-items:center;gap:6px}
.icobtn{display:inline-flex;align-items:center;justify-content:center}
.hbtn{display:inline-flex;align-items:center;gap:7px}
.listen{display:inline-flex;align-items:center;gap:5px}
.sendbtn{display:inline-flex;align-items:center;justify-content:center}
/* Messenger-style thread (admin desk + track) */
.thread{padding:0;overflow:hidden}
.thead{display:flex;align-items:center;gap:11px;padding:14px 16px;border-bottom:1px solid var(--border)}
.thead .av{width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}
.thead .tn{flex:1;min-width:0}
.thead .tn b{display:block;font-size:15px}
.thead .tn small{color:var(--muted);font-size:12.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tstat{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:7px 9px;font-weight:700;font-size:13px}
.tchat{display:flex;flex-direction:column;gap:2px;background:var(--bg);padding:16px;max-height:430px;overflow-y:auto}
.tchat .msg{margin-bottom:9px}
.msg .tm{display:block;font-size:11px;opacity:.72;margin-top:5px;font-weight:600}
.tcomp{display:flex;gap:7px;align-items:flex-end;padding:11px;border-top:1px solid var(--border);background:var(--surface)}
.tcomp textarea{flex:1;resize:none;max-height:96px;padding:11px 13px;border-radius:12px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:14.5px;font-family:inherit;outline:none}
.tcomp .icobtn{display:flex;align-items:center;justify-content:center}
#navBtn{display:none}
@media(max-width:880px){
  #navBtn{display:block;margin-left:auto}
  .hbar{gap:9px;flex-wrap:nowrap}
  .brand{font-size:15px}
  .brand>span{white-space:nowrap}
  .brand small{display:none}
  body.navopen main{visibility:hidden}
  nav.main{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);padding:8px 14px 12px;margin:0;z-index:50}
  nav.main.open{display:flex;border-bottom-left-radius:18px;border-bottom-right-radius:18px;box-shadow:0 34px 54px rgba(5,10,40,.28)}
  nav.main a{padding:13px 10px;font-size:16px;border-radius:10px}
  .hbtn{padding:8px 11px;font-size:13.5px}
  .hero{padding:34px 0 2px}
  .hero p{font-size:15.5px}
  section.blk{padding:26px 0 4px}
  main.wrap{padding-bottom:96px}
  #zex-launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:57px;height:57px;border-radius:50%;padding:0;justify-content:center;gap:0}
  #zex-launcher .ltxt{display:none}
  #zex-launcher svg{width:24px;height:24px}
  #zex-launcher .dot{position:absolute;top:11px;right:11px}
  #zex-panel{right:0;bottom:0;width:100%;height:100dvh;border-radius:0;border:0}
  .grid3{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .searchbox .kbd{display:none}
  .searchbox input{padding-right:16px}
}
@media(max-width:480px){ .grid{grid-template-columns:1fr} }
table.t{width:100%;border-collapse:collapse;font-size:14px}
table.t th,table.t td{border-bottom:1px solid var(--border);padding:9px 8px;text-align:left}
.pill{font-size:12px;font-weight:700;border-radius:99px;padding:2px 9px;background:rgba(0,85,255,.1);color:var(--blue)}

/* Chat premium pass — custom icons, modern panel, mobile-first */
#zex-panel.open{animation:zpIn .28s cubic-bezier(.2,.9,.3,1.15)}
@keyframes zpIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
#zex-launcher{transition:transform .18s ease, box-shadow .18s ease}
#zex-launcher:hover{transform:translateY(-2px)}
#zex-launcher:active{transform:scale(.96)}
.zp-head .x{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18)}
.zp-head .x:hover{background:rgba(255,255,255,.32)}
.zp-tabs button svg{width:22px;height:22px}
.zp-tabs button{position:relative}
.zp-tabs button.on::before{content:"";position:absolute;top:0;left:24%;right:24%;height:3px;border-radius:0 0 4px 4px;background:var(--blue)}
.icobtn{width:44px;height:44px;border-radius:50%}
.sendbtn{width:46px;height:46px;border-radius:50%;background:var(--grad);box-shadow:0 6px 16px rgba(0,85,255,.35)}
.sendbtn svg{width:20px;height:20px;margin-left:2px}
.msg .b{border-radius:18px;box-shadow:0 2px 8px rgba(10,15,40,.05)}
.msg.u .b{border-bottom-right-radius:6px}
.msg.a .b{border-bottom-left-radius:6px}
.composer textarea{font-size:15.5px}
@media(max-width:880px){
  .composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .composer textarea{font-size:16px}
  .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
  .chips::-webkit-scrollbar{display:none}
  .chips button{flex:none}
  .zp-tabs button{padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
  #zex-panel.open{animation:zpUp .3s ease}
  @keyframes zpUp{from{transform:translateY(26px);opacity:.5}to{transform:none;opacity:1}}
}

/* Admin desk empty state */
.tempty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:58px 22px;color:var(--muted);min-height:300px}
.tempty .tic{width:66px;height:66px;border-radius:50%;background:rgba(0,85,255,.08);color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.tempty .tic svg{width:30px;height:30px}
.tempty b{color:var(--text);font-size:16.5px}
.tempty span{font-size:13.5px;max-width:300px}

/* Launcher — reference bubble pill */
#zex-launcher{background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:0 16px 38px rgba(5,10,40,.20),0 0 0 5px rgba(0,85,255,.07)}
#zex-launcher:hover{background:var(--surface)}
.bwrap{position:relative;display:inline-flex;flex:none}
#zex-launcher .bwrap .dot{position:absolute;top:-3px;right:-4px;width:11px;height:11px;border:2px solid var(--surface);background:#22C55E;border-radius:50%}
@media(max-width:880px){
  #zex-launcher svg{width:31px;height:31px}
  #zex-launcher .bwrap .dot{top:-2px;right:-3px}
}

/* Panel header buttons: sound sits right, close after it */
.zp-head .x{margin-left:0}
.zp-head #zp-sound{margin-left:auto}

/* Heavy polish — light only */
body{background:radial-gradient(1100px 500px at 50% -180px, rgba(0,85,255,.09), transparent 65%), var(--bg)}
header.site{box-shadow:0 6px 24px rgba(16,24,64,.06)}
.hero h1{background:linear-gradient(92deg,#0A1633 20%,#0055FF 55%,#3D7BFF 80%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.searchbox input{box-shadow:0 14px 34px rgba(16,24,64,.10)}
.searchbox input:focus{box-shadow:0 16px 38px rgba(0,85,255,.18);border-color:var(--blue)}
.card,.stat,.zp-card,.note{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(16,24,64,.13);border-color:rgba(0,85,255,.35)}
.stat:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(16,24,64,.10)}
.conv{transition:border-color .15s ease, background .15s ease, transform .15s ease}
.conv:hover{border-color:rgba(0,85,255,.45);transform:translateX(2px)}
.conv.on{border-color:var(--blue);background:rgba(0,85,255,.05);box-shadow:0 8px 22px rgba(0,85,255,.10)}
.btn{transition:transform .12s ease, filter .15s ease, background .15s ease, box-shadow .15s ease}
.btn:active{transform:scale(.97)}
.list a{transition:border-color .15s ease, background .15s ease, padding-left .15s ease}
.list a:hover{border-color:rgba(0,85,255,.4);background:rgba(0,85,255,.03)}
.zp-head{background:linear-gradient(135deg,#0A63FF,#0038B8 70%);box-shadow:inset 0 -14px 28px rgba(0,20,80,.18)}
.chips button{transition:background .15s ease, color .15s ease, border-color .15s ease}
.chips button:hover{background:rgba(0,85,255,.12)}
.blogo{box-shadow:0 6px 16px rgba(16,24,64,.07)}
input,textarea,select{transition:border-color .15s ease, box-shadow .15s ease}
@media (prefers-reduced-motion: reduce){ *{animation:none!important;transition:none!important} }

/* Mobile header: logo only, icon-only controls */
@media(max-width:880px){
  .brand{display:none}
  .hbar{padding-left:2px;padding-right:2px}
  .slbl{display:none}
  #gsearch{padding:8px 11px}
  .hbar{gap:10px}
}

/* Launcher unread badge */
#zex-badge{position:absolute;top:-7px;left:-7px;min-width:20px;height:20px;border-radius:99px;background:#DC2626;color:#fff;font-size:11px;font-weight:800;display:none;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--surface);z-index:2}
#zex-badge.show{display:inline-flex}

/* ============ ZENDESK-GRADE PASS: light, crisp, airy ============ */
:root{--muted:#3D4A61; --line:#E2E9F4; --shadow:0 1px 2px rgba(16,24,40,.05)}
body{-webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility}
header.site{background:#fff}
.hero h1 span{background:none; -webkit-text-fill-color:var(--blue); color:var(--blue)}
.btn-p{background:var(--blue)}
.sendbtn{background:var(--blue)}
.card{box-shadow:0 1px 2px rgba(16,24,40,.05)}
.hero{padding:74px 0 58px}
.blk{padding-top:52px}
#zex-launcher{width:60px;height:60px;border-radius:50%;padding:0;gap:0;background:var(--blue);box-shadow:0 10px 26px rgba(0,85,255,.32);justify-content:center}
#zex-launcher .bub{position:relative;width:30px;height:30px;display:block}
#zex-launcher .bub svg{width:30px;height:30px;display:block}
#zex-launcher .dot{top:-3px;right:-3px}
#zex-launcher .zlbl{position:absolute;right:72px;top:50%;transform:translateY(-50%) translateX(6px);background:#0B1526;color:#fff;font-size:13.5px;font-weight:700;padding:9px 14px;border-radius:11px;white-space:nowrap;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 8px 22px rgba(10,20,50,.18)}
#zex-launcher:hover .zlbl{opacity:1;transform:translateY(-50%) translateX(0)}
@keyframes zexIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.msg .b.typing{padding:15px 17px}
.td i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8CA3C7;margin-right:4px;animation:tblink 1.15s infinite}
.td i:nth-child(2){animation-delay:.15s}.td i:nth-child(3){animation-delay:.3s;margin-right:0}
@keyframes tblink{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.rcpt{text-align:right;font-size:11.5px;color:var(--muted);margin:3px 4px 0}
.stars button{background:none;border:none;font-size:25px;line-height:1;color:#C7D2E4;cursor:pointer;padding:2px}
.stars button:hover{color:#F59E0B}
#zex-teaser{position:fixed;right:22px;bottom:96px;z-index:119;width:252px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 34px rgba(10,20,50,.14);padding:14px 16px;display:none;cursor:pointer;text-align:left}
#zex-teaser.show{display:block;animation:zexIn .28s ease}
#zex-teaser b{display:block;font-size:14.5px;margin-bottom:3px}
#zex-teaser span{font-size:13px;color:var(--muted);line-height:1.45;display:block}
#zt-x{position:absolute;top:5px;right:8px;background:none;border:none;color:var(--muted);cursor:pointer;font-size:13px;padding:4px}
@media (max-width:640px){ #zex-launcher{width:56px;height:56px} #zex-launcher .zlbl{display:none} #zex-teaser{right:16px;bottom:90px} }

/* customer message delete */
.msg{position:relative}
.mdel{position:absolute;left:-4px;top:-9px;width:21px;height:21px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:10px;line-height:1;display:none;align-items:center;justify-content:center;cursor:pointer;z-index:3;box-shadow:0 2px 8px rgba(10,20,50,.12)}
.msg:hover .mdel{display:inline-flex}
.msg.u .mdel{left:auto;right:-4px}
.b.delmsg{font-style:italic;opacity:.72}
@media (hover:none){ .mdel{display:inline-flex;opacity:.55} }

/* ============ HEADER SAFE-AREA + EDGE AUDIT FIXES ============ */
header.site{padding-top:env(safe-area-inset-top, 0px)}
.hbar{min-height:60px}
@media (max-width:880px){
  .wrap{padding-left:18px;padding-right:18px}
  .hbar{min-height:58px;padding-top:6px;padding-bottom:6px}
  #zex-teaser{left:16px;right:16px;width:auto}
}
html,body{overflow-x:clip}
#zex-launcher{bottom:calc(18px + env(safe-area-inset-bottom, 0px))}
/* back to top */
#toTop{position:fixed;left:18px;bottom:calc(18px + env(safe-area-inset-bottom, 0px));z-index:90;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--blue);font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(10,20,50,.12);opacity:0;pointer-events:none;transition:.25s}
#toTop.show{opacity:1;pointer-events:auto}
.copylink{background:none;border:none;color:var(--blue);font-weight:700;cursor:pointer;font-size:12.5px;padding:0}

/* ============ POLISH II: deep refinement ============ */
:root{--ease:cubic-bezier(.22,.8,.28,1)}
*{-webkit-tap-highlight-color:transparent}
::selection{background:rgba(0,85,255,.18)}
html{scroll-behavior:smooth}
h1,h2,h3{letter-spacing:-.022em;text-wrap:balance}
.hero h1{font-size:clamp(34px,5.2vw,46px);line-height:1.12}
.blk>h2,.blk h2{letter-spacing:-.018em}
button,.btn,.card,.conv,.zp-art,.zp-card{transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease),background .22s var(--ease)}
.btn:active,.sendbtn:active,#zex-launcher:active{transform:scale(.97)}
.btn-p{box-shadow:0 6px 16px rgba(0,85,255,.22)}
.btn-p:hover{background:var(--blue-hover);box-shadow:0 8px 20px rgba(0,85,255,.26)}
.btn-g:hover{border-color:var(--blue);color:var(--blue)}
.card:hover{transform:translateY(-3px);border-color:rgba(0,85,255,.35);box-shadow:0 14px 30px rgba(10,30,80,.10)}
:focus-visible{outline:2px solid rgba(0,85,255,.55);outline-offset:2px;border-radius:6px}
input,textarea,select{transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
input:focus,textarea:focus,select:focus{border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(0,85,255,.14);outline:none}
.hero .search input{box-shadow:0 10px 30px rgba(10,30,80,.08)}
.conv:hover{border-color:rgba(0,85,255,.35)}
.conv.on{box-shadow:inset 3px 0 0 var(--blue),0 1px 2px rgba(16,24,40,.05)}
.stat{transition:transform .22s var(--ease),box-shadow .22s var(--ease)}
.stat:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,30,80,.09)}
.msg .b{box-shadow:0 1px 2px rgba(10,25,60,.06)}
#zex-panel{box-shadow:0 24px 60px rgba(8,20,50,.20)}
.zp-art:hover{border-color:rgba(0,85,255,.35);background:#F5F9FF}
.zp-card:hover{border-color:rgba(0,85,255,.35)}
.chips button{transition:all .18s var(--ease)}
.chips button:hover{border-color:var(--blue);color:var(--blue)}
.zp-tabs button{position:relative}
.zp-tabs button.on::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 4px 4px;background:var(--blue)}
.tchat::-webkit-scrollbar,.zp-body::-webkit-scrollbar,#admin-thread::-webkit-scrollbar{width:8px;height:8px}
.tchat::-webkit-scrollbar-thumb,.zp-body::-webkit-scrollbar-thumb,#admin-thread::-webkit-scrollbar-thumb{background:#C9D6EE;border-radius:8px}
footer.site a{transition:color .18s var(--ease)}
footer.site a:hover{color:var(--blue)}
.doc article p,.prose p{line-height:1.72}
.pill{letter-spacing:.01em}
@media (max-width:640px){ .f input,.f textarea,.f select{font-size:16px} }
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important} }

/* Calm launcher: no blinking/pulsing dot; room to scroll past it on phones */
#zex-launcher .dot{animation:none}
@media (max-width:640px){ footer.site{padding-bottom:104px} }

/* Smooth III: buttery motion, stable scroll, no re-render jank */
html{scroll-behavior:smooth}
.zp-body, #zp-msgs, .tchat, .clist{overscroll-behavior:contain;scrollbar-width:thin}
#zex-panel{animation-duration:.26s}
.zp-card{transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease)}
.zp-card:hover{transform:translateY(-1px)}
.zp-art{transition:background .15s var(--ease), padding-left .15s var(--ease)}
.zp-tabs button{transition:color .18s var(--ease), background .18s var(--ease)}
.chips button{transition:background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease)}
.chips button:active{transform:scale(.96)}
.composer textarea{transition:border-color .15s var(--ease), box-shadow .15s var(--ease)}
.hero{animation:zexIn .34s var(--ease)}
.msg .b{will-change:auto}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* Launcher icon refinement: bigger glyph, calm elevation (no glow) */
#zex-launcher{box-shadow:0 8px 22px rgba(0,30,90,.28), 0 2px 6px rgba(0,30,90,.18)}
#zex-launcher .bub svg{width:29px;height:29px}

/* Polish III: editorial refinement */
h1, h2, .zp-greet{text-wrap:balance}
.hero .search{box-shadow:0 1px 2px rgba(16,24,40,.05), 0 10px 30px -12px rgba(0,85,255,.18);border-color:#D8E2F2}
.hero .search:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,85,255,.12), 0 12px 32px -12px rgba(0,85,255,.22)}
.bcard{border-radius:16px}
.bcard .blogo{border-radius:13px;background:linear-gradient(180deg,#FFFFFF,#F6F9FF)}
.bcard:hover{transform:translateY(-3px)}
.doc-body, .article-body{line-height:1.78}
.zp-head{box-shadow:inset 0 -1px 0 rgba(255,255,255,.14)}
.msg .b{border-radius:15px}
.msg.u .b{border-bottom-right-radius:5px}
.msg.a .b{border-bottom-left-radius:5px;background:#F2F6FC;border:1px solid #E3EBF7}
.stat{border-radius:15px;background:linear-gradient(180deg,#FFFFFF,#FBFCFE)}
.clist .conv{border-radius:13px}
.clist .conv:hover{border-color:#C9D9F6}
.btn-p{box-shadow:0 1px 2px rgba(16,24,40,.08), 0 6px 16px -8px rgba(0,85,255,.5)}
input:focus, textarea:focus, select:focus{border-color:var(--blue);box-shadow:0 0 0 3.5px rgba(0,85,255,.13);outline:none}
footer.site{border-top:1px solid var(--line);background:#FBFCFE}

/* redeploy trigger: storage connected */
.newpill{margin:12px auto 2px;width:fit-content;max-width:90%;text-align:center;background:#EAF1FF;color:var(--blue);font-weight:700;font-size:12px;padding:6px 14px;border-radius:999px;border:1px solid #CFE0FF}

/* Smooth IV: buttery scrolling + app-feel on every device */
.zp-body,.tchat,#admin-thread,.clist{ -webkit-overflow-scrolling:touch; overscroll-behavior:contain; touch-action:pan-y }
html{ scroll-padding-top:84px }
#zex-panel{ transform:translateZ(0) }
button, a, .bcard, .chip, [data-chip]{ touch-action:manipulation; -webkit-tap-highlight-color:transparent }
.clist .conv, .acard{ content-visibility:auto; contain-intrinsic-size:auto 92px }
.bgrid .bcard{ content-visibility:auto; contain-intrinsic-size:auto 210px }
.zp-body{ scroll-behavior:auto }
.tchat, #admin-thread{ scroll-behavior:smooth }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto } .tchat, #admin-thread{ scroll-behavior:auto } }

/* Footer fixed on every device: tidy two-line layout, emails never overflow */
footer.site{display:flex;flex-direction:column;align-items:center;gap:7px;padding-left:16px;padding-right:16px}
footer.site .fcopy{font-weight:600;color:var(--text);overflow-wrap:anywhere}
footer.site .fmail{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px}
footer.site .fmail a{overflow-wrap:anywhere}
@media (max-width:640px){ footer.site{padding-bottom:max(104px, calc(env(safe-area-inset-bottom) + 88px))} }

/* Chat profiles: avatars for ZEX AI, the brand, the support team and visitors */
.msg.a{ align-items:flex-end; gap:8px }
.msg.u{ align-items:flex-end; gap:8px }
.mav{ width:28px; height:28px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--border); overflow:hidden; margin-bottom:2px }
.mav img{ width:19px; height:19px; object-fit:contain }
.mav.hum{ background:var(--blue); border-color:var(--blue); color:#fff; font-weight:800; font-size:13px }
.mav.vis{ background:#EEF2F7; color:#475569; font-weight:800; font-size:13px }
.hstack{ display:inline-flex; align-items:center; margin-right:2px }
.hav{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid rgba(255,255,255,.55); overflow:hidden; flex:none }
.hav.zx{ background:#fff } .hav.zx img{ width:20px; height:20px; object-fit:contain }
.hav.hu{ background:#fff; color:var(--blue); font-weight:800; font-size:13px; margin-left:-9px }
.cvlogo{ width:30px; height:30px; border-radius:9px; border:1px solid var(--border); background:#fff; object-fit:contain; padding:3px; float:left; margin:1px 10px 4px 0 }
.showearlier{display:block;margin:2px auto 12px;background:#EEF4FF;color:var(--blue);border:1px solid #CFE0FF;font-weight:700;font-size:12.5px;padding:7px 15px;border-radius:999px;cursor:pointer}

/* Notifications: compact bell + overlay panel — never pushes the chat down */
.nbar{display:flex;align-items:center;gap:10px;margin:18px 0 2px}
.nbell-wrap{position:relative;display:inline-block}
.nbell{position:relative;width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-size:19px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.nbell:hover{border-color:#B9CCFF}
.nbadge{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#DC2626;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff}
.npanel{display:block;position:absolute;left:0;top:calc(100% + 8px);width:min(440px,94vw);background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 22px 50px rgba(16,24,40,.18);z-index:90;padding:12px;text-align:left}
.npanel[hidden]{display:none}
.np-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}
.np-list{display:block;max-height:46vh;overflow-y:auto;-webkit-overflow-scrolling:touch}
.nitem{display:block;border:1px solid var(--border);border-radius:11px;padding:9px 11px;margin-bottom:8px;font-size:13.5px;background:#fff}
.np-foot{display:flex;gap:8px;margin-top:4px}
.np-foot .btn{padding:6px 13px}

/* ---- Big brand cards (home) ---- */
.bgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:18px}
.bcard2{padding:26px;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.bcard2:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(16,24,40,.10)}
.btop2{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.blogo2{width:64px;height:64px;border-radius:16px;background:#F4F8FF;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;padding:10px}
.blogo2 img{max-width:44px;max-height:44px}
.bcard2 h3{font-size:22px;margin-bottom:2px}
.bcard2 .babout{font-size:15px;line-height:1.65;color:var(--muted);flex:1}
@media (max-width:560px){ .bgrid{grid-template-columns:1fr} .bcard2{padding:22px} }

/* ---- Chat button: branded pill, unlike any generic bubble ---- */
#zex-launcher{display:flex;align-items:center;gap:10px;background:#0055FF;color:#fff;border:0;border-radius:999px;padding:9px 20px 9px 9px;box-shadow:0 16px 36px rgba(0,60,180,.38);cursor:pointer;font-family:inherit;transition:transform .18s cubic-bezier(.2,.9,.3,1.35),box-shadow .18s ease}
#zex-launcher:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 20px 42px rgba(0,60,180,.42)}
#zex-launcher:active{transform:scale(.97)}
#zex-launcher .bub{background:#fff;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;position:relative;flex:none}
#zex-launcher .bub svg{width:26px;height:26px}
#zex-launcher .zlbl{font-weight:700;font-size:15.5px;color:#fff;letter-spacing:.1px}
#zex-root.zleft #zex-launcher{left:22px;right:auto}
#zex-root.zleft #zex-panel{left:22px;right:auto}
#zex-root.zleft #zex-teaser{left:22px;right:auto}
@media (max-width:560px){ #zex-root.zleft #zex-panel{left:0} #zex-launcher{padding:8px 16px 8px 8px} #zex-launcher .bub{width:40px;height:40px} }

/* ---- Panel + thread extras ---- */
#zex-panel.open{animation:zpIn .32s cubic-bezier(.22,1.15,.36,1)}
.zp-away{margin:0 14px 10px;background:#FFF7E6;border:1px solid #F5D9A8;color:#8A5A00;border-radius:11px;padding:9px 12px;font-size:13px;line-height:1.5}
.qrrow{display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px 0}
.qrchip{border:1px solid var(--border);background:#F4F8FF;color:#0B3B8F;border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit}
.qrchip:hover{border-color:#B9CCFF;background:#EAF1FF}
:focus-visible{outline:2px solid #0055FF;outline-offset:2px}
.zp-body{scroll-behavior:smooth}

/* ---- Polish V: rhythm, touch, scrollbars, focus (flat, light, calm) ---- */
::selection{background:#DBEAFE}
body{-webkit-tap-highlight-color:transparent}
.hero h1{letter-spacing:-.02em}
.blk h2{letter-spacing:-.01em}
.btn,.sendbtn,.icobtn,.qrchip,.conv,.zp-art,.chipf button,.atabs button{transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
.btn:active,.sendbtn:active,.icobtn:active{transform:scale(.97)}
input,textarea,select{transition:border-color .16s ease,box-shadow .16s ease}
input:focus,textarea:focus,select:focus{border-color:#0055FF!important;box-shadow:0 0 0 3px rgba(0,85,255,.14);outline:none}
.searchbox:focus-within{border-color:#0055FF;box-shadow:0 0 0 3px rgba(0,85,255,.14)}
.grid .card,.helpgrid .card{transition:transform .18s ease,box-shadow .18s ease}
.grid .card:hover,.helpgrid .card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(16,24,40,.08)}
.list a{transition:background-color .15s ease,transform .15s ease}
.list a:hover{transform:translateX(2px)}
.conv:hover{background:#F8FAFF}
.conv.on{background:#EEF4FF;border-color:#B9CCFF}
.chips button{transition:background-color .15s ease,border-color .15s ease}
.chips button:hover{border-color:#B9CCFF;background:#F4F8FF}
.zp-body,.tchat,.np-list,#admin-list,.npanel{scrollbar-width:thin;scrollbar-color:#C7D6F5 transparent}
.zp-body::-webkit-scrollbar,.tchat::-webkit-scrollbar,.np-list::-webkit-scrollbar,#admin-list::-webkit-scrollbar{width:5px;height:5px}
.zp-body::-webkit-scrollbar-thumb,.tchat::-webkit-scrollbar-thumb,.np-list::-webkit-scrollbar-thumb,#admin-list::-webkit-scrollbar-thumb{background:#C7D6F5;border-radius:99px}
.zp-body::-webkit-scrollbar-track,.tchat::-webkit-scrollbar-track,.np-list::-webkit-scrollbar-track,#admin-list::-webkit-scrollbar-track{background:transparent}
.msg .b{box-shadow:0 1px 2px rgba(16,24,40,.05)}
.tcomp,.composer .row{align-items:flex-end}
.stat{transition:transform .18s ease,box-shadow .18s ease}
.stat:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(16,24,40,.07)}
.team .mate{transition:border-color .15s ease,background-color .15s ease}
.team .mate:hover{border-color:#B9CCFF;background:#F8FAFF}
#zex-teaser{transition:transform .2s cubic-bezier(.2,.9,.3,1.3),opacity .2s ease}
.zp-card{transition:border-color .16s ease,background-color .16s ease,transform .16s ease}
.zp-card:hover{border-color:#B9CCFF;background:#F8FAFF}
.zp-card:active{transform:scale(.99)}
.showearlier{transition:background-color .15s ease}
.lb img{animation:zpIn .25s cubic-bezier(.22,1.1,.36,1)}

/* ---- HEAVY chat: solid flat blue, deep calm shadows, premium pill on every screen ---- */
#zex-launcher{background:#0055FF;box-shadow:0 18px 42px rgba(0,55,170,.42),0 4px 14px rgba(0,55,170,.25)}
#zex-launcher .dot{animation:none}
#zex-launcher .bub{box-shadow:0 3px 10px rgba(0,40,120,.28)}
#zex-panel{border-radius:24px;border:1px solid #CFE0FF;box-shadow:0 34px 84px rgba(4,18,54,.38),0 6px 22px rgba(4,18,54,.16)}
.zp-head{background:#0055FF;padding:20px 18px 16px}
.zp-head .hav{width:38px;height:38px}
.zp-head b{font-size:17.5px;letter-spacing:-.01em}
.composer{background:#fff;box-shadow:0 -8px 24px rgba(16,24,40,.05)}
.composer textarea{background:#F4F8FF;border-radius:14px}
.composer textarea:focus{background:#fff}
.sendbtn{box-shadow:0 6px 16px rgba(0,85,255,.35)}
.msg .b{border-radius:16px;padding:11px 14px}
.zp-tabs{box-shadow:0 -6px 18px rgba(16,24,40,.04)}
.btn svg{width:15px;height:15px;vertical-align:-2px}
.nbell svg{width:21px;height:21px}
.ratebar{display:flex;align-items:center;gap:5px;padding:11px 13px;margin:2px 0 4px;background:#FFF8E8;border:1px solid #F5DFAE;border-radius:13px;font-size:13.5px;font-weight:600;color:#8A5A00}
.ratebar button{background:none;border:0;font-size:21px;line-height:1;color:#E3B341;cursor:pointer;padding:1px 2px;transition:transform .15s ease}
.ratebar button:hover{transform:scale(1.25)}
@media (max-width:900px){
  #zex-launcher{width:auto;height:auto;border-radius:999px;padding:8px 17px 8px 8px;justify-content:flex-start;gap:9px}
  #zex-launcher .zlbl{display:block;font-size:14.5px}
  #zex-launcher .dot{position:static}
}

/* Launcher: always-visible pill label — retires the old fixed 60px circle + hidden hover-tooltip label */
#zex-launcher{width:auto;height:auto}
#zex-launcher .zlbl{position:static;opacity:1;pointer-events:auto;transform:none;background:transparent;padding:0;box-shadow:none;color:#fff}

/* ---- Home polish VI: hero presence, section accents, CTA band ---- */
.hero{padding-top:54px}
.hero h1{font-size:clamp(32px,5.2vw,46px);line-height:1.12}
.hero p{font-size:17px;max-width:640px}
.searchbox{border-radius:16px;box-shadow:0 10px 26px rgba(16,24,40,.06)}
.blk{margin-top:46px}
.blk>h2{font-size:24px;display:flex;align-items:center;gap:11px}
.blk>h2::before{content:"";width:5px;height:22px;border-radius:99px;background:#0055FF;flex:none}
.helpgrid .card{border-top:3px solid #0055FF}
.bcard2 .bfoot{border-top:1px solid var(--border);padding-top:14px;margin-top:14px}
.list a small{color:#0055FF;font-weight:600}
.ctaband{background:#0055FF;color:#fff;border-radius:20px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;box-shadow:0 18px 40px rgba(0,55,170,.28)}
.ctaband h2{color:#fff;margin:0 0 6px;font-size:24px}
.ctaband p{color:#DBEAFE;margin:0;font-size:15.5px}
@media (max-width:560px){ .ctaband{padding:22px} .hero{padding-top:38px} }

/* ---- Fix: brand card descriptions were clamped to 3 lines by the old small-card rule ---- */
.bcard2 .babout{display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;overflow:visible}

/* ---- Nav VII: floating light bar, segmented links, Live Chat CTA (house style, not Netro) ---- */
header.site{top:12px;background:transparent;border-bottom:none;box-shadow:none;padding:0 12px}
.hbar{position:relative;background:var(--surface);border:1px solid #E1EAF7;border-radius:18px;box-shadow:0 14px 34px rgba(16,24,40,.09);padding:10px 14px}
.brand img{background:#EAF1FF;border-radius:11px;padding:6px;width:38px;height:38px}
#gsearch{border-radius:999px;background:#F0F4FB;border-color:transparent}
#gsearch:hover{border-color:var(--blue)}
.navcta{background:var(--blue);border-color:var(--blue);color:#fff;border-radius:999px;font-weight:700;padding:9px 16px;box-shadow:0 8px 20px rgba(0,85,255,.28)}
.navcta:hover{background:#0046D5;border-color:#0046D5;color:#fff}
.navcta .livedot{width:8px;height:8px;border-radius:50%;background:#4ADE80;flex:none}
@media (min-width:881px){
  nav.main{background:#F0F4FB;border:1px solid #E4ECF9;border-radius:999px;padding:4px;margin-left:14px;flex-wrap:nowrap}
  nav.main a{border-radius:999px;padding:8px 14px;white-space:nowrap}
  nav.main a.on{background:#fff;color:var(--blue);box-shadow:0 2px 10px rgba(16,24,40,.12)}
  nav.main a:hover:not(.on){background:rgba(255,255,255,.7);color:var(--text)}
}
@media (max-width:880px){
  header.site{top:8px;padding:0 8px}
  .hbar{border-radius:15px;padding:8px 10px}
  .navcta{display:none}
  nav.main.open{border:1px solid #E1EAF7;border-radius:16px;margin-top:8px;box-shadow:0 24px 44px rgba(16,24,40,.16)}
}

/* ---- Launcher Heavy II: bigger, deeper, two-line premium pill ---- */
#zex-launcher{padding:11px 24px 11px 11px;border:1px solid #0046D5;box-shadow:0 22px 44px rgba(0,55,170,.45),0 6px 16px rgba(0,55,170,.30),inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,30,110,.22)}
#zex-launcher .bub{width:50px;height:50px;box-shadow:0 4px 12px rgba(0,40,120,.30),inset 0 -2px 4px rgba(0,40,120,.08)}
#zex-launcher .bub svg{width:30px;height:30px}
#zex-launcher .zlbl{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;gap:1px}
#zex-launcher .zl1{font-weight:800;font-size:16.5px;color:#fff;letter-spacing:.1px}
#zex-launcher .zl2{font-size:11px;font-weight:600;color:#BFD6FF;letter-spacing:.02em}
#zex-launcher:hover{box-shadow:0 26px 50px rgba(0,55,170,.50),0 8px 18px rgba(0,55,170,.32),inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,30,110,.22)}
#zex-badge{min-width:22px;height:22px;font-size:12px;top:-8px;left:-8px}
@media (max-width:900px){
  #zex-launcher{padding:10px 20px 10px 10px}
  #zex-launcher .bub{width:46px;height:46px}
  #zex-launcher .bub svg{width:28px;height:28px}
  #zex-launcher .zl1{font-size:15.5px}
}
/* ---- Polish VIII (small globals): topic card lift + slim scrollbars ---- */
.grid a.card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.grid a.card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(16,24,40,.10)}
html{scrollbar-width:thin;scrollbar-color:#B9CBE8 transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#B9CBE8;border-radius:99px;border:2px solid #F6F9FF}
::-webkit-scrollbar-track{background:transparent}

/* ---- Launcher Round Brand (owner's pick): circular emerald button, face-bubble icon, hover label chip ---- */
#zex-launcher{width:64px;height:64px;border-radius:50%;padding:0;justify-content:center;gap:0;background:#0055FF;border:1px solid #0046D5;box-shadow:0 18px 38px rgba(0,85,255,.45),0 6px 16px rgba(0,65,190,.30),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -3px 0 rgba(0,45,140,.25)}
#zex-launcher:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 22px 44px rgba(0,85,255,.52),0 8px 18px rgba(0,65,190,.34),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -3px 0 rgba(0,45,140,.25)}
#zex-launcher .bub{background:transparent;width:36px;height:36px;box-shadow:none}
#zex-launcher .bub svg{width:36px;height:36px}
#zex-launcher .dot{display:none}
#zex-launcher .zlbl{position:absolute;right:78px;top:50%;transform:translateY(-50%) translateX(6px);background:#0B1526;padding:9px 14px;border-radius:11px;box-shadow:0 8px 22px rgba(10,20,50,.20);opacity:0;pointer-events:none;transition:.22s;display:flex}
#zex-launcher:hover .zlbl{opacity:1;transform:translateY(-50%) translateX(0)}
#zex-launcher .zl1{color:#fff;font-size:14px}
#zex-launcher .zl2{color:#9FB6DD}
#zex-root.zleft #zex-launcher .zlbl{right:auto;left:78px;transform:translateY(-50%) translateX(-6px)}
#zex-root.zleft #zex-launcher:hover .zlbl{transform:translateY(-50%) translateX(0)}
@media (max-width:900px){
  #zex-launcher{width:60px;height:60px;padding:0}
  #zex-launcher .bub{width:34px;height:34px}
  #zex-launcher .bub svg{width:34px;height:34px}
  #zex-launcher .zlbl{display:none}
}

/* ---- Nav VIII Calm: no track, no clutter — plain links, soft active tint, icon search ---- */
header.site{top:14px;padding:0 16px}
.hbar{border-color:#E4EDFA;border-radius:16px;box-shadow:0 6px 18px rgba(16,24,40,.05);padding:9px 12px;gap:12px}
.brand{font-size:15.5px;letter-spacing:-.01em}
.brand small{display:none}
.brand img{background:#EFF5FF;border-radius:10px;width:36px;height:36px;padding:6px}
#gsearch{width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#F5F8FC;border:1px solid transparent}
#gsearch:hover{background:#EDF3FE;border-color:#CFE0FA}
#gsearch .slbl,#gsearch .kbdt{display:none}
.navcta{padding:8px 15px;font-size:14px;box-shadow:0 4px 12px rgba(0,85,255,.20)}
@media (min-width:881px){
  nav.main{background:transparent;border:none;padding:0;margin-left:4px}
  nav.main a{border-radius:10px;padding:8px 11px;color:#43536B}
  nav.main a.on{background:#EAF1FF;color:var(--blue);box-shadow:none}
  nav.main a:hover:not(.on){background:#F2F6FD;color:var(--text)}
}
@media (max-width:880px){
  .hbar{padding:8px 10px}
  #gsearch{width:38px;height:38px}
}

/* ---- Brand card footer fix: no more wrapped/cramped buttons ---- */
.bcard2 .bfoot{flex-wrap:wrap;row-gap:10px;column-gap:10px}
.bcard2 .bfoot .mini{white-space:nowrap}
.bcard2 .bfoot .blink{white-space:nowrap;font-weight:700}
.bcard2 .bfoot .btn{flex:1 1 44%;height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:14px;border-radius:11px}

/* ---- Chat stability: no smooth-glide on programmatic scroll, no anchor fighting, agent name ---- */
.zp-body{scroll-behavior:auto;overflow-anchor:none}
.msg .b .mname{display:block;font-size:11px;font-weight:700;color:var(--blue);margin-bottom:2px;letter-spacing:.02em}

/* ============ PREMIUM CHAT IX — header CTA, launcher, panel, bubbles, composer ============ */
#navChat{display:inline-flex;align-items:center;gap:7px;background:#0055FF;color:#fff;border:1px solid #0046D5;padding:8px 15px 8px 13px;border-radius:999px;font-weight:700;font-size:13px;letter-spacing:.01em;line-height:1;box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 1px 2px rgba(0,69,204,.25),0 8px 18px rgba(0,85,255,.20);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
#navChat:hover{background:#004EEB;border-color:#0046D5;color:#fff;transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 2px 3px rgba(0,69,204,.22),0 12px 24px rgba(0,85,255,.26)}
#navChat:active{transform:scale(.97)}
#navChat svg{width:15px;height:15px;flex:none}
#navChat .livedot{width:7px;height:7px;border-radius:50%;background:#4ADE80;flex:none;box-shadow:0 0 0 2px rgba(255,255,255,.32)}
#zex-launcher{box-shadow:0 12px 30px rgba(0,85,255,.34),0 2px 6px rgba(0,85,255,.22)}
#zex-launcher .zlbl{background:#0B1526;border-radius:12px;box-shadow:0 10px 24px rgba(2,12,40,.30);padding:9px 13px}
#zex-teaser{border-radius:16px;border:1px solid #E3E9F4;box-shadow:0 16px 38px rgba(2,12,40,.16)}
#zex-panel{border-radius:22px;border-color:#E3E9F4;box-shadow:0 24px 60px rgba(2,12,40,.26),0 4px 14px rgba(2,12,40,.10)}
.zp-head{background:#0055FF;padding:16px 18px 13px}
.zp-head b{font-size:16px;letter-spacing:-.01em}
.zp-head .live i{animation:none}
.hstack{display:inline-flex;align-items:center;flex:none}
.hav{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.9);overflow:hidden;background:#fff;flex:none}
.hav img{width:21px;height:21px;object-fit:contain;padding:0;border-radius:0;background:transparent}
.hav.hu{background:#0B3B8F;color:#fff;font-weight:800;font-size:14px;margin-left:-9px}
.zp-body{background:#F7FAFF}
.zp-body .msg .b{border-radius:16px;line-height:1.55;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.zp-body .msg.a .b{border-top-left-radius:6px}
.zp-body .msg.u .b{border-top-right-radius:6px}
.mav.hum{background:#0055FF;border-color:#0055FF;box-shadow:0 0 0 2px #E3EDFF;font-size:12.5px}
.msg .b .mname{color:#0055FF;font-size:11.5px}
.zp-card{border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.zp-card:hover{box-shadow:0 6px 16px rgba(0,85,255,.10)}
.chips button{background:#fff;border-color:#C9DAFF;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:all .15s ease}
.chips button:hover{background:#EEF4FF;border-color:#0055FF}
.sendbtn{background:#0055FF;background-image:none;box-shadow:0 6px 14px rgba(0,85,255,.30);transition:transform .15s ease,background .15s ease}
.sendbtn:hover{background:#0046D5}
.sendbtn:active{transform:scale(.94)}
.zp-tabs{box-shadow:0 -1px 0 rgba(16,24,40,.02)}
.zp-tabs button{transition:color .15s ease}
@media (max-width:880px){ #zex-panel{border-radius:0} }

/* ============ RESOURCES HUB (Help tab) ============ */
.zph{display:block;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}
a.zp-art{text-decoration:none;color:var(--text)}
#zp-hres .zp-art{border-color:#C9DAFF}

/* ============ AGENT AVATAR: headset icon (owner's pick) ============ */
.mav.hum svg{width:15px;height:15px;display:block}
.hav.hu{color:#fff}
.hav.hu svg{width:19px;height:19px;display:block}

/* ============ SEARCH EMPTY STATE (F1) ============ */
.sresults .sr-none{padding:13px 15px;color:var(--muted);font-size:14px;line-height:1.5}

/* ============ NAV CTA — SOFT BLUE (final, replaces the solid pill) ============ */
#navChat{background:#EAF1FF;color:#0055FF;border:1px solid #C9DEFF;box-shadow:0 1px 2px rgba(0,85,255,.06)}
#navChat:hover{background:#DCE9FF;border-color:#B9D2FF;color:#0055FF;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,85,255,.12)}
#navChat .livedot{background:#22C55E;box-shadow:0 0 0 2px #fff}

/* ============ ADMIN MODERN + THREAD SMOOTHNESS ============ */
.tchat, #admin-thread{scroll-behavior:auto}
.atabs{display:inline-flex;gap:3px;background:#EDF2FA;border:1px solid #DFE9F7;border-radius:999px;padding:4px}
.atabs button{border:0;background:transparent;color:#43536B;font-weight:700;font-size:13.5px;padding:8px 18px;border-radius:999px;cursor:pointer;transition:background .15s ease,color .15s ease}
.atabs button:hover{color:#0055FF}
.atabs button.on{background:#fff;color:#0055FF;box-shadow:0 1px 3px rgba(11,40,90,.12)}
.stats{gap:13px}
.stat{background:#fff;border:1px solid #E3EAF5;border-radius:16px;box-shadow:0 1px 2px rgba(11,40,90,.04),0 10px 24px rgba(11,40,90,.05);padding:16px 18px}
.conv{border:1px solid transparent;border-radius:14px;padding:11px 12px;transition:background .15s ease,border-color .15s ease}
.conv:hover{background:#F5F8FF}
.conv.on{background:#EAF1FF;border-color:#C9DEFF}
.cvlogo{border-radius:11px}
.thread{background:#fff;border:1px solid #E3EAF5;border-radius:20px;box-shadow:0 1px 2px rgba(11,40,90,.04),0 14px 34px rgba(11,40,90,.06);overflow:hidden}
.thead{padding:13px 16px;border-bottom:1px solid #E8EEF8;background:#fff}
.thead .av{width:40px;height:40px;border-radius:50%;background:#0055FF;color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.tchat{background:#F7FAFF;padding:18px 16px}
.tchat .msg .b{border-radius:16px;box-shadow:0 1px 2px rgba(11,40,90,.05);line-height:1.55}
.tchat .msg .tm{opacity:.62}
.tstat{border:1px solid #D7E2F2;border-radius:10px;padding:7px 9px;background:#fff;font-weight:600;color:#22314A}
.tcomp{background:#fff;border-top:1px solid #E8EEF8;padding:11px 12px;gap:9px}
.tcomp textarea{background:#F2F6FC;border:1px solid #DFE9F7;border-radius:14px;padding:11px 13px;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.tcomp textarea:focus{background:#fff;border-color:#9DB9F2;box-shadow:0 0 0 3px rgba(0,85,255,.14);outline:none}
.qrrow{padding:9px 12px 0;background:#fff}
.qrchip{background:#fff;border:1px solid #D7E2F2;color:#22314A;border-radius:999px;padding:6px 12px;font-weight:600;transition:background .15s ease,border-color .15s ease,color .15s ease}
.qrchip:hover{background:#EAF1FF;border-color:#B9D2FF;color:#0055FF}
.f input[type="text"], .f input[type="email"], .f input[type="password"], .f textarea, .f select{border:1px solid #D7E2F2;border-radius:11px;transition:border-color .15s ease,box-shadow .15s ease}
.f input:focus, .f textarea:focus, .f select:focus{border-color:#9DB9F2;box-shadow:0 0 0 3px rgba(0,85,255,.14);outline:none}
.npanel{border:1px solid #E3EAF5;border-radius:18px;box-shadow:0 18px 44px rgba(11,40,90,.16)}
.nitem{border-radius:12px}
.nitem:hover{background:#F5F8FF}
.tempty{color:#5B6B82}
#admin-list{scrollbar-width:thin}

/* ============ POLISH VII — ALL DEVICES, FRIENDLY + SMOOTH ============ */
*{-webkit-tap-highlight-color:transparent}
button, a, .zp-art, [data-conv]{touch-action:manipulation}
::selection{background:#BFD6FF}
:focus-visible{outline:2px solid rgba(0,85,255,.55);outline-offset:2px}
@media (hover:hover){
  .bcard2, .acard, .stat{transition:transform .18s ease,box-shadow .18s ease}
  .bcard2:hover, .acard:hover{transform:translateY(-2px)}
}
@media (max-width:700px){
  input, textarea, select{font-size:16px !important}
  .hbtn{min-width:44px;min-height:44px}
  .chips button{padding:9px 13px}
  .zp-foot{padding-bottom:env(safe-area-inset-bottom, 0px)}
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
}

/* ============ NAV CTA ICON SIZE (owner: too small) ============ */
#navChat svg{width:18px;height:18px}
#navChat{gap:7px;padding:8px 15px}

/* ============ THREAD SCROLL ANCHOR OFF (pin must win) ============ */
.tchat{overflow-anchor:none}
