:where(html){--ap-bg:#030510;--ap-bg-rgb:3, 5, 16;--ap-cyan:#38BDF8;--ap-cyan-rgb:56, 189, 248;--ap-violet:#8B5CF6;--ap-violet-rgb:139, 92, 246;--ap-fuchsia:#D946EF;--ap-fuchsia-rgb:217, 70, 239}:where(.ap-root.apb){--ap-border:rgba(255, 255, 255, 0.12);--ap-border-strong:rgba(255, 255, 255, 0.25);--ap-pearl:#F1EFEA;--ap-nebula:linear-gradient(120deg, var(--ap-cyan), var(--ap-violet) 45%, var(--ap-fuchsia) 75%, var(--ap-cyan));--ap-font-sans:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--ap-font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace}.ap-root.apb{color:#f2f1ee;font-family:var(--ap-font-sans);font-size:16px;line-height:1.5;letter-spacing:normal;-webkit-font-smoothing:antialiased;text-align:left}.ap-root.apb *,.ap-root.apb ::before,.ap-root.apb ::after{box-sizing:border-box;border:0 solid var(--ap-border)}.ap-root.apb :is(p,ul,ol,li){margin:0}.ap-root.apb :is(ul,ol){padding:0;list-style:none}.ap-root.apb a{color:inherit}.ap-root.apb :where(button,input){font:inherit;color:inherit;letter-spacing:inherit;margin:0;background:#fff0;box-shadow:none;text-transform:none;min-height:0;min-width:0;-webkit-appearance:none;appearance:none;border-radius:0;padding:0}.ap-root.apb :where(button){cursor:pointer}.ap-root.apb svg{display:block;max-width:100%}.ap-root.apb template{display:none!important}.ap-root.apb :focus-visible{outline:2px solid var(--ap-cyan);outline-offset:3px}.ap-root.apb .ap-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ap-root.apb .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-root.apb .ap-status-dot{width:6px;height:6px;border-radius:50%;background:var(--ap-cyan);flex-shrink:0;display:inline-block;animation:apb-pulse-dot 2.4s infinite}@keyframes apb-pulse-dot{0%{box-shadow:0 0 0 0 rgba(var(--ap-cyan-rgb),.5)}70%{box-shadow:0 0 0 8px rgba(var(--ap-cyan-rgb),0)}100%{box-shadow:0 0 0 0 rgba(var(--ap-cyan-rgb),0)}}@keyframes ap-nebula-flow{0%{background-position:0% 50%}100%{background-position:200% 50%}}.ap-root.apb .ap-chat-feed>*+*{margin-top:16px}.ap-root.apb .ap-chat-msg{display:flex;align-items:flex-start;gap:10px;max-width:100%}.ap-root.apb .ap-chat-msg.user{flex-direction:row-reverse}.ap-root.apb .ap-msg-avatar{width:24px;height:24px;flex-shrink:0;border-radius:7px;background:linear-gradient(135deg,var(--ap-violet),var(--ap-fuchsia));display:flex;align-items:center;justify-content:center;font-family:var(--ap-font-mono);font-size:10px;font-weight:700;color:#fff;margin-top:2px}.ap-root.apb .ap-msg-bubble{font-size:13.5px;line-height:1.55;padding:10px 14px;border-radius:14px;max-width:84%;overflow-wrap:anywhere}.ap-root.apb .ap-bot-bubble{background:rgb(255 255 255 / .06);border:1px solid var(--ap-border);border-left:2px solid rgba(var(--ap-cyan-rgb),.5);color:#d7d8dc;border-top-left-radius:4px}.ap-root.apb .ap-user-bubble{background:var(--ap-pearl);color:#0a0a0c;font-weight:500;border-top-right-radius:4px}.ap-root.apb .ap-thinking-bubble{display:flex;align-items:center;gap:4px;padding:12px 16px}.ap-root.apb .ap-tdot{width:4.5px;height:4.5px;border-radius:50%;background:#9aa0aa;animation:apb-bounce-dot 1.1s infinite ease-in-out}.ap-root.apb .ap-tdot:nth-child(2){animation-delay:0.15s}.ap-root.apb .ap-tdot:nth-child(3){animation-delay:0.3s}@keyframes apb-bounce-dot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.ap-root.apb .ap-bot-bubble>*+*{margin-top:8px}.ap-root.apb .ap-bot-bubble strong{color:#fff;font-weight:600}.ap-root.apb .ap-bot-bubble a{color:var(--ap-cyan);text-decoration:underline;text-underline-offset:2px}.ap-root.apb .ap-bot-bubble ul{color:rgb(255 255 255 / .75)}.ap-root.apb .ap-bot-bubble li+li{margin-top:6px}.ap-root.apb .ap-bot-bubble ul>li{position:relative;padding-left:18px}.ap-root.apb .ap-bot-bubble ul>li::before{content:"→";position:absolute;left:0;color:var(--ap-cyan)}@media (prefers-reduced-motion:reduce){.ap-root.apb *,.ap-root.apb ::before,.ap-root.apb ::after{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important}}.ap-root.apb{position:relative;z-index:85;height:0;pointer-events:none;--apb-side:24px;--apb-bottom:18px;--apb-lift:0px;--apb-w:clamp(300px, 25vw, 380px);--apb-w-open:clamp(400px, 34vw, 540px);--apb-h:50px}.ap-root.apb.apb--with-fab.apb--right{--apb-lift:72px}.ap-root .apb-dock{position:fixed;left:50%;bottom:calc(var(--apb-bottom) + var(--apb-lift));bottom:calc(var(--apb-bottom) + var(--apb-lift) + env(safe-area-inset-bottom, 0px));z-index:85;width:min(var(--apb-w), calc(100vw - 24px));transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;pointer-events:none;transition:width 0.45s cubic-bezier(.22,1,.36,1)}.ap-root.apb.is-open .apb-dock{width:min(var(--apb-w-open), calc(100vw - 24px))}.ap-root .apb-dock>*{pointer-events:auto}.ap-root.apb--right .apb-dock{left:auto;right:var(--apb-side);transform:none;width:min(var(--apb-w), calc(100vw - var(--apb-side) * 2))}.ap-root.apb--left .apb-dock{left:var(--apb-side);transform:none;width:min(var(--apb-w), calc(100vw - var(--apb-side) * 2))}.ap-root.apb--right.is-open .apb-dock,.ap-root.apb--left.is-open .apb-dock{width:min(var(--apb-w-open), calc(100vw - var(--apb-side) * 2))}.ap-root.apb--right .apb-chips{align-items:flex-end}.ap-root.apb--right .apb-chip{text-align:right}.ap-root .apb-panel{position:relative;display:none;flex-direction:column;max-height:min(440px, calc(100vh - 180px));max-height:min(440px, calc(100dvh - 180px));border-radius:19.2px;border:1px solid var(--ap-border);overflow:hidden;background:rgb(13 19 42 / .95);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);box-shadow:0 30px 80px -24px rgb(0 0 0 / .85)}.ap-root.apb.is-open.has-chat .apb-panel{display:flex;animation:apb-rise 0.4s cubic-bezier(.22,1,.36,1) both}.ap-root .apb-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10.4px 12.8px 10.4px 15.2px;border-bottom:1px solid rgb(255 255 255 / .08);flex-shrink:0}.ap-root .apb-title{display:flex;align-items:center;gap:8.8px;min-width:0;font-family:var(--ap-font-mono);font-size:11px;letter-spacing:.1em;color:rgb(255 255 255 / .88)}.ap-root .apb-title small{font-size:inherit;color:rgb(255 255 255 / .45)}.ap-root .apb-head-actions{display:flex;gap:6.4px}.ap-root .apb-head-btn{width:28px;height:28px;border-radius:999px;border:1px solid rgb(255 255 255 / .1);display:flex;align-items:center;justify-content:center;color:rgb(255 255 255 / .75);transition:background 0.2s ease,color 0.2s ease}.ap-root .apb-head-btn:hover{background:rgb(255 255 255 / .07);color:#fff}.ap-root .apb-head-btn svg{width:14px;height:14px}.ap-root .apb-feed [dir="rtl"]{text-align:right;line-height:1.85}.ap-root .apb-feed .ap-bot-bubble[dir="rtl"]{border-left-width:1px;border-right:2px solid rgba(var(--ap-cyan-rgb),.5)}.ap-root .apb-feed [dir="rtl"] ul>li{padding-left:0;padding-right:17.6px}.ap-root .apb-feed [dir="rtl"] ul>li::before{left:auto;right:0;content:"←"}.ap-root .apb-feed{flex:1;min-height:0;overflow-y:auto;padding:16px 14.4px 17.6px}.ap-root .apb-chips{display:none;flex-direction:column;align-items:flex-start;gap:7px;pointer-events:none}.ap-root.apb.is-open:not(.has-chat) .apb-chips{display:flex}.ap-root .apb-chip{pointer-events:auto;max-width:100%;text-align:left;font-size:13px;font-weight:600;line-height:1.3;color:#f2f1ee;padding:8.8px 16px;border-radius:999px;background:rgb(18 25 52 / .85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgb(255 255 255 / .14);box-shadow:0 10px 26px -12px rgb(0 0 0 / .7);animation:apb-rise 0.45s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i, 0) * 70ms);transition:border-color 0.25s ease,background 0.25s ease,box-shadow 0.25s ease,transform 0.25s ease}.ap-root .apb-chip:hover{border-color:#fff0;transform:translateY(-1px);background:linear-gradient(rgb(24 32 64 / .94),rgb(24 32 64 / .94)) padding-box,var(--ap-nebula) border-box;box-shadow:0 0 22px rgba(var(--ap-fuchsia-rgb),.16),0 0 34px rgba(var(--ap-cyan-rgb),.12)}@keyframes apb-rise{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes apb-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}.ap-root .apb-bar{position:relative;display:flex;align-items:center;gap:2px;min-height:var(--apb-h);padding:5px 5px 5px 18px;border-radius:999px;cursor:text;background:rgb(13 19 42 / .84);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border:1px solid rgb(255 255 255 / .1);box-shadow:0 18px 44px -16px rgb(0 0 0 / .8),0 0 36px -18px rgba(var(--ap-violet-rgb),.55),inset 0 1px 1px rgb(255 255 255 / .12);transition:box-shadow 0.35s ease,background 0.35s ease,transform 0.25s ease}.ap-root .apb-bar::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;background:var(--ap-nebula);background-size:300% 300%;animation:ap-nebula-flow 6s linear infinite;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.45;transition:opacity 0.35s ease}.ap-root.apb:not(.is-open):not(.is-mini) .apb-bar:hover{transform:translateY(-2px)}.ap-root.apb:not(.is-open) .apb-bar:hover::before{opacity:.85}.ap-root.apb.is-open .apb-bar{background:rgb(13 19 42 / .96);box-shadow:0 24px 60px -16px rgb(0 0 0 / .85),0 0 50px -14px rgba(var(--ap-fuchsia-rgb),.4),inset 0 1px 1px rgb(255 255 255 / .12)}.ap-root.apb.is-open .apb-bar::before{opacity:.9}.ap-root.apb.is-pop .apb-bar{animation:apb-rise 0.4s cubic-bezier(.22,1,.36,1) both}.ap-root .apb-field{position:relative;flex:1;min-width:0;height:38px;display:flex;align-items:center}.ap-root .apb-input{width:100%;height:100%;border:0;outline:none;background:#fff0;color:#f2f1ee;font-size:14px}.ap-root .apb-input:focus-visible{outline:none}.ap-root .apb-input::placeholder{color:#7a8096;opacity:1}.ap-root .apb-ghost{position:absolute;inset:0;display:flex;align-items:center;pointer-events:none;overflow:hidden;white-space:nowrap;font-size:13.5px;color:rgb(255 255 255 / .72)}.ap-root .apb-ghost-text{overflow:hidden;text-overflow:ellipsis}.ap-root .apb-caret{flex-shrink:0;width:1.5px;height:1.1em;margin-left:2px;background:var(--ap-cyan);box-shadow:0 0 8px rgba(var(--ap-cyan-rgb),.8);animation:apb-blink 1s steps(1) infinite}@keyframes apb-blink{50%{opacity:0}}.ap-root.apb.is-open .apb-ghost,.ap-root.apb.has-value .apb-ghost{display:none}.ap-root .apb-icon{width:34px;height:34px;flex-shrink:0;border-radius:999px;display:none;align-items:center;justify-content:center;color:rgb(255 255 255 / .72);transition:background 0.2s ease,color 0.2s ease}.ap-root.apb.is-open .apb-icon{display:flex}.ap-root .apb-icon:hover{background:rgb(255 255 255 / .08);color:#fff}.ap-root .apb-icon svg{width:17px;height:17px}.ap-root.apb.is-listening .apb-mic{color:#fff;background:rgba(var(--ap-fuchsia-rgb),.22);animation:apb-mic 1.4s ease-out infinite}@keyframes apb-mic{0%{box-shadow:0 0 0 0 rgba(var(--ap-fuchsia-rgb),.5)}100%{box-shadow:0 0 0 12px rgba(var(--ap-fuchsia-rgb),0)}}.ap-root .apb-send{width:38px;height:38px;flex-shrink:0;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#fff;background:rgb(255 255 255 / .1);border:1px solid rgb(255 255 255 / .12);transition:background 0.3s ease,transform 0.2s ease,box-shadow 0.3s ease,opacity 0.2s ease}.ap-root .apb-send svg{width:17px;height:17px}.ap-root.apb:not(.is-open) .apb-send,.ap-root .apb-send.is-ready{border-color:#fff0;background:linear-gradient(135deg,var(--ap-violet),var(--ap-fuchsia) 60%,var(--ap-cyan));box-shadow:0 8px 22px -8px rgba(var(--ap-fuchsia-rgb),.7)}.ap-root .apb-send:hover{transform:scale(1.06)}.ap-root .apb-send:disabled{opacity:.45;pointer-events:none}.ap-root .apb-note{display:none;text-align:center;font-size:10.5px;line-height:1.4;color:rgb(255 255 255 / .4);margin-top:-2px}.ap-root.apb.is-open .apb-note{display:block}.ap-root .apb-mini{display:none;width:100%;height:100%;border-radius:50%;align-items:center;justify-content:center;color:#fff}.ap-root .apb-mini svg{width:22px;height:22px}.ap-root.apb.is-mini:not(.is-open) .apb-dock{width:56px;transition:none}.ap-root.apb--center.is-mini:not(.is-open) .apb-dock{left:auto;right:var(--apb-side);transform:none}.ap-root.apb.is-mini:not(.is-open) .apb-bar{width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;justify-content:center;border-color:#fff0;overflow:hidden;cursor:pointer;background:linear-gradient(135deg,var(--ap-violet),var(--ap-fuchsia) 60%,var(--ap-cyan));box-shadow:0 14px 34px -10px rgba(var(--ap-violet-rgb),.6);animation:apb-pop 0.35s cubic-bezier(.22,1,.36,1) both}.ap-root.apb.is-mini:not(.is-open) .apb-field,.ap-root.apb.is-mini:not(.is-open) .apb-send{display:none}.ap-root.apb.is-mini:not(.is-open) .apb-mini{display:flex}@media (min-width:641px) and (max-width:1024px){.ap-root.apb{--apb-w:320px;--apb-w-open:min(480px, 62vw);--apb-h:50px}.ap-root .apb-input{font-size:16px}}@media (max-width:640px){.ap-root.apb{--apb-bottom:12px;--apb-h:48px}.ap-root.apb.apb--with-fab{--apb-lift:70px}.ap-root.apb .apb-dock{left:50%;right:auto;transform:translateX(-50%);width:min(340px, calc(100vw - 48px))}.ap-root.apb.is-open .apb-dock{width:calc(100vw - 20px)}.ap-root.apb .apb-chips{align-items:flex-start}.ap-root.apb .apb-chip{text-align:left}.ap-root .apb-bar{padding-left:16px;overflow:hidden}.ap-root.apb.is-mini:not(.is-open) .apb-dock{left:auto;right:16px;transform:none;width:56px}.ap-root .apb-input{font-size:16px}.ap-root .apb-ghost{font-size:13.5px}.ap-root .apb-panel{max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px)}}