.chat{grid-template-columns:220px minmax(0,1fr) 320px;align-items:start;gap:28px;display:grid}.chats{min-width:0}.chats-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.chats-head h3{font:600 17px/1.2 var(--font-display);font-variation-settings:"opsz" 24;color:var(--text);margin:0}.chats>p{margin:0;font-size:13px}.chats ul{margin:0;padding:0;list-style:none}.chats li a{border-radius:0 var(--r-control) var(--r-control) 0;color:var(--text-soft);border-left:2px solid #0000;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;padding:9px 12px 9px 10px;text-decoration:none;display:grid}.chats li a:hover{background:var(--surface-3)}.chats li a.active{border-left-color:var(--gold);background:var(--surface-3);color:var(--text)}.chats li a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.chats li a b{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:500;overflow:hidden}.chats li a small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;grid-column:1;font-size:12px;overflow:hidden}.chats li a .dot{grid-area:1/2/span 2;align-self:center}.chats-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;display:flex}.convo{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-surface);flex-direction:column;min-width:0;height:calc(100vh - 340px);min-height:480px;display:flex}.convo-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;min-height:52px;padding:0 18px;font-size:13px;display:flex}.convo-head b{font-weight:600}.convo-head .status{margin-left:auto;font-size:13px}.messages{flex:1;padding:22px 20px;overflow:auto}.messages>.state{padding-top:60px}.msg{grid-template-columns:2px minmax(0,1fr);gap:16px;max-width:72ch;margin-bottom:20px;display:grid}.msg .rail{background:var(--gold-dim);border-radius:2px}.msg--you .rail{background:var(--line-strong)}.msg--system .rail,.msg--spawn .rail{background:var(--info)}.msg--error .rail{background:var(--danger)}.msg--bot .rail{background:var(--gold)}.msg .from{color:var(--gold);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px;font-size:12.5px;font-weight:500;display:flex}.msg--you .from{color:var(--muted)}.msg--system .from,.msg--spawn .from{color:var(--info)}.msg--error .from{color:var(--danger)}.msg .from small,.msg .from time{color:var(--muted);font-size:12px;font-weight:400}.msg .from .avatar{width:22px;height:22px}.msg .from .avatar--bot img{width:16px;height:16px}.msg .body{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-soft);font-size:13.5px;line-height:1.6}.msg--system .body,.msg--spawn .body{color:var(--muted)}.caret{background:var(--gold);vertical-align:-2px;width:7px;height:14px;margin-left:2px;animation:1s steps(2,end) infinite chat-blink;display:inline-block}@keyframes chat-blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.caret{opacity:.7;animation:none}}.tool{border:1px solid var(--line);border-radius:var(--r-control);background:var(--bg);margin:8px 0 0;font-size:12.5px}.tool summary{cursor:pointer;color:var(--muted);align-items:center;gap:10px;padding:8px 12px;list-style:none;display:flex}.tool summary::-webkit-details-marker{display:none}.tool summary:before{content:"";border:4px solid #0000;border-left:6px solid var(--muted-2);width:0;height:0}.tool[open] summary:before{transform:rotate(90deg)translate(2px)}.tool summary b{color:var(--text);font-weight:500}.tool summary .status{margin-left:auto;font-size:12.5px}.tool pre{border-top:1px solid var(--line);font:12px/1.6 var(--font-mono);color:var(--text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px 12px;overflow-x:auto}.tool .res{border-top:1px solid var(--line);color:var(--muted);gap:10px;padding:6px 12px;display:flex}.chat-post-error{border-width:1px 0 0;border-radius:0;margin:0}.composer{border-top:1px solid var(--line);align-items:center;gap:10px;padding:12px 18px 14px;display:flex}.composer input,.composer textarea{border:1px solid var(--line-strong);border-radius:var(--r-control);background:var(--bg);min-width:0;height:40px;color:var(--text);outline:none;flex:1;padding:0 12px}.composer input:focus{border-color:var(--gold);box-shadow:inset 2px 0 0 var(--gold)}.composer .btn--primary{height:40px;font-size:14px}.side h3{font:600 17px/1.2 var(--font-display);font-variation-settings:"opsz" 24;color:var(--text);margin:24px 0 10px}.side h3:first-child{margin-top:0}.side>p{margin:0;font-size:13px}.live{margin:0;padding:0;list-style:none}.live li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.live li:last-child{border-bottom:0}.live small{color:var(--muted);font-size:12px;display:block}.live .btn{margin-left:auto}.live a:not(.btn){text-decoration:none}@media (width<=1100px){.chat{grid-template-columns:1fr}.convo{height:auto;min-height:480px}.chats ul{flex-wrap:wrap;gap:6px;display:flex}.chats li a{border-left:0;border:1px solid var(--line-strong);border-radius:var(--r-control);padding:6px 12px}.chats li a.active{border-color:var(--gold)}.chats li a small{display:none}.chats-actions{border-top:0;margin-top:10px;padding-top:0}}.msg--forging{grid-template-columns:2px minmax(0,1fr) auto;align-items:center}.msg--forging .forge-stop{align-self:center}.body.forge{align-items:center;gap:10px;display:flex}.forge-spinner{border:2px solid var(--gold-dim);border-top-color:var(--gold-hot);border-radius:50%;flex:none;width:13px;height:13px;animation:.85s linear infinite forge-spin}.forge-text{background:linear-gradient(100deg, var(--gold-dim) 0%, var(--gold-hot) 50%, var(--gold-dim) 100%);color:#0000;background-size:220% 100%;-webkit-background-clip:text;background-clip:text;font-weight:500;animation:1.8s ease-in-out infinite forge-shimmer}.forge-sub{margin-top:2px;font-size:12px}@keyframes forge-spin{to{transform:rotate(360deg)}}@keyframes forge-shimmer{0%{background-position:0%}to{background-position:-220%}}@media (prefers-reduced-motion:reduce){.forge-spinner{animation:none}.forge-text{background:0 0;-webkit-background-clip:initial;background-clip:initial;color:var(--gold-hot);animation:1.8s ease-in-out infinite forge-pulse}@keyframes forge-pulse{50%{opacity:.55}}}.turn-eye-row{margin:-8px 0 14px 18px}.eye-sauron{border:1px solid var(--line);background:var(--surface-3);color:var(--muted);cursor:pointer;transition:var(--transition);border-radius:999px;align-items:center;gap:6px;padding:3px 8px 3px 4px;display:inline-flex}.eye-sauron svg{filter:drop-shadow(0 0 2px #f0b84e40);width:18px;height:18px;transition:var(--transition)}.eye-sauron .eye-count{font-variant-numeric:tabular-nums;font-size:11.5px}.eye-sauron:hover,.eye-sauron:focus-visible,.eye-sauron--open{border-color:var(--line-gold-strong);color:var(--gold-hot)}.eye-sauron:hover svg,.eye-sauron:focus-visible svg,.eye-sauron--open svg{filter:drop-shadow(0 0 6px #ffe3a1a6)}.eye-sauron:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.msg--steps .rail{background:var(--gold-dim);opacity:.6}.steps-list{flex-direction:column;gap:10px;display:flex}.steps-list .step-text{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px;line-height:1.6}.steps-list .tool{margin-top:0}.steps-list .step-text .chip{vertical-align:1px;margin-right:8px}
