/* Music Speed Changer help center. Tokens from the HelpDocs restyle (2026-09-27): system font,
   iOS/Material blue accent, app-like surfaces, rounded cards, pill buttons. Light and dark follow
   the device unless the visitor picks one with the header toggle. */

:root {
  --msc-accent-rgb: 24 118 210;          /* #1876D2, iOS AccentColor light */
  --msc-accent: rgb(var(--msc-accent-rgb));
  --msc-on-accent: #fff;
  --msc-accent-soft: rgb(var(--msc-accent-rgb) / .10);
  --msc-link: var(--msc-accent);
  --msc-bg: #fff;
  --msc-surface: #f2f6fb;
  --msc-card: #fff;
  --msc-ink: #0c1a2b;
  --msc-text: #1f2d3d;
  --msc-muted: #4a5b70;
  --msc-line: #dce5f0;
  --msc-line-strong: #c5d2e1;
  --msc-shadow: 0 1px 2px rgba(12, 26, 43, .06), 0 6px 18px rgba(12, 26, 43, .06);
  --msc-shadow-hover: 0 2px 4px rgba(12, 26, 43, .08), 0 10px 28px rgba(12, 26, 43, .10);
  --msc-warn-bg: rgba(186, 26, 26, .07);
  --msc-warn-line: rgba(186, 26, 26, .35);
  --msc-warn-ink: #93000a;
  --msc-icon-tile: rgba(24, 118, 210, .16);
  --msc-icon-filter: invert(34%) sepia(28%) saturate(6364%) hue-rotate(196deg) brightness(91%) contrast(81%);
  --msc-hero: linear-gradient(180deg, #eef4fb 0%, #f5f8fc 100%);
  --msc-radius: 16px;
  --msc-font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
/* Dark tokens: once for the device setting, once for the header toggle. Keep the two blocks identical. */
@media (prefers-color-scheme: dark) {
  :root:not(.light-mode) {
    --msc-accent-rgb: 52 197 255; --msc-on-accent: #04202e; --msc-accent-soft: rgb(var(--msc-accent-rgb) / .13);
    --msc-bg: #1a1c1e; --msc-surface: #212529; --msc-card: #22262b; --msc-ink: #eef1f5; --msc-text: #dde2e8;
    --msc-muted: #a9b3bf; --msc-line: #30363d; --msc-line-strong: #434a53;
    --msc-shadow: 0 1px 2px rgba(0, 0, 0, .35); --msc-shadow-hover: 0 2px 4px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
    --msc-warn-bg: rgba(255, 180, 171, .10); --msc-warn-line: rgba(255, 180, 171, .35); --msc-warn-ink: #ffb4ab;
    --msc-icon-tile: rgba(52, 197, 255, .3);
    --msc-icon-filter: invert(60%) sepia(57%) saturate(747%) hue-rotate(167deg) brightness(102%) contrast(101%);
    --msc-hero: linear-gradient(180deg, #20262d 0%, #1a1c1e 100%);
    color-scheme: dark;
  }
}
:root.dark-mode {
  --msc-accent-rgb: 52 197 255; --msc-on-accent: #04202e; --msc-accent-soft: rgb(var(--msc-accent-rgb) / .13);
  --msc-bg: #1a1c1e; --msc-surface: #212529; --msc-card: #22262b; --msc-ink: #eef1f5; --msc-text: #dde2e8;
  --msc-muted: #a9b3bf; --msc-line: #30363d; --msc-line-strong: #434a53;
  --msc-shadow: 0 1px 2px rgba(0, 0, 0, .35); --msc-shadow-hover: 0 2px 4px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
  --msc-warn-bg: rgba(255, 180, 171, .10); --msc-warn-line: rgba(255, 180, 171, .35); --msc-warn-ink: #ffb4ab;
  --msc-icon-tile: rgba(52, 197, 255, .3);
  --msc-icon-filter: invert(60%) sepia(57%) saturate(747%) hue-rotate(167deg) brightness(102%) contrast(101%);
  --msc-hero: linear-gradient(180deg, #20262d 0%, #1a1c1e 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--msc-bg); color: var(--msc-text); font-family: var(--msc-font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
a { color: var(--msc-link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { color: var(--msc-ink); line-height: 1.25; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 10; background: var(--msc-card); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--msc-accent); outline-offset: 2px; }

/* ---- header ---- */
.site-header { background: var(--msc-bg); border-bottom: 1px solid var(--msc-line); }
.hdr {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  padding: 12px max(16px, env(safe-area-inset-left)); min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--msc-ink); font-weight: 700; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; }
.hdr-search { flex: 1; max-width: 780px; margin: 0 auto; }
.page-home .hdr-search { visibility: hidden; }
.hdr-search input, .hero-search input {
  width: 100%; font: inherit; color: var(--msc-text); background: var(--msc-surface);
  border: 1px solid var(--msc-line); border-radius: 999px; padding: 9px 16px 9px 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8796' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px 50%; -webkit-appearance: none; appearance: none;
}
.hdr-search input::placeholder, .hero-search input::placeholder { color: var(--msc-muted); }
.hdr-nav { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-home { color: var(--msc-ink); font-weight: 600; }
.btn-contact {
  display: inline-block; background: var(--msc-accent); color: var(--msc-on-accent); font-weight: 600;
  border-radius: 999px; padding: 6px 18px;
}
.btn-contact:hover { text-decoration: none; filter: brightness(1.06); }
.theme-toggle { background: none; border: 0; color: var(--msc-ink); padding: 6px; cursor: pointer; line-height: 0; border-radius: 8px; }
.theme-toggle .i-moon { display: none; }
:root.dark-mode .theme-toggle .i-sun { display: none; }
:root.dark-mode .theme-toggle .i-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not(.light-mode) .theme-toggle .i-sun { display: none; }
  :root:not(.light-mode) .theme-toggle .i-moon { display: inline; }
}
@media (max-width: 760px) {
  .hdr { flex-wrap: wrap; gap: 10px 12px; min-height: 0; }
  .brand span { font-size: 15px; }
  .hdr-nav { margin-left: auto; gap: 12px; }
  .nav-home { display: none; }
  .hdr-search { order: 3; flex-basis: 100%; }
  .page-home .hdr-search { display: none; }
}

/* ---- platform bar (always takes its space, so nothing moves when it fills in) ---- */
.pbar { background: var(--msc-surface); border-bottom: 1px solid var(--msc-line); font-size: 14px; color: var(--msc-muted); }
.pbar-row { max-width: 1280px; margin: 0 auto; padding: 6px 16px; min-height: 34px; display: flex; align-items: center; }
.pbar-name strong, .pbar-name { color: var(--msc-ink); }
.pbar-name [data-when] { display: none; }
:root[data-platform=android] .pbar-name [data-when=android],
:root[data-platform=ios] .pbar-name [data-when=ios],
:root[data-platform=chrome] .pbar-name [data-when=chrome],
:root[data-platform=web] .pbar-name [data-when=web] { display: inline; }
.pbar-known { display: none; }
:root[data-platform] .pbar-known { display: inline; }
:root[data-platform] .pbar-unknown { display: none; }
:root:not([data-platform]) .page-home .pbar { display: none; } /* the home picker asks instead; set before paint, so nothing moves */
.pbar-change { font: inherit; color: var(--msc-link); background: none; border: 0; padding: 0; cursor: pointer; }
.pbar-picker { max-width: 1280px; margin: 0 auto; padding: 4px 16px 14px; }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pick, .card.pick-card {
  display: flex; flex-direction: column; background: var(--msc-card); border: 1px solid var(--msc-line);
  border-radius: 12px; padding: 10px 14px; color: var(--msc-ink);
}
.pick span, .pick-card span { color: var(--msc-muted); font-size: 14px; }
.pick:hover, .pick-card:hover { text-decoration: none; border-color: var(--msc-accent); }
.pick.suggested, .pick-card.suggested { border-color: var(--msc-accent); box-shadow: 0 0 0 1px var(--msc-accent) inset; }
.pick.current { background: var(--msc-accent-soft); border-color: var(--msc-accent); }
.pick-all { display: inline-block; margin-top: 10px; }

/* ---- layout ---- */
main { display: block; min-height: 60vh; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px 56px; }
.wrap.narrow { max-width: 800px; }
.crumbs ol { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; }
.crumbs li { color: var(--msc-muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--msc-muted); }
.page-head h1 { font-size: clamp(32px, 6vw, 46px); letter-spacing: -0.02em; margin: 28px 0 12px; }
.article-head h1 { margin-bottom: 24px; }
.lead { font-size: 20px; color: var(--msc-muted); margin: 0 0 8px; }
.meta { color: var(--msc-muted); margin: 0 0 24px; }

/* ---- hero ---- */
.hero { background: var(--msc-hero); border-bottom: 1px solid var(--msc-line); padding: 72px 16px 80px; text-align: center; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); letter-spacing: -0.03em; margin: 0 0 28px; }
.hero-search { max-width: 784px; margin: 0 auto; }
.hero-search input { background-color: var(--msc-card); border-color: var(--msc-accent); padding: 16px 20px 16px 46px; font-size: 16px; box-shadow: 0 0 0 3px var(--msc-accent-soft); }
.search-page-form { margin: 0 0 16px; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.articles.cards { grid-template-columns: 1fr; gap: 14px; }
.card {
  display: block; background: var(--msc-card); border: 1px solid var(--msc-line); border-radius: var(--msc-radius);
  padding: 18px 16px; color: var(--msc-text); box-shadow: var(--msc-shadow); transition: box-shadow .15s;
}
.card:hover { text-decoration: none; box-shadow: var(--msc-shadow-hover); }
.card-title { font-size: 17px; margin: 0 0 10px; color: var(--msc-ink); }
.card-desc { margin: 0; color: var(--msc-muted); }
.ccard-meta { display: flex; justify-content: space-between; align-items: flex-start; min-height: 22px; margin-bottom: 4px; }
.ccard-count { color: var(--msc-muted); font-size: 15px; }
.ccard-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 10px; background: var(--msc-icon-tile); margin-bottom: 14px; }
.ccard-icon img { filter: var(--msc-icon-filter); }
.section-title { font-size: 20px; margin: 36px 0 0; }
.section-tag { font-size: 13px; font-weight: 600; color: var(--msc-accent); background: var(--msc-accent-soft); border-radius: 999px; padding: 2px 10px; vertical-align: middle; margin-left: 6px; }
.empty { color: var(--msc-muted); }

/* home: picker when the app is unknown, all apps or one app's categories once known */
.platform-section { display: none; }
:root[data-platform=android] .platform-section[data-for=android],
:root[data-platform=ios] .platform-section[data-for=ios],
:root[data-platform=chrome] .platform-section[data-for=chrome],
:root[data-platform=web] .platform-section[data-for=web] { display: block; }
:root[data-platform] .home-picker, :root[data-platform] .all-apps { display: none; }
:root[data-platform=web] .all-apps { display: block; }
.picks-home { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

/* article or category for another app than the visitor's */
.platform-note { display: none; margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--msc-accent-soft); color: var(--msc-text); }
:root.other-platform .platform-note { display: block; }

/* ---- prev/next, contact ---- */
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 0; }
.pn span { display: block; color: var(--msc-muted); font-size: 14px; }
.pn strong { color: var(--msc-ink); }
.pn.next { text-align: right; }
@media (max-width: 560px) { .prevnext { grid-template-columns: 1fr; } .pn.next { text-align: left; } }
/* ---- article summary and "Updated" line (no author, by Steve's choice) ---- */
.article-head h1:has(+ .article-summary) { margin-bottom: 12px; }
.article-summary { font-size: 18px; line-height: 1.5; color: var(--msc-muted); margin: 0 0 14px; }
.article-updated { display: inline-block; margin: 0 0 28px; padding: 4px 12px; font-size: 13px; color: var(--msc-muted);
  background: var(--msc-surface); border: 1px solid var(--msc-line); border-radius: 999px; }

/* ---- "How did we do?": three equal buttons; choosing one changes its look in place, the status line
   keeps its height whatever it says (nothing moves) ---- */
.feedback { margin: 48px 0 0; padding: 20px 16px 8px; border-top: 1px solid var(--msc-line); text-align: center; }
.fb-title { margin: 0 0 12px; font-weight: 600; color: var(--msc-ink); }
.fb-buttons { display: flex; justify-content: center; gap: 12px; }
.fb-btn { width: 52px; height: 52px; padding: 0; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%;
  background: var(--msc-card); border: 2px solid var(--msc-line); box-shadow: var(--msc-shadow); transition: border-color .15s, background-color .15s; }
.fb-btn:hover:not(:disabled) { border-color: var(--msc-accent); }
.fb-btn[aria-pressed=true] { border-color: var(--msc-accent); background: var(--msc-accent-soft); }
.fb-btn:disabled { cursor: default; }
.fb-btn:disabled:not([aria-pressed=true]) { opacity: .45; }
.fb-status { min-height: 3em; line-height: 1.5; margin: 10px 0 0; font-size: 14px; color: var(--msc-muted); }

/* ---- Related Articles ---- */
.related { margin: 40px 0 0; }
.related .section-title { margin: 0 0 14px; }
.related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.card.related-card { padding: 14px 16px; color: var(--msc-ink); font-weight: 600; }

/* ---- home: Top Articles under the search, three equal boxes ---- */
.top-articles { max-width: 784px; margin: 28px auto 0; text-align: left; }
.top-title { font-size: 15px; font-weight: 600; color: var(--msc-muted); margin: 0 0 10px; text-align: center; }
.top-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.top-card { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: var(--msc-card);
  border: 1px solid var(--msc-line); box-shadow: var(--msc-shadow); color: var(--msc-ink); font-weight: 600; line-height: 1.35; }
.top-card:hover { text-decoration: none; border-color: var(--msc-accent); }
@media (max-width: 700px) { .top-list { grid-template-columns: 1fr; } }

.still-need { margin: 40px 0 0; padding: 20px; border-top: 1px solid var(--msc-line); text-align: center; }
.still-need p { margin: 0 0 10px; font-weight: 600; color: var(--msc-ink); }

/* ---- search ---- */
.search-scope[hidden] { display: none; }
.search-scope { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 8px; color: var(--msc-muted); }
.search-scope label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.search-status { color: var(--msc-muted); min-height: 1.6em; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { margin: 0 0 14px; }
.search-results .card-desc mark { background: var(--msc-accent-soft); color: inherit; border-radius: 3px; }
.result-tag { font-size: 12px; font-weight: 600; color: var(--msc-accent); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--msc-line); padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.site-footer nav { max-width: 1040px; margin: 0 auto; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: var(--msc-muted); }

/* ---- article body (HelpDocs markup) ---- */
#articleBody { font-size: 16px; line-height: 1.65; }
#articleBody h4 { font-size: 22px; margin: 40px 0 14px; }
#articleBody h5 { font-size: 18px; margin: 28px 0 10px; }
#articleBody > :first-child { margin-top: 0; }
#articleBody p, #articleBody ul, #articleBody ol { margin: 0 0 16px; }
#articleBody li { margin: 0 0 6px; }
/* Links in text are underlined, not told apart by colour alone (dark mode is close in brightness). */
#articleBody a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 2px; }
#articleBody a:hover { text-decoration-color: currentColor; }
#articleBody figure { margin: 16px 0 24px; text-align: center; }
#articleBody figure img { max-height: 90vh; width: auto; border-radius: 12px; }
#articleBody img { border-radius: 12px; }
#articleBody table { border-collapse: collapse; width: 100%; }
#articleBody .hd--embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 16px 0 24px; }
#articleBody .hd--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
#articleBody .note-callout, #articleBody .tip-callout, #articleBody .warning-callout {
  position: relative; border-radius: 14px; padding: 14px 16px 14px 22px; margin: 16px 0 24px; line-height: 1.6;
  background: var(--msc-accent-soft); color: var(--msc-text);
}
#articleBody .note-callout::before, #articleBody .tip-callout::before, #articleBody .warning-callout::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 14px 0 0 14px; background: var(--msc-accent);
}
#articleBody .warning-callout { background: var(--msc-warn-bg); border: 1px solid var(--msc-warn-line); }
#articleBody .warning-callout::before { background: var(--msc-warn-ink); }
#articleBody .note-callout > :last-child, #articleBody .tip-callout > :last-child, #articleBody .warning-callout > :last-child { margin-bottom: 0; }
#articleBody input[type=number] {
  font: inherit; width: 6em; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--msc-line-strong);
  background: var(--msc-card); color: var(--msc-text);
}
.bold-text { font-weight: 700; }
/* HelpDocs drew numbers with a CSS counter; here the browser numbers lists, honouring start="N". */
#articleBody ol { padding-left: 1.6em; }
@media (max-width: 380px) {
  .brand span { font-size: 14px; }
  .btn-contact { padding: 4px 14px; }
  .hdr-nav { gap: 6px; }
}
@media (max-width: 345px) {
  .brand span { display: none; }
}

