.os-chat{--os-chat-brand:#0b1c46;--os-chat-brand-2:#1d4ed8;--os-chat-accent:#2563eb;--os-chat-cta:#d64000;--os-chat-ink:#0f172a;--os-chat-text:#334155;--os-chat-muted:#64748b;--os-chat-line:#0f172a14;--os-chat-line-strong:#0f172a24;--os-chat-canvas:#f7f8fb;--os-chat-surface:#fff;--os-chat-tint:#eef3ff;--os-chat-online:#16a34a;--os-chat-away:#f59e0b;--os-chat-ease:cubic-bezier(.22, 1, .36, 1);--os-chat-z:110;-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.os-chat-launcher{z-index:var(--os-chat-z);background:linear-gradient(140deg, #3b82f6 0%, var(--os-chat-brand-2) 45%, var(--os-chat-brand) 100%);color:#fff;cursor:pointer;width:58px;height:58px;transition:transform .25s var(--os-chat-ease), box-shadow .25s ease, background .25s ease;border:0;border-radius:50%;place-items:center;display:grid;position:fixed;bottom:92px;right:22px;box-shadow:inset 0 1px #ffffff40,0 12px 28px -8px #1d4ed899,0 2px 6px #0b1c4633}.os-chat-launcher:hover,.os-chat-launcher:focus-visible{outline:none;transform:translateY(-2px)scale(1.04);box-shadow:inset 0 1px #ffffff40,0 18px 34px -10px #1d4ed8b3,0 2px 6px #0b1c4633}.os-chat-launcher:focus-visible{box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--os-chat-accent)}.os-chat-launcher:active{transform:scale(.95)}.os-chat-launcher.is-open{background:var(--os-chat-brand)}.os-chat-launcher svg,.os-chat-launcher-icon{width:28px;height:28px;transition:opacity .18s ease, transform .25s var(--os-chat-ease);grid-area:1/1}.os-chat-launcher-badge{background:#f97316;border-radius:50%;width:13px;height:13px;transition:opacity .2s,transform .2s,background .2s;position:absolute;top:3px;right:3px;box-shadow:0 0 0 2.5px #fff}.os-chat-launcher-badge:before{content:"";background:inherit;border-radius:50%;animation:1.8s cubic-bezier(0,0,.2,1) infinite os-chat-blink;position:absolute;inset:0}.os-chat[data-presence=online] .os-chat-launcher-badge,.os-chat[data-presence=live] .os-chat-launcher-badge{background:#22c55e}.os-chat-launcher.is-open .os-chat-launcher-badge{opacity:0;transform:scale(.3)}.os-chat-launcher.is-open .os-chat-launcher-badge:before{animation:none}@keyframes os-chat-blink{0%{opacity:.75;transform:scale(1)}75%,to{opacity:0;transform:scale(2.4)}}.os-chat-launcher-icon--close{opacity:0;pointer-events:none;width:22px;height:22px;transform:rotate(-90deg)scale(.6)}.os-chat-launcher.is-open .os-chat-launcher-icon--open{opacity:0;pointer-events:none;transform:rotate(90deg)scale(.6)}.os-chat-launcher.is-open .os-chat-launcher-icon--close{opacity:1;pointer-events:auto;transform:none}#os-chat-panel.os-chat-panel,.os-chat .os-chat-panel{display:flex}.os-chat-panel{z-index:calc(var(--os-chat-z) + 1);background:var(--os-chat-surface);border:1px solid var(--os-chat-line);opacity:0;transform-origin:100% 100%;pointer-events:none;width:min(392px,100vw - 28px);height:min(620px,100dvh - 176px);min-height:360px;transition:opacity .2s ease, transform .3s var(--os-chat-ease);border-radius:22px;flex-direction:column;display:flex;position:fixed;bottom:160px;right:22px;overflow:hidden;transform:translateY(12px)scale(.98);box-shadow:0 30px 60px -20px #0f172a52,0 12px 24px -12px #0f172a29,inset 0 0 0 1px #fff9}.os-chat-panel.is-open{opacity:1;pointer-events:auto;transform:none}.os-chat-header{background:var(--os-chat-surface);color:var(--os-chat-ink);border-bottom:1px solid var(--os-chat-line);flex-shrink:0;align-items:center;gap:12px;padding:14px 12px 14px 16px;display:flex}.os-chat-avatar{background:linear-gradient(150deg, var(--os-chat-brand-2) 0%, var(--os-chat-brand) 100%);color:#fff;letter-spacing:.02em;border-radius:13px;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:13px;font-weight:700;display:grid;position:relative;box-shadow:inset 0 1px #fff3,0 4px 10px -2px #1d4ed859}.os-chat-avatar:after{content:"";width:11px;height:11px;box-shadow:0 0 0 2.5px var(--os-chat-surface);background:#94a3b8;border-radius:50%;position:absolute;bottom:-2px;right:-2px}.os-chat[data-presence=online] .os-chat-avatar:after,.os-chat[data-presence=live] .os-chat-avatar:after{background:var(--os-chat-online)}.os-chat[data-presence=queued] .os-chat-avatar:after,.os-chat[data-presence=away] .os-chat-avatar:after{background:var(--os-chat-away)}.os-chat-header-copy{flex:1;min-width:0}.os-chat-header-copy strong{letter-spacing:-.015em;color:var(--os-chat-ink);font-size:15px;font-weight:700;line-height:1.25;display:block}.os-chat-tagline{color:var(--os-chat-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:12px;line-height:1.35;display:block;overflow:hidden}.os-chat-header-actions{flex-shrink:0;align-items:center;gap:2px;display:inline-flex}.os-chat-end,.os-chat-close{height:34px;color:var(--os-chat-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:600;transition:background .15s,color .15s;display:inline-flex}.os-chat-end{padding:0 10px;display:none}.os-chat[data-mode=live] .os-chat-end{display:inline-flex}.os-chat-human{background:var(--os-chat-tint);height:32px;color:var(--os-chat-brand-2);white-space:nowrap;cursor:pointer;border:1px solid #2563eb38;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 12px 0 10px;font-size:12px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.os-chat-human svg{fill:currentColor;flex-shrink:0;width:15px;height:15px}.os-chat-human:hover,.os-chat-human:focus-visible{background:var(--os-chat-brand-2);border-color:var(--os-chat-brand-2);color:#fff;outline:none}.os-chat-human:disabled{opacity:.6;cursor:wait}.os-chat[data-mode=live] .os-chat-human{display:none}.os-chat-close{width:34px;padding:0}.os-chat-close span{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.os-chat-close svg{fill:currentColor;width:18px;height:18px}.os-chat-end:hover,.os-chat-end:focus-visible,.os-chat-close:hover,.os-chat-close:focus-visible{color:var(--os-chat-ink);background:#f1f5f9;outline:none}.os-chat-body{overscroll-behavior:contain;background:var(--os-chat-canvas);scrollbar-width:thin;scrollbar-color:#0f172a2e transparent;flex:1;min-height:0;overflow-y:auto}.os-chat-body::-webkit-scrollbar{width:5px}.os-chat-body::-webkit-scrollbar-thumb{background:#0f172a2e;border-radius:999px}.os-chat-messages{flex-direction:column;gap:8px;padding:18px 14px 14px;display:flex}.os-chat-bubble{max-width:82%;color:var(--os-chat-ink);white-space:pre-wrap;overflow-wrap:anywhere;animation:os-chat-in .24s var(--os-chat-ease) both;border-radius:16px;padding:10px 13px;font-size:14px;line-height:1.5}@keyframes os-chat-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.os-chat-bubble.is-bot{background:var(--os-chat-surface);border:1px solid var(--os-chat-line);border-bottom-left-radius:5px;align-self:flex-start;box-shadow:0 1px 2px #0f172a0a}.os-chat-bubble.is-user{background:var(--os-chat-brand);color:#fff;border-bottom-right-radius:5px;align-self:flex-end}.os-chat-bubble.is-agent{background:var(--os-chat-tint);color:var(--os-chat-brand);border:1px solid #2563eb24;border-bottom-left-radius:5px;align-self:flex-start}.os-chat-bubble.is-system{max-width:90%;color:var(--os-chat-muted);text-align:center;background:#0f172a0a;border-radius:999px;align-self:center;margin:4px 0;padding:3px 10px;font-size:11.5px;font-weight:500}.os-chat-typing{background:var(--os-chat-surface);border:1px solid var(--os-chat-line);border-radius:16px 16px 16px 5px;align-self:flex-start;gap:4px;padding:12px 14px;display:inline-flex}.os-chat-typing span{background:#94a3b8;border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite os-chat-dot}.os-chat-typing span:nth-child(2){animation-delay:.15s}.os-chat-typing span:nth-child(3){animation-delay:.3s}@keyframes os-chat-dot{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.os-chat-live-status,.os-chat-waiting{color:var(--os-chat-muted);text-align:center;margin:0;font-size:11.5px;font-weight:500}.os-chat-prompt{border-top:1px solid var(--os-chat-line);background:var(--os-chat-surface);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#0f172a29 transparent;flex-direction:column;flex-shrink:0;gap:8px;max-height:min(38%,232px);padding:12px 14px 14px;display:flex;overflow:hidden auto}.os-chat-prompt:empty{border:0;padding:0;display:none}.os-chat-prompt.is-package-review{max-height:min(62%,370px)}.os-chat-choices,.os-chat-choice-list{flex-direction:column;gap:6px;display:flex}.os-chat-choice{text-align:left;border:1px solid var(--os-chat-line);background:var(--os-chat-surface);width:100%;min-height:44px;color:var(--os-chat-ink);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 10px 14px;font-size:13.5px;font-weight:600;line-height:1.35;transition:background .15s,border-color .15s,color .15s;display:flex}.os-chat-choice-label{flex:1;min-width:0}.os-chat-choice-hint{color:#94a3b8;width:22px;height:22px;transition:color .15s ease, transform .2s var(--os-chat-ease);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.os-chat-choice-hint svg{fill:currentColor;width:14px;height:14px}.os-chat-choice:hover,.os-chat-choice:focus-visible{background:var(--os-chat-tint);color:var(--os-chat-brand);border-color:#2563eb4d;outline:none}.os-chat-choice:hover .os-chat-choice-hint,.os-chat-choice:focus-visible .os-chat-choice-hint{color:var(--os-chat-accent);transform:translate(2px)}.os-chat-choice:active{transform:scale(.99)}.os-chat-choice-search{border:1px solid var(--os-chat-line);width:100%;height:40px;color:var(--os-chat-ink);background:var(--os-chat-canvas);z-index:1;border-radius:12px;flex-shrink:0;padding:0 12px;font-size:13px;position:sticky;top:0}.os-chat-choice-search:focus{border-color:var(--os-chat-accent);background:#fff;outline:none;box-shadow:0 0 0 3px #2563eb24}.os-chat-choice-empty{color:var(--os-chat-muted);text-align:center;margin:0;padding:8px 4px;font-size:12px}.os-chat-prompt-bar{justify-content:center;display:flex}.os-chat-dismiss{color:var(--os-chat-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600}.os-chat-dismiss:hover,.os-chat-dismiss:focus-visible{color:var(--os-chat-ink);background:#f1f5f9;outline:none}.os-chat-chips{flex-wrap:wrap;flex-shrink:0;gap:6px;display:flex}.os-chat-chip{border:1px solid var(--os-chat-line-strong);background:var(--os-chat-surface);color:var(--os-chat-ink);cursor:pointer;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s,color .15s}.os-chat-chip:hover,.os-chat-chip:focus-visible{background:var(--os-chat-tint);color:var(--os-chat-brand);border-color:#2563eb59;outline:none}.os-chat-chip:active{transform:scale(.98)}.os-chat-chip:disabled{opacity:.55;cursor:wait}.os-chat-chip.is-primary{background:var(--os-chat-brand);border-color:var(--os-chat-brand);color:#fff}.os-chat-chip.is-primary:hover,.os-chat-chip.is-primary:focus-visible{color:#fff;background:#132c63;border-color:#132c63}.os-chat-collect{border:1px solid var(--os-chat-line-strong);background:var(--os-chat-surface);border-radius:14px;align-items:center;gap:6px;padding:5px 5px 5px 4px;transition:border-color .15s,box-shadow .15s;display:flex}.os-chat-collect:focus-within{border-color:var(--os-chat-accent);box-shadow:0 0 0 3px #2563eb24}.os-chat-collect input{min-width:0;height:36px;color:var(--os-chat-ink);background:0 0;border:0;border-radius:10px;flex:1;padding:0 10px;font-size:14px}.os-chat-collect input::placeholder{color:#94a3b8}.os-chat-collect input:focus{outline:none}.os-chat-send,.os-chat-skip,.os-chat-action{cursor:pointer;border:0;border-radius:10px;flex-shrink:0;height:36px;padding:0 14px;font-size:13px;font-weight:700;transition:background .15s,filter .15s,transform .15s}.os-chat-send{background:var(--os-chat-brand);color:#fff}.os-chat-send:hover,.os-chat-send:focus-visible{background:#132c63;outline:none}.os-chat-action{background:var(--os-chat-cta);color:#fff;border-radius:12px;height:44px}.os-chat-action:hover,.os-chat-action:focus-visible{filter:brightness(1.06);outline:none}.os-chat-send:active,.os-chat-action:active{transform:scale(.98)}.os-chat-skip{color:var(--os-chat-muted);background:0 0}.os-chat-skip:hover,.os-chat-skip:focus-visible{color:var(--os-chat-ink);background:#f1f5f9;outline:none}.os-chat-packages{flex-direction:column;gap:6px;max-height:210px;padding-right:2px;display:flex;overflow-y:auto}.os-chat-package{text-align:left;border:1px solid var(--os-chat-line);background:var(--os-chat-surface);cursor:pointer;border-radius:12px;flex-direction:column;gap:3px;padding:11px 13px;transition:background .15s,border-color .15s;display:flex}.os-chat-package.is-suggested{background:var(--os-chat-tint);border-color:#2563eb59}.os-chat-package:hover,.os-chat-package:focus-visible{background:#f8faff;border-color:#2563eb66;outline:none}.os-chat-package:active{transform:scale(.99)}.os-chat-package-main{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.os-chat-package strong{color:var(--os-chat-ink);font-size:14px;font-weight:700}.os-chat-package-price{color:var(--os-chat-brand);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:13.5px;font-weight:700}.os-chat-package em{color:var(--os-chat-accent);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-style:normal;font-weight:700}.os-chat-feature-card{border:1px solid var(--os-chat-line);background:var(--os-chat-canvas);border-radius:14px;flex-direction:column;flex:auto;min-height:0;padding:12px 14px;display:flex;overflow:hidden}.os-chat-prompt.is-package-review .os-chat-feature-card{min-height:168px}.os-chat-feature-card-head{border-bottom:1px solid var(--os-chat-line);flex-shrink:0;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;padding-bottom:10px;display:flex}.os-chat-feature-card-head strong{color:var(--os-chat-ink);font-size:14px;font-weight:700}.os-chat-feature-card-head span{color:var(--os-chat-brand);font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.os-chat-feature-card ul,.os-chat-feature-list{scrollbar-width:thin;scrollbar-color:#0f172a2e transparent;flex-direction:column;flex:auto;gap:7px;min-height:0;margin:0;padding:0 2px 2px 0;list-style:none;display:flex;overflow-y:auto}.os-chat-feature-card li{color:var(--os-chat-text);padding-left:22px;font-size:13px;line-height:1.45;position:relative}.os-chat-feature-card li:before{content:"";background:#16a34a1f;border-radius:50%;width:14px;height:14px;position:absolute;top:.2em;left:0}.os-chat-feature-card li:after{content:"";border:solid var(--os-chat-online);border-width:0 1.5px 1.5px 0;width:3px;height:6px;position:absolute;top:calc(.2em + 3.5px);left:4.5px;transform:rotate(45deg)}.os-chat-package-actions{flex-direction:column;flex-shrink:0;align-items:stretch;gap:2px;display:flex}.os-chat-package-confirm{background:var(--os-chat-brand);color:#fff;cursor:pointer;border:0;border-radius:11px;height:40px;padding:0 14px;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.os-chat-package-confirm:hover,.os-chat-package-confirm:focus-visible{background:#132c63;outline:none}.os-chat-package-confirm:active{transform:scale(.99)}.os-chat-package-confirm:disabled{opacity:.55;cursor:wait}.os-chat-package-change{color:var(--os-chat-muted);cursor:pointer;text-align:center;background:0 0;border:0;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:600}.os-chat-package-change:hover,.os-chat-package-change:focus-visible{color:var(--os-chat-ink);background:#f1f5f9;outline:none}.os-chat-error{color:#b91c1c;background:#fef2f2;border:1px solid #b91c1c2e;border-radius:10px;margin:0;padding:8px 10px;font-size:12px;line-height:1.35}.os-chat-actions-row{flex-direction:column;gap:6px;display:flex}.os-chat-actions-row a.os-chat-action,.os-chat-actions-row .os-chat-action{justify-content:center;align-items:center;width:100%;text-decoration:none;display:inline-flex}.os-chat-actions-row a.os-chat-wa{background:#16a34a}.os-chat-actions-row .os-chat-action-secondary{color:var(--os-chat-ink);border:1px solid var(--os-chat-line-strong);background:0 0}.os-chat-actions-row .os-chat-action-secondary:hover,.os-chat-actions-row .os-chat-action-secondary:focus-visible{filter:none;background:#f8fafc}@media (width<=640px){.os-chat-launcher{right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom))}.os-chat-panel{width:100vw;height:min(92dvh, calc(100dvh - env(safe-area-inset-top,0px)));padding-bottom:env(safe-area-inset-bottom,0px);transform-origin:bottom;border-bottom:0;border-radius:22px 22px 0 0;bottom:0;left:0;right:0}.os-chat-header{gap:10px;padding:12px 10px 12px 14px}.os-chat-human{padding:0 10px 0 9px}.os-chat-prompt{max-height:min(40%,220px);padding-bottom:max(12px, env(safe-area-inset-bottom,0px))}.os-chat-prompt.is-package-review{max-height:min(68%,380px);padding-bottom:max(10px, env(safe-area-inset-bottom,0px))}.os-chat-prompt.is-package-review .os-chat-feature-card{min-height:190px}.os-chat-collect input{font-size:16px}}@media (prefers-reduced-motion:reduce){.os-chat-launcher,.os-chat-launcher svg,.os-chat-launcher-badge:before,.os-chat-panel,.os-chat-bubble,.os-chat-chip,.os-chat-package-confirm,.os-chat-choice,.os-chat-choice-hint,.os-chat-typing span{transition:none!important;animation:none!important}}
