/* MyQuickBill Help Desk chat widget (local file, no outside links) */
.wc-root{--wc-blue:#1256DF;--wc-blue-d:#0E47BC;--wc-ink:#17242A;--wc-mut:#64748B;--wc-line:rgba(16,32,64,.09);--wc-soft:#F3F6FB;font-family:inherit;color:var(--wc-ink)}
.wc-root *,.wc-launch,.wc-launch *{box-sizing:border-box}
.wc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wc-launch{position:fixed;right:20px;bottom:22px;z-index:1060;display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:14px;background:#1256DF;color:#fff;cursor:pointer;box-shadow:0 10px 22px -10px rgba(14,40,110,.65);transition:transform .15s ease,background .15s ease}
.float-btns .wc-launch{position:static}
.wc-launch:hover{background:#0E47BC;transform:translateY(-1px)}
.wc-launch:focus-visible{outline:3px solid rgba(18,86,223,.35);outline-offset:2px}
.wc-launch svg{width:22px;height:22px}
.wc-launch[aria-expanded="true"]{background:#0E47BC}
.wc-hint{position:fixed;right:78px;bottom:150px;z-index:1060;display:flex;align-items:center;gap:10px;max-width:270px;padding:10px 14px 10px 10px;border:1px solid var(--wc-line);border-radius:12px;background:#fff;color:var(--wc-ink);font-family:inherit;text-align:left;box-shadow:0 16px 34px -14px rgba(16,42,90,.35);cursor:pointer;animation:wcIn .3s ease}
.wc-hint b{display:block;font-size:13px;font-weight:700;line-height:1.3}
.wc-hint small{display:block;font-size:12px;color:var(--wc-mut);line-height:1.35}
.wc-hint-av{flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#EAF1FF;color:var(--wc-blue)}
.wc-hint-av svg{width:18px;height:18px}
.wc-root:not(.wc-docked) .wc-hint{bottom:80px;right:20px}
.wc-panel{position:fixed;right:76px;bottom:22px;z-index:1061;display:flex;flex-direction:column;width:380px;height:min(590px,calc(100vh - 100px));background:#fff;border:1px solid var(--wc-line);border-radius:14px;box-shadow:0 28px 60px -22px rgba(16,42,90,.42),0 2px 8px rgba(16,32,64,.06);overflow:hidden;animation:wcIn .22s ease}
.wc-root:not(.wc-docked) .wc-panel{right:20px;bottom:80px}
.wc-panel[hidden]{display:none}
@keyframes wcIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.wc-head{display:flex;align-items:center;gap:11px;padding:14px 10px 14px 16px;background:linear-gradient(125deg,#0B3FA8 0%,#1256DF 70%,#2D6CF0 100%);color:#fff}
.wc-head-av{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:var(--wc-blue);box-shadow:0 4px 12px -4px rgba(0,0,0,.25)}
.wc-head-av svg{width:20px;height:20px}
.wc-head-av i{position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border-radius:50%;background:#22C55E;border:2px solid #1256DF}
.wc-head-t{flex:1;min-width:0;line-height:1.25}
.wc-head-t b{display:block;font-size:15.5px;font-weight:700;letter-spacing:.1px}
.wc-head-t small{display:block;margin-top:2px;font-size:12px;opacity:.88}
.wc-ibtn{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer;opacity:.85}
.wc-ibtn:hover,.wc-ibtn:focus-visible{background:rgba(255,255,255,.16);opacity:1;outline:none}
.wc-ibtn svg{width:17px;height:17px}
.wc-body{flex:1;overflow-y:auto;padding:16px 14px 8px;background:#fff;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#CBD5E1 transparent}
.wc-start{animation:wcIn .25s ease}
.wc-start-hi{padding:14px 16px;margin-bottom:12px;border-radius:12px;background:linear-gradient(160deg,#EEF4FF 0%,#F8FBFF 70%,#FFF7EE 100%);font-size:14px;line-height:1.6}
.wc-start-hi p{margin:0 0 4px}
.wc-start-hi p:first-child{font-size:16px;font-weight:700;margin-bottom:6px}
.wc-start-hi p:last-child{margin-bottom:0;color:#3B4A5A}
.wc-opts{display:flex;flex-direction:column;gap:6px}
.wc-opt{display:flex;align-items:center;gap:10px;width:100%;padding:8px 11px;border:1px solid var(--wc-line);border-radius:10px;background:#fff;color:var(--wc-ink);font-family:inherit;font-size:13.5px;font-weight:600;text-align:left;text-decoration:none;cursor:pointer;transition:border-color .15s,background .15s}
.wc-opt:hover,.wc-opt:focus-visible{border-color:rgba(18,86,223,.45);background:#F7FAFF;outline:none;color:var(--wc-ink)}
.wc-opt-ic{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#EEF4FF;color:var(--wc-blue)}
.wc-opt-ic svg{width:16px;height:16px}
.wc-opt-t{flex:1}
.wc-opt>svg{width:16px;height:16px;color:#94A3B8}
.wc-g{display:flex;gap:8px;align-items:flex-end;margin-bottom:14px;animation:wcIn .2s ease}
.wc-user{justify-content:flex-end}
.wc-av{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#EAF1FF;color:var(--wc-blue);margin-bottom:18px}
.wc-av svg{width:15px;height:15px}
.wc-col{display:flex;flex-direction:column;gap:5px;max-width:84%;min-width:0}
.wc-user .wc-col{align-items:flex-end}
.wc-bubble{padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.55;word-wrap:break-word;overflow-wrap:anywhere}
.wc-bubble p{margin:0}
.wc-bubble p+p{margin-top:6px}
.wc-bot .wc-bubble{background:var(--wc-soft);color:var(--wc-ink);border-bottom-left-radius:5px}
.wc-bot .wc-bubble+.wc-bubble{border-top-left-radius:5px}
.wc-user .wc-bubble{background:var(--wc-blue);color:#fff;border-bottom-right-radius:5px}
.wc-time{font-size:11px;color:#94A3B8;padding:0 4px}
.wc-list{list-style:none;margin:6px 0 2px;padding:0;border-radius:10px;background:#fff;border:1px solid var(--wc-line);overflow:hidden}
.wc-list li{display:flex;justify-content:space-between;gap:12px;padding:7px 11px;font-size:13.5px}
.wc-list li+li{border-top:1px solid var(--wc-line)}
.wc-list li b{font-weight:650;color:var(--wc-ink)}
.wc-list li span{color:#1E3A8A;font-weight:600;text-align:right}
.wc-list .wc-li-plain{display:block;color:var(--wc-ink)}
.wc-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 9px;margin:2px 0;border-radius:999px;background:#fff;border:1px solid rgba(18,86,223,.25);color:var(--wc-blue);font-size:12.5px;font-weight:600;text-decoration:none;vertical-align:middle}
.wc-link svg{width:13px;height:13px;flex:0 0 13px}
.wc-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wc-link:hover{border-color:var(--wc-blue)}
.wc-user .wc-bubble a{color:#fff}
.wc-typing .wc-bubble{display:flex;gap:4px;padding:13px 15px;background:var(--wc-soft)}
.wc-typing .wc-av{margin-bottom:0}
.wc-typing .wc-bubble span{width:7px;height:7px;border-radius:50%;background:#94A3B8;animation:wcDot 1.1s infinite ease-in-out}
.wc-typing .wc-bubble span:nth-child(2){animation-delay:.15s}.wc-typing .wc-bubble span:nth-child(3){animation-delay:.3s}
@keyframes wcDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.wc-chips{display:flex;gap:6px;padding:8px 12px;overflow-x:auto;background:#fff;border-top:1px solid var(--wc-line);scrollbar-width:none}
.wc-chips[hidden]{display:none}
.wc-chips::-webkit-scrollbar{display:none}
.wc-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid rgba(18,86,223,.2);border-radius:999px;background:#fff;color:var(--wc-ink);font-family:inherit;font-weight:600;font-size:12.5px;line-height:1.2;cursor:pointer;white-space:nowrap}
.wc-chip svg{width:14px;height:14px;color:var(--wc-blue)}
.wc-chip:hover,.wc-chip:focus-visible{border-color:var(--wc-blue);color:var(--wc-blue);outline:none}
.wc-foot{padding:10px 12px 6px;background:#fff;border-top:1px solid var(--wc-line)}
.wc-field{display:flex;align-items:flex-end;gap:6px;padding:5px 5px 5px 14px;border:1px solid rgba(16,32,64,.16);border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s}
.wc-field:focus-within{border-color:var(--wc-blue);box-shadow:0 0 0 3px rgba(18,86,223,.12)}
.wc-field textarea{flex:1;min-height:34px;max-height:110px;padding:7px 0;border:0;outline:none;resize:none;background:transparent;font:inherit;font-size:14px;line-height:1.45;color:var(--wc-ink)}
.wc-send{flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:var(--wc-blue);color:#fff;cursor:pointer;transition:background .15s}
.wc-send:hover{background:#0E47BC}
.wc-send:disabled{opacity:.45;cursor:default}
.wc-send svg{width:17px;height:17px}
.wc-note{margin:0;padding:0 14px 9px;background:#fff;font-size:11px;line-height:1.4;color:var(--wc-mut);text-align:center}
.wc-note a{color:var(--wc-blue)}
.wc-lead{margin:-4px 0 14px 36px;padding:12px;border:1px solid var(--wc-line);border-radius:12px;background:#fff;box-shadow:0 6px 18px -12px rgba(16,42,90,.3)}
.wc-lead label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:var(--wc-mut)}
.wc-lead input{display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid rgba(16,32,64,.18);border-radius:8px;font:inherit;font-size:14px;color:var(--wc-ink)}
.wc-lead input:focus{outline:none;border-color:var(--wc-blue);box-shadow:0 0 0 3px rgba(18,86,223,.12)}
.wc-lead .wc-hp{position:absolute;left:-9999px}
.wc-err{margin:0 0 8px;font-size:12px;color:#C0392B}
.wc-err:empty{display:none}
.wc-lead-btns{display:flex;gap:8px}
.wc-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:8px;background:var(--wc-blue);color:#fff;font-family:inherit;font-weight:700;font-size:13px;line-height:1;cursor:pointer}
.wc-btn svg{width:15px;height:15px}
.wc-btn:disabled{opacity:.6}
.wc-btn-ghost{background:#fff;color:var(--wc-ink);border:1px solid rgba(16,32,64,.16)}
@media (max-width:575.98px){
.wc-panel,.wc-root:not(.wc-docked) .wc-panel{left:8px;right:8px;bottom:8px;width:auto;height:min(82vh,620px)}
.wc-hint{display:none}
.wc-root:not(.wc-docked) .wc-launch{bottom:78px}
}
@media (prefers-reduced-motion:reduce){.wc-panel,.wc-hint,.wc-launch,.wc-g,.wc-start{animation:none;transition:none}.wc-typing .wc-bubble span{animation:none}}
