Files
PaperClipAI/packages/paperclip-runner/examples/scenario-explorer/src/explorer.css
T
Dotta 560e7e48b5 feat(runner): add SDK and developer tooling (#12608)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work.
> - The runner package already provides the production protocol and
execution spine.
> - Contributors still need stable SDK surfaces, deterministic test
tools, and local inspection tools.
> - Those surfaces share generated contracts and must change as one
package boundary.
> - This pull request adds the package-local SDK, labs, examples, and
drift checks.
> - The benefit is a reviewable developer platform that does not change
application execution selection.

## Linked Issues or Issue Description

**Subsystem affected**

`packages/paperclip-runner` — runner SDK, conformance tools, and
developer tooling.

**Problem or motivation**

The production runner spine is present, but package consumers cannot
build deterministic integrations, inspect sessions, or verify
provider-neutral behavior through supported surfaces.

**Proposed solution**

Add browser, React, standalone, live-session, scenario, conformance, and
evaluation surfaces. Add generated contract inventories and
package-local verification scripts. Keep production application routing
unchanged.

**Alternatives considered**

We considered splitting each generated catalog, SDK surface, and demo
into separate pull requests. Those changes share exports, fixtures, and
drift gates. Splitting them would create intermediate package states
that do not build.

**Roadmap alignment**

No overlapping item appears in `ROADMAP.md`. This work extends the
runner package that is already on `master`.

## What Changed

- Add browser, React, standalone, live-session, and issue-thread SDK
surfaces.
- Add deterministic mock control-plane, scenario, conformance, replay,
and evaluation tools.
- Add bounded Codex, OpenCode, and ACPX development transports and
fixtures.
- Keep deferred managed-provider execution fail-closed. Persisted
compatibility data remains readable.
- Add generated capability inventories with their source files and drift
checks.
- Add examples, package documentation, browser checks, and
clean-consumer checks.
- Preserve the reviewed protocol bounds, replay compatibility aliases,
process environment isolation, and semantic redaction limits.
- Update the ACPX package patch that the existing workspace patch
registry already tracks.
- Do not change `pnpm-lock.yaml`, repository workflows, server runtime
selection, or the application UI.

## Verification

GitHub Actions is the verification authority for this pull request. The
repository CI, package TypeScript and Rust checks, package tests,
generated-output drift checks, browser checks, security scans, and
Greptile review must pass on the exact head.

Local test suites were not run because this series uses parallel GitHub
Actions for verification.

## Risks

This is a large greenfield package change. The main risks are public
export drift, generated-output drift, and optional React consumer
compatibility. Package boundary checks, clean-consumer checks, and
browser tests cover those risks. Production adapter selection and server
execution are outside this pull request.

## Stack

1. **This PR:** runner SDK and developer tooling.
2. [Codex production server
integration](https://github.com/paperclipai/paperclip/pull/12616).
3. [Provider-neutral task-thread
UI](https://github.com/paperclipai/paperclip/pull/12617).

## Model Used

OpenAI Codex, GPT-5, high-reasoning mode, with tool use and code
execution.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have described the issue in-PR following the feature request
template
- [x] I have not referenced internal/instance-local Paperclip issues or
links
- [x] My branch name describes the change and contains no internal
Paperclip ticket id
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge
2026-08-31 21:33:11 -05:00

905 lines
19 KiB
CSS

/*
* Capability scenario explorer — explorer-local layout only.
*
* Every value resolves through a --pcr-* token from the SDK sheet; no hex, no
* raw pixels, no font stacks are declared here (DESIGN.md principles 2-4).
* Hierarchy comes from surface and position, not decoration.
*/
body {
margin: 0;
}
.pcr7-shell {
display: grid;
gap: var(--pcr-space-4);
padding: var(--pcr-space-4);
max-width: var(--pcr-page-width);
margin-inline: auto;
}
.pcr7-columns {
display: grid;
grid-template-columns: var(--pcr-rail-width) minmax(0, 1fr) var(--pcr-inspector-width);
gap: var(--pcr-space-4);
align-items: start;
}
.pcr7-rail,
.pcr7-center,
.pcr7-inspector {
min-width: 0;
display: grid;
gap: var(--pcr-space-3);
align-content: start;
}
/*
* The rails scroll with the page rather than in their own overflow box: the
* acceptance screenshots are full-page captures, and an inner scroll container
* would clip the very evidence the matrix asks to see (all 16 group facets,
* the full exposure list, every diff domain).
*/
.pcr7-rail,
.pcr7-inspector {
padding: var(--pcr-space-3);
background: var(--pcr-card);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
}
.pcr7-rail-title,
.pcr7-inspector h3 {
font-size: var(--pcr-font-size-sm);
font-weight: var(--pcr-weight-semibold);
margin: 0;
}
.pcr7-muted {
color: var(--pcr-muted-foreground);
font-size: var(--pcr-font-size-xs);
}
.pcr7-label {
color: var(--pcr-muted-foreground);
font-size: var(--pcr-font-size-xs);
font-weight: var(--pcr-weight-semibold);
letter-spacing: 0.06em;
text-transform: uppercase;
margin: var(--pcr-space-2) 0 var(--pcr-space-1);
}
.pcr7-block {
display: block;
}
.pcr7-mono {
font-family: var(--pcr-font-mono);
font-size: var(--pcr-font-size-xs);
overflow-wrap: anywhere;
}
/* Picker ------------------------------------------------------------ */
.pcr7-field {
display: grid;
gap: var(--pcr-space-1);
}
.pcr7-input {
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-2) var(--pcr-space-3);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-sm);
background: var(--pcr-background);
color: var(--pcr-foreground);
}
.pcr7-input:focus-visible,
.pcr7-facet-value:focus-visible,
.pcr7-case-list:focus-visible,
.pcr7-rail:focus-visible,
.pcr7-center:focus-visible,
.pcr7-inspector:focus-visible,
.pcr7-run-header:focus-visible,
.pcr7-chip:focus-visible,
.pcr7-linkish:focus-visible,
.pcr7-segmented button:focus-visible {
outline: 0.125rem solid var(--pcr-ring);
outline-offset: 0.125rem;
}
.pcr7-chip-row {
display: flex;
flex-wrap: wrap;
gap: var(--pcr-space-1);
}
.pcr7-chip {
display: inline-flex;
align-items: center;
gap: var(--pcr-space-1);
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-1) var(--pcr-space-2);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-sm);
background: var(--pcr-accent-surface);
color: var(--pcr-foreground);
cursor: pointer;
}
.pcr7-facet {
border-top: 0.0625rem solid var(--pcr-border);
padding-top: var(--pcr-space-2);
}
.pcr7-facet-summary {
cursor: pointer;
font-size: var(--pcr-font-size-xs);
font-weight: var(--pcr-weight-semibold);
min-height: var(--pcr-touch-target);
display: flex;
align-items: center;
}
.pcr7-facet-values {
display: grid;
gap: var(--pcr-space-1);
}
.pcr7-facet-value {
display: flex;
justify-content: space-between;
gap: var(--pcr-space-2);
align-items: center;
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-1) var(--pcr-space-2);
border: 0;
border-radius: var(--pcr-radius-sm);
background: transparent;
color: var(--pcr-foreground);
text-align: left;
cursor: pointer;
}
.pcr7-facet-value[aria-pressed="true"] {
background: var(--pcr-accent-surface);
font-weight: var(--pcr-weight-semibold);
}
.pcr7-facet-value:disabled {
color: var(--pcr-muted-foreground);
cursor: not-allowed;
}
.pcr7-facet-count {
color: var(--pcr-muted-foreground);
font-family: var(--pcr-font-mono);
font-size: var(--pcr-font-size-xs);
}
/*
* The case list is the one genuinely long thing in the rail (106 rows), so it
* is the one thing that scrolls in its own box. Facets stay in page flow, so a
* full-page capture still shows all 16 group values and their counts.
*/
.pcr7-case-list {
display: grid;
gap: var(--pcr-space-2);
max-height: calc(var(--pcr-facet-height) * 6);
overflow-y: auto;
}
.pcr7-case-group-title {
position: sticky;
top: 0;
display: flex;
align-items: center;
gap: var(--pcr-space-2);
margin: 0;
padding: var(--pcr-space-1) 0;
background: var(--pcr-card);
font-size: var(--pcr-font-size-xs);
font-weight: var(--pcr-weight-semibold);
z-index: var(--pcr-z-banner);
}
.pcr7-case-row {
display: grid;
gap: var(--pcr-space-1);
padding: var(--pcr-space-2);
border-left: 0.125rem solid transparent;
border-radius: var(--pcr-radius-sm);
cursor: pointer;
min-height: var(--pcr-touch-target);
}
.pcr7-case-row[data-selected="true"] {
background: var(--pcr-accent-surface);
border-left-color: var(--pcr-accent);
}
.pcr7-case-title {
font-size: var(--pcr-font-size-xs);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.pcr7-case-meta {
display: flex;
flex-wrap: wrap;
gap: var(--pcr-space-1);
}
/* Run view ---------------------------------------------------------- */
.pcr7-center {
max-width: var(--pcr-center-width);
}
.pcr7-run-header,
.pcr7-intro {
display: grid;
gap: var(--pcr-space-3);
padding: var(--pcr-space-4);
background: var(--pcr-card);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
}
.pcr7-run-title h1 {
font-size: var(--pcr-font-size-lg);
line-height: var(--pcr-line-tight);
}
.pcr7-badge-row,
.pcr7-redaction-row,
.pcr7-assertion-head {
display: flex;
flex-wrap: wrap;
gap: var(--pcr-space-1);
align-items: center;
}
.pcr7-run-controls {
display: grid;
gap: var(--pcr-space-2);
}
.pcr7-segmented {
display: flex;
gap: var(--pcr-space-1);
padding: var(--pcr-space-1);
background: var(--pcr-muted);
border-radius: var(--pcr-radius-sm);
width: fit-content;
max-width: 100%;
flex-wrap: wrap;
}
.pcr7-segmented button {
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-1) var(--pcr-space-3);
border: 0;
border-radius: var(--pcr-radius-sm);
background: transparent;
color: var(--pcr-foreground);
cursor: pointer;
}
.pcr7-segmented button[aria-selected="true"],
.pcr7-segmented button[aria-checked="true"] {
background: var(--pcr-card);
font-weight: var(--pcr-weight-semibold);
box-shadow: var(--pcr-shadow-sm);
}
.pcr7-segmented button:disabled {
color: var(--pcr-muted-foreground);
cursor: not-allowed;
}
.pcr7-segmented--mobile {
display: none;
}
/* Transcript -------------------------------------------------------- */
.pcr7-transcript {
list-style: none;
display: grid;
gap: var(--pcr-space-2);
margin: 0;
padding: 0;
}
.pcr7-transcript-item {
min-width: 0;
}
.pcr7-transcript-item[data-channel="agent"] {
margin-left: var(--pcr-timeline-column);
}
.pcr7-transcript-item[data-highlighted="true"] > * {
outline: 0.125rem solid var(--pcr-accent);
outline-offset: 0.125rem;
}
.pcr7-agent-message {
display: flex;
gap: var(--pcr-space-2);
padding: var(--pcr-space-3);
background: var(--pcr-card);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
}
.pcr7-gutter {
color: var(--pcr-muted-foreground);
font-family: var(--pcr-font-mono);
}
.pcr7-call,
.pcr7-result {
background: var(--pcr-card);
}
/*
* The SDK gives every direct span child of a disclosure summary `min-width: 0`
* so long tool names can wrap. A Badge is also a span, and it sets
* `white-space: nowrap`, so at 390px it was being squeezed below its own
* content and pushing the page into horizontal scroll. Badges keep their
* intrinsic width here; only the descriptive text shrinks.
*/
.pcr7-shell .pcr-disclosure-summary {
flex-wrap: wrap;
}
.pcr7-shell .pcr-disclosure-summary > [data-slot="badge"] {
flex: none;
}
/*
* The SDK badge capitalises every word and collapses the whitespace between
* its flex children. The interaction map §0 fixes the exact label strings
* ("Optional tool", "Not run") and requires the status icon to read as a
* separate token from its text, so both are corrected here rather than in the
* frozen SDK sheet.
*/
.pcr7-shell .pcr-badge {
gap: var(--pcr-space-1);
text-transform: none;
}
.pcr7-result--denied {
background: var(--pcr-danger-surface);
border-color: var(--pcr-danger);
}
.pcr7-control-plane {
background: var(--pcr-muted);
border-color: var(--pcr-border);
}
.pcr7-escape-hatch {
padding: var(--pcr-space-2);
background: var(--pcr-warning-surface);
color: var(--pcr-warning);
border-radius: var(--pcr-radius-sm);
font-weight: var(--pcr-weight-medium);
}
.pcr7-system-note {
padding: var(--pcr-space-3);
background: var(--pcr-surface-raised);
border: 0.0625rem dashed var(--pcr-border);
border-radius: var(--pcr-radius-md);
color: var(--pcr-muted-foreground);
}
.pcr7-detail-list {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: var(--pcr-space-1) var(--pcr-space-3);
margin: var(--pcr-space-2) 0;
}
.pcr7-detail-list dd {
margin: 0;
min-width: 0;
font-size: var(--pcr-font-size-xs);
}
.pcr7-json {
max-height: var(--pcr-transcript-height);
overflow: auto;
}
.pcr7-redaction {
display: inline-flex;
align-items: center;
gap: var(--pcr-space-1);
padding: var(--pcr-space-1) var(--pcr-space-2);
background: var(--pcr-warning-surface);
color: var(--pcr-warning);
border-radius: var(--pcr-radius-sm);
font-size: var(--pcr-font-size-xs);
}
/* Inspector --------------------------------------------------------- */
.pcr7-panel {
display: grid;
gap: var(--pcr-space-3);
min-width: 0;
}
.pcr7-panel-section {
display: grid;
gap: var(--pcr-space-1);
padding-bottom: var(--pcr-space-2);
border-bottom: 0.0625rem solid var(--pcr-border);
}
.pcr7-chips {
display: inline-flex;
flex-wrap: wrap;
gap: var(--pcr-space-1);
}
.pcr7-exposure,
.pcr7-assertions,
.pcr7-diff-rows,
.pcr7-diff-fields {
list-style: none;
display: grid;
gap: var(--pcr-space-1);
margin: 0;
padding: 0;
font-size: var(--pcr-font-size-xs);
}
.pcr7-assertions > li {
display: grid;
gap: var(--pcr-space-1);
padding: var(--pcr-space-2);
background: var(--pcr-surface-raised);
border-radius: var(--pcr-radius-sm);
}
.pcr7-expected-observed {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--pcr-space-2);
}
.pcr7-table {
width: 100%;
border-collapse: collapse;
font-size: var(--pcr-font-size-xs);
}
.pcr7-table th,
.pcr7-table td {
text-align: left;
vertical-align: top;
padding: var(--pcr-space-2);
border-bottom: 0.0625rem solid var(--pcr-border);
}
.pcr7-table tbody tr[data-outcome="denied"],
.pcr7-table tbody tr[data-outcome="absent"] {
background: var(--pcr-danger-surface);
}
.pcr7-missing {
color: var(--pcr-danger);
}
.pcr7-diff-rows > li {
display: grid;
gap: var(--pcr-space-1);
padding: var(--pcr-space-2);
background: var(--pcr-surface-raised);
border-radius: var(--pcr-radius-sm);
}
.pcr7-diff-marker {
font-weight: var(--pcr-weight-semibold);
}
.pcr7-diff-fields {
padding-left: var(--pcr-space-3);
color: var(--pcr-muted-foreground);
}
.pcr7-empty {
display: grid;
gap: var(--pcr-space-2);
padding: var(--pcr-space-4);
background: var(--pcr-surface-raised);
border: 0.0625rem dashed var(--pcr-border);
border-radius: var(--pcr-radius-md);
justify-items: start;
}
.pcr7-empty-title {
font-weight: var(--pcr-weight-semibold);
}
.pcr7-linkish {
border: 0;
background: transparent;
color: var(--pcr-accent);
cursor: pointer;
padding: var(--pcr-space-1) 0;
text-decoration: underline;
}
.pcr7-parity-verdict {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--pcr-space-2);
}
/* Accessibility helpers --------------------------------------------- */
.pcr7-visually-hidden {
position: absolute;
width: 0.0625rem;
height: 0.0625rem;
padding: 0;
margin: calc(-1 * 0.0625rem);
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.pcr7-skip-link {
position: absolute;
left: calc(-1 * var(--pcr-page-width));
background: var(--pcr-card);
padding: var(--pcr-space-2);
border-radius: var(--pcr-radius-sm);
}
.pcr7-skip-link:focus {
position: static;
}
/* Scenario chat — chat surface (7I interaction map §1-§5) ------------------ *
*
* The activity rail is wider than the 7F inspector because it carries the
* per-turn evidence rather than a tab of it. Everything else is the same
* shell, the same tokens, and the same two-channel grammar.
*/
.pcr7-shell[data-surface="chat"] .pcr7-columns {
grid-template-columns: var(--pcr-rail-width) minmax(0, 1fr) var(--pcr-activity-width);
}
.pcr7-surface-nav {
display: flex;
gap: var(--pcr-space-2);
flex-wrap: wrap;
}
.pcr7-chat {
display: grid;
gap: var(--pcr-space-3);
align-content: start;
min-width: 0;
}
.pcr7-session-header {
display: grid;
gap: var(--pcr-space-2);
}
.pcr7-session-header .pcr7-run-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--pcr-space-2);
}
.pcr7-session-header .pcr7-run-controls > .pcr7-muted {
flex-basis: 100%;
}
.pcr7-chat-scroll {
min-width: 0;
}
.pcr7-chat-conversation,
.pcr7-chat-entries {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: var(--pcr-space-3);
min-width: 0;
}
.pcr7-chat-turn {
display: grid;
gap: var(--pcr-space-2);
min-width: 0;
}
.pcr7-chat-entry {
min-width: 0;
}
/*
* The board's own words are the only right-aligned thing on the surface, so a
* stranger can find "what did I ask" without reading a single label.
*/
.pcr7-user-message {
display: flex;
justify-content: flex-end;
}
.pcr7-user-message p {
margin: 0;
padding: var(--pcr-space-2) var(--pcr-space-3);
background: var(--pcr-accent-surface);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
max-width: 85%;
overflow-wrap: anywhere;
}
.pcr7-chat-seed-label,
.pcr7-activity-prompt {
margin: 0;
color: var(--pcr-muted-foreground);
font-size: var(--pcr-font-size-xs);
overflow-wrap: anywhere;
}
.pcr7-turn-strip {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--pcr-space-2);
width: 100%;
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-2) var(--pcr-space-3);
background: var(--pcr-muted);
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
color: inherit;
text-align: left;
cursor: pointer;
}
.pcr7-turn-strip[data-active="true"] {
border-color: var(--pcr-accent);
}
.pcr7-turn-strip-label {
font-weight: var(--pcr-weight-semibold);
font-size: var(--pcr-font-size-sm);
}
.pcr7-turn-strip-counts {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--pcr-space-2);
}
.pcr7-turn-count {
color: var(--pcr-muted-foreground);
font-size: var(--pcr-font-size-xs);
}
.pcr7-turn-count[data-tone="danger"] {
color: var(--pcr-danger);
}
.pcr7-turn-pending {
margin: 0;
padding: var(--pcr-space-2) var(--pcr-space-3);
background: var(--pcr-surface-raised);
border: 0.0625rem dashed var(--pcr-border);
border-radius: var(--pcr-radius-md);
color: var(--pcr-muted-foreground);
font-size: var(--pcr-font-size-xs);
}
.pcr7-streaming-caret {
display: inline-block;
width: var(--pcr-space-2);
height: var(--pcr-space-3);
margin-right: var(--pcr-space-2);
background: var(--pcr-accent);
vertical-align: middle;
animation: pcr7-caret var(--pcr-motion-medium) steps(2, start) infinite alternate;
}
@keyframes pcr7-caret {
to {
opacity: 0.2;
}
}
.pcr7-chat-failure {
margin: 0;
padding: var(--pcr-space-2) var(--pcr-space-3);
background: var(--pcr-danger-surface);
border: 0.0625rem solid var(--pcr-danger);
border-radius: var(--pcr-radius-md);
color: var(--pcr-danger);
font-size: var(--pcr-font-size-sm);
overflow-wrap: anywhere;
}
.pcr7-chat-composer {
display: grid;
gap: var(--pcr-space-2);
min-width: 0;
}
.pcr7-segment-chip {
color: var(--pcr-danger);
}
/* Activity stream ---------------------------------------------------- */
.pcr7-activity {
display: grid;
gap: var(--pcr-space-3);
min-width: 0;
}
.pcr7-activity-filters {
display: flex;
flex-wrap: wrap;
gap: var(--pcr-space-2);
}
.pcr7-activity-group {
border: 0.0625rem solid var(--pcr-border);
border-radius: var(--pcr-radius-md);
background: var(--pcr-surface-raised);
min-width: 0;
}
.pcr7-activity-group h3 {
margin: 0;
}
.pcr7-activity-group-header {
display: flex;
flex-direction: column;
gap: var(--pcr-space-1);
width: 100%;
min-height: var(--pcr-touch-target);
padding: var(--pcr-space-2) var(--pcr-space-3);
background: none;
border: 0;
color: inherit;
font: inherit;
font-weight: var(--pcr-weight-semibold);
text-align: left;
cursor: pointer;
}
.pcr7-activity-group-title {
margin: 0;
padding: var(--pcr-space-2) var(--pcr-space-3);
font-size: var(--pcr-font-size-sm);
}
.pcr7-activity-group-body {
display: grid;
gap: var(--pcr-space-3);
padding: 0 var(--pcr-space-3) var(--pcr-space-3);
min-width: 0;
}
.pcr7-activity-section {
display: grid;
gap: var(--pcr-space-2);
min-width: 0;
}
.pcr7-activity-calls {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: var(--pcr-space-2);
min-width: 0;
}
.pcr7-activity-verdict {
margin: 0;
font-size: var(--pcr-font-size-xs);
}
.pcr7-diff-domain {
display: grid;
gap: var(--pcr-space-1);
min-width: 0;
}
/* Responsive: one content-driven breakpoint (UX map §6) -------------- */
@media (max-width: 64rem) {
.pcr7-columns {
grid-template-columns: minmax(0, 1fr);
}
.pcr7-segmented--mobile {
display: flex;
position: sticky;
top: 0;
width: 100%;
z-index: var(--pcr-z-banner);
}
.pcr7-rail,
.pcr7-center,
.pcr7-inspector {
display: none;
}
.pcr7-shell[data-segment="scenarios"] .pcr7-rail,
.pcr7-shell[data-segment="run"] .pcr7-center,
.pcr7-shell[data-segment="chat"] .pcr7-center,
.pcr7-shell[data-segment="inspect"] .pcr7-inspector,
.pcr7-shell[data-segment="activity"] .pcr7-inspector {
display: grid;
}
/*
* The composer sits in the thumb zone on the Chat segment. It is sticky
* rather than fixed so it never covers the last turn strip when the
* conversation is short.
*/
.pcr7-shell[data-segment="chat"] .pcr7-chat-composer {
position: sticky;
bottom: 0;
padding: var(--pcr-space-2) 0;
background: var(--pcr-background);
z-index: var(--pcr-z-banner);
}
.pcr7-shell[data-surface="chat"] .pcr7-columns {
grid-template-columns: minmax(0, 1fr);
}
.pcr7-user-message p {
max-width: 100%;
}
.pcr7-expected-observed {
grid-template-columns: minmax(0, 1fr);
}
.pcr7-detail-list {
grid-template-columns: minmax(0, 1fr);
}
}
@media (prefers-reduced-motion: reduce) {
.pcr-root *,
.pcr-root *::before,
.pcr-root *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}