.wt-orbis-chat,.wt-orbis-thread{-webkit-user-select:text;user-select:text;cursor:text}
.wt-orbis-thread :is(button,summary,.wt-orbis-copy){-webkit-user-select:none;user-select:none;cursor:pointer}
/* Boris docked beside a type's editor keeps its settings beside the page while the page keeps 480px, that is while the
   editor is 780px wide or more (D-270, D-369). Narrower, the settings fold into the editor's own drawer, which its
   settings button and picking a part open (type-editor.css), and the page keeps the room. */
@container wt-ws (min-width: 780px) {
  body.wt-orbis-editor-docked .wt-ws-panel{display:flex;position:relative;inset:auto;width:auto;transform:none;visibility:visible;box-shadow:none;transition:none}
  body.wt-orbis-editor-docked :is(.wt-ws-panel-toggle,.wt-ws-panel-close){display:none}
}
/* From 780 to 799 the editor would make them a drawer on its own; here they stay a column. */
@container wt-ws (min-width: 780px) and (max-width: 799px) {
  body.wt-orbis-editor-docked .wt-ws.is-design .wt-ws-body{grid-template-columns:minmax(0,1fr) minmax(248px,300px);--wt-ws-drawer:0}
}
.wt-orbis-panel.is-editor-floating{min-width:min(320px,var(--wt-orbis-float-max-width,320px));max-width:var(--wt-orbis-float-max-width,calc(100vw - 24px));min-height:min(360px,var(--wt-orbis-float-max-height,360px));max-height:var(--wt-orbis-float-max-height,calc(100vh - 84px))}
.wt-orbis-panel .wt-orbis-tool-receipt{min-width:0;margin:3px 0;border-radius:var(--r-sm)}
.wt-orbis-tool-receipt>summary.wt-orbis-tool{display:flex;align-items:center;gap:7px;min-height:30px;padding:4px 7px;margin:0 -7px;list-style:none;cursor:pointer;border-radius:var(--r-sm);transition:background-color var(--wl-quick) var(--wl-ease),color var(--wl-quick) var(--wl-ease)}
.wt-orbis-tool-receipt>summary::-webkit-details-marker,.wt-orbis-thought>summary::-webkit-details-marker{display:none}
.wt-orbis-tool-receipt>summary:hover,.wt-orbis-thought>summary:hover{background:color-mix(in srgb,var(--wl-text) 6%,transparent);color:var(--wl-text)}
.wt-orbis-tool-receipt>summary .wt-orbis-tool-text{flex:1;min-width:0;overflow-wrap:anywhere;color:inherit}
.wt-orbis-tool-receipt>summary>.wt-glyph{flex-shrink:0}
.wt-orbis-tool-receipt[open]>summary{color:var(--wl-text)}
.wt-orbis-tool-body{padding:7px 0 9px 20px;font-size:12px;line-height:1.6;animation:wt-boris-disclosure-in var(--wl-quick) var(--wl-ease-out)}
.wt-orbis-tool-body .wt-orbis-changes{margin:10px 0 0}
.wt-orbis-panel p.wt-orbis-receipt-meta{font-size:11px;color:var(--wl-text-3);margin:0 0 7px}
.wt-orbis-panel p.wt-orbis-receipt-note{font-size:var(--t-help);color:var(--wl-text-2);line-height:1.6;margin:6px 0}
.wt-orbis-receipt-text{margin:9px 0 0;padding:10px 11px;border:1px solid var(--wl-line);border-radius:var(--r-sm);background:var(--wl-inset);color:var(--wl-text-2);font:11px/1.65 var(--wl-font-mono);white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;user-select:text}
.wt-orbis-thought>summary{display:flex;align-items:center;gap:7px;min-height:30px;padding:4px 7px;margin:0 -7px;border-radius:var(--r-sm);list-style:none;cursor:pointer;transition:background-color var(--wl-quick) var(--wl-ease),color var(--wl-quick) var(--wl-ease)}
.wt-orbis-thought>summary>span:not(.wt-glyph){flex:1}
.wt-orbis-thought[open]>.wt-orbis-thought-text{animation:wt-boris-disclosure-in var(--wl-quick) var(--wl-ease-out)}
.wt-orbis-thought-text{user-select:text;overflow-wrap:anywhere;scrollbar-gutter:stable;color:var(--wl-text-2);line-height:1.65}
.wt-orbis-change-head{cursor:pointer}
.wt-orbis-change[open]>.wt-orbis-change-body{animation:wt-boris-disclosure-in var(--wl-quick) var(--wl-ease-out)}
.wt-orbis-panel :is(summary,button):focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wt-orbis-live-label{font-weight:500}
.wt-orbis-live-time{font-family:var(--wl-font-mono);font-size:11px;font-variant-numeric:tabular-nums}
.wt-orbis-live-inspect{margin-left:auto;font-size:11px;white-space:nowrap}
.wt-orbis-queue[hidden],.wt-orbis-panel :is(.wt-orbis-send-now,.wt-orbis-stop)[hidden]{display:none!important}
.wt-orbis-queue{max-height:180px;overflow:auto;padding:0 0 9px;margin:0 0 8px;border-bottom:1px solid var(--wl-line)}
.wt-orbis-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--wl-text-3);margin-bottom:4px}
.wt-orbis-queue-item{display:flex;align-items:center;gap:3px;padding:5px 7px;border-radius:var(--r-sm);background:var(--wl-raised);margin-top:4px}
.wt-orbis-queue-item>p{flex:1;min-width:0;font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.wt-orbis-queue-item>button{flex-shrink:0}
.wt-orbis-queue-scope{display:block;font-size:11px;color:var(--wl-text-3);margin-top:7px}
.wt-orbis-panel .wt-orbis-send-now{font-size:11px;white-space:nowrap;padding:4px 6px;height:28px}
.wt-orbis-panel .wt-orbis-stop{flex-shrink:0}
.wt-orbis-composer-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-inline-start:auto;flex-shrink:0}
@keyframes wt-boris-disclosure-in{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}
.wt-orbis-reply.is-live :is(.wt-orbis-tool-body,.wt-orbis-thought-text,.wt-orbis-change-body){animation:none}
@media(prefers-reduced-motion:reduce){@keyframes wt-boris-disclosure-in{from{opacity:0}to{opacity:1}}}

