/* SKY APPS Design Foundation · P1 · 2026-11-19
   Visual primitives shared across catalog, account, admin and codes.
   Deliberately excludes structural layout and business-logic changes.
   Existing page-specific styling stays in place during migration. */
:root {
  --sky-font-ui: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --sky-ink: #1e3546;
  --sky-ink-soft: #496477;
  --sky-muted: #667b8b;
  --sky-primary: #2b60bb;
  --sky-primary-hover: #214f9c;
  --sky-surface: #ffffff;
  --sky-canvas: #f7f9fb;
  --sky-line: #dce5eb;
  --sky-line-soft: #e8edf0;
  --sky-success: #217b61;
  --sky-danger: #b84f4a;
  --sky-warm: #ab7c43;
  --sky-radius-sm: 8px;
  --sky-radius-control: 10px;
  --sky-radius-card: 14px;
  --sky-radius-modal: 18px;
  --sky-shadow-card: 0 6px 24px rgba(25, 51, 75, .055);
  --sky-focus: #6b9bd6;
  --sky-space-1: 4px;
  --sky-space-2: 8px;
  --sky-space-3: 12px;
  --sky-space-4: 16px;
  --sky-space-5: 20px;
  --sky-space-6: 24px;
  --sky-space-8: 32px;
  font-family: var(--sky-font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:where(body, button, input, select, textarea) {
  font-family: var(--sky-font-ui);
}
:where(img, svg, video, canvas) {
  max-width: 100%;
}
:where(button, input, select, textarea) {
  accent-color: var(--sky-primary);
}
:where(button, input, select, textarea, a, summary):focus-visible {
  outline: 2px solid var(--sky-focus);
  outline-offset: 3px;
}
:where(button, select):disabled {
  cursor: not-allowed;
}
/* Accessibility: permit long titles, emails and identifiers to wrap. */
:where(.app-card, .account-card, .sky25-view, .sky-codes-content) {
  min-width: 0;
}
:where(.app-card .app-title, .account-card h2) {
  overflow-wrap: break-word;
}
/* The P1 foundation does not introduce motion. Honor accessibility preference. */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