/* ==========================================================================
   Article content classes used by the iOS articles (kept from the previous
   custom CSS on HelpDocs, 2026-09-27; colours come from the tokens in site.css)
   ========================================================================== */

#articleBody table tr:first-of-type {
  background-color: transparent;
}

.calcdiv {
border-radius: 25px;
border: 2px solid #296cc6;
padding: 0px 20px 20px;
background-color: rgba(41,108,198,0.2);
}

 .background-accent-color {
background-color: var(--msc-accent);
}

 .accent-color {
color: var(--msc-accent);
}

/* controls */

.controls-container {
    font-size: 0.8rem;
    width: 100%;
    padding: 1em 0 1em 0;
    align-items: center;margin-bottom: 2em;
    border-top: 1px solid  rgba(41,108,198,0.2);
    border-bottom: 1px solid  rgba(41,108,198,0.2);
}
.controls-button { height:1.6em;width:1.6em;
    padding:0.3em;
    border-radius: 50% !important; 
    display: inline-block;z-index: 10;
                    background-color: rgba(41,108,198,0.2);
}
.controls-button-text { height:1.6em;width:1.6em;
    border-radius: 50%;
    display: inline-block;z-index: 10;vertical-align: middle;text-align: center;
                       
                        
}
.controls-button-margin-right { margin-right: 0.5em; }
.controls-button-margin-left { margin-left: 0.5em; }
.controls-info { width: 100%;height:3em;font-weight: 400;font-size: 1.8em;display: table;margin-bottom:0.6em; }
.controls-info .div1,.controls-info .div2,.controls-info .div3 { width: 33.33%;display: table-cell; vertical-align: middle; }
.controls-info-label { text-align: left;font-weight: bold; }
.controls-info-value { text-align: center; }
.controls-info-reset { text-align: right; }
.controls-slider { display: flex;width:100%;position: relative;left:0;top:0;height:2.8em;margin-bottom: 1em; }
.controls-slider-track {
    position:absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 0.3em;
    border-radius: 10px;
    z-index: 1;
    background-color: #eee;
}
.controls-slider-track-left {
    position:absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    width: 50%;
    height: 0.3em;
    border-radius: 10px;
    z-index: 1;
}
.controls-slider-handle {
    height:2.8em;width:2.8em;margin-left:-1.4em;border: 1px solid #eee; border-radius: 50%;
    background-color: #fff;box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    display: inline-block;position:absolute;left:50%;z-index: 3;
}
.controls-explained { font-size: 1rem;display: table;margin-bottom:0.2em; }
.controls-explained span { display:block; clear: both; }
.controls-explained .div1 { font-size: 1.2em;text-align:center;width:3.4rem;display:inline-block;float:left;margin-top:-0.15em;margin-bottom:1.3rem;margin-right:0.4em; }
.controls-explained .controls-slider { width:3.4rem; }
.controls-explained-slider { font-size: 0.65rem;float:left;margin-right:0.8em;margin-bottom: 3em; }
/* .controls-explained .controls-slider-handle { height:2em;width:2em;margin-left:-0.6em; } */


