:root{--companion-width:386px}html[data-agent-open=true] .flash-shell{width:calc(100% - var(--companion-width))}.atlas-companion{z-index:45;width:var(--companion-width);background:var(--eb-surface);color:var(--eb-ink);border-left:1px solid var(--eb-line);animation:companion-arrive .22s var(--eb-ease);isolation:isolate;flex-direction:column;display:flex;position:fixed;inset:0 0 0 auto}.atlas-companion[hidden]{display:none}.companion-header{align-items:center;gap:6px;padding:16px 12px 12px 17px;display:flex}.companion-emblem{width:34px;height:34px;color:var(--eb-accent);place-items:center;display:grid}.companion-heading{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.companion-heading>span{color:var(--eb-ink-muted)}.companion-page{border-bottom:1px solid var(--eb-line);color:var(--eb-ink-muted);justify-content:space-between;align-items:center;gap:12px;margin:0 18px 12px;padding:0 0 12px;display:flex}.companion-page>span:first-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.companion-body{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:2px 12px 18px;overflow:auto}.companion-welcome{padding:24px 8px}.companion-welcome h2{max-width:240px;margin:0 0 14px}.companion-welcome p{color:var(--eb-ink-muted);max-width:285px}.companion-welcome .eb-chip{margin-top:24px}.companion-composer{margin:0 14px calc(14px + env(safe-area-inset-bottom));border:1px solid var(--eb-line-strong);border-radius:var(--eb-r-card);background:var(--eb-surface);box-shadow:var(--eb-sheet);transition:border-color var(--eb-fast) var(--eb-ease),box-shadow var(--eb-fast) var(--eb-ease);flex-shrink:0;padding:14px 8px 8px}.companion-composer:focus-within{border-color:var(--eb-accent);box-shadow:var(--eb-sheet),0 0 0 4px var(--eb-accent-soft)}.companion-composer :is(input,textarea){width:100%;color:inherit;resize:none;background:0 0;border:0;outline:0;padding:0 4px 12px}.companion-composer :is(input,textarea)::placeholder{color:var(--eb-ink-muted)}.companion-composer-actions{align-items:center;gap:6px;display:flex}.companion-composer-actions kbd{color:var(--eb-ink-muted);margin-left:auto}.atlas-companion .flash-agent-header,.atlas-companion .assistant-followup-composer{display:none}.atlas-companion .flash-agent-dialogue{gap:18px;max-height:none;padding:12px 6px}.companion-cues{flex-direction:column;gap:8px;margin:12px 6px;display:flex}.companion-ink{z-index:44;pointer-events:none;width:100%;height:100%;color:var(--eb-accent);position:fixed;inset:0;overflow:visible}.companion-mark ellipse,.companion-mark rect{stroke:currentColor;stroke-width:2px;fill:none;stroke-dasharray:1;animation:.55s ease-out both companion-draw}.companion-pin{fill:var(--eb-accent-fill);stroke:var(--eb-surface);stroke-width:2px}.companion-mark text{fill:var(--eb-on-accent);text-anchor:middle}@keyframes companion-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@media (max-width:1000px){:root{--companion-width:340px}}@media (max-width:700px){html[data-agent-open=true] .flash-shell{width:100%;padding-bottom:48dvh}html[data-agent-open=true] .flash-nav{bottom:calc(48dvh + 8px)}.atlas-companion{width:100%;height:48dvh;max-height:calc(var(--companion-visible-height,100dvh) - 90px);inset:auto 0 0;bottom:var(--companion-keyboard-inset,0px);border:0;border-top:1px solid var(--eb-line);border-radius:var(--eb-r-sheet) var(--eb-r-sheet) 0 0}.companion-header{padding:10px 14px 7px}.companion-page{margin-bottom:4px;padding-bottom:7px}.companion-welcome{padding:12px 8px}.companion-welcome h2{max-width:none}.companion-welcome p{margin:6px 0}.companion-welcome .eb-chip{margin-top:12px}.companion-composer{margin-bottom:calc(8px + env(safe-area-inset-bottom));padding-top:10px}.companion-composer :is(input,textarea){padding-bottom:6px}.companion-composer-actions{min-height:30px}}@media (prefers-reduced-motion:reduce){.atlas-companion,.companion-mark ellipse,.companion-mark rect{animation:none}.companion-composer{transition:none}}.companion-working{color:var(--eb-ink-muted);align-items:center;gap:10px;padding:14px 0;display:flex}.companion-working-dots{gap:3px;margin-left:auto;display:flex}.companion-working-dots i{background:var(--eb-accent);border-radius:50%;width:3px;height:3px;animation:1.1s ease-in-out infinite companion-pip}.companion-working-dots i:nth-child(2){animation-delay:.12s}.companion-working-dots i:nth-child(3){animation-delay:.24s}.companion-cue-card{border:1px solid var(--eb-line);border-radius:var(--eb-r-card);background:var(--eb-surface);box-shadow:var(--eb-sheet);padding:16px;transition:border-color .12s,transform .12s}.companion-cue-card[data-selected=true]{border-color:color-mix(in srgb,var(--eb-accent) 45%,transparent)}.companion-cue-top{align-items:center;gap:10px;display:flex}.companion-cue-number{width:25px;height:25px;color:var(--eb-accent);background:var(--eb-accent-soft);box-shadow:var(--eb-inlay);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.companion-cue-card p{color:var(--eb-ink-muted);margin:11px 0 15px}.companion-cue-actions{gap:8px;display:flex}.companion-cue-primary{flex:1;min-width:0}.companion-cue-primary span{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}@keyframes companion-pip{50%{opacity:.25;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.companion-working-dots i{animation:none}.companion-cue-card{transition:none}}.companion-detail-form{border-radius:var(--eb-r-control);background:color-mix(in srgb,var(--eb-surface) 70%,var(--eb-surface-sunken));box-shadow:var(--eb-well);align-items:center;margin:14px 0;padding:4px;display:flex}.companion-detail-form:focus-within{background:var(--eb-surface);box-shadow:inset 0 0 0 1px var(--eb-accent),0 0 0 4px var(--eb-accent-soft)}.companion-detail-form input{min-width:0;color:var(--eb-ink);background:0 0;border:0;outline:0;flex:1;padding:9px}.companion-detail-form button{background:var(--eb-accent-fill);color:var(--eb-on-accent);cursor:pointer;border:0;border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.companion-detail-form button:disabled{background:var(--eb-surface-sunken);color:var(--eb-ink-faint);cursor:not-allowed}.companion-timeline{padding-bottom:var(--eb-chat-turn);flex-direction:column;display:flex}.companion-turn{min-width:0;animation:.18s ease-out companion-turn-arrive;position:relative}@keyframes companion-turn-arrive{0%{opacity:0}}.companion-turn+.companion-turn{margin-top:var(--eb-chat-turn)}.companion-turn+.companion-turn[data-speaker=atlas]{margin-top:var(--eb-chat-reply)}.companion-timeline .companion-turn .assistant-adaptive-console{padding-bottom:0;position:static;overflow-y:visible}.companion-timeline .companion-turn .flash-agent-dialogue{gap:var(--eb-chat-part);padding-block:0}.companion-timeline .companion-turn .agent-turn-answer:empty{display:none}@media (hover:hover){.companion-turn:not(:has(+.companion-turn[data-speaker=atlas])) .atlas-steps:not([data-open]){margin:0;position:absolute;top:100%;left:0}.companion-turn+.companion-turn[data-speaker=atlas]:not(:has(>:not(.assistant-adaptive-console),.flash-agent-message,.agent-turn-answer:not(:empty),.flash-agent-handoffs:not(:empty),.assistant-stage:not(:empty),.atlas-steps[data-open])){margin-top:0}}.companion-turn .flash-agent-handoffs{flex-direction:column;gap:8px;margin:12px 0 4px;display:flex}.companion-turn .flash-agent-status-action{border-radius:var(--eb-r-control);min-height:44px;transition:box-shadow .12s,transform .12s}.companion-choice-fieldset{border:0;min-width:0;margin:0;padding:0}.companion-choice-fieldset:disabled{opacity:.65}.companion-turn[data-historical=true] .companion-cue-card{background:0 0}@keyframes companion-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.companion-turn{animation:none}.companion-turn .flash-agent-status-action{transition:none}}.companion-turn .flash-agent-handoffs:empty{display:none}.atlas-response{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--eb-ink)}.atlas-response>:first-child,.flash-agent-message .atlas-response>p:first-child{margin-top:0}.atlas-response>:last-child,.flash-agent-message .atlas-response>p:last-child{margin-bottom:0}.flash-agent-message .atlas-response p,.atlas-response p{white-space:normal;margin:0 0 14px}.atlas-response :is(h3,h4){color:var(--eb-ink);margin:22px 0 8px}.atlas-response :is(h3,h4)+*{margin-top:0}.atlas-response :is(ul,ol){margin:10px 0 16px;padding-left:22px}.atlas-response ul{list-style:outside}.atlas-response ol{list-style:decimal}.atlas-response li{margin:6px 0;padding-left:4px}.atlas-response li>p{margin:0}.atlas-response li::marker{color:var(--eb-ink-muted)}.atlas-response :is(ul,ol) :is(ul,ol){margin:4px 0}.atlas-response .contains-task-list{padding-left:0;list-style:none}.atlas-response .task-list-item{align-items:baseline;gap:9px;padding-left:0;list-style:none;display:flex}.atlas-response .contains-task-list>li:not(.task-list-item){margin-left:22px;list-style:outside}.atlas-response-task{width:14px;height:14px;accent-color:var(--eb-ink-muted);flex:none;margin:0;translate:0 2px}.atlas-response del{color:var(--eb-ink-muted)}.atlas-response blockquote{border-left:2px solid var(--eb-line-strong);color:var(--eb-ink-muted);margin:16px 0;padding:2px 0 2px 16px}.atlas-response blockquote>:last-child{margin-bottom:0}.atlas-response a{color:var(--eb-accent-ink)}.atlas-response a:focus-visible{outline:2px solid var(--eb-focus);outline-offset:2px;border-radius:3px}.atlas-response hr{border:0;border-top:1px solid var(--eb-line);margin:22px 0}.atlas-response table{border-collapse:collapse;table-layout:auto;width:100%;margin:14px 0 18px}.atlas-response :is(th,td){border-bottom:1px solid var(--eb-line);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:8px 10px}.atlas-response :is(th,td):first-child{padding-left:0}.atlas-response :is(th,td):last-child{padding-right:0}.atlas-response th{border-bottom-color:var(--eb-line-strong);color:var(--eb-ink-muted)}.atlas-response tr:last-child>td{border-bottom:0}.atlas-response pre{border:1px solid var(--eb-line);background:var(--eb-surface-sunken);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;max-width:100%;margin:14px 0 18px;padding:12px 14px}.atlas-response pre code{background:0 0;padding:0}.atlas-response :not(pre)>code{background:var(--eb-surface-sunken);border-radius:5px;padding:1px 5px}.atlas-response--compact p{margin-bottom:8px}.atlas-response--compact :is(h3,h4){margin:12px 0 6px}.flash-agent-tool{border-top:1px solid var(--eb-line);color:var(--eb-ink-muted);margin:8px 0 12px}.flash-agent-tool summary{cursor:pointer;align-items:center;gap:9px;min-height:36px;list-style:none;display:flex}.flash-agent-tool summary::-webkit-details-marker{display:none}.flash-agent-tool>pre{white-space:pre-wrap;overflow-wrap:anywhere}.flash-agent-source{color:var(--eb-accent);margin:4px 8px 4px 0;display:inline-flex}.flash-agent-file{color:var(--eb-ink-muted);margin:4px 0;display:inline-flex}.flash-agent-message[data-streaming=true] .atlas-response p:after{display:none}.flash-agent-image{border-radius:12px;max-width:100%;height:auto;display:block}.flash-agent-message[data-streaming=true] .atlas-response>:last-child:after{content:"";vertical-align:-.15em;background:var(--eb-accent);border-radius:3px;width:5px;height:1em;margin-left:5px;animation:.8s ease-in-out infinite agent-work-pulse;display:inline-block}@media (prefers-reduced-motion:reduce){.flash-agent-message[data-streaming=true] .atlas-response>:last-child:after{animation:none}}.companion-hand-circle{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-dasharray:1;animation:.56s cubic-bezier(.22,.61,.36,1) both companion-draw}.companion-marker-swipe{fill:none;stroke:currentColor;stroke-width:9px;stroke-opacity:.18;stroke-linecap:butt;stroke-dasharray:1;animation:.46s cubic-bezier(.22,.61,.36,1) .16s both companion-draw}.companion-mark-glow rect,.companion-mark-focus rect{filter:drop-shadow(0 0 4px);animation:.48s ease-out both companion-draw}@media (prefers-reduced-motion:reduce){.companion-hand-circle,.companion-marker-swipe,.companion-mark-glow rect,.companion-mark-focus rect{animation:none}.atlas-response [data-sd-animate]{opacity:1!important;filter:none!important;animation:none!important;transform:none!important}}.flash-agent-parts{flex-direction:column;flex:1;min-width:0;display:flex}.companion-turn .flash-agent-status-action{align-items:center;gap:10px;display:flex}.companion-turn .flash-agent-handoff-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.companion-turn .flash-agent-handoff-action{color:var(--eb-ink-muted);flex:none}.canvas-asked-line{color:var(--eb-ink-muted);margin:6px 0 0}.companion-cue-line{color:var(--eb-ink-muted);margin:2px 0 10px}.companion-cue-name{text-align:left;color:var(--eb-ink);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0;display:inline}.companion-cue-name:focus-visible{outline:2px solid var(--eb-focus);outline-offset:2px}.companion-next{color:var(--eb-accent);border-radius:4px;margin:2px 0 10px;display:inline-block}.companion-next:focus-visible{outline:2px solid var(--eb-focus);outline-offset:2px}
