.tk-ui{--ui-s0: #1b1c28;--ui-line-subtle: #26273a}.tk-gpane{flex:var(--grow, 1) 1 0;min-width:0;min-height:0;display:grid}.tk-gpane>.tk-gpane-layer{grid-area:1 / 1;display:flex;min-width:0;min-height:0}.tk-gpane-layer>*{flex:1 1 0;min-width:0}.tk-gframe{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--ui-base);border:1px solid var(--ui-line);border-radius:7px;overflow:hidden}.tk-gframe.is-focus{border-color:var(--ui-accent);box-shadow:0 0 0 1px #89b4fa40}.tk-ghead{display:flex;align-items:center;gap:.5em;height:2.2em;padding:0 .65em;flex:none;min-width:0;font-family:var(--ui-sys);font-size:.95em;color:var(--ui-muted);background:var(--ui-s0);border-bottom:1px solid var(--ui-line-subtle);white-space:nowrap}.tk-gframe.is-focus>.tk-ghead{background:var(--ui-s2);border-bottom-color:var(--ui-line)}.tk-ghead>.tk-ic:first-child{color:var(--ui-accent)}.tk-ghead-cwd{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.tk-ghead-model{flex:none;font-weight:600;color:var(--ui-fg)}.tk-ghead-spacer{flex:1;min-width:.4em}.tk-ghead-btn{flex:none;padding:.05em .55em;border:1px solid var(--ui-line);border-radius:5px;color:var(--ui-fg3);font-size:.92em}.tk-ghead-x{flex:none;color:var(--ui-muted)}.tk-gframe-body{position:relative;flex:1;min-height:0;padding:.6em .8em;overflow:hidden}.tk-gstatus{display:inline-grid;min-width:0;flex:0 1 auto;overflow:hidden}.tk-gstatus>span{grid-area:1 / 1;display:inline-flex;align-items:center;gap:.45em;min-width:0;overflow:hidden;text-overflow:ellipsis}.tk-gstatus i{width:.6em;height:.6em;border-radius:50%;background:var(--ui-green);flex:none}.tk-gstatus .is-busy i{background:var(--ui-yellow)}.tk-gctx{display:inline-grid;flex:none}.tk-gctx>span{grid-area:1 / 1;display:inline-flex;align-items:center;justify-content:flex-end;gap:.45em}.tk-gctx-label{font-size:.9em}.tk-gctx-bar{display:inline-block;width:4.4em;height:.42em;border-radius:3px;background:var(--ui-s1);overflow:hidden}.tk-gctx-bar i{display:block;height:100%;width:var(--v, 50%);background:var(--ui-accent)}.tk-gctx .is-warn{color:var(--ui-red)}.tk-gctx .is-warn .tk-gctx-bar i{background:var(--ui-red)}[data-motion] .tk-gctx-hint[data-at]:not(.is-on){display:none}[data-motion]:not(.is-static) .tk-gctx-hint[data-at].is-on{animation:tk-gpop .4s var(--tako-ease, ease) both}@keyframes tk-gpop{0%{opacity:0;transform:scale(.9)}}@media(prefers-reduced-motion:reduce){.tk-gctx-hint{animation:none!important}}.tk-gctx-hint{flex:none;padding:0 .6em;border-radius:99px;border:1px solid rgb(243 139 168 / .45);background:#f38ba824;color:var(--ui-red);font-size:.86em;line-height:1.55}.tk-prep{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6em;font-family:var(--ui-sys);text-align:center}.tk-prep-title{display:inline-flex;align-items:center;gap:.7em;font-size:1.3em;font-weight:600;color:var(--ui-fg)}.tk-prep-sub{font-size:.95em;color:var(--ui-muted)}.tk-prep-dot{width:.62em;height:.62em;border-radius:50%;background:var(--ui-accent);flex:none}[data-motion]:not(.is-static) .tk-prep-dot,[data-motion]:not(.is-static) .tk-gbusy-dot{animation:tk-gpulse 2s ease-in-out infinite}@keyframes tk-gpulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.tk-prep-dot,.tk-gbusy-dot{animation:none!important}}.tk-gchat-note{flex:none;padding:.3em .9em;font-family:var(--ui-sys);font-size:.88em;color:var(--ui-fg3);background:#89b4fa1a;border-bottom:1px solid var(--ui-line-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-gchat-log{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;padding:.2em .6em .5em .8em;overflow:hidden;font-family:var(--ui-sys);-webkit-mask-image:linear-gradient(transparent,#000 1.4em);mask-image:linear-gradient(transparent,#000 1.4em)}.tk-gchat-empty-wrap{margin-bottom:auto}[data-motion] .tk-gchat-empty-wrap:not(.is-on){margin:0}.tk-gchat-empty{padding:.6em .1em 0;color:var(--ui-muted);font-size:.95em}.tk-gchat-foot{flex:none;display:flex;flex-direction:column;gap:.45em;padding:.5em .8em .6em;border-top:1px solid var(--ui-line-in)}.tk-gchat-foot .tk-chat-input{font-family:var(--ui-sys)}.tk-gchat-row{display:flex;align-items:center;gap:.4em;min-width:0;font-family:var(--ui-sys)}.tk-gslash{flex:none;display:inline-flex;align-items:baseline;gap:.35em;padding:.05em .6em;border-radius:99px;border:1px solid var(--ui-line-subtle);background:var(--ui-chip);color:var(--ui-fg2);font-size:.88em;white-space:nowrap}.tk-gslash small{font-family:var(--ui-font);font-size:.9em;color:var(--ui-faint)}.tk-gslash.is-hot{border-color:var(--ui-red)}.tk-gchat-send{flex:1;min-width:0;text-align:right;font-size:.82em;color:var(--ui-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-gmsg-wrap{min-width:0}.tk-gmsg{display:flex;align-items:flex-start;gap:.35em;padding-top:.5em;min-width:0}.tk-gmsg.is-user{justify-content:flex-end}.tk-gmsg-bubble{min-width:0;display:flex;flex-direction:column;gap:.35em;padding:.5em .8em;border-radius:10px;border:1px solid var(--ui-line-subtle);background:var(--ui-s0);color:var(--ui-fg);line-height:1.6;overflow-wrap:anywhere}.tk-gmsg.is-ai .tk-gmsg-bubble{flex:1}.tk-gmsg.is-user .tk-gmsg-bubble{max-width:82%;background:var(--ui-s1)}.tk-gmsg-bubble code{font-family:var(--ui-font);font-size:.95em;color:var(--ui-peach);background:var(--ui-crust);border-radius:3px;padding:0 .3em}.tk-gmsg-bubble .tk-tool{margin-top:0;overflow-wrap:anywhere}.tk-gmsg-queued{font-size:.8em;color:var(--ui-faint)}.tk-gmsg-queued>*{display:block}.tk-gsel{border-radius:2px}[data-motion] .tk-gsel{transition:background-color .35s var(--tako-ease-soft, ease)}.tk-gsel.is-on{background:#45475a}.tk-gmsg-gutter{position:relative;flex:none;width:1.9em;min-height:1.6em;align-self:stretch}.tk-gcopy{position:absolute;top:.15em;right:0;display:inline-flex;align-items:center;gap:.3em;padding:.15em .35em;border-radius:4px;border:1px solid rgb(42 43 60 / .7);background:#313244cc;color:var(--ui-fg2);font-size:.82em;line-height:1.2;white-space:nowrap;opacity:.55}.tk-gcopy .tk-ic{width:.95em;height:.95em}.tk-gcopy.is-hover{opacity:1;background:#232434;border-color:var(--ui-line-heavy)}.tk-gcopy.is-done{opacity:1;border-color:var(--ui-green);background:var(--ui-hl);color:var(--ui-green)}.tk-gbusy{display:inline-flex;align-items:center;gap:.6em;min-width:0;max-width:100%;padding:.45em .9em;border-radius:10px;border:1px solid var(--ui-line-subtle);background:var(--ui-s0);font-size:.95em;color:var(--ui-fg2);white-space:nowrap;overflow:hidden}.tk-gbusy-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.tk-gbusy-dot{width:.6em;height:.6em;border-radius:50%;background:var(--ui-accent);flex:none}.tk-gbusy-q{flex:none;font-size:.88em;color:var(--ui-faint)}.tk-gmsg.is-busy{justify-content:flex-start}.tk-gmsg.is-busy>.tk-gbusy{flex:0 1 auto}.tk-gchat.is-compact .tk-gstatus-text,.tk-gchat.is-compact .tk-gctx,.tk-gchat.is-compact .tk-gctx-hint,.tk-gchat.is-compact .tk-gchat-send,.tk-gchat.is-compact .tk-gslash small{display:none}.tk-gchat.is-compact .tk-gmsg.is-user .tk-gmsg-bubble{max-width:95%}.tk-gchat.is-compact .tk-gchat-row{display:none}.tk-gchat.is-compact .tk-gchat-foot{padding:.4em .5em .45em}.tk-gchat.is-compact .tk-gchat-log{padding:0 .4em .4em .5em}@container tkframe (max-width: 25rem){.tk-gchat-send,.tk-gslash small{display:none}}.tk-gcode{position:relative;display:block;padding:.45em 2.4em .45em .7em;border-radius:6px;background:var(--ui-mantle);border:1px solid var(--ui-line-in);font-family:var(--ui-font);font-size:.95em;line-height:1.55;color:var(--ui-fg)}.tk-gcode-l{display:block;white-space:pre-wrap}.tk-gcode-copy{position:absolute;top:.35em;right:.35em;display:inline-grid;place-items:center;width:1.6em;height:1.6em;border-radius:4px;border:1px solid rgb(42 43 60 / .7);background:#313244cc;color:var(--ui-fg2);opacity:.55}.tk-gcode-copy .tk-ic{width:.9em;height:.9em}.tk-gcopy-at{position:absolute;top:.15em;right:0;width:1.9em;height:1.5em;z-index:2}.tk-gm-ov{position:absolute;inset:0;pointer-events:none;font-size:11.5px;font-family:var(--ui-sys)}@container tkframe (min-width: 34rem){.tk-gm-ov{font-size:12px}}@container tkframe (max-width: 25rem){.tk-gm-ov{font-size:10px}}.tk-gm-tip{position:absolute;top:3.4em;right:calc(2.95em + 1px);padding:.3em .65em;border-radius:6px;border:1px solid var(--ui-line-heavy);background:var(--ui-crust);color:var(--ui-fg);white-space:nowrap;box-shadow:0 6px 16px -6px #0009}.tk-gm-tip:before{content:"";position:absolute;top:-.35em;right:.7em;width:.6em;height:.6em;background:var(--ui-crust);border-left:1px solid var(--ui-line-heavy);border-top:1px solid var(--ui-line-heavy);transform:rotate(45deg)}.tk-gm-ov.is-win .tk-gm-tip{top:5.8em}@container tkframe (max-width: 30rem){.tk-gm-tip{right:calc(.6em + 1px)}}.tk-gm-palette{position:absolute;top:4.2em;left:0;right:0;margin:0 auto;width:min(25em,90%);border-radius:9px;border:1px solid var(--ui-line-heavy);background:var(--ui-mantle);box-shadow:0 18px 40px -12px #000000bf;overflow:hidden}.tk-gm-palette-q{display:flex;align-items:center;gap:.5em;padding:.6em .8em;border-bottom:1px solid var(--ui-line);color:var(--ui-fg)}.tk-gm-palette-q .tk-ic{color:var(--ui-muted)}.tk-gm-palette-item{display:block;padding:.45em .8em;color:var(--ui-fg3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-gm-palette-item.is-sel{background:var(--ui-hl);color:var(--ui-fg)}.tk-gm-keep{position:absolute;bottom:.45em;right:.45em;z-index:3;display:inline-flex;align-items:center;gap:.35em;padding:.15em .55em;border-radius:99px;border:1px solid var(--ui-accent-line);background:#2a2e45;color:var(--ui-fg);font-family:var(--ui-sys);font-size:.88em;white-space:nowrap}.tk-gm-keep .tk-ic{color:var(--ui-accent)}.tk-gm-hl{border-radius:4px}[data-motion] .tk-gm-hl[data-fx~=mark]{transition:box-shadow .35s var(--tako-ease-soft, ease)}