.center-content { text-align: center; }
.center-content * { margin:auto; }

.controls-table { width:100%; margin:auto; }
.controls-table-first-column { width:3.4rem;padding-top: 8px; }
.controls-table-second-col { padding: 20px 0px 18px 16px; }
.controls-button-bg { height:3.2em;
    width:3.2em;
    border-radius: 50%;
    position: absolute;display: inline-block;z-index: 1; }
.controls-button-db { height:1.8rem;width:1.8rem;
    margin:0.7em;
    display: inline-block;z-index: 10;
}


/* --- place these after the existing “.controls-explained” rules --- */

/* 1 ⟩  Every explanation line becomes a flex row                */
.controls-explained span{
    display:flex;                  /* puts icon + caption on one row              */
    align-items:center;            /* vertical-centres the two pieces              */
    gap:.65em;                     /* space between them                           */
    margin-bottom:1em;             /* row spacing – tweak if you like              */
}

/* 2 ⟩  The graphic column: fixed width, contents centred          */
.controls-explained .div1,
.controls-explained .controls-explained-slider{
    flex:0 0 3.4rem;               /* 3.4 rem wide, no growing or shrinking        */
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 !important;           /* kill the old negative / bottom margins       */
    float:none !important;         /* beat the legacy floats                       */
}

