/* Shared geometry and interaction feedback. Each product supplies its own colors. */
:root {
  --sp-radius-control: 12px;
  --sp-radius-card: 18px;
  --sp-radius-feature: 26px;
  --sp-shadow-card: 0 1px 2px #101d3210, 0 8px 24px #101d3209;
  --sp-shadow-raised: 0 18px 44px #101d321c;
  --sp-focus: var(--focus, var(--brand, #2456d6));
  --sp-night: #101d38;
  --sp-public-ribbon: linear-gradient(125deg, #101c39, #173780 68%, #2151bf);
  --sp-workspace-ribbon: linear-gradient(130deg, #0b252b, #123e45 63%, #165c58);
}

:root[data-theme="dark"] {
  --sp-shadow-card: 0 1px 2px #0004, 0 8px 24px #0002;
  --sp-shadow-raised: 0 18px 44px #0005;
}

:where(a[href], button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--sp-focus);
  outline-offset: 3px;
}

:where(button, [role="button"], summary) {
  touch-action: manipulation;
}

:where(h1, h2, h3) {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
