/* The hero demo's styles, lifted from site/assets/css/site.css for the vibe sheets.
   The page around it supplies these roles; the defaults are the current site's light scheme.
   Restyle the window itself through its --w-* variables on .proto (and .p-card / .p-pause). */
:where(:root) {
	--ground: #e4e5e1; --ink: #1b1a17; --ink-soft: #55534d; --rule: #b9bab4; --shade: #1b1a17;
	--ornament: #a8461a; --feature: #c8501f;
	--edge: color-mix(in oklab, var(--shade) 18%, transparent);
	--mono: ui-monospace, "SF Mono", Menlo, monospace;
	--size-text: 1.125rem; --size-small: 0.875rem;
	--t-hover: 140ms; --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Anvil's window, drawn in HTML: Anvil's own System colours, light and dark, its Lucide icons, the
   system's sans at the app's sizes. 60 px wider than its column, so it runs off the right edge;
   the panes sit in a named grid (data-layout) so other layouts can come later. */
.hero-visual { position: relative; margin: 0; min-width: 0; }
.proto {
	--w-chrome: #ececec; --w-pane: #ffffff; --w-well: #e2e2e2; --w-fg: #000000d8; --w-muted: #00000080;
	--w-faint: #00000014; --w-faint-strong: #00000026; --w-line: #0000001a; --w-on: #0000000f; --w-accent: #d9622b;
	/* Wider than its column, so it runs off the right edge; a window's shape, 520 to 820 px tall. Once
	   the screen is as wide as the page (below), the whole window shows inside it. */
	width: max(720px, calc(100% + 60px)); aspect-ratio: 1.45; min-height: 520px; max-height: 820px;
	display: flex; flex-direction: column;
	background: var(--w-chrome); color: var(--w-fg);
	font: 400 12.5px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
	letter-spacing: 0; text-align: left;
	border-radius: 11px; overflow: hidden;
	box-shadow: 0 0 0 1px var(--edge), 0 2px 4px -2px var(--edge), 0 28px 60px -28px color-mix(in oklab, var(--shade) 45%, transparent);
	-webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
	.proto {
		--w-chrome: #181818; --w-pane: #1e1e1e; --w-well: #121212; --w-fg: #ffffffd8; --w-muted: #ffffff8c;
		--w-faint: #ffffff1a; --w-faint-strong: #ffffff30; --w-line: #ffffff1f; --w-on: #ffffff12;
		box-shadow: 0 0 0 1px #ffffff14, 0 28px 60px -24px #000000b0;
	}
}
.proto s { display: block; height: 7px; border-radius: 4px; background: var(--w-faint); text-decoration: none; }
.proto .li { width: 16px; height: 16px; flex: none; }
.p-title { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; flex: none; }
.p-lights { display: flex; gap: 8px; margin-right: 6px; }
.p-lights b { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px #0000001f; }
.p-lights b:nth-child(2) { background: #febc2e; }
.p-lights b:nth-child(3) { background: #28c840; }
.p-back { color: var(--w-muted); }
.p-project { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-right: 10px; }
.p-tab { display: flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 6px; color: var(--w-muted); }
.p-tab.on { background: var(--w-pane); color: var(--w-fg); box-shadow: 0 0 0 1px var(--w-line); }
.p-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 44px 152px minmax(0, 1fr); }
.p-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 10px; color: var(--w-muted); }
.p-rail i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; }
.p-rail i.on { background: var(--w-on); color: var(--w-fg); }
.p-gap { flex: 1; }
.p-side { padding: 6px 10px 0 4px; display: flex; flex-direction: column; gap: 2px; }
.p-row { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 6px; white-space: nowrap; }
.p-row .li { width: 14px; height: 14px; color: var(--w-muted); }
.p-row.strong { font-weight: 600; }
.p-row.on { background: var(--w-on); }
.p-row s { flex: none; }
.p-row u { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--w-faint); }
.p-row u.busy { background: var(--w-accent); }
.p-label { margin: 12px 8px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--w-muted); }
.p-panes {
	display: grid; gap: 6px; padding: 0 6px 6px 0; min-height: 0;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-areas: "conv web" "conv term";
}
.p-pane { display: flex; flex-direction: column; min-height: 0; background: var(--w-pane); border-radius: 8px; box-shadow: 0 0 0 1px var(--w-line); overflow: hidden; }
.p-pane header { display: flex; align-items: center; height: 32px; padding: 0 12px; flex: none; font-weight: 500; border-bottom: 1px solid var(--w-line); }
.p-conv { grid-area: conv; }
.p-web { grid-area: web; }
.p-term { grid-area: term; }
.p-msgs { flex: 1; min-height: 0; padding: 14px 14px 0; display: flex; flex-direction: column; gap: 14px; }
.p-msgs p { margin: 0; }
.p-you { align-self: flex-end; max-width: 82%; padding: 8px 12px; border-radius: 10px; background: var(--w-on); }
.p-lines { display: flex; flex-direction: column; gap: 8px; }
.p-tool { color: var(--w-muted); font-size: 11.5px; }
.p-composer { display: flex; align-items: center; justify-content: space-between; margin: 12px; height: 52px; padding: 0 10px 0 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--w-line); color: var(--w-muted); }
.p-composer b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--w-accent); color: #fff; }
.p-composer .li { width: 13px; height: 13px; }
.p-url { padding: 3px 10px; border-radius: 6px; background: var(--w-on); color: var(--w-muted); font-weight: 400; }
.p-page { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 9px; background: var(--ground); }
.p-page s { background: color-mix(in oklab, var(--ink) 14%, transparent); }
.p-page s.h { height: 16px; margin-bottom: 6px; background: color-mix(in oklab, var(--ink) 70%, transparent); }
.p-page s.btn { width: 30%; height: 18px; margin-top: 6px; border-radius: 2px; background: var(--feature); }
.p-term pre { flex: 1; margin: 0; padding: 10px 12px; font: 400 11.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-fg); background: var(--w-pane); }
.p-term pre b { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; background: var(--w-fg); }

