.tabbadge{border-radius:var(--r-pill);background:var(--accent);color:#fff;min-width:18px;height:18px;font:600 11px/18px var(--f-body);text-align:center;padding:0 5px}.tabbar a{position:relative}.tabbar .tabbadge{position:absolute;top:6px;left:calc(50% + 6px)}.rail__link .tabbadge{margin-left:auto}.inbox__filters{margin:4px 0 12px}.convos{gap:2px;margin:0;padding:0;list-style:none;display:grid}.convo{border-radius:var(--r-md);color:var(--ink);grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;text-decoration:none;display:grid}.convo:hover{background:var(--panel)}.convo.is-on{background:var(--panel);box-shadow:var(--sh-1)}.convo__who{align-items:center;gap:8px;min-width:0;display:flex}.convo__name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.convo__channel{color:var(--ink-2);flex:none;display:inline-flex}.convo__channel .i{width:14px;height:14px}.convo__line{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.convo.is-unread .convo__line{color:var(--ink);font-weight:500}.convo__meta{justify-items:end;gap:6px;display:grid}.unread-dot{background:var(--accent);border-radius:50%;width:8px;height:8px}.thread{flex-direction:column;min-height:0;display:flex}.thread__head{border-bottom:1px solid var(--line-soft);align-items:center;gap:10px;padding:10px 0;display:flex}.thread__who{flex:1;min-width:0}.thread__actions{flex-wrap:wrap;gap:8px;padding:10px 0;display:flex}.thread__msgs{flex-direction:column;flex:1;gap:8px;padding:16px 0;display:flex;overflow-y:auto}.bubble{overflow-wrap:anywhere;white-space:pre-wrap;border-radius:18px;max-width:min(85%,460px);margin:0;padding:10px 14px}.bubble--in{background:var(--panel);box-shadow:var(--sh-1);border-bottom-left-radius:6px;align-self:flex-start}.bubble--human{background:var(--ink);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.bubble--ai{background:var(--agent-soft);color:var(--agent-ink);border-bottom-right-radius:6px;align-self:flex-end;box-shadow:inset 0 0 0 1px #dccffa}.bubble--removed{color:var(--ink-2);font-style:italic}.bubble__meta{color:var(--ink-2);font-size:12px;line-height:1.4}.bubble__meta--out{align-self:flex-end;margin-top:-2px}.bubble__meta--in{align-self:flex-start;margin-top:-2px}.bubble__meta--bad{color:var(--bad)}.bubble__reaction{margin-left:6px}.bubble img{border-radius:var(--r-sm);max-width:220px}.draftcard{align-self:stretch;gap:10px;display:grid}.draftcard__actions{flex-wrap:wrap;gap:8px;display:flex}.windowbar{color:var(--ink-2);align-items:center;gap:8px;padding:6px 2px;font-size:13px;display:flex}.composer{align-items:flex-end;gap:8px;padding:8px 0 12px;display:flex}.composer .btn{height:48px}.composer .textarea{resize:none;min-height:48px;max-height:160px}.inbox__empty{text-align:center;padding:32px 8px}.inbox__empty .i3d{margin:0 auto 12px}@media (max-width:1023px){.inbox__list--behind,.thread--none,.app--thread .app__top,.app--thread .tabbar{display:none}.app--thread .app__main{padding-bottom:0}.app--thread .thread{height:100dvh}}@media (min-width:1024px){.app.app--inbox{grid-template-columns:236px minmax(0,1fr)}.app--inbox .app__preview{display:none}.app--inbox .app__main{max-width:none;padding-bottom:0}.inbox{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;height:calc(100dvh - 76px);display:grid}.inbox__list{padding-bottom:24px;overflow-y:auto}.inbox .thread .note{background:var(--panel)}.inbox .thread{border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--panel-2);height:100%;padding:0 20px}}@media (min-width:1024px) and (max-width:1279px){.app.app--inbox{grid-template-columns:76px minmax(0,1fr)}}.agentset{max-width:640px;padding-bottom:32px}.agentset__back{margin:4px 0 4px -12px}.agentset__rows{padding-top:4px;padding-bottom:4px}.agentset__stack{justify-content:stretch;gap:10px;display:grid}.agentset .seg{width:100%}.agentset__faq,.agentset__always,.agentset__words{margin:0;padding:0;list-style:none}.agentset__faq li+li{border-top:1px solid var(--line-soft);margin-top:14px;padding-top:14px}.agentset__q{font-weight:600}.agentset__faq p{white-space:pre-wrap;margin:4px 0 0}.agentset__actions{gap:4px;margin:6px 0 0 -12px;display:flex}.agentset__always{gap:10px;display:grid}.agentset__always li{align-items:flex-start;gap:10px;display:flex}.agentset__always .i{color:var(--agent);flex:none;margin-top:2px}.agentset__add{gap:8px;display:flex}.agentset__add .btn{height:50px}.agentset__words{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.agentset__words .chip{cursor:default;gap:2px;padding-right:4px}.agentset__words .iconbtn{width:28px;height:28px}.agentset__disclosure{margin:0}.agentset__meter{border-radius:var(--r-pill);background:var(--line-soft);height:8px;margin:10px 0;overflow:hidden}.agentset__meter span{border-radius:inherit;background:var(--agent);height:100%;display:block}.inbox__head{justify-content:space-between;align-items:center;gap:12px;display:flex}.agentset__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.agentset__own{align-items:center;gap:4px;display:inline-flex}.agentset__recipes{display:grid}.agentset__recipes .set{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.agentset__recipes .set+.set{border-top:1px solid var(--line-soft)}.agentset__recipes .set__d{display:block}.agentset__recipes .tag{vertical-align:1px;margin-left:6px}.agentset__recipes .is-on .set__t{font-weight:600}.agentset__recipes .i{color:var(--agent);flex:none}
