/* Settings (js/settings.js), design canvas page 7, board "Settings". Phone first (390 px). */

/* Text size: the page content scales, the top bar and menu stay put. --ts is set on <html> by applySettings().
   The Settings page itself is not scaled, so the slider stays under your finger; its sample line shows the size. */
#app { zoom: var(--ts, 1); }
body[data-view="settings"] #app { zoom: 1; }

/* Reduce motion: no transitions or animations; scrolling jumps. */
html.rm *, html.rm *::before, html.rm *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

body[data-view="settings"] .wrap { max-width: 430px; padding: 8px 20px 28px; }

.st { display: flex; flex-direction: column; gap: 0; font: 400 15px/1.5 var(--ui); color: var(--text); }
.st-h1 { font: 400 32px/1.15 var(--read); margin: 0 0 8px; padding-bottom: 8px; }
.st-label { font: 600 11px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.st-label-gap { padding-top: 18px; }
.st-title { font-size: 13px; display: block; }
.st-note { font-size: 12px; line-height: 1.4; color: var(--muted); display: block; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); cursor: pointer; }
.st-row-plain { cursor: default; min-height: 0; border: 0; }
.st-row-plain .st-note { display: inline; }
.st-select { flex: none; min-height: 44px; padding: 0 10px; font: 500 14px var(--ui); color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; }
.st-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.st-check { width: 22px; height: 22px; accent-color: var(--gold); flex: none; margin: 0; }
.st-check:focus-visible, .st-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.st-block { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.st-range { width: 100%; min-height: 44px; margin: 0; accent-color: var(--gold); }
.st-sample { font: 400 18px/1.5 var(--read); margin: 0; }
.st-device { font: italic 12px/1.4 var(--read); color: var(--muted); margin: 16px 0 0; }
