/* Announcer UI v2 foundation. Every rule is scoped under body[data-ui-v2="on"], which public/announcer-v2.js
   sets only for a workspace that has opted in. With no opt-in this file changes nothing. */
body[data-ui-v2="on"] {
  --v2-bg: #f6f7f8; --v2-surface: #ffffff; --v2-border: rgba(15, 23, 42, .12);
  --v2-text: #0f172a; --v2-muted: #475569; --v2-brand: #0f6e56; --v2-brand-ink: #ffffff;
  --v2-ok: #166534; --v2-warn: #92400e; --v2-danger: #b42318;
  --v2-radius: 12px; --v2-gap: 12px; --v2-target: 48px;
  --v2-font-body: 16px; --v2-font-small: 14px;
  --v2-focus: 0 0 0 3px rgba(15, 110, 86, .45);
}
body.dark-mode[data-ui-v2="on"], :root[data-theme="dark"] body[data-ui-v2="on"] {
  --v2-bg: #0b1210; --v2-surface: #131c19; --v2-border: rgba(255, 255, 255, .14);
  --v2-text: #f1f5f4; --v2-muted: #a7b4b0; --v2-brand: #34d3a0; --v2-brand-ink: #06231a;
  --v2-ok: #4ade80; --v2-warn: #fbbf24; --v2-danger: #f87171;
  --v2-focus: 0 0 0 3px rgba(52, 211, 160, .55);
}
body[data-ui-v2="on"] #workspaceNavigation button { min-height: var(--v2-target); border-radius: 999px; }
body[data-ui-v2="on"] :is(button, a, input, select, textarea, summary):focus-visible { outline: none; box-shadow: var(--v2-focus); }
body[data-ui-v2="on"] .v2-skeleton { display: block; background: var(--v2-border); border-radius: 8px; min-height: 16px; animation: v2-pulse 1.2s ease-in-out infinite; }
@keyframes v2-pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { body[data-ui-v2="on"] .v2-skeleton { animation: none; } }
