html.brand-cursor [role=button],html.brand-cursor a,html.brand-cursor body,html.brand-cursor button,html.brand-cursor label,html.brand-cursor select,html.brand-cursor summary{cursor:-webkit-image-set(url("/cursors/arrow-32.png") 1x,url("/cursors/arrow-64.png") 2x) 1 1,url(/cursors/arrow-32.png) 1 1,auto}html.brand-cursor input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]),html.brand-cursor textarea{cursor:text}.chat-fab{position:fixed;right:20px;bottom:20px;z-index:89;width:56px;height:56px;border-radius:50%;background:var(--ink);color:var(--accent);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-l);transition:transform .15s ease,box-shadow .15s ease}.chat-fab:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(23,26,33,.2)}.chat-fab-badge{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;border:2px solid var(--bg);box-sizing:content-box}.chat-panel{position:fixed;right:20px;bottom:20px;z-index:89;width:380px;height:560px;max-height:calc(100vh - 40px);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-l);box-shadow:var(--shadow-l);display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;animation:chat-panel-in .18s ease}@keyframes chat-panel-in{0%{opacity:0;transform:translateY(10px) scale(.98)}}.chat-head{gap:10px;padding:12px 14px;color:#fff}.chat-avatar,.chat-head{display:flex;align-items:center;background:var(--ink);flex:none}.chat-avatar{width:38px;height:38px;border-radius:50%;border:1.5px solid hsla(0,0%,100%,.35);color:var(--accent);font-weight:800;font-size:16px;justify-content:center}.chat-head-info{display:flex;flex-direction:column;gap:2px;min-width:0}.chat-head-name{font-weight:700;font-size:14px;line-height:1.2}.chat-head-status{display:flex;align-items:center;gap:5px;font-size:11.5px;color:hsla(0,0%,100%,.72);line-height:1.2}.chat-dot{width:7px;height:7px;flex:none;border-radius:50%;background:var(--green)}.chat-close{margin-left:auto;background:none;border:none;color:#fff;cursor:pointer;padding:6px;border-radius:var(--radius-s);display:flex;align-items:center;justify-content:center}.chat-close:hover{background:hsla(0,0%,100%,.12)}.chat-body{flex:1 1;overflow-y:auto;padding:14px;background:var(--bg-soft);display:flex;flex-direction:column;gap:10px}.chat-msg{max-width:84%;padding:9px 12px 6px;border-radius:var(--radius-m);font-size:13.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.chat-msg-in{align-self:flex-start;background:#fff;border:1px solid var(--border);border-bottom-left-radius:4px}.chat-msg-out{align-self:flex-end;background:var(--accent);color:var(--ink);border-bottom-right-radius:4px}.chat-msg-text{display:block}.chat-msg-time{display:block;font-size:10.5px;color:var(--text-faint);margin-top:2px;text-align:right}.chat-msg-out .chat-msg-time{color:rgba(11,11,12,.55)}.chat-typing{display:flex;align-items:center;gap:7px;color:var(--text-mute);font-size:12.5px;padding-bottom:9px}.chat-typing-dots{display:inline-flex;gap:3px}.chat-typing-dots span{width:5px;height:5px;border-radius:50%;background:var(--text-faint);animation:chat-typing-bounce 1.1s ease-in-out infinite}.chat-typing-dots span:nth-child(2){animation-delay:.15s}.chat-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes chat-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}.chat-alert{flex:none;margin:8px 12px 0;padding:8px 12px;border-radius:var(--radius-s);background:var(--orange-bg);color:#92600a;font-size:12px;line-height:1.35}.chat-input-row{flex:none;display:flex;align-items:flex-end;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--border)}.chat-input{flex:1 1;resize:none;border:1px solid var(--border);border-radius:var(--radius-m);padding:9px 12px;font-family:var(--font-sans);font-size:13.5px;line-height:1.4;color:var(--text);background:var(--bg);max-height:110px;outline:none}.chat-input:focus{border-color:var(--ink)}.chat-send{flex:none;width:38px;height:38px;border-radius:50%;border:none;background:var(--accent);color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .12s ease}.chat-send:hover:not(:disabled){transform:scale(1.06)}.chat-send:disabled{opacity:.45;cursor:default}@media (max-width:760px){.chat-fab{right:14px;width:52px;height:52px;bottom:calc(var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px)}.chat-fab--raised{bottom:calc(var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px + 74px)}.chat-panel{top:0;left:0;right:0;width:auto;height:auto;max-height:none;bottom:calc(var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px));border-radius:0;border:none}}@media (prefers-reduced-motion:reduce){.chat-panel{animation:none}.chat-fab,.chat-fab:hover,.chat-send,.chat-send:hover:not(:disabled){transition:none;transform:none}.chat-typing-dots span{animation:none}}