/* The site's palette over the ArchitectPrototype tokens, and the parts of the prototype shell
   that point at workspaces this site does not ship (workspace tabs, Theme / Library links,
   the fake window controls). Loaded last by each page in workspaces/. */
html:root {
  --bg: #17130F; --panel: #1B1612; --card: #221C17; --chip: #221C17; --hover: #2E251E;
  --control: #2A221C; --well: #120F0C; --line: #3A3029; --divider: #2E2620; --border-subtle: #4A3E34;
  --ink: #F2E9DC; --text2: #CFC3B4; --muted: #B5A898; --faint: #8C7F72;
  --accent: #E0662F; --accent-text: #F08A4B; --on-accent: #17130F;
  --accent-soft: rgba(224, 102, 47, 0.15); --accent-sel: rgba(224, 102, 47, 0.22);
  --danger: #FF8A7A; --danger-soft: rgba(255, 138, 122, 0.16);
  --ok: #7FC8A9;
}

.wstabs, .wctl, .hrow[href] { display: none !important; }

/* Post workspace: the image / video sources added by post-sources.js */
.pp-sources { display: inline-flex; gap: 4px; }
.pp-chip.pp-src.on { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.pp-choose { cursor: pointer; }
.pp-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pp-media[hidden] { display: none; }
.pp-bar { flex-wrap: wrap; }
.pp-bar .pp-lbl { display: none; }

/* Sound workspace: the keyboard and piano-roll colours the prototype writes as literals */
.tr-key { background: #CFC3B4 !important; }
.tr-key.black { background: #221C17 !important; }
.tr-key .note, .tr-key .lbl { color: #6B5E52 !important; }
.tr-key.black .note, .tr-key.black .lbl { color: #8C7F72 !important; }
.pr-top .b { background: rgba(34, 28, 23, 0.92) !important; }

/* Sound workspace: the Audition parameter sliders set accent-color inline (audition-scene.js) */
input[data-pset] { accent-color: var(--accent) !important; }