/* Boris's reply is the document: readable blocks without a second notes UI. */
.wt-orbis-panel .wt-orbis-text{font-family:var(--wl-font-ui);font-size:14px;line-height:1.75;min-width:0}
.wt-orbis-panel .wt-orbis-text.is-markdown{max-width:72ch}
.wt-orbis-panel .wt-boris-prose-block{display:flow-root;min-width:0;overflow-wrap:anywhere}
.wt-orbis-panel .wt-boris-prose-block+:is(.wt-boris-prose-block){margin-block-start:.75em}
.wt-orbis-panel .wt-boris-prose-block>:first-child{margin-block-start:0}
.wt-orbis-panel .wt-boris-prose-block>:last-child{margin-block-end:0}
.wt-orbis-panel .wt-orbis-text.is-markdown :is(h1,h2,h3,h4){font-family:var(--wl-font-ui);text-transform:none;letter-spacing:0;line-height:1.4}
.wt-orbis-panel .wt-orbis-text.is-markdown h1{font-size:20px;font-weight:600}
.wt-orbis-panel .wt-orbis-text.is-markdown h2{font-size:17px;font-weight:600}
.wt-orbis-panel .wt-orbis-text.is-markdown :is(h3,h4){font-size:14px;font-weight:600}
.wt-orbis-panel .wt-orbis-text.is-markdown :is(ul,ol){padding-inline-start:1.5em;line-height:1.75}
.wt-orbis-panel .wt-orbis-text.is-markdown li{margin-block:.3em}
.wt-orbis-panel .wt-orbis-text.is-markdown blockquote{padding:10px 14px;border-inline-start:2px solid var(--wl-line-strong);background:var(--wl-inset);border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--wl-text)}
.wt-orbis-panel .wt-orbis-text :is(code,pre,kbd,samp){font-family:var(--wl-font-mono)}
.wt-orbis-panel .wt-orbis-text.is-markdown :not(pre)>code{font-size:.88em;overflow-wrap:anywhere}
.wt-orbis-panel .wt-orbis-text.is-markdown pre{white-space:pre;overflow:auto;max-width:100%;font-size:12px;line-height:1.7}
.wt-orbis-panel .wt-orbis-text.is-markdown :is(table,pre){margin:0}
.wt-orbis-panel .wt-orbis-text .wt-orbis-table-scroll{overscroll-behavior-inline:contain}
.wt-orbis-panel .wt-orbis-text .wt-orbis-table table{min-width:26rem;font-size:13px;overflow-wrap:normal;word-break:normal}
.wt-orbis-panel .wt-orbis-text .wt-orbis-block-bar{min-height:32px}
.wt-orbis-panel .wt-orbis-text [role=link]:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wt-boris-prose-block.is-revealing{animation:wl-fade var(--wl-short) var(--wl-ease-out) both}
/* An answer as it comes in (boris-prose.mjs, boris-motion.mjs): new words fade in where they land, a step's header and
   the line saying what Boris is doing ease into their new words, and what comes after the answer comes in once. Each
   is timed from when it began (a negative delay), so drawing the answer again never starts one over. */