/* The prototype, live (proto.ts): panes placed by script, travelling between layouts. */
.proto.live .p-panes { display: block; position: relative; overflow: clip; margin: 0 6px 6px 0; padding: 0; }
.proto.live .p-pane { position: absolute; }
.proto.live .p-pane[hidden] { display: none; }
.p-pane header em { margin-left: 8px; font-style: normal; font-weight: 400; color: var(--w-muted); }
.p-pane header u { width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--w-accent); }
/* Labels that roll: a clipped slot of one line. */
.p-tab, .p-conv header { position: relative; overflow: hidden; }
.p-tab > span, .p-conv header > span { display: block; white-space: nowrap; }
.p-tab > span[data-leaving], .p-conv header > span[data-leaving] { position: absolute; }
.p-conv header > span[data-leaving] { left: 12px; }
.p-tab > span[data-leaving] { left: 12px; }
.p-msgs { overflow: hidden; }
.p-msgs > * { flex: none; }
/* The sidebar's highlight, one object that travels to the picked thread. */
.p-side { position: relative; }
.p-hl { position: absolute; left: 4px; right: 10px; top: 0; border-radius: 6px; background: var(--w-on); pointer-events: none; }
.proto.live .p-row.on { background: none; }
.p-row { position: relative; }
/* Live panes' kinds. */
.p-canvas canvas { flex: 1; min-height: 0; width: 100%; display: block; }
.p-dark { background: #121212; color: #ffffffd8; box-shadow: 0 0 0 1px #0000004d; }
.p-dark header { border-color: #ffffff1a; }
.p-dark header em { color: #ffffff80; }
.p-code pre { flex: 1; margin: 0; padding: 10px 12px; overflow: hidden; white-space: pre; font: 400 11px/1.65 ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-fg); }
.p-code pre i { font-style: normal; color: var(--w-accent); }
.p-sliders { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; }
.p-sliders { gap: 10px; }
.p-sliders label { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "t t"; align-items: center; gap: 6px 10px; color: var(--w-muted); }
.p-sliders label span { grid-area: n; }
.p-sliders label code { grid-area: v; }
.p-sliders label b { grid-area: t; }
.p-sliders b { position: relative; height: 3px; border-radius: 2px; background: var(--w-faint-strong); }
.p-sliders b u { position: absolute; top: 50%; left: 40%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--w-pane); box-shadow: 0 0 0 1px var(--w-line), 0 1px 2px #00000033; }
.p-sliders label:nth-child(2) u { left: 62%; }
.p-sliders label:nth-child(3) u { left: 28%; }
.p-sliders code { font: 400 11px ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-fg); text-align: right; }
.p-agent .p-lines { padding: 12px; gap: 8px; }
.p-agent .p-lines s:last-child { animation: p-type 2.8s steps(12) infinite; }
@keyframes p-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.p-piano { flex: 1; display: flex; gap: 2px; padding: 10px 12px 12px; }
.p-piano b { flex: 1; border-radius: 0 0 4px 4px; background: var(--w-pane); box-shadow: 0 0 0 1px var(--w-line); transition: background 90ms; }
.p-piano b.on { background: var(--w-accent); }
/* The Feel panel the agent makes: four dials in a square, each its own colour; --v (0 to 1) turns
   the pointer through 270 degrees and fills the arc. */
.p-knobs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px 8px; align-content: center; }
.p-knob { display: grid; justify-items: center; gap: 1px; --v: 0.5; }
.p-knob svg { width: 34px; height: 34px; overflow: visible; }
.p-knob circle { fill: none; stroke-width: 4; stroke-linecap: round; transform: rotate(135deg); transform-origin: 20px 20px; }
.p-knob .tr { stroke: var(--w-faint-strong); stroke-dasharray: 70.7 94.25; }
.p-knob .arc { stroke: var(--c); stroke-dasharray: calc(var(--v) * 70.7) 94.25; }
.p-knob line { stroke: var(--w-fg); stroke-width: 2.5; stroke-linecap: round; transform: rotate(calc(-135deg + var(--v) * 270deg)); transform-origin: 20px 20px; }
.p-knob span { font-size: 11px; color: var(--w-fg); }
.p-knob code { font: 400 10.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-muted); }
.p-dials header em { color: var(--w-accent); }
/* The agent's word that it made the panel. */
.p-made[hidden] { display: none; }
.p-made { display: flex; gap: 8px; align-items: flex-start; overflow: hidden; padding: 6px 10px; border-radius: 8px; background: var(--w-on); font-size: 11.5px; line-height: 1.35; }
.p-made .li { width: 14px; height: 14px; margin-top: 1px; color: var(--w-accent); }
.p-made b { font-weight: 600; }

