/* Wizard UX core: tokens, resets and shared motion. Every shell loads this first. */
/* Voice destinations use a third semantic colour AND text, never colour alone. */
.general-voice { border: 1px solid var(--line-2); border-radius: 18px; padding: 8px 12px; font-size: 12px; background: var(--bg); color: var(--ink); min-height: 36px; }
#voiceDestination.app-voice, #voicePill.app-voice { border-color: #f2ad52; color: #f2ad52; }
.app-voice-input #orbWrap { outline: 2px solid #f2ad52; outline-offset: 4px; border-radius: 50%; }
:root {
  --bg: #05030c;
  --ink: #f3efff;
  --ink-2: #b9b0d8;
  --ink-3: #7d74a3;
  --line: rgba(205, 190, 255, .13);
  --line-2: rgba(205, 190, 255, .24);
  --glass: rgba(18, 12, 38, .58);
  --glass-2: rgba(28, 19, 58, .72);
  --violet: #8f63ff;
  --violet-2: #b99bff;
  --pink: #ff5ccf;
  --cyan: #3fe0ff;
  --amber: #ffbe55;
  --green: #4ff0b0;
  --red: #ff6b86;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --spring: cubic-bezier(.34, 1.45, .5, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
svg { display: block; }
body { font: 15px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
@keyframes pip { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes typing { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* Overlay material aliases extend the kit without changing the owner palette above. */
:root {
  /* Opaque backing shared by every text-bearing floating panel. Never use canvas here. */
  --wz-panel: var(--wz-base, var(--bg, #05030c));
  /* The owner's own message bubbles (James, 8 Nov 2026: skim a thread by speaker). Agent replies sit on the window;
   * his words get an opaque accent-tinted surface on every skin, readable ink (WCAG AA, tests/owner-message-surface). */
  --wz-owner-message: color-mix(in srgb, var(--violet) 40%, var(--bg));
  --wz-owner-message-edge: color-mix(in srgb, var(--violet) 64%, var(--bg));
  --wz-on-owner-message: var(--ink);
}
html:is([data-skin="obsidian-light"], [data-skin="sepia"], [data-color-scheme="light"]) {
  --wz-owner-message: color-mix(in srgb, var(--violet) 22%, var(--bg));
  --wz-owner-message-edge: color-mix(in srgb, var(--violet) 40%, var(--bg));
}