.wt-boris-fresh{animation:wt-boris-fresh 360ms ease-out both}
@keyframes wt-boris-fresh{from{opacity:0}}
.wt-orbis-reply summary.is-swapped,.wt-orbis-live-label.is-swapped{animation:wt-boris-swap 260ms var(--wl-ease-out) both}
@keyframes wt-boris-swap{from{opacity:.2;translate:0 2px}}
.wt-orbis-reply>.is-arriving{animation:wt-boris-arrive 320ms var(--wl-ease-out) both}
@keyframes wt-boris-arrive{from{opacity:0;translate:0 4px}}
/* Boris's row comes a beat after your message. */
.wt-orbis-msg.is-orbis.is-new{animation-delay:70ms;animation-fill-mode:both}
@media(prefers-reduced-motion:reduce){.wt-boris-fresh,.wt-orbis-reply summary.is-swapped,.wt-orbis-live-label.is-swapped,.wt-orbis-reply>.is-arriving{animation:none}}

/* The panel's title (its welcome) is a panel title: the title face at the panel size, one weight. */
body.wb-shell .wt-orbis-welcome h2 { font-family:var(--wl-font-title); font-size:var(--t-title-panel); font-weight:400; letter-spacing:0; line-height:1.4; }
/* Values read as values: how long a step has run, what an answer cost, the memory ring. */
body.wb-shell .wt-orbis-usage { font-family:var(--wl-font-mono); font-size:11px; font-variant-numeric:tabular-nums; }
body.wb-shell .wt-orbis-composer-row button.wt-orbis-ring { font-family:var(--wl-font-mono); font-variant-numeric:tabular-nums; }

/* ---- Boris's drawer (Context, Instructions, Settings) on Worldrig tokens, drawn as Story memory's Next reply ---- */
body.wb-shell .wt-orbis-drawer-tabs { border:1px solid var(--wl-line); border-radius:var(--r-md); background:var(--wl-inset); }
body.wb-shell .wt-orbis-drawer-tabs button.wt-orbis-drawer-tab { height:30px; border-radius:var(--r-sm); color:var(--wl-text-3); transition:color var(--wl-quick) var(--wl-ease), background-color var(--wl-quick) var(--wl-ease); }
body.wb-shell .wt-orbis-drawer-tabs button.wt-orbis-drawer-tab:hover { color:var(--wl-text); }
body.wb-shell .wt-orbis-drawer-tabs button.wt-orbis-drawer-tab[aria-selected="true"] { background:var(--wl-raised); color:var(--wl-text); box-shadow:0 0 0 1px var(--wl-line); }
body.wb-shell .wt-orbis-meter-total strong { color:var(--wl-text); }
body.wb-shell .wt-orbis-meter-total span { color:var(--wl-text-3); font-size:var(--t-help); }
body.wb-shell .wt-orbis-meter-bar { height:8px; background:var(--wl-raised); }
body.wb-shell .wt-orbis-parts { border-color:var(--wl-line); border-radius:var(--r-lg); background:var(--wl-surface); }
body.wb-shell .wt-orbis-part + .wt-orbis-part { border-top-color:var(--wl-line); }
body.wb-shell .wt-orbis-part > summary { min-height:40px; padding:0 12px 0 14px; transition:background-color var(--wl-quick) var(--wl-ease); }
body.wb-shell .wt-orbis-part > summary:hover { background:var(--wl-raised); }
body.wb-shell .wt-orbis-part-label { color:var(--wl-text); font-size:var(--t-ui); }
body.wb-shell .wt-orbis-part-size { color:var(--wl-text-2); font-family:var(--wl-font-mono); font-size:11.5px; font-variant-numeric:tabular-nums; }
body.wb-shell .wt-orbis-part-note { color:var(--wl-text-3); }
body.wb-shell .wt-orbis-panel pre.wt-orbis-part-text { border-top-color:var(--wl-line); background:var(--wl-inset); color:var(--wl-text-2); font-family:var(--wl-font-mono); }
body.wb-shell .wt-orbis-panel :is(p.wt-orbis-drawer-foot, p.wt-orbis-drawer-lead) { color:var(--wl-text-3); }
@media (prefers-reduced-motion:reduce) { body.wb-shell :is(.wt-orbis-drawer-tabs button.wt-orbis-drawer-tab, .wt-orbis-part > summary) { transition:none; } }

