*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root,[data-theme=dark]{--bg:#15181b;--bg-elevated:#1a1e22;--surface:#1e2226;--surface-2:#262b30;--border:#2c3136;--text:#f2efe8;--text-muted:#a69c8c;--text-faint:#6b6459;--accent:#007aff;--accent-2:#3395ff;--accent-soft:#007aff1f;--bubble-epic-bg:#1e2226;--bubble-epic-text:#f2efe8;--code-bg:#ffffff1a;--overlay:#0009;--scrollbar:#2c3136;--online:#4ade80;--danger:#f87171;--danger-strong:#ef4444;--danger-bg:#ef44441f;--danger-border:#7f1d1d;--warn:#fbbf24;--warn-bg:#78350f40;--warn-border:#92400e;--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light]{--bg:#f4f0e7;--bg-elevated:#eae4d6;--surface:#faf8f2;--surface-2:#eae4d6;--border:#d9d2c3;--text:#1d1a14;--text-muted:#6b6459;--text-faint:#a69c8c;--accent:#0071eb;--accent-2:#3395ff;--accent-soft:#007aff1a;--bubble-epic-bg:#faf8f2;--bubble-epic-text:#1d1a14;--code-bg:#1d1a1414;--overlay:#1d1a1473;--scrollbar:#cfc7b6;--online:#16a34a;--danger:#dc2626;--danger-strong:#b91c1c;--danger-bg:#fee2e2;--danger-border:#fecaca;--warn:#b45309;--warn-bg:#fef3c7;--warn-border:#fcd34d;--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html,body,#root{background:var(--bg);height:100%;color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}a{color:inherit}.app-loading{background:var(--bg);justify-content:center;align-items:center;height:100vh;display:flex}.app-loading:after{content:"";border:3px solid var(--accent);border-top-color:#0000;border-radius:50%;width:26px;height:26px;animation:.7s linear infinite app-spin}@keyframes app-spin{to{transform:rotate(360deg)}}[data-tip]{position:relative}[data-tip]:after,[data-tip]:before{opacity:0;visibility:hidden;pointer-events:none;z-index:200;transition:opacity .12s,visibility .12s;position:absolute}[data-tip]:after{content:attr(data-tip);color:#f8fafc;letter-spacing:.005em;white-space:nowrap;background:#0b0b12;border:1px solid #ffffff1f;border-radius:7px;padding:.3rem .5rem;font-size:.72rem;font-weight:600;line-height:1.3;box-shadow:0 6px 18px #00000059}[data-tip]:before{content:"";background:#0b0b12;border-bottom:1px solid #ffffff1f;border-right:1px solid #ffffff1f;width:7px;height:7px}[data-tip]:hover:after,[data-tip]:hover:before,[data-tip]:focus-visible:after,[data-tip]:focus-visible:before{opacity:1;visibility:visible}[data-tip]:after{bottom:calc(100% + 9px);left:50%;transform:translate(-50%)}[data-tip]:before{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)rotate(45deg)}[data-tip-align=start]:after{left:0;transform:none}[data-tip-align=end]:after{left:auto;right:0;transform:none}[data-tip-pos=right]:after{top:50%;bottom:auto;left:calc(100% + 9px);transform:translateY(-50%)}[data-tip-pos=right]:before{top:50%;bottom:auto;left:calc(100% + 5px);transform:translateY(-50%)rotate(135deg)}[data-tip-pos=bottom]:after{top:calc(100% + 9px);bottom:auto}[data-tip-pos=bottom]:before{top:calc(100% + 5px);bottom:auto;transform:translate(-50%)rotate(225deg)}[data-tip-pos=left]:after{inset:50% calc(100% + 9px) auto auto;transform:translateY(-50%)}[data-tip-pos=left]:before{inset:50% calc(100% + 5px) auto auto;transform:translateY(-50%)rotate(-45deg)}@media (prefers-reduced-motion:reduce){[data-tip]:after,[data-tip]:before{transition:none}}@media (hover:none){[data-tip]:after,[data-tip]:before{display:none}}.brand{min-width:0;color:var(--text);align-items:center;gap:.4rem;text-decoration:none;display:flex}.brand--compact{justify-content:center;gap:0}.brand-product{letter-spacing:-.012em;white-space:nowrap;font-size:1rem;font-weight:750}.brand-rule{background:var(--border);flex-shrink:0;width:1px;height:14px;margin:0 .1rem}.brand-by{color:var(--text-faint);white-space:nowrap;font-size:.76rem}.hk-mark{color:#007aff;flex-shrink:0;margin-bottom:1px}.hk-word-tld{color:#007aff}:root:not([data-theme=light]) .hk-mark,:root:not([data-theme=light]) .hk-word-tld,[data-theme=dark] .hk-mark,[data-theme=dark] .hk-word-tld{color:#3395ff}.hk-word{letter-spacing:.015em;white-space:nowrap;color:var(--text);font-family:Instrument Serif,Iowan Old Style,Georgia,Times New Roman,serif;font-size:1.02rem;font-weight:400;line-height:1}.brand:hover .hk-word{opacity:.85}.shell{background:var(--bg);height:100dvh;display:flex;overflow:hidden}.shell--locked .shell-new:disabled,.shell--locked .shell-account-btn:disabled,.shell--locked .shell-icon-btn:disabled,.shell--locked .shell-search{opacity:.45;pointer-events:none}.shell--locked .shell-collapse{opacity:1;pointer-events:auto}.shell-sidebar{background:var(--bg-elevated);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;width:264px;min-height:0;transition:width .18s;display:flex}.shell--collapsed .shell-sidebar{width:62px}.shell--collapsed .shell-label,.shell--collapsed .shell-search,.shell--collapsed .shell-list,.shell--collapsed .shell-account-text{display:none}.shell-brand{flex-shrink:0;align-items:center;gap:.6rem;height:54px;padding:0 .65rem;display:flex}.shell-brand .brand{flex:1;min-width:0;overflow:hidden}.shell-icon-btn{width:30px;height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.shell-icon-btn:hover{background:var(--surface);color:var(--text)}.shell-icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.shell-collapse{border:1px solid #0000}.shell-collapse:hover{border-color:var(--border)}.shell--collapsed .shell-brand{flex-direction:column;gap:.35rem;height:auto;padding:.6rem 0 .2rem}.shell-top{flex-shrink:0;padding:0 .65rem .5rem}.shell--collapsed .shell-top{padding:0 .65rem .4rem}.shell-new{background:var(--surface);border:1px solid var(--border);width:100%;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:.55rem;padding:.55rem .6rem;font-size:.85rem;font-weight:600;transition:border-color .15s,background .15s;display:flex}.shell-new:hover{border-color:var(--accent);background:var(--surface-2)}.shell--collapsed .shell-new{justify-content:center;padding:.55rem 0}.shell-search{background:var(--surface-2);height:34px;color:var(--text-faint);border:1px solid #0000;border-radius:10px;align-items:center;gap:.45rem;margin-top:.5rem;padding:0 .6rem;display:flex}.shell-search:focus-within{border-color:var(--accent)}.shell-search input{min-width:0;color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1;font-size:.82rem}.shell-search input::placeholder{color:var(--text-faint)}.shell-list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent;flex:1;min-height:0;padding:.25rem .5rem .5rem;overflow-y:auto}.shell-list::-webkit-scrollbar{width:8px}.shell-list::-webkit-scrollbar-thumb{background:var(--scrollbar);background-clip:content-box;border:2px solid #0000;border-radius:8px}.shell-empty{color:var(--text-faint);padding:.9rem .65rem;font-size:.78rem;line-height:1.45}.shell-empty--note{padding-top:.3rem;font-size:.72rem;font-style:italic}.shell-group{margin-bottom:.45rem}.shell-group-label{color:var(--text-faint);letter-spacing:.07em;text-transform:uppercase;padding:.6rem .65rem .3rem;font-size:.67rem;font-weight:700}.shell-chat{color:var(--text-muted);border-radius:9px;align-items:center;transition:background .12s,color .12s;display:flex}.shell-chat:hover{background:var(--surface);color:var(--text)}.shell-chat--active{background:var(--surface);color:var(--text);box-shadow:inset 2px 0 0 var(--accent)}.shell-chat-open{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;padding:.45rem .3rem .45rem .65rem;font-size:.82rem}.shell-chat-title{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.shell-chat-snippet{-webkit-line-clamp:2;color:var(--text-faint);-webkit-box-orient:vertical;margin-top:.15rem;font-size:.72rem;line-height:1.35;display:-webkit-box;overflow:hidden}.shell-chat-more{width:26px;height:26px;color:var(--text-faint);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;margin-right:.25rem;transition:opacity .12s,background .12s,color .12s;display:flex}.shell-chat:hover .shell-chat-more,.shell-chat--active .shell-chat-more,.shell-chat-more:focus-visible{opacity:1}.shell-chat-more:hover{background:var(--border);color:var(--text)}@media (hover:none){.shell-chat-more{opacity:1}}.shell-chat--editing{padding:.15rem .3rem .15rem .35rem}.shell-chat-input{background:var(--bg);border:1px solid var(--accent);width:100%;color:var(--text);font:inherit;border-radius:7px;outline:none;padding:.35rem .45rem;font-size:.82rem}.shell-menu-scrim{z-index:90;position:fixed;inset:0}.shell-menu,.shell-account-menu{z-index:91;background:var(--bg-elevated);border:1px solid var(--border);border-radius:11px;padding:.3rem;position:fixed;box-shadow:0 12px 32px #00000059}.shell-menu-item{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:.55rem;padding:.45rem .55rem;font-size:.82rem;text-decoration:none;display:flex}.shell-menu-item:hover{background:var(--surface)}.shell-menu-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.shell-menu-item.active{background:var(--surface);color:var(--text);font-weight:600}.shell-menu-item.active svg{color:var(--accent)}.shell-menu-item--danger{color:var(--danger)}.shell-menu-item--danger:hover{background:var(--danger-bg)}.shell-menu-sep{background:var(--border);height:1px;margin:.3rem .2rem}.shell-dot{background:var(--warn);width:9px;height:9px;box-shadow:0 0 0 2px var(--bg-elevated);border-radius:50%;animation:1.8s ease-in-out infinite shell-dot-pulse;position:absolute;bottom:-1px;right:-1px}.shell-dot--on{background:var(--online);animation:none}@keyframes shell-dot-pulse{0%,to{opacity:1}50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.shell-dot{animation:none}}.shell-account{border-top:1px solid var(--border);flex-shrink:0;align-items:center;gap:.25rem;margin-top:auto;padding:.5rem;display:flex;position:relative}.shell-account-btn{min-width:0;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;align-items:center;gap:.55rem;padding:.4rem .5rem;transition:background .12s;display:flex}.shell-account-btn:hover{background:var(--surface)}.shell--collapsed .shell-account-btn{justify-content:center;padding:.4rem 0}.shell--collapsed .shell-account{padding:.5rem .25rem}.shell--collapsed .shell-account-btn svg{display:none}.shell-avatar{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:.72rem;font-weight:700;display:flex;position:relative}.shell-account-text{text-align:left;flex:1;min-width:0}.shell-account-line,.shell-account-sub{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.shell-account-line{color:var(--text);font-size:.8rem;font-weight:600}.shell-account-sub{color:var(--text-faint);font-size:.7rem}.shell-account-menu{width:238px;position:absolute;bottom:calc(100% - .25rem);left:.5rem}.shell--collapsed .shell-account-menu{left:.25rem}.shell-account-menu-head{border-bottom:1px solid var(--border);margin-bottom:.3rem;padding:.5rem .55rem .45rem}.shell-account-name{color:var(--text);font-size:.82rem;font-weight:650}.shell-account-email{color:var(--text-faint);text-overflow:ellipsis;margin-top:.1rem;font-size:.72rem;overflow:hidden}.shell-account-legal{color:var(--text-faint);gap:.4rem;padding:.45rem .55rem .15rem;font-size:.7rem;display:flex}.shell-account-legal a{color:var(--text-faint);text-decoration:none}.shell-account-legal a:hover{color:var(--text-muted);text-decoration:underline}.shell-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.shell-content{flex-direction:column;flex:1;min-height:0;display:flex}.shell-content>*{flex:1;min-height:0}.shell-mobile-bar,.shell-scrim{display:none}@media (width<=860px){.shell-sidebar{z-index:80;width:280px;transition:transform .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.shell--collapsed .shell-sidebar{width:280px}.shell--collapsed .shell-label,.shell--collapsed .shell-search,.shell--collapsed .shell-list,.shell--collapsed .shell-account-text{display:revert}.shell--collapsed .shell-brand{flex-direction:row;height:54px;padding:0 .65rem}.shell--collapsed .shell-new,.shell--collapsed .shell-account-btn{justify-content:flex-start}.shell-collapse{display:none}.shell--drawer .shell-sidebar{transform:none}.shell--drawer .shell-scrim{z-index:79;background:var(--overlay);display:block;position:fixed;inset:0}.shell-mobile-bar{background:var(--bg-elevated);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:.5rem;height:48px;padding:0 .5rem;display:flex}.shell-mobile-bar .brand{flex:1;justify-content:center;min-width:0;overflow:hidden}}.dlg-scrim{z-index:300;background:var(--overlay);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.dlg{background:var(--bg-elevated);border:1px solid var(--border);border-radius:16px;width:100%;max-width:400px;padding:1.25rem;box-shadow:0 20px 50px #00000073}.dlg-title{color:var(--text);margin:0;font-size:1rem;font-weight:700;line-height:1.35}.dlg-body{color:var(--text-muted);overflow-wrap:anywhere;margin:.5rem 0 0;font-size:.85rem;line-height:1.5}.dlg-actions{gap:.6rem;margin-top:1.1rem;display:flex}.dlg-btn{font:inherit;cursor:pointer;border:1.5px solid #0000;border-radius:10px;flex:1;padding:.6rem .9rem;font-size:.85rem;font-weight:650;transition:background .15s,border-color .15s,filter .15s}.dlg-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dlg-btn--cancel{border-color:var(--border);color:var(--text-muted);background:0 0}.dlg-btn--cancel:hover{border-color:var(--text-faint);color:var(--text)}.dlg-btn--primary{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff}.dlg-btn--primary:hover{filter:brightness(1.08)}.dlg-btn--danger{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger)}.dlg-btn--danger:hover{background:var(--danger-strong);color:#fff;border-color:var(--danger-strong)}.toast-stack{z-index:310;pointer-events:none;flex-direction:column;gap:.5rem;display:flex;position:fixed;bottom:5.5rem;right:1rem}.toast{pointer-events:auto;background:var(--bg-elevated);border:1px solid var(--border);border-left:3px solid var(--text-faint);border-radius:11px;align-items:flex-start;gap:.55rem;width:min(380px,100vw - 2rem);padding:.7rem .8rem;animation:.18s ease-out toast-in;display:flex;box-shadow:0 10px 28px #00000059}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.toast--error{border-left-color:var(--danger)}.toast--success{border-left-color:var(--online)}.toast--info{border-left-color:var(--accent)}.toast-icon{color:var(--text-muted);flex-shrink:0;margin-top:.05rem}.toast--error .toast-icon{color:var(--danger)}.toast--success .toast-icon{color:var(--online)}.toast-text{min-width:0;color:var(--text);overflow-wrap:anywhere;flex:1;font-size:.82rem;line-height:1.45}.toast-close{width:22px;height:22px;color:var(--text-faint);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.toast-close:hover{background:var(--surface);color:var(--text)}.toast-close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}@media (width<=560px){.toast-stack{left:1rem;right:1rem}.toast{width:100%}}.avatar-wrapper{flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.avatar-float{animation:3.6s ease-in-out infinite avatarFloat}.avatar-float--speaking{animation:.4s ease-in-out infinite avatarTalkBob!important}@keyframes avatarFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes avatarTalkBob{0%,to{transform:translateY(0)rotate(-.8deg)}50%{transform:translateY(-5px)rotate(.8deg)}}@keyframes mouthTalk{0%{transform:scaleY(.2)}to{transform:scaleY(1)}}@keyframes ledRowA{0%,to{opacity:1}50%{opacity:.15}}@keyframes ledRowB{0%,to{opacity:.15}50%{opacity:1}}.avatar-img{object-fit:cover;display:block}.avatar-ring{opacity:0;border:3px solid #0000;transition:opacity .2s;position:absolute}.avatar-ring--speaking{opacity:.85;animation:1s ease-in-out infinite ringPulseSlow}.avatar-ring--listening{opacity:.85;animation:.6s ease-in-out infinite ringPulseFast}@keyframes ringPulseSlow{0%,to{transform:scale(1)}50%{transform:scale(1.18)}}@keyframes ringPulseFast{0%,to{transform:scale(1)}50%{transform:scale(1.14)}}.bubble-row{align-items:flex-end;gap:.5rem;margin-bottom:.75rem;padding:0 1rem;display:flex}.bubble-row--user{flex-direction:row-reverse}.bubble-avatar{background:var(--surface);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex;overflow:hidden}.bubble-avatar svg{width:100%;height:100%;display:block}.bubble-avatar--text{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));font-size:.6rem;font-weight:700}.bubble-avatar--speaking{animation:.45s ease-in-out infinite bubbleAvatarTalk}@keyframes bubbleAvatarTalk{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-2px)rotate(2deg)}}@media (prefers-reduced-motion:reduce){.bubble-avatar--speaking{animation:none}}.bubble{word-break:break-word;white-space:normal;border-radius:16px;max-width:75%;padding:.65rem .9rem;font-size:.9rem;line-height:1.5}.bubble--epic{background:var(--bubble-epic-bg);color:var(--bubble-epic-text);border-bottom-left-radius:4px}.bubble--user{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));border-bottom-right-radius:4px}.bubble--failed{opacity:.6}.bubble-text{display:block}.bubble-status{opacity:.7;align-items:center;gap:.2rem;margin-top:.25rem;font-size:.7rem;display:inline-flex}.bubble-status--sent{opacity:.65}.bubble-status--sent svg{display:block}.bubble-status--failed{color:#f87171;opacity:1}.bubble-speak{cursor:pointer;opacity:.5;color:var(--text-muted);background:0 0;border:none;flex-shrink:0;align-items:center;padding:.25rem;line-height:1;transition:opacity .15s,color .15s;display:flex}.bubble-speak:hover,.bubble-speak--active{opacity:1;color:var(--text)}.md-spacer{height:.4rem}.md-list-item{gap:.4rem;margin:.1rem 0;display:flex}.md-list-num{flex-shrink:0;min-width:1.4rem;font-weight:600}.md-list-bullet{flex-shrink:0;min-width:1rem}.md-code{background:var(--code-bg);border-radius:3px;padding:.1em .35em;font-family:monospace;font-size:.85em}.bubble-frames-loading{opacity:.7;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.82rem;display:flex}.bubble-images{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px;margin-top:.6rem;display:grid}.bubble-images--review .bubble-screenshot{border:2px solid #007aff66}.bubble-screenshot-wrap{position:relative}.bubble-screenshot{aspect-ratio:16/9;object-fit:cover;cursor:zoom-in;border:1px solid #ffffff1a;border-radius:6px;width:100%;transition:opacity .15s,transform .15s;display:block}.bubble-screenshot:hover{opacity:.88;transform:scale(1.02)}.bubble-screenshot-actions{opacity:0;gap:3px;transition:opacity .15s;display:flex;position:absolute;top:4px;right:4px}.bubble-screenshot-wrap:hover .bubble-screenshot-actions{opacity:1}.bubble-screenshot-replace,.bubble-screenshot-delete,.bubble-screenshot-move{color:#fff;cursor:pointer;font:inherit;background:#000000a6;border:none;border-radius:5px;align-items:center;gap:4px;padding:3px 7px;font-size:.72rem;font-weight:600;line-height:1.3;transition:background .15s;display:inline-flex}.bubble-screenshot-replace:hover{background:#3b82f6cc}.bubble-screenshot-delete:hover{background:#dc2626cc}.bubble-screenshot-move:hover{background:#10b981cc}.bubble-file-input{display:none}.bubble-approval-bar{border-top:1px solid #ffffff1a;margin-top:.75rem;padding-top:.65rem}.bubble-approval-hint{opacity:.65;margin-bottom:.6rem;font-size:.78rem;line-height:1.4;display:block}.bubble-approval-actions{gap:.5rem;display:flex}.bubble-approve-btn{color:#fff;cursor:pointer;font:inherit;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:8px;align-items:center;gap:.4rem;padding:.45rem 1rem;font-size:.85rem;font-weight:600;transition:opacity .15s;display:inline-flex}.bubble-approve-btn:hover{opacity:.88}.bubble-dismiss-btn{color:#e2e8f0;cursor:pointer;font:inherit;background:#ffffff1a;border:none;border-radius:8px;align-items:center;gap:.4rem;padding:.45rem .8rem;font-size:.85rem;transition:background .15s;display:inline-flex}.bubble-dismiss-btn:hover{background:#ffffff2e}.bubble-lightbox{z-index:2000;cursor:zoom-out;background:#000000e0;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.bubble-lightbox-img{object-fit:contain;border-radius:8px;max-width:92vw;max-height:82vh;box-shadow:0 8px 40px #0009}.bubble-lightbox-nav{color:#e2e8f0;align-items:center;gap:1rem;margin-top:1rem;font-size:.9rem;display:flex}.bubble-lightbox-nav button{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:6px;align-items:center;padding:.35rem .6rem;transition:background .15s;display:inline-flex}.bubble-lightbox-nav button:hover{background:#ffffff47}.doc-chip-line{flex-wrap:wrap;align-items:center;gap:.4rem;margin:.3rem 0;display:flex}.doc-chip{color:var(--text);font:inherit;cursor:pointer;background:var(--accent-soft);border:1px solid #007aff73;border-radius:8px;align-items:center;gap:.45rem;max-width:100%;padding:.4rem .65rem;font-size:.85rem;transition:background .15s,border-color .15s;display:inline-flex}.doc-chip:hover{border-color:var(--accent);background:#007aff38}.doc-chip:disabled{opacity:.6;cursor:wait}.doc-chip-icon{flex-shrink:0;align-items:center;line-height:1;display:inline-flex}.doc-chip-name{text-overflow:ellipsis;white-space:nowrap;max-width:34ch;overflow:hidden}.doc-chip-dl{color:var(--accent);flex-shrink:0;align-items:center;gap:.2rem;font-size:.78rem;font-weight:700;display:inline-flex}.doc-chip-meta{opacity:.75;font-size:.78rem}.md-table-wrap{border:1px solid var(--border);border-radius:8px;margin:.45rem 0;overflow-x:auto}.md-table{border-collapse:collapse;width:100%;font-size:.85em;line-height:1.35}.md-table th,.md-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.35rem .6rem}.md-table th{background:var(--code-bg);white-space:nowrap;font-weight:600}.md-table tr:last-child td{border-bottom:none}.md-table td:first-child{white-space:nowrap;font-weight:500}.md-pre{background:var(--code-bg);border:1px solid var(--border);white-space:pre;border-radius:8px;margin:.45rem 0;padding:.55rem .7rem;font-family:monospace;font-size:.82em;line-height:1.45;overflow-x:auto}.md-pre code{font:inherit;background:0 0;padding:0}.md-hr{border:none;border-top:1px solid var(--border);margin:.6rem 0}.md-heading{margin:.5rem 0 .2rem;font-weight:700;line-height:1.3}.md-heading--1{font-size:1.15em}.md-heading--2{font-size:1.05em}.md-heading--3{font-size:1em}.md-quote{border-left:3px solid var(--accent);opacity:.85;margin:.3rem 0;padding:.15rem 0 .15rem .6rem}.md-indent-1{padding-left:1.2rem}.md-indent-2{padding-left:2.4rem}.md-indent-3{padding-left:3.6rem}.md-link{color:var(--accent);text-underline-offset:2px;word-break:break-all;text-decoration:underline}.md-link:hover{color:var(--accent-2)}.steps{margin-top:.5rem;font-size:.78rem}.steps-toggle{border:1px solid var(--border,#7f7f7f59);color:inherit;opacity:.85;cursor:pointer;font:inherit;background:0 0;border-radius:999px;align-items:center;gap:.4rem;padding:.15rem .45rem .15rem .3rem;font-size:.75rem;display:inline-flex}.steps-toggle:hover{opacity:1}.steps-chevron{transition:transform .15s;transform:rotate(-90deg)}.steps-chevron--open{transform:rotate(0)}.steps-badge{border-radius:999px;align-items:center;gap:.25rem;padding:0 .4rem;font-weight:600;display:inline-flex}.steps-badge--ok{color:#15803d;background:#22c55e26}:root[data-theme=dark] .steps-badge--ok,:root:not([data-theme=light]) .steps-badge--ok{color:#4ade80}.steps-list{flex-direction:column;gap:.25rem;margin:.4rem 0 0;padding:0;list-style:none;display:flex}.step{grid-template-columns:auto 1fr auto;align-items:baseline;gap:.5rem;line-height:1.35;display:grid}.step-dot{background:var(--text-muted,#888);border-radius:50%;width:7px;height:7px;position:relative;top:-1px}.step--running .step-dot{background:var(--accent);animation:1.2s infinite bounce}.step--gated .step-dot{background:#f59e0b}.step--rejected .step-dot,.step--failed .step-dot,.step--not_found .step-dot{background:#ef4444}.step--verified .step-dot{background:#22c55e}.step-body{flex-direction:column;min-width:0;display:flex}.step-detail{opacity:.75;font-size:.72rem}.step-meta{white-space:nowrap;opacity:.65;font-variant-numeric:tabular-nums;font-size:.72rem}.steps--live .steps-toggle{display:none}.steps--live .steps-list{margin-top:0}.bubble-row--system{justify-content:center;padding:.15rem 0}.bubble-system{opacity:.6;font-size:.74rem;font-style:italic}.chat-input-bar{background:var(--bg-elevated);border-top:1px solid var(--surface);align-items:center;gap:.4rem;padding:.4rem .75rem;display:flex}.chat-textarea{background:var(--surface);border:1px solid var(--border);color:var(--text);resize:none;border-radius:20px;outline:none;flex:1;max-height:100px;padding:.45rem .85rem;font-family:inherit;font-size:.875rem;line-height:1.4;transition:border-color .15s}.chat-textarea:focus{border-color:var(--accent)}.chat-textarea::placeholder{color:var(--text-faint)}.send-btn,.mic-btn{cursor:pointer;height:32px;font:inherit;border:none;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;gap:.35rem;padding:0 .7rem;font-size:.78rem;font-weight:600;transition:opacity .15s,background .15s;display:flex}.input-btn-label{white-space:nowrap}@media (width<=560px){.send-btn,.mic-btn{border-radius:50%;width:32px;padding:0}.input-btn-label{display:none}}.send-btn{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff}.send-btn:disabled{opacity:.35;cursor:default}.mic-btn{background:var(--surface);color:var(--text-muted)}.mic-btn:hover{background:var(--border)}.mic-btn--active{color:#fff;background:#f87171!important}.tool-btn{background:var(--surface);border:1px solid var(--border);width:32px;height:32px;color:var(--text-muted);font:inherit;cursor:pointer;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition:border-color .15s,color .15s,opacity .15s;display:flex}.tool-btn:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.tool-btn:disabled{opacity:.4;cursor:default}.tool-btn--off{opacity:.55}.chat-tools{border-left:1px solid var(--border);flex-shrink:0;align-items:center;gap:.3rem;margin-left:.2rem;padding-left:.5rem;display:flex}.chat-composer{flex-direction:column;display:flex}.voice-status{background:var(--bg-elevated);border-top:1px solid var(--surface);color:var(--text-muted);align-items:center;gap:.5rem;padding:.35rem .75rem;font-size:.78rem;line-height:1.35;display:flex}.voice-status--error{color:#f87171}.voice-status__close{color:inherit;cursor:pointer;opacity:.6;background:0 0;border:none;flex-shrink:0;margin-left:auto;padding:0 .15rem;font-size:1rem;line-height:1}.voice-status__close:hover{opacity:1}.emily-help-row{justify-content:flex-end;padding:.25rem 1rem .5rem;display:flex}.emily-help-btn{border:1px solid var(--border);background:var(--surface);height:36px;color:var(--text-muted);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:0 .9rem 0 .35rem;font-size:.82rem;font-weight:600;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.emily-help-btn:hover:not(:disabled){color:var(--text);border-color:var(--text-faint)}.emily-help-btn--active,.emily-help-btn--active:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.emily-help-btn:disabled{opacity:.45;cursor:default}.emily-help{z-index:250;background:var(--bg-elevated);border-left:1px solid var(--border);flex-direction:column;width:min(420px,100vw);animation:.22s ease-out emily-help-in;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-18px 0 48px #00000059}@keyframes emily-help-in{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.emily-help{animation:none}}.emily-help-head{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;height:56px;padding:0 .75rem 0 1rem;display:flex}.emily-help-title{align-items:center;gap:.65rem;min-width:0;display:flex}.emily-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:34px;height:34px;display:block}.emily-avatar--sm{width:26px;height:26px}.emily-avatar-wrap{box-shadow:0 0 0 2px var(--online);border-radius:50%;flex-shrink:0;padding:2px;display:inline-flex}.emily-avatar-wrap--busy{box-shadow:0 0 0 2px var(--accent);animation:1.4s ease-in-out infinite emily-pulse}@keyframes emily-pulse{0%,to{box-shadow:0 0 0 2px var(--accent)}50%{box-shadow:0 0 0 5px var(--accent-soft)}}.emily-help-name{color:var(--text);font-size:.95rem;font-weight:700;line-height:1.2}.emily-help-sub{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:.15rem;font-size:.75rem;line-height:1.2;overflow:hidden}.emily-help-head-actions{flex-shrink:0;gap:.25rem;display:flex}.emily-help-icon-btn{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:color .15s,background .15s;display:inline-flex}.emily-help-icon-btn:hover:not(:disabled){color:var(--text);background:var(--surface-2)}.emily-help-icon-btn:disabled{opacity:.4;cursor:default}.emily-help-body{scrollbar-color:var(--scrollbar) transparent;flex:1;min-height:0;padding:1rem 1rem 1.25rem;overflow-y:auto}.emily-help-researching{flex-direction:column;gap:.6rem;display:flex}.emily-help-researching-line{color:var(--text-muted);margin-bottom:.35rem;font-size:.85rem}.emily-skel{background:linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);background-size:200% 100%;border-radius:6px;width:70%;height:12px;animation:1.3s linear infinite emily-shimmer}.emily-skel--wide{width:95%}.emily-skel--short{width:32%;height:9px}.emily-skel-card{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:.55rem;margin-top:.25rem;padding:.85rem;display:flex}@keyframes emily-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.emily-skel,.emily-avatar-wrap--busy{animation:none}}.emily-help-stale{border:1px solid var(--warn-border);background:var(--warn-bg);width:100%;color:var(--warn);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:.4rem;margin-bottom:.85rem;padding:.5rem .7rem;font-size:.78rem;font-weight:600;display:inline-flex}.emily-help-where{color:var(--text);margin:0 0 1rem;font-size:.9rem;line-height:1.5}.emily-help-section{margin-top:1.1rem}.emily-help-section:first-of-type{margin-top:0}.emily-help-section h3{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .55rem;font-size:.7rem;font-weight:700}.emily-help-answer{background:var(--accent-soft);border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);border-radius:12px;padding:.8rem .9rem}.emily-help-answer h3{color:var(--accent)}.emily-help-answer p{color:var(--text);margin:0;font-size:.88rem;line-height:1.5}.emily-steps{flex-direction:column;gap:.6rem;display:flex}.emily-step{border:1px solid var(--border);background:var(--surface);border-left-width:3px;border-radius:12px;padding:.8rem .9rem .7rem}.emily-step--answer{border-left-color:var(--accent)}.emily-step--approve{border-left-color:var(--online)}.emily-step--fix{border-left-color:var(--warn)}.emily-step--continue,.emily-step--start{border-left-color:var(--text-faint)}.emily-step-kind{color:var(--text-faint);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.3rem;font-size:.68rem;font-weight:700;display:block}.emily-step--answer .emily-step-kind{color:var(--accent)}.emily-step--approve .emily-step-kind{color:var(--online)}.emily-step--fix .emily-step-kind{color:var(--warn)}.emily-step-say{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:.9rem;font-weight:600;line-height:1.45}.emily-step-why{color:var(--text-muted);margin:.3rem 0 0;font-size:.8rem;line-height:1.45}.emily-step-actions{gap:.45rem;margin-top:.65rem;display:flex}.emily-step-btn{border:1px solid var(--border);background:var(--bg);color:var(--text-muted);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:.35rem;padding:.4rem .7rem;font-size:.78rem;font-weight:600;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.emily-step-btn:hover{color:var(--text);border-color:var(--text-faint)}.emily-step-btn--primary{border-color:var(--accent);background:var(--accent);color:#fff}.emily-step-btn--primary:hover{background:var(--accent-2);border-color:var(--accent-2);color:#fff}.emily-chips{flex-wrap:wrap;gap:.4rem;display:flex}.emily-chip{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:999px;padding:.38rem .7rem;font-size:.78rem;line-height:1.3;transition:border-color .15s,background .15s}.emily-chip:hover{border-color:var(--accent);background:var(--accent-soft)}.emily-tips{color:var(--text-muted);margin:0;padding-left:1.1rem;font-size:.82rem;line-height:1.5}.emily-tips li+li{margin-top:.3rem}.emily-guides{flex-direction:column;gap:.4rem;display:flex}.emily-guide{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:10px;align-items:flex-start;gap:.55rem;padding:.6rem .75rem;text-decoration:none;transition:border-color .15s,color .15s;display:flex}.emily-guide:hover{border-color:var(--accent);color:var(--text)}.emily-guide svg{flex-shrink:0;margin-top:.15rem}.emily-guide span{flex-direction:column;gap:.15rem;min-width:0;display:flex}.emily-guide strong{color:var(--text);font-size:.82rem;font-weight:650}.emily-guide em{font-size:.76rem;font-style:normal;line-height:1.4}.emily-help-error{border:1px solid var(--danger-border);background:var(--danger-bg);color:var(--text);border-radius:12px;padding:.9rem;font-size:.85rem;line-height:1.5}.emily-help-error p{margin:0 0 .6rem}.emily-help-ask{padding:.7rem .85rem;padding-bottom:calc(.7rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--bg-elevated);flex-shrink:0;gap:.45rem;display:flex}.emily-help-ask-input{border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text);font:inherit;border-radius:10px;outline:none;flex:1;padding:.55rem .75rem;font-size:.85rem;transition:border-color .15s,box-shadow .15s}.emily-help-ask-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.emily-help-ask-input::placeholder{color:var(--text-faint)}.emily-help-ask-btn{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.55rem .9rem;font-size:.82rem;font-weight:650;transition:background .15s}.emily-help-ask-btn:hover:not(:disabled){background:var(--accent-2)}.emily-help-ask-btn:disabled{opacity:.45;cursor:default}.chat-page{background:var(--bg);flex-direction:column;height:100%;display:flex;position:relative;overflow:hidden}.chat-header{background:var(--bg-elevated);border-bottom:1px solid var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 1rem;display:flex}.chat-header-left{align-items:center;display:flex}.chat-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;max-width:min(46vw,420px);font-size:.95rem;font-weight:600;line-height:1.2;overflow:hidden}.chat-status{align-items:center;font-size:.7rem;line-height:1.2;display:inline-flex}.chat-status--online{color:var(--online)}.chat-status--offline{color:var(--warn);background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:999px;padding:.05rem .45rem;font-weight:600;animation:1.8s ease-in-out infinite chat-status-pulse}@keyframes chat-status-pulse{0%,to{opacity:1}50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.chat-status--offline{animation:none}}.chat-header-right{align-items:center;gap:6px;display:flex}.hdr-spinner{border:2px solid var(--accent);border-top-color:#0000;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite hdr-spin;display:inline-block}@keyframes hdr-spin{to{transform:rotate(360deg)}}.hdr-modal-overlay{z-index:1000;background:var(--overlay);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.hdr-modal{background:var(--bg-elevated);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:.25rem;width:100%;max-width:400px;padding:1.5rem 1.5rem 1.25rem;display:flex;box-shadow:0 24px 64px #0006}.hdr-modal-title{color:var(--text);letter-spacing:-.01em;margin:0 0 .75rem;font-size:1.05rem;font-weight:700}.hdr-modal-label{color:var(--text-muted);margin:0 0 .5rem;font-size:.82rem;font-weight:500}.hdr-modal-label--gap{margin-top:.75rem}.hdr-modal-input{box-sizing:border-box;background:var(--bg);width:100%;color:var(--text);border:1px solid var(--border);border-radius:10px;outline:none;margin:0;padding:.6rem .8rem;font-family:inherit;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.hdr-modal-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.hdr-modal-btns{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:1.25rem;padding-top:1rem;display:flex}.hdr-modal-cancel{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:10px;margin-right:auto;padding:.55rem 1rem;font-family:inherit;font-size:.85rem;transition:color .15s,border-color .15s}.hdr-modal-cancel:hover{color:var(--text);border-color:var(--text-faint)}.hdr-modal-ok{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.4rem;padding:.55rem 1rem;font-family:inherit;font-size:.85rem;font-weight:600;transition:background .15s;display:inline-flex}.hdr-modal-ok:hover{background:var(--accent-2)}.hdr-modal-choice span{align-items:center;gap:.45rem;display:inline-flex}@keyframes pulse-red{0%,to{box-shadow:0 0 #dc262666}50%{box-shadow:0 0 0 6px #dc262600}}.hdr-modal-record{background:var(--danger-strong)!important}.hdr-modal-record:hover{background:#c81e1e!important}.rec-controls{border:1px solid #dc2626;border-radius:16px;align-items:center;animation:1.5s ease-in-out infinite pulse-red;display:flex;overflow:hidden}.rec-controls-countdown{color:#fca5a5;white-space:nowrap;background:#1a0a0a;padding:0 10px;font-size:.75rem;font-weight:700}.rec-controls-snap{color:#fff;cursor:pointer;white-space:nowrap;background:#0f766e;border:none;border-right:1px solid #dc2626;align-items:center;gap:5px;height:100%;min-height:30px;padding:0 10px;font-size:.75rem;font-weight:700;transition:background .15s,transform .1s;display:inline-flex}.rec-controls-snap:hover{background:#0d9488}.rec-controls-snap--flash{transform:scale(1.08);background:#22d3ee!important}.rec-controls-pause{color:#fff;cursor:pointer;white-space:nowrap;background:#b45309;border:none;border-right:1px solid #dc2626;align-items:center;gap:5px;height:100%;min-height:30px;padding:0 10px;font-size:.75rem;font-weight:700;transition:background .15s;display:inline-flex}.rec-controls-pause:hover{background:#d97706}.rec-controls-pause:disabled{opacity:.5;cursor:default}.rec-controls-pause--paused{background:#92400e;animation:1.2s ease-in-out infinite pulse-paused}@keyframes pulse-paused{0%,to{background:#92400e}50%{background:#d97706}}.rec-controls-pip{color:#fff;cursor:pointer;white-space:nowrap;background:#374151;border:none;border-right:1px solid #dc2626;align-items:center;gap:5px;height:100%;min-height:30px;padding:0 8px;font-size:.75rem;transition:background .15s;display:inline-flex}.rec-controls-pip:hover{background:#4b5563}.rec-controls-pip--active{background:#1d4ed8}.rec-controls-pip--active:hover{background:#2563eb}.rec-controls-stop{color:#fff;cursor:pointer;white-space:nowrap;background:#dc2626;border:none;align-items:center;gap:5px;min-height:30px;padding:0 10px;font-size:.75rem;font-weight:700;transition:background .15s;display:inline-flex}.rec-controls-stop:hover{background:#b91c1c}.rec-controls-stop:disabled{opacity:.5;cursor:default}.rec-snap-flash{opacity:.55;pointer-events:none;z-index:1100;background:#fff;animation:.6s ease-out forwards snap-flash;position:fixed;inset:0}@keyframes snap-flash{0%{opacity:.55}to{opacity:0}}.hdr-modal-choices{flex-direction:column;gap:.5rem;margin:0;display:flex}.hdr-modal-choice{border:1px solid var(--border);background:var(--bg);cursor:pointer;color:var(--text-muted);border-radius:10px;align-items:center;gap:.5rem;padding:.6rem .8rem;font-size:.88rem;transition:border-color .15s,color .15s,background .15s;display:flex}.hdr-modal-choice:hover{border-color:var(--text-faint);color:var(--text)}.hdr-modal-choice input{display:none}.hdr-modal-choice--active{border-color:var(--accent);color:var(--text);background:var(--accent-soft)}.hdr-modal-hint{color:var(--text-muted);margin:.75rem 0 0;font-size:.8rem;line-height:1.5}.hdr-modal-hint--warn{color:var(--warn);background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:10px;margin-top:1rem;padding:.65rem .8rem}.hdr-modal-hint--warn strong{color:inherit;font-weight:600}.rec-countdown-overlay{z-index:1000;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.rec-countdown-box{text-align:center;color:#fff}.rec-countdown-number{color:#ef4444;text-shadow:0 0 40px #ef444499;font-size:7rem;font-weight:800;line-height:1;animation:1s ease-in-out infinite countdown-pulse}.rec-countdown-msg{margin-top:.75rem;font-size:1.4rem;font-weight:600}.rec-countdown-sub{color:var(--text-muted);margin-top:.4rem;font-size:.95rem}@keyframes countdown-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.chat-messages{scroll-behavior:smooth;flex:1;padding:1rem 0;overflow-y:auto}.chat-messages::-webkit-scrollbar{width:4px}.chat-messages::-webkit-scrollbar-track{background:0 0}.chat-messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}.team-online{align-items:center;margin-right:.5rem;display:flex}.team-dot{border:2px solid var(--bg);color:#fff;cursor:default;background:linear-gradient(135deg,#059669,#10b981);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;margin-left:-6px;font-size:.65rem;font-weight:700;transition:transform .15s;display:flex}.team-dot:first-child{margin-left:0}.team-dot:hover{transform:scale(1.15);z-index:10!important}.team-dot--overflow{background:var(--surface);color:var(--text-muted);font-size:.6rem}.chat-footer{text-align:center;color:var(--text-faint);background:var(--bg);flex-shrink:0;padding:.4rem;font-size:.65rem}.chat-footer a{color:var(--text-faint);text-decoration:none}.chat-footer a:hover{color:var(--text-muted)}.chat-profile-btn{text-decoration:none}.chat-profile-avatar{background:var(--surface);border:1px solid var(--border);width:30px;height:30px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;font-size:.75rem;font-weight:600;transition:border-color .15s;display:flex}.chat-profile-btn:hover .chat-profile-avatar{border-color:var(--accent)}.bubble--typing{align-items:center;gap:4px;padding:.75rem 1rem;display:flex}.bubble--typing span{background:var(--accent);border-radius:50%;width:7px;height:7px;animation:1.2s infinite bounce}.bubble--typing span:nth-child(2){animation-delay:.2s}.bubble--typing span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.chat-activity-row{align-items:flex-start}.chat-activity{flex-direction:column;flex:1;gap:.35rem;min-width:0;max-width:75%;display:flex}.chat-activity-head{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.chat-activity-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.75rem;display:flex}.chat-activity-state{color:var(--text-muted)}.chat-activity-elapsed{font-variant-numeric:tabular-nums;opacity:.8}.chat-activity-elapsed:before{content:"·";margin-right:.4rem}.chat-activity-count{opacity:.8}.chat-activity-count:before{content:"·";margin-right:.4rem}.chat-activity .progress-stop-btn{margin-left:.25rem}.chat-activity .progress-card{width:100%;max-width:100%;margin:0}.progress-card{background:var(--surface-2);border:1px solid var(--surface);border-radius:10px;max-width:420px;margin:.35rem 0;padding:.6rem .85rem}.progress-label{color:var(--text-muted);justify-content:space-between;gap:.75rem;margin-bottom:.45rem;font-size:.8rem;display:flex}.progress-pct{color:var(--accent);font-variant-numeric:tabular-nums;font-weight:600}.progress-track{background:var(--surface);border-radius:3px;height:6px;position:relative;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:3px;height:100%;transition:width .4s}.progress-fill--indeterminate{width:35%;animation:1.4s ease-in-out infinite progress-slide;position:absolute}@keyframes progress-slide{0%{left:-35%}to{left:100%}}@media (prefers-reduced-motion:reduce){.progress-fill--indeterminate{animation-duration:3s}}.progress-stop-btn{color:var(--danger);border:1px solid var(--danger-border);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:2px 10px 2px 8px;font-family:inherit;font-size:.75rem;font-weight:600;line-height:1.4;transition:background .15s,border-color .15s,opacity .15s;display:inline-flex}.progress-stop-btn:hover:not(:disabled){background:var(--danger-bg);border-color:var(--danger)}.progress-stop-btn:disabled{opacity:.6;cursor:default}.env-chip-wrap{margin-left:10px;position:relative}.env-chip{background:0 0;border:1px solid;border-radius:14px;align-items:center;gap:6px;padding:3px 10px;font-size:.78rem;font-weight:600;line-height:1;display:inline-flex}.env-chip-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px;display:inline-block}.env-menu{z-index:40;background:var(--surface,#111827);border:1px solid var(--divider,#334155);border-radius:10px;min-width:160px;padding:4px;position:absolute;top:110%;left:0;box-shadow:0 6px 20px #0006}.env-menu-item{text-align:left;width:100%;color:var(--text,#e5e7eb);cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:8px;padding:7px 10px;font-size:.82rem;display:flex}.env-menu-item:hover{background:#ffffff0f}.env-menu-check{color:var(--online);flex-shrink:0;margin-left:auto}.login-switch{text-align:center;background:var(--bg);flex-shrink:0;padding:0 .4rem .25rem}.login-switch-btn{color:var(--text-faint);cursor:pointer;background:0 0;border:none;padding:.25rem .5rem;font-family:inherit;font-size:.7rem;text-decoration:underline;transition:color .15s}.login-switch-btn:hover{color:var(--accent)}.approval-row{justify-content:flex-start;padding-left:44px}.approval{border:1px solid var(--border,#7f7f7f59);background:var(--bubble-epic-bg);max-width:75%;color:var(--bubble-epic-text);border-radius:12px;flex-wrap:wrap;align-items:center;gap:.6rem .9rem;padding:.6rem .8rem;display:flex}.approval-what{flex-direction:column;flex:220px;gap:.15rem;min-width:0;display:flex}.approval-title{font-size:.85rem;font-weight:600}.approval-summary{opacity:.8;word-break:break-word;font-size:.78rem}.approval-actions{flex:none;gap:.5rem;display:flex}.approval-btn{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;align-items:center;gap:.3rem;padding:.4rem .9rem;font-size:.82rem;font-weight:600;display:inline-flex}.approval-btn--approve{background:var(--accent);color:#fff}.approval-btn--approve:hover{filter:brightness(1.08)}.approval-btn--deny{color:inherit;border-color:var(--border,#7f7f7f73);background:0 0}.approval-btn--deny:hover{color:#ef4444;background:#ef44441f;border-color:#ef4444}@media (width<=760px){.approval-row{padding-left:0}.approval{max-width:100%}}