/* 3 ⟩  Make the SVG a true block so its centre is used            */
.controls-explained .div1 img{
    display:block;
}

/* ─── shrink the demo-slider that appears in .controls-explained only ───────── */

/* overall slider height to match the 3.4 rem icon box we fixed earlier */
.controls-explained .controls-slider{
    height:1.6em;                /* was 2.8em — now same visual height as icons */
}

/* slim tracks so they stay centred inside that 1.6 em strip */
.controls-explained .controls-slider-track,
.controls-explained .controls-slider-track-left{
    height:.25em;                /* proportional to the new slider height */
}

/* resize the demo handle and recalc its negative margin */
.controls-explained .controls-slider-handle{
    height:1.6em;
    width:1.6em;
    margin-left:-0.8em;          /* half the new width so it stays centred */
}

/* tweak only the little slider used in the explanation */
.controls-explained .controls-explained-slider{
    position:relative;
    top:0.5em;      /* adjust ±0.02 em if your font renders slightly different */
}


/* dark mode for the slider illustrations above */
:root.dark-mode .controls-slider-track { background-color: var(--msc-line-strong); }
:root.dark-mode .controls-slider-handle { border-color: var(--msc-line-strong); }
@media (prefers-color-scheme: dark) {
:root:not(.light-mode) .controls-slider-track { background-color: var(--msc-line-strong); }
:root:not(.light-mode) .controls-slider-handle { border-color: var(--msc-line-strong); }
}