/* Boris's changes waiting in a type's editor (D-148): one card per type, each change with Show, Keep and Undo all. */
body.wb-shell .wt-orbis-draft { margin:12px 0 0; border-radius:var(--r-lg); background:var(--wl-inset); box-shadow:inset 0 0 0 1px var(--wl-line); overflow:hidden; animation:wt-orbis-fade var(--wl-short) var(--wl-ease-out); }
body.wb-shell .wt-orbis-draft-head { display:flex; align-items:center; gap:var(--sp-2); padding:10px 12px 8px; color:var(--wl-text); font-size:var(--t-ui); font-weight:600; }
body.wb-shell .wt-orbis-draft-head > .wt-glyph { color:var(--wl-selection); }
body.wb-shell .wt-orbis-draft-state { margin-inline-start:auto; padding:0 8px; border-radius:var(--r-pill); line-height:20px; font-size:11px; font-weight:600; white-space:nowrap; background:var(--wl-raised); color:var(--wl-text-2); }
body.wb-shell .wt-orbis-draft-state.is-not { background:color-mix(in srgb, var(--wl-warning) 14%, transparent); color:var(--wl-warning); }
body.wb-shell .wt-orbis-draft-state.is-saved { background:color-mix(in srgb, var(--wl-success) 16%, transparent); color:var(--wl-success); }
body.wb-shell .wt-orbis-draft-step { display:flex; align-items:center; gap:var(--sp-2); min-height:36px; padding:6px 8px 6px 12px; border-top:1px solid var(--wl-line); color:var(--wl-text-2); font-size:var(--t-ui); }
body.wb-shell .wt-orbis-draft-step > .wt-glyph { flex-shrink:0; color:var(--wl-text-3); }
body.wb-shell .wt-orbis-draft-step .wt-glyph svg, body.wb-shell .wt-orbis-draft .wt-glyph svg { width:15px; height:15px; }
body.wb-shell .wt-orbis-draft-words { flex:1; min-width:0; }
body.wb-shell .wt-orbis-draft-step:hover { background:color-mix(in srgb, var(--wl-text) 4%, transparent); }
body.wb-shell .wt-orbis-panel button.wt-orbis-draft-show { flex-shrink:0; display:inline-flex; align-items:center; gap:4px; height:26px; padding:0 8px; border:0; border-radius:var(--r-sm); background:transparent; box-shadow:none; color:var(--wl-text-3); font-size:var(--t-help); opacity:.0; transition:opacity var(--wl-quick) var(--wl-ease), background-color var(--wl-quick) var(--wl-ease), color var(--wl-quick) var(--wl-ease); }
body.wb-shell .wt-orbis-draft-step:hover button.wt-orbis-draft-show, body.wb-shell .wt-orbis-panel button.wt-orbis-draft-show:focus-visible { opacity:1; }
body.wb-shell .wt-orbis-panel button.wt-orbis-draft-show:hover { color:var(--wl-text); background:color-mix(in srgb, var(--wl-text) 8%, transparent); }
@media (hover:none) { body.wb-shell .wt-orbis-panel button.wt-orbis-draft-show { opacity:1; } }
body.wb-shell .wt-orbis-draft-foot { display:flex; flex-wrap:wrap; align-items:center; gap:var(--sp-2); padding:10px 12px 12px; border-top:1px solid var(--wl-line); }
body.wb-shell .wt-orbis-draft-foot button { display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 12px; font-size:var(--t-ui); }
body.wb-shell .wt-orbis-panel .wt-orbis-draft-foot p { flex-basis:100%; margin:2px 0 0; color:var(--wl-text-3); font-size:var(--t-help); }
/* The part selected on a type's page, going with the message. */
body.wb-shell .wt-orbis-picked { display:inline-flex; align-items:center; gap:5px; max-width:60%; height:22px; margin-inline-start:6px; padding:0 3px 0 7px; border-radius:var(--r-pill); background:var(--wl-selection-soft); color:var(--wl-text); font-size:11.5px; font-weight:500; vertical-align:top; }
body.wb-shell .wt-orbis-picked[hidden] { display:none; }
body.wb-shell .wt-orbis-picked > span:not(.wt-glyph) { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.wb-shell .wt-orbis-picked .wt-glyph svg { width:12px; height:12px; }
body.wb-shell .wt-orbis-picked > .wt-glyph { flex-shrink:0; color:var(--wl-selection); }
body.wb-shell .wt-orbis-panel button.wt-orbis-picked-x { flex-shrink:0; width:16px; height:16px; padding:0; border:0; border-radius:50%; background:transparent; box-shadow:none; color:var(--wl-text-3); }
body.wb-shell .wt-orbis-panel button.wt-orbis-picked-x:hover { color:var(--wl-text); background:color-mix(in srgb, var(--wl-text) 10%, transparent); }
body.wb-shell .wt-orbis-ref.is-part > .wt-glyph { color:var(--wl-selection); }
@media (prefers-reduced-motion:reduce) { body.wb-shell .wt-orbis-draft { animation:none; } }
/* A world's plan (D-314): the pitch, then each stage's parts beside a step number; Build it, Change it and Not now under
   it while it waits, and one quiet line after. */
.wt-boris-plan { margin:4px 0 10px; padding:12px 14px 12px; border:1px solid var(--wl-line); border-radius:var(--r-md); background:var(--wl-surface); animation:wt-orbis-rise .18s ease; }
.wt-boris-plan-head { display:flex; align-items:center; gap:8px; }
.wt-boris-plan-head > .wt-glyph { flex-shrink:0; color:var(--wl-selection); }
.wt-boris-plan-head strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:600; }
.wt-boris-plan-head small { margin-inline-start:auto; flex-shrink:0; color:var(--wl-text-3); font-size:11.5px; }
.wt-orbis-panel .wt-boris-plan p { margin:0; }
.wt-orbis-panel .wt-boris-plan-pitch { margin:6px 0 2px; color:var(--wl-text-2); font-size:12.5px; line-height:1.5; }
.wt-boris-plan-stages { display:grid; gap:8px; margin:10px 0 0; padding:0; list-style:none; }
.wt-boris-plan-stages > li { display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; align-items:start; }
.wt-boris-plan-step { display:grid; place-items:center; width:20px; height:20px; margin-top:1px; border-radius:50%; background:color-mix(in srgb, var(--wl-text) 8%, transparent); color:var(--wl-text-2); font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; }
.wt-boris-plan-parts { display:grid; gap:6px; min-width:0; }
.wt-boris-plan-part-head { display:flex; align-items:baseline; gap:8px; min-width:0; }
.wt-boris-plan-part-head strong { min-width:0; font-size:12.5px; font-weight:600; }
.wt-boris-plan-part-head small { flex-shrink:0; color:var(--wl-text-3); font-size:11px; }
.wt-orbis-panel .wt-boris-plan-part p { margin-top:1px; color:var(--wl-text-3); font-size:11.5px; line-height:1.45; }
/* Where its pictures are painted, before anything is made: a quiet line under the parts. */
.wt-orbis-panel p.wt-boris-plan-note { margin:10px 0 0 30px; color:var(--wl-text-3); font-size:11.5px; line-height:1.45; }
.wt-boris-plan .wt-orbis-actions { margin-top:12px; }
.wt-boris-plan-change { display:grid; gap:8px; margin-top:10px; }
.wt-boris-plan-change[hidden] { display:none; }
.wt-boris-plan-change > button { justify-self:end; }
.wt-orbis-panel textarea.wt-boris-plan-words { width:100%; min-height:52px; padding:8px 10px; border:1px solid var(--wl-line); border-radius:var(--r-sm); background:var(--wl-bg); color:var(--wl-text); font:inherit; font-size:12.5px; resize:vertical; }
.wt-orbis-panel textarea.wt-boris-plan-words:focus { border-color:var(--wl-selection); outline:none; box-shadow:none; }
.wt-orbis-panel .wt-boris-plan-said { margin-top:10px; padding-top:8px; border-top:1px solid var(--wl-line); color:var(--wl-text-3); font-size:12px; }
.wt-orbis-panel .wt-boris-plan-said.is-yes { color:var(--wl-text-2); }
/* A plan sent back or not built: its head and what was said to it; the head opens it again. */
.wt-boris-plan.is-folded .wt-boris-plan-pitch, .wt-boris-plan.is-folded .wt-boris-plan-stages, .wt-boris-plan.is-folded .wt-boris-plan-note { display:none; }
.wt-boris-plan-head[role=button] { cursor:pointer; border-radius:var(--r-sm); }
.wt-boris-plan-head[role=button]:hover strong { color:var(--wl-text); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--wl-line); }
.wt-boris-plan-head[role=button]:focus-visible { outline:2px solid var(--wl-selection); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { .wt-boris-plan { animation:none; } }
/* In the game's panel Boris's replies render as they do in the workspace (below): the same card, the same small face
   beside each one, the same chat sides, so the panel reads the same wherever it sits. */

/* ---- Going back (boris-turns.mjs): under each message what you can do with it, quiet until you point at it (the newest
   answer's always show); an edit opens where your message was; the arrows show the versions editing or trying again
   made; a round button brings you back to the newest message. ---- */
.wt-orbis-col { flex:1; display:flex; flex-direction:column; min-width:0; }
.wt-orbis-col > .wt-orbis-reply { flex:none; }
.wt-orbis-col > .is-arriving { animation:wt-boris-arrive 320ms var(--wl-ease-out) both; }
.wt-orbis-foot { min-height:28px; margin:4px 0 -8px; gap:2px; }
.wt-orbis-msg-actions { display:flex; align-items:center; justify-content:flex-end; gap:2px; min-height:28px; margin:-2px 0 -10px; }
body .wt-orbis-panel button.wt-orbis-act, body .wt-orbis-panel :is(.wt-orbis-foot, .wt-orbis-msg-actions) button.wt-orbis-copy { display:inline-grid; place-items:center; flex-shrink:0; width:28px; height:28px; padding:0; border:0; border-radius:var(--r-sm); background:transparent; box-shadow:none; color:var(--wl-text-3); transition:color var(--wl-quick) var(--wl-ease), background-color var(--wl-quick) var(--wl-ease), opacity var(--wl-quick) var(--wl-ease); }
body .wt-orbis-panel button.wt-orbis-act:hover:not(:disabled) { color:var(--wl-text); background:var(--wl-raised); }
body .wt-orbis-panel button.wt-orbis-act:disabled { color:color-mix(in srgb, var(--wl-text-3) 45%, transparent); cursor:default; }
.wt-orbis-act .wt-glyph svg, :is(.wt-orbis-foot, .wt-orbis-msg-actions) .wt-orbis-copy .wt-glyph svg { width:14px; height:14px; }
.wt-orbis-foot > .wt-orbis-copy { margin-inline-start:0; }
.wt-orbis-panel :is(.wt-orbis-foot, .wt-orbis-msg-actions) > :is(.wt-orbis-act, .wt-orbis-copy, .wt-orbis-when) { opacity:0; }
.wt-orbis-panel .wt-orbis-msg:is(:hover, :focus-within) :is(.wt-orbis-foot, .wt-orbis-msg-actions) > :is(.wt-orbis-act, .wt-orbis-copy, .wt-orbis-when),
.wt-orbis-panel .wt-orbis-thread > .wt-orbis-msg:last-child .wt-orbis-foot > :is(.wt-orbis-act, .wt-orbis-copy) { opacity:1; }
@media (hover:none) { .wt-orbis-panel :is(.wt-orbis-foot, .wt-orbis-msg-actions) > :is(.wt-orbis-act, .wt-orbis-copy, .wt-orbis-when) { opacity:1; } }
.wt-orbis-when { padding:0 6px; color:var(--wl-text-3); font:11px/1 var(--wl-font-mono); font-variant-numeric:tabular-nums; white-space:nowrap; transition:opacity var(--wl-quick) var(--wl-ease); }
.wt-orbis-foot > .wt-orbis-when { margin-inline-start:auto; }
.wt-orbis-foot > .wt-orbis-when + .wt-orbis-usage { margin-inline-start:0; }
.wt-orbis-versions { display:inline-flex; align-items:center; margin-inline:2px; }
body .wt-orbis-panel .wt-orbis-versions button.wt-orbis-act { width:22px; }
.wt-orbis-versions-count { min-width:36px; color:var(--wl-text-2); font:500 11px/1 var(--wl-font-mono); font-variant-numeric:tabular-nums; text-align:center; }
/* Editing your message, where it was. */
.wt-orbis-msg.is-you.is-editing { align-self:stretch; max-width:none; }
.wt-orbis-edit { width:100%; padding:8px 8px 8px 10px; border:1px solid var(--wl-selection); border-radius:var(--r-lg); background:var(--wl-surface); box-shadow:0 0 0 3px var(--wl-selection-soft); animation:wl-fade var(--wl-quick) var(--wl-ease-out); }
.wt-orbis-panel textarea.wt-orbis-edit-input { display:block; width:100%; min-height:22px; max-height:240px; padding:2px 0; border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--wl-text); font:inherit; font-size:13px; line-height:1.55; resize:none; outline:none; }
.wt-orbis-edit-foot { display:flex; align-items:center; gap:6px; margin-top:8px; }
.wt-orbis-edit-note { flex:1; min-width:0; color:var(--wl-text-3); font-size:11.5px; line-height:1.4; }
body .wt-orbis-panel .wt-orbis-edit-foot button { height:28px; padding:0 12px; font-size:12px; }
/* Back to the newest message: it sits over the end of the chat, only while you are scrolled up. */
body .wt-orbis-panel button.wt-orbis-jump { position:sticky; bottom:6px; align-self:center; flex-shrink:0; display:grid; place-items:center; width:32px; height:32px; margin-top:-32px; padding:0; border:1px solid var(--wl-line); border-radius:50%; background:var(--wl-surface); box-shadow:var(--wl-elev-card); color:var(--wl-text-2); opacity:0; translate:0 6px; pointer-events:none; transition:opacity var(--wl-quick) var(--wl-ease), translate var(--wl-short) var(--wl-ease-out), color var(--wl-quick) var(--wl-ease); }
body .wt-orbis-panel button.wt-orbis-jump.is-shown { opacity:1; translate:0 0; pointer-events:auto; }
body .wt-orbis-panel button.wt-orbis-jump:hover { color:var(--wl-text); border-color:var(--wl-line-strong); }
.wt-orbis-jump .wt-glyph svg { width:15px; height:15px; }
@media (prefers-reduced-motion:reduce) { .wt-orbis-col > .is-arriving, .wt-orbis-edit { animation:none; } body .wt-orbis-panel button.wt-orbis-jump { transition:none; } }

