/* BREAKPOINT INVENTORY (documentation only, nothing is refactored here). Widths in CSS px, "max" = max-width, "min" = min-width.
   test/web-public.test.js fails when the landing, login or chart code gets a breakpoint that is not listed in the second and third
   sections below; the terminal section is a snapshot of assets/app.css and assets/app.js and may lag behind them.

   Terminal (assets/app.css, assets/app.js)
     max 1180  the trades screen goes to one column (account, chart/trades, feed)
     max 1100  table rows become cards, the history cards switch (app.js: matchMedia 1100 re-renders), header gaps shrink
     max  980  history summary and the wizard side panel stack
     max  900  the header's logo word (see .logo in app.css)
     max  399  the header word drops "Terminal" and keeps the mark and "Nexum"
     max  760  PHONE: the tab bar replaces the nav, drawer is a full-width sheet, sticky action bars, 16px inputs (app.js: matchMedia 760 loads
               the candles and opens the drawer instead of a side panel)
     min  761 + max 1100  the "how it works" cards in Help go to two columns
     max  360  the smallest phones: tighter period buttons and tab labels
     (hover:hover) hover styles only for a real pointer; (prefers-reduced-motion) no animation except the spinner

   Landing and login (web/build/landing.dc.html, login.dc.html, made by tools/design-port/port_landing.py)
     max  399  the header word drops "Terminal" and keeps the mark and "Nexum"
     max  620  the five steps go to one column
     max  760  PHONE layout: header without the nav and the language switch (the switch moves to the footer), one column, 16px gutters,
               the "bot in N trades" pill is in the flow; login: the card goes first
     min  761  desktop layout; min 761 + max 1100: the header keeps one row (gaps shrink, nav gaps shrink)
     min  761 + max  960  the Russian header hides the nav (the words do not fit)
     max  860  the three venue cards stack
     max  960  the five steps go to two columns (the last one takes the row)
     min  761 + max 1254  the "real results" numbers follow the width (they are 48px from 1255 up)
     (prefers-reduced-motion) no animation (tape, pulse, tick), the tape can be scrolled, the spinner turns slowly

   Charts (assets/livechart.js, the replay's own CSS)
     max 1100  the replay's bot messages sit under the chart instead of over it
     max  860  the replay's steps and chart stack (the chart is shorter)

   Not breakpoints but worth knowing: the terminal has no layout for 1920-2560 (content stays at its max width), and the landing's
   header is single-row from 761 up while the terminal's header changes at 900 and 760. */
/* Small additions to the design pages (landing, login): page-level defaults and the login spinner. */
:root{color-scheme:dark}
html{background:#000;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.spinner{width:20px;height:20px;flex-shrink:0;border-radius:50%;border:2px solid #34383C;border-top-color:#9281F7;animation:spin 800ms linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* Reduced motion slows the ring down instead of freezing it: a still ring looks like a hang (the pages' own
   reduced-motion rule leaves .spinner alone). */
@media (prefers-reduced-motion:reduce){.spinner{animation:spin 2s linear infinite}}
