/* PANEL-50 Wave 4 cluster C, item 31 — display preferences.
   Loaded by both shells (base.html + pp_base.html) AFTER the main
   stylesheet. Every rule is gated on a class the shells put on the
   <html> element from the display_prefs context processor, and
   only when the signed-in user has saved a non-default preference.
   With no prefs saved no class is emitted and nothing in this file
   applies — rendering is exactly as before.

   Text size: the panel CSS is rem-based and sets no html
   font-size, so the html font-size is the one clean scale hook —
   both extra steps ride it and nothing else is resized. */

/* Large text */
html.dp-text-large { font-size: 18px; }

/* Extra large text */
html.dp-text-xl { font-size: 20px; }

/* Reduce motion: still every animation / transition the panel
   runs for this user, and drop smooth scrolling. */
html.dp-reduce-motion { scroll-behavior: auto; }
html.dp-reduce-motion *,
html.dp-reduce-motion *::before,
html.dp-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