/* Boris's answer sits in a solid card like the message box (chosen 2026-11-18 over an open answer and a tinted card);
   beside it his face is a little larger, with a soft glow. The game's panel renders the same. */
.wt-orbis-panel .wt-orbis-msg.is-orbis .wt-orbis-reply { padding:10px 14px 12px; border:1px solid var(--wl-line); border-radius:var(--r-lg); background:var(--wl-surface); }
.wt-orbis-panel .wt-orbis-msg.is-orbis > .wt-orbis-blob.is-tiny { --size:28px; margin-top:6px; box-shadow:inset 0 .07em .1em color-mix(in srgb, var(--wl-text) 69%, transparent), inset 0 -.09em .16em color-mix(in srgb, var(--wt-water-deep) 45%, transparent), 0 0 18px 2px color-mix(in srgb, var(--wt-water) 26%, transparent); }
body .wt-orbis-panel textarea.wt-orbis-edit-input:is(:focus, :focus-visible) { border:0; outline:none; box-shadow:none; }

/* ---- Boris's chat, 2026-11-18 (tabs, ideas, another model, search) ---- */
/* The chat tabs stay readable, as a browser's or a code editor's do: each is as wide as its title up to a cap, never
   squeezed to a letter. When they don't fit, the strip scrolls sideways (wheel, touch, arrow keys) with its edges fading
   where more tabs wait, and the open chat's tab is scrolled into view (renderBar). The full title is in the tooltip. */
