/* aig-demo-neutral.css (2026-11-23). Presentation only: no script, no text change.
   Undo: restore client/dist/index.html from its backup; this file may stay, unused. */

/* 1. Build chat activity list: warning-status rows look like ordinary rows.
      The live stylesheet defines these variables on :root only; redefining them here reaches this list's
      descendants and nothing else. The danger variables (--status-danger-*) are not touched. */
[data-testid="inline-activity"] {
  --status-warning-bg: var(--surface-subtle);
  --status-warning-border: var(--border-default);
  --status-warning-fg: var(--text-secondary);
  --status-warning-solid: var(--text-muted);
  --status-warning-solid-fg: var(--text-primary);
}

/* 2. Warning rows in that list: hide the expanded body (warning text, raw input and result: task ids, hashes)... */
[data-testid="inline-activity"] details:has(> div.mt-2 > div.bg-status-warning-bg) > div.mt-2 {
  display: none;
}
/* ...and the raw code at the end of the row's summary line (the row keeps its height). */
[data-testid="inline-activity"] details:has(> div.mt-2 > div.bg-status-warning-bg) > summary > span > span:last-child {
  visibility: hidden;
}

/* 3. Package workbench: hide the Builds tile ("No reusable build"); Version and Updated stay. */
[data-testid="deploys-package-workbench"] > div.grid > div:nth-child(2) {
  display: none;
}
@media (min-width: 640px) {
  [data-testid="deploys-package-workbench"] > div.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 4. Ready screen: hide the "Next step" shell command; the Download Capsule button and any download error stay. */
[data-testid="ready-download-command-strip"] > div > div.min-w-0 {
  display: none;
}
[data-testid="ready-download-command-strip"] > div {
  justify-content: flex-end;
}

/* ===== Version 2 (2026-11-23). Everything above this line is version 1, byte for byte.
   Each block below stands alone between its BEGIN and END lines; deleting one block leaves the rest working.
   Undo of version 2: copy version 1 back over this file (sha256 5baa0ccb05f2...). ===== */

/* BEGIN D018: task drawer, the "N tasks proposed" bar. "Reject all" (the secondary pill) is invisible and cannot be
   clicked or focused; it keeps its space, so "Accept all" (the primary pill) keeps its place, size and function. */
div.sticky.top-0.bg-status-warning-bg > div.flex-wrap > button.bg-surface-base.border-border-default {
  visibility: hidden;
}
/* END D018 */

/* BEGIN D019: ready screen. "Rebuild this platform" is not shown; Download Capsule is in another box and does not move. */
[data-testid="rebuild-current-platform"] {
  display: none;
}
/* END D019 */

/* BEGIN D031: ready screen. The decorative capsule picture is drawn smaller (128 px to 64 px high, gap 24 px to 8 px),
   which lifts everything below it, Download Capsule included, by 80 px. No text and no control changes. */
div.space-y-5:has(> [data-testid="download-confidence-strip"]) > div.text-center > div.h-32.w-44 {
  height: 4rem;
  margin-bottom: 0.5rem;
}
/* END D031 */

/* BEGIN D032: toasts while a ready screen (with Download Capsule) is on the page.
   (a) Success toasts (green dot: "... is packaged", "Saved", "Accepted") are not shown; the ready screen says the same.
       Every failure toast in this client uses the warning tone (amber dot) and is never matched here.
   (b) Every other toast (warning and info) still shows, raised so it does not sit over Download Capsule. */
body:has([data-testid="download-capsule-button"]) > div[aria-live="polite"].fixed.bottom-6 > div[role="status"]:has(> div > span > span.bg-status-success-fg) {
  display: none;
}
body:has([data-testid="download-capsule-button"]) > div[aria-live="polite"].fixed.bottom-6 {
  bottom: 6.5rem;
}
/* END D032 */

/* BEGIN D029: ready screen. The small label above the title ("Ready build found") is not shown.
   No text is replaced; the title, the file line and the tiles stay. */
div.space-y-5:has(> [data-testid="download-confidence-strip"]) > div.text-center > p.uppercase {
  display: none;
}
/* END D029 */


/* BEGIN D095: build chat. The "new below" pill (aria-label "Scroll to latest") moves from over the last chat lines to
   the empty middle of the "Your voice" header bar of the same column. Its text, its look and its click (jump to the
   latest message) are unchanged. */
aside[aria-label="Your voice: the journal"] > button[aria-label="Scroll to latest"] {
  top: 0.625rem;
  bottom: auto;
}
/* END D095 */
