.chat-fab{border-radius:var(--rf);background:var(--brand-fill);color:#fff;box-shadow:var(--shl);cursor:pointer;border:2px solid #fff;align-items:center;gap:8px;padding:13px 18px;font-size:14.5px;font-weight:600;transition:background .15s;display:inline-flex;position:fixed}@supports not (aspect-ratio:1 / 1){.chat-fab{gap:0}.chat-fab>*+*{margin-left:8px}.chat-fab>svg:only-child,.chat-fab>img:only-child,.chat-fab>i:only-child,.chat-fab>.icon:only-child{margin-right:8px}}.chat-fab:hover{background:var(--fl)}.chat-fab:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-chips button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-x:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-fab .icon{width:20px;height:20px;color:var(--accent)}.chat-panel{border:1px solid var(--border);width:min(392px,100vw - 24px);height:min(560px,100vh - 110px);box-shadow:var(--shl);background:#fff;flex-direction:column;display:flex;position:fixed;overflow:hidden}@supports (height:1dvh){.chat-panel{height:min(560px,100dvh - 110px)}}.chat-panel[hidden]{display:none}.chat-head{background:var(--brand-fill);color:#fff;align-items:center;gap:12px;padding:14px 16px;display:flex}@supports not (aspect-ratio:1 / 1){.chat-head{gap:0}.chat-head>*+*{margin-left:12px}.chat-head>svg:only-child,.chat-head>img:only-child,.chat-head>i:only-child,.chat-head>.icon:only-child{margin-right:12px}}.chat-head b{font-family:var(--disp,inherit);font-size:16px;display:block}.chat-head small{color:#ffffffc7;font-size:.875rem}.chat-av{background:var(--accent);width:36px;height:36px;color:var(--brand-fill);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.chat-av .icon{width:20px;height:20px}.chat-x{color:#fff;cursor:pointer;justify-content:center;align-items:center;width:34px;height:34px;margin-left:auto;display:inline-flex}.chat-x .icon{width:18px;height:18px}.chat-log{background:var(--surface);overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;padding:16px;display:flex;overflow-y:auto}@supports not (aspect-ratio:1 / 1){.chat-log{gap:0}.chat-log>*+*{margin-top:10px}}.chat-msg{max-width:88%;font-size:14.5px;line-height:1.5}.chat-msg p{border:1px solid var(--border);color:var(--ink);background:#fff;padding:10px 13px}.chat-msg.user{align-self:flex-end}.chat-msg.user p{background:var(--brand-fill);border-color:var(--brand-fill);color:#fff}.chat-link{color:var(--link);text-underline-offset:3px;margin-top:6px;font-size:.875rem;font-weight:600;text-decoration:underline;display:inline-block}.chat-typing{align-items:center;gap:4px;display:flex}@supports not (aspect-ratio:1 / 1){.chat-typing{gap:0}.chat-typing>*+*{margin-left:4px}.chat-typing>svg:only-child,.chat-typing>img:only-child,.chat-typing>i:only-child,.chat-typing>.icon:only-child{margin-right:4px}}.chat-typing i{background:var(--muted-2);width:7px;height:7px;animation:1s ease-in-out infinite chatdot}.chat-typing i:nth-child(2){animation-delay:.15s}.chat-typing i:nth-child(3){animation-delay:.3s}@keyframes chatdot{0%,80%,to{opacity:.3}40%{opacity:1}}.chat-err{color:var(--error);background:var(--redp);padding:9px 12px;font-size:.875rem}.chat-chips{background:var(--surface);flex-wrap:wrap;gap:6px;padding:0 16px;display:flex}@supports not (aspect-ratio:1 / 1){.chat-chips{gap:0;margin-bottom:-6px}.chat-chips>*{margin-bottom:6px;margin-right:6px}}.chat-chips:not(:empty){padding-bottom:10px}.chat-chips button{border-radius:var(--rf);border:1.5px solid var(--border);color:var(--brand-fill);cursor:pointer;background:#fff;padding:7px 12px;font-size:.875rem;font-weight:600}.chat-chips button:hover:not(:disabled){border-color:var(--link)}.chat-chips button:disabled{opacity:.5}.chat-form{border-top:1px solid var(--border);background:#fff;gap:8px;padding:10px 12px;display:flex}@supports not (aspect-ratio:1 / 1){.chat-form{gap:0}.chat-form>*+*{margin-left:8px}.chat-form>svg:only-child,.chat-form>img:only-child,.chat-form>i:only-child,.chat-form>.icon:only-child{margin-right:8px}}.chat-form input{border:1.5px solid var(--border);border-radius:0;flex:1;min-width:0;padding:10px 14px;font-size:14.5px}.chat-form input:focus-visible{outline:3px solid var(--accent);outline-offset:0;border-color:var(--link)}.chat-form .btn{padding:9px 16px}.chat-form .btn:disabled{opacity:.5;cursor:default}.chat-note{color:var(--muted);background:#fff;padding:0 14px 10px;font-size:12px}.chat-note a{color:var(--link);text-decoration:underline}@media (max-width:640px){.chat-fab-t{display:none}.chat-fab{padding:13px}.chat-panel{width:auto;height:min(70vh,560px);left:12px;right:12px}@supports (height:1dvh){.chat-panel{height:min(70dvh,560px)}}}@media (prefers-reduced-motion:reduce){.chat-typing i{opacity:.6;animation:none}}@media (max-width:640px){.chat-fab{place-items:center;width:48px;height:48px;padding:0;display:grid}}.chat-fab{view-transition-name:chat-fab}.chat-msg.notice p{background:var(--goldp);border-color:var(--accent);color:var(--ink)}.chat-vote{color:var(--muted);align-items:center;gap:8px;font-size:.875rem;display:flex}@supports not (aspect-ratio:1 / 1){.chat-vote{gap:0}.chat-vote>*+*{margin-left:8px}.chat-vote>svg:only-child,.chat-vote>img:only-child,.chat-vote>i:only-child,.chat-vote>.icon:only-child{margin-right:8px}}.chat-vote button,.chat-chips .chat-person{border:1.5px solid var(--border);color:var(--brand-fill);cursor:pointer;background:#fff;padding:5px 12px;font-size:.875rem;font-weight:600}.chat-vote button:hover,.chat-chips .chat-person:hover{border-color:var(--link)}.chat-vote button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-chips .chat-person:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-chips .chat-person{border-radius:var(--rf);background:var(--mint);border-color:var(--el);padding:7px 12px}.chat-handoff{border:1.5px solid var(--el);background:#fff;gap:6px;padding:12px;font-size:14px;display:grid}.chat-handoff p{margin:0 0 4px;line-height:1.45}.chat-handoff label{color:var(--muted);font-size:.875rem;font-weight:600}.chat-handoff input,.chat-handoff textarea{border:1.5px solid var(--border);background:#fff;border-radius:0;width:100%;padding:9px 11px;font-family:inherit;font-size:14.5px}.chat-handoff input:focus-visible{outline:3px solid var(--accent);outline-offset:0;border-color:var(--link)}.chat-handoff textarea:focus-visible{outline:3px solid var(--accent);outline-offset:0;border-color:var(--link)}.chat-handoff input[readonly]{background:var(--surface)}.chat-handoff-btns{gap:8px;margin-top:4px;display:flex}@supports not (aspect-ratio:1 / 1){.chat-handoff-btns{gap:0}.chat-handoff-btns>*+*{margin-left:8px}.chat-handoff-btns>svg:only-child,.chat-handoff-btns>img:only-child,.chat-handoff-btns>i:only-child,.chat-handoff-btns>.icon:only-child{margin-right:8px}}@media (max-width:700px){.chat-form input,.chat-handoff input,.chat-handoff textarea{font-size:16px}}@media (pointer:coarse){.chat-form .btn,.chat-handoff .btn,.chat-chips button,.chat-vote button{min-height:44px}.chat-x{min-width:44px;min-height:44px}.chat-vote button{min-width:44px}}