.wt-orbis-panel .wt-orbis-tab { flex:0 0 auto; min-width:0; max-width:148px; }
.wt-orbis-panel .wt-orbis-tabs { overscroll-behavior-inline:contain; }
.wt-orbis-panel .wt-orbis-tabs.is-more-right { -webkit-mask-image:linear-gradient(90deg, var(--wl-bg) calc(100% - 28px), transparent); mask-image:linear-gradient(90deg, var(--wl-bg) calc(100% - 28px), transparent); }
.wt-orbis-panel .wt-orbis-tabs.is-more-left { -webkit-mask-image:linear-gradient(90deg, transparent, var(--wl-bg) 28px); mask-image:linear-gradient(90deg, transparent, var(--wl-bg) 28px); }
.wt-orbis-panel .wt-orbis-tabs.is-more-left.is-more-right { -webkit-mask-image:linear-gradient(90deg, transparent, var(--wl-bg) 28px, var(--wl-bg) calc(100% - 28px), transparent); mask-image:linear-gradient(90deg, transparent, var(--wl-bg) 28px, var(--wl-bg) calc(100% - 28px), transparent); }
/* Ideas to start with, under the welcome: quiet rows; a tap puts the words in the message box. */
.wt-orbis-ideas { display:grid; gap:6px; width:100%; max-width:300px; margin:-6px 0 0; }
body .wt-orbis-welcome button.wt-orbis-idea { display:block; width:100%; height:auto; min-height:34px; padding:7px 12px; border:1px solid var(--wl-line); border-radius:var(--r-md); background:transparent; box-shadow:none; color:var(--wl-text-2); font-size:12.5px; font-weight:400; line-height:1.4; text-align:start; white-space:normal; cursor:pointer; transition:color var(--wl-quick) var(--wl-ease), background-color var(--wl-quick) var(--wl-ease), border-color var(--wl-quick) var(--wl-ease); }
body .wt-orbis-welcome button.wt-orbis-idea:hover { color:var(--wl-text); background:var(--wl-raised); border-color:var(--wl-line-strong); }
@media (pointer: coarse) { body .wt-orbis-welcome button.wt-orbis-idea { min-height:40px; } }
/* Try again with another model: a narrow arrow beside Try again, shown with it. */
body .wt-orbis-panel button.wt-orbis-act.is-more { width:16px; margin-inline-start:-4px; }
.wt-orbis-act.is-more .wt-glyph svg { width:12px; height:12px; }
/* Chat history's search: found messages as a snippet with the match marked, under their chat's title. The row the
   arrows are on is lit as a pointed-at row. */