/* Over the window: a title and the workflows on one line. */
.p-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 24px; margin: 0 24px 22px 0; }
/* In the card's face, the system sans, so the demo's title and its card read as one voice. */
.p-headline { margin: 0; font: 600 var(--size-text)/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; -webkit-font-smoothing: antialiased; }
.p-scenes { display: flex; justify-content: flex-end; gap: 4px; }
.p-scenes[hidden] { display: none; }
.p-scenes button {
	font: 400 var(--size-small)/1.4 var(--mono); color: var(--ink-soft); background: none; border: 0; padding: 2px 8px; cursor: pointer;
	text-decoration: underline 1px transparent; text-underline-offset: 0.2em;
	transition: color var(--t-hover) var(--ease-out), text-decoration-color var(--t-hover) var(--ease-out);
}
.p-scenes button:hover { color: var(--ink); text-decoration-color: var(--rule); }
.p-scenes button[aria-current="true"] { color: var(--ornament); }

/* On the window's lower edge: the card naming the layout and its extensions, with a pause before
   it that shows on hover (and stays, as play, while paused). */
/* Anchored to the window's foot (the figure ends where the window does), overlapping it by 12 px. */
.p-dock { position: absolute; left: 14px; bottom: 12px; transform: translateY(100%); z-index: 2; display: flex; align-items: center; gap: 10px; }
.p-card {
	display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 10px;
	background: var(--w-pane); color: var(--w-fg);
	--w-pane: #ffffff; --w-fg: #000000d8; --w-muted: #00000080;
	font: 400 var(--size-small)/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
	box-shadow: 0 0 0 1px var(--edge), 0 14px 30px -14px color-mix(in oklab, var(--shade) 50%, transparent);
	-webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) { .p-card, .p-pause { --w-pane: #262626; --w-fg: #ffffffd8; --w-muted: #ffffff8c; } .p-card { box-shadow: 0 0 0 1px #ffffff1a, 0 14px 30px -12px #000000b0; } }
.p-card .li { width: 18px; height: 18px; color: var(--w-accent, #d9622b); flex: none; }
.p-card-name { font-weight: 600; min-width: 15em; }
.p-card-exts { color: var(--w-muted); font: 400 var(--size-small)/1.5 var(--mono); }
.p-card-name, .p-card-exts { position: relative; overflow: hidden; }
.p-card-name > span, .p-card-exts > span { display: block; white-space: nowrap; }
.p-card-name > span[data-leaving], .p-card-exts > span[data-leaving] { position: absolute; left: 0; top: 0; }
.p-pause {
	flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%;
	border: 0; cursor: pointer; --w-pane: #ffffff; --w-fg: #000000d8;
	background: var(--w-pane); color: var(--w-fg);
	box-shadow: 0 0 0 1px var(--edge), 0 10px 22px -12px color-mix(in oklab, var(--shade) 50%, transparent);
	opacity: 0; transform: translateX(6px);
	transition: opacity var(--t-hover) var(--ease-out), transform var(--t-hover) var(--ease-out);
}
.p-pause[hidden] { display: none; }
.p-pause .li { width: 13px; height: 13px; }
.p-pause .i-play, .p-pause[aria-pressed="true"] .i-pause { display: none; }
.p-pause[aria-pressed="true"] .i-play { display: block; }
.hero-visual:hover .p-pause, .p-pause:focus-visible, .p-pause[aria-pressed="true"] { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) { .p-pause { --w-pane: #262626; --w-fg: #ffffffd8; box-shadow: 0 0 0 1px #ffffff1a, 0 10px 22px -10px #000000b0; } }


/* ---- The essay site's fork (02-essay-full): the repository's pages and the checks. ---- */
.proto { --w-ok: #2f9e5b; --w-run: #d99a1e; --w-bad: #d2453d; --w-add: #2f9e5b; --w-del: #d2453d; --w-person: #5b6bd0; }
@media (prefers-color-scheme: dark) { .proto { --w-ok: #4cc27a; --w-run: #e8b03a; --w-bad: #f06a60; --w-add: #4cc27a; --w-del: #f06a60; --w-person: #8f9cf0; } }
.p-tab, .p-back { transition: opacity 240ms; }
.proto[data-view="repo"] .p-tab:not(.on) { opacity: 0; }
.p-hl { transition: opacity 180ms; }
.p-term pre { white-space: pre; overflow: hidden; }
@keyframes p-breathe { 50% { opacity: 0.35; } }

/* The Lead's four threads, each on its branch. */
.p-agent .p-lane { margin-left: auto; font: 400 10.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-muted); padding: 3px 6px; border-radius: 4px; background: var(--w-on); }

/* The repository's pages: a header, then a page in one column. */
.p-view { background: var(--w-pane); }
.p-view > header { height: 40px; font-size: 13px; font-weight: 600; gap: 8px; padding: 0 16px; }
.p-view > header img { flex: none; }
.p-view > header .p-crumb { font-style: normal; font-weight: 400; color: var(--w-muted); }
.p-view > header .p-crumb::before { content: "/"; margin-right: 8px; color: var(--w-faint-strong); }
.p-open { margin-left: auto; font: 400 11px ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-muted); }
.p-page-in { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
.p-ptitle { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.p-ptitle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-ptitle code { font: 400 14px ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-muted); }
.p-state { flex: none; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; color: #fff; background: var(--w-ok); }
.p-state.draft { background: var(--w-faint-strong); color: var(--w-fg); }
.p-meta { color: var(--w-muted); font-size: 12px; margin-top: -6px; }
.p-meta code, .p-sub code, .p-comment code, .p-notes code, .p-timeline code { font: 400 11px ui-monospace, "SF Mono", Menlo, monospace; padding: 1px 5px; border-radius: 4px; background: var(--w-on); color: var(--w-fg); }
.p-meta i { font-style: normal; } .p-meta .add { color: var(--w-add); } .p-meta .del { color: var(--w-del); }
.p-ibody { padding: 12px 14px; border-radius: 8px; box-shadow: 0 0 0 1px var(--w-line); font-size: 12.5px; }
.p-ibody p { margin: 0 0 8px; }
.p-ibody .p-lines { margin: 0; gap: 7px; }
.p-timeline { list-style: none; margin: 4px 0 0; padding: 0 0 0 10px; display: flex; flex-direction: column; gap: 12px; border-left: 2px solid var(--w-line); margin-left: 6px; }
.p-timeline li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 12px; position: relative; }
.p-timeline li[hidden] { display: none; }
.p-timeline li u { width: 9px; height: 9px; border-radius: 50%; margin-left: -16.5px; box-shadow: 0 0 0 3px var(--w-pane); background: var(--w-muted); transform: translateY(1px); }
.p-timeline li u.agent { background: var(--w-accent); }
.p-timeline li u.busy { background: var(--w-accent); animation: p-breathe 1.4s ease-in-out infinite; }
.p-timeline li u.ok { background: var(--w-ok); }
.p-timeline li em { font-style: normal; color: var(--w-muted); font-size: 11px; }
.p-timeline b { font-weight: 600; }
.p-sub { font-size: 11px; font-weight: 600; color: var(--w-muted); margin-bottom: 6px; }
.p-cgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.p-proofbox { padding: 12px 14px; border-radius: 8px; box-shadow: 0 0 0 1px var(--w-line); font-size: 12.5px; }
.p-proofbox p { margin: 0 0 10px; }
.p-shots { display: flex; gap: 8px; align-items: flex-end; }
.p-shots span { font-size: 11px; color: var(--w-muted); }
.p-shots span u { color: var(--w-accent); text-decoration: none; }
.p-shot { width: 76px; height: 50px; border-radius: 5px; background: var(--w-well); box-shadow: 0 0 0 1px var(--w-line); position: relative; overflow: hidden; flex: none; }
.p-shot::before { content: ""; position: absolute; left: 7px; right: 7px; bottom: 7px; height: 9px; border-radius: 3px; box-shadow: 0 0 0 1px var(--w-faint-strong); }
.p-shot.b::before { box-shadow: 0 0 0 1.5px var(--w-accent); }
.p-shot::after { content: ""; position: absolute; left: 7px; top: 7px; width: 55%; height: 4px; border-radius: 2px; background: var(--w-faint-strong); box-shadow: 0 8px 0 var(--w-faint), 0 16px 0 var(--w-faint); }
.p-side2 { padding: 12px 14px; border-radius: 8px; background: var(--w-on); font-size: 12px; }
.p-who { display: flex; align-items: center; gap: 8px; height: 24px; white-space: nowrap; }
.p-who em { margin-left: auto; font-style: normal; color: var(--w-muted); font-size: 11px; }
.p-who em.ok { color: var(--w-ok); }
.p-who u, .p-comment > u { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 8.5px; font-weight: 700; text-decoration: none; color: #fff; background: var(--w-person); }
.p-who u.bot, .p-comment > u.bot { background: var(--w-accent); border-radius: 5px; }
.p-who u.dot { width: 8px; height: 8px; margin: 0 5px; background: var(--w-ok); }
.p-who u.dot.run { background: var(--w-run); animation: p-breathe 1.4s ease-in-out infinite; }
.p-comment { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; box-shadow: 0 0 0 1px var(--w-line); font-size: 12.5px; }
.p-comment[hidden] { display: none; }
.p-comment b { font-weight: 600; font-size: 12px; }
.p-comment p { margin: 2px 0 0; }
.p-comment.p-reply { margin-left: 28px; margin-top: -4px; }
.p-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.p-notes li { padding-left: 12px; position: relative; }
.p-notes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--w-muted); }
.p-notes li.p-lines::before { display: none; }
.p-notes .p-lines { padding: 0; gap: 7px; margin-top: 4px; }

/* The checks: what ran, where, and how it went. */
.p-clist { list-style: none; margin: 0; padding: 6px 0; flex: 1; min-height: 0; overflow: hidden; }
.p-clist li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; padding: 8px 14px; font-size: 12.5px; }
.p-clist li + li { border-top: 1px solid var(--w-line); }
.p-clist u { width: 8px; height: 8px; border-radius: 50%; background: var(--w-ok); }
.p-clist u.bad { background: var(--w-bad); }
.p-clist u.run { background: var(--w-run); animation: p-breathe 1s ease-in-out infinite; }
.p-clist em { font-style: normal; color: var(--w-muted); font-size: 11.5px; }
.p-clist code { font: 400 11px ui-monospace, "SF Mono", Menlo, monospace; color: var(--w-muted); text-align: right; }
.p-clist li:has(u.bad) code { color: var(--w-bad); }
@media (prefers-reduced-motion: reduce) { .p-timeline li u.busy, .p-who u.dot.run, .p-clist u.run, .p-agent .p-lines s:last-child { animation: none; } }
.p-timeline li u.person { background: var(--w-person); }
.p-files2 { border-radius: 8px; box-shadow: 0 0 0 1px var(--w-line); font-size: 12px; }
.p-files2 > div { display: grid; grid-template-columns: minmax(0, 1fr) 36px 30px 90px; gap: 8px; align-items: center; padding: 8px 12px; }
.p-files2.dl > div { grid-template-columns: minmax(0, 1fr) auto; }
.p-files2 > div + div { border-top: 1px solid var(--w-line); }
.p-files2 code { font: 400 11.5px ui-monospace, "SF Mono", Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-files2 i { font-style: normal; font: 400 11px ui-monospace, "SF Mono", Menlo, monospace; text-align: right; }
.p-files2 i.add { color: var(--w-add); } .p-files2 i.del { color: var(--w-del); }
.p-files2 em { font-style: normal; color: var(--w-muted); font-size: 11px; }
.p-files2 b { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--w-add) 0 calc(var(--a) / 34 * 100%), var(--w-del) 0 calc((var(--a) + var(--d)) / 34 * 100%), var(--w-faint) 0); }
.p-cgrid { align-items: start; }