.wt-orbis-pop.is-history { width:320px; }
body .wt-orbis-pop button.wt-orbis-pop-item.is-active { background:var(--wl-raised); }
body .wt-orbis-pop button.wt-orbis-found { height:auto; min-height:32px; align-items:flex-start; padding:6px 9px; }
.wt-orbis-found > .wt-glyph:first-child { margin-top:2px; color:var(--wl-text-3); }
.wt-orbis-pop .wt-orbis-found > span.wt-orbis-found-words { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:var(--wl-text-2); font-size:12.5px; line-height:1.45; white-space:normal; overflow-wrap:anywhere; }
.wt-orbis-pop .wt-orbis-found.is-title > span.wt-orbis-found-words { -webkit-line-clamp:1; color:var(--wl-text); font-size:13px; }
.wt-orbis-found-chat { display:flex; align-items:baseline; gap:8px; }
.wt-orbis-found-chat > span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--wl-text-2); }
.wt-orbis-found-chat > small { flex-shrink:0; font-weight:400; color:var(--wl-text-3); }
.wt-orbis-pop mark { padding:0 1px; border-radius:2px; background:var(--wl-selection-soft); color:var(--wl-text); font-weight:600; }
@media (pointer: coarse) { body .wt-orbis-pop button.wt-orbis-found { min-height:40px; } }
/* A message picked in the search: for a moment its card is lit and ringed, then it fades back; the words found are lit
   meanwhile (a highlight, nothing added to the page). */
.wt-orbis-msg.is-found > .wt-orbis-bubble, .wt-orbis-msg.is-found .wt-orbis-reply { animation:wt-orbis-found calc(var(--wl-scene) * 2) var(--wl-ease) both; }
@keyframes wt-orbis-found { 0%, 60% { box-shadow:inset 0 0 0 100vmax var(--wl-selection-soft), 0 0 0 3px var(--wl-selection-soft); } 100% { box-shadow:inset 0 0 0 100vmax transparent, 0 0 0 3px transparent; } }
::highlight(wt-orbis-found) { background-color:var(--wl-selection-soft); color:var(--wl-text); }
/* Reduced motion: the ring stays still for the moment it shows, then goes, instead of fading. */
@media (prefers-reduced-motion: reduce) { .wt-orbis-msg.is-found > .wt-orbis-bubble, .wt-orbis-msg.is-found .wt-orbis-reply { animation:none; box-shadow:0 0 0 3px var(--wl-selection-soft); } }
