/* Grade 3 Math with Byte: the m3* scene styles (byte-math3-scenes.js) and the ninth unit colour. Loaded after byte.css.
   Colours follow byte.css; every tappable part keeps at least a 44 px target on a 390 px phone. Loads nothing. */
.by-u-lime{--u:#b6e35a}
.m3-t{fill:var(--ink);font-family:Figtree,system-ui;font-weight:800}
.m3-small{fill:var(--muted);font-family:Figtree,system-ui;font-weight:700}
.m3-note{fill:var(--gold);font-family:Figtree,system-ui;font-weight:900}
.m3-dim{fill:var(--ink);font-family:Figtree,system-ui;font-weight:800}
.m3-q{fill:var(--gold);font-family:Bungee,system-ui}
.m3-frt{fill:var(--ink);font-family:Bungee,system-ui}
.m3-eq{fill:var(--ink);font-family:Bungee,system-ui}
.m3-digit{fill:var(--ink);font-family:Bungee,system-ui}
.m3-dig-byte{fill:var(--byte)}
.m3-markt{fill:var(--gold);font-family:Bungee,system-ui}
.m3-x{fill:var(--teal);font-family:Figtree,system-ui;font-weight:900}
.m3-bart{fill:#1b0f08;font-family:Figtree,system-ui;font-weight:900}
/* groups, arrays, piles */
.m3-box-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.m3-box.sc-counted .m3-box-bg{stroke:var(--good);stroke-width:3}
.m3-box-red .m3-box-bg{fill:#5a2a24;stroke:#ff8a7a}
.m3-box-blue .m3-box-bg{fill:#24364f;stroke:#7ab8ff}
.m3-row.sc-counted .m3-ic,.m3-rowhit.sc-counted{filter:drop-shadow(0 0 4px rgba(166,235,166,.9))}
.m3-plate{fill:#3a261c;stroke:var(--line);stroke-width:2}
.m3-carton{fill:none;stroke:var(--good);stroke-width:3}
.m3-cut{stroke:var(--gold);stroke-width:3;stroke-dasharray:7 5}
.m3-rod .sc-cube{stroke-width:1}
/* equations and number lines */
.m3-side-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.m3-side.sc-counted .m3-side-bg,.m3-side:focus-visible .m3-side-bg{stroke:var(--gold)}
.m3-line{stroke:var(--muted);stroke-width:3;stroke-linecap:round}
.m3-tick{stroke:var(--muted);stroke-width:2}
.m3-tick-major{stroke:var(--ink);stroke-width:3}
.m3-mark{fill:var(--gold);stroke:#7a5a12;stroke-width:2}
.m3-half{stroke:var(--teal);stroke-width:4}
.m3-flag{fill:var(--gold);stroke:var(--gold);stroke-width:2;stroke-linejoin:round}
.m3-band{fill:rgba(255,210,122,.2)}
.sc-counted .m3-band{fill:rgba(166,235,166,.75)}
/* area and perimeter */
.m3-shape{stroke:none}
.m3-part0{fill:rgba(70,210,202,.35)}.m3-part1{fill:rgba(255,176,46,.35)}
.m3-cell{fill:none;stroke:rgba(255,244,230,.35);stroke-width:1.5}
.m3-cellfill{fill:rgba(70,210,202,.3)}
.m3-outline,.m3-outline-r{stroke:var(--ink);stroke-width:3;stroke-linecap:square;fill:none}
.m3-seg-hit{stroke:transparent;stroke-width:44;stroke-linecap:round}
.m3-seg-on .m3-seg-hit{stroke:rgba(166,235,166,.45);stroke-width:12}
.m3-rowhit.sc-next .sc-hit,.m3-row.sc-next .sc-hit{fill:rgba(255,210,122,.18)}
/* columns */
.m3-rule{stroke:var(--ink);stroke-width:3}
.m3-ansbox{fill:#2b1b15;stroke:var(--line);stroke-width:2;stroke-dasharray:5 4}
.m3-col-hl{fill:rgba(255,210,122,.16);stroke:var(--gold);stroke-width:2}
/* fractions */
.m3-part{stroke:var(--ink);stroke-width:2.5}
.m3-shaded{fill:#46d2ca}.m3-empty{fill:#2b1b15}
.m3-pizza.m3-shaded{fill:#ffb02e}.m3-pizza.m3-empty{fill:#f2d79b}
.m3-guide{stroke:var(--gold);stroke-width:2.5;stroke-dasharray:6 4}
/* clock and time line */
.m3-face{fill:#fff6ea;stroke:#a8834a;stroke-width:4}
.m3-ctick{stroke:#6a4f36;stroke-width:1.5}.m3-ctick5{stroke:#2a1a10;stroke-width:3}
.m3-ctick-on{stroke:#e8453c;stroke-width:4}
.m3-cnum{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:900}
.m3-hand-h{stroke:#2a1a10;stroke-width:8;stroke-linecap:round}
.m3-hand-m{stroke:#1d7f7a;stroke-width:5;stroke-linecap:round}
.m3-hub{fill:#2a1a10}
/* measuring */
.m3-water{fill:rgba(90,167,255,.55)}
.m3-jug{fill:none;stroke:var(--ink);stroke-width:4;stroke-linejoin:round}
.m3-dial{fill:#fff6ea;stroke:#a8834a;stroke-width:4}
.m3-dial~.m3-tick{stroke:#2a1a10}
.m3-dialt{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:900}
.m3-needle{stroke:#e8453c;stroke-width:5;stroke-linecap:round}
.m3-beam{fill:#a8834a}.m3-stand{fill:#6a4f36}.m3-string{stroke:var(--muted);stroke-width:2}.m3-pan{fill:#9aa3ad;stroke:#5f656c;stroke-width:2}
/* graphs and line plots */
.m3-grid{stroke:rgba(255,244,230,.22);stroke-width:1.5}.m3-axis{stroke:var(--ink);stroke-width:2.5}
.m3-bar{stroke:rgba(0,0,0,.35);stroke-width:1.5}.m3-bar0{fill:#5aa7ff}.m3-bar1{fill:#ffb02e}.m3-bar2{fill:#6fdc8c}.m3-bar3{fill:#ff8fc8}
.m3-brace{fill:none;stroke:var(--gold);stroke-width:3}
.m3-ribbon{fill:#ff6b5e}
/* shapes */
.m3-quad{fill:rgba(181,140,255,.35);stroke:#b58cff;stroke-width:5;stroke-linejoin:round}
.m3-right{fill:none;stroke:var(--gold);stroke-width:3}
.m3-tickmark{fill:var(--gold)}
.m3-digbox{fill:#3a261c;stroke:var(--line);stroke-width:2}.m3-ones{stroke:var(--gold);stroke-width:3}
.m3-pair{fill:var(--teal)}.m3-odd{fill:#ff6b5e}
@media (prefers-reduced-motion:no-preference){.m3-ctick-on{transition:stroke .2s}}
/* long source links (state guidance pages) wrap instead of widening the grown-ups page on phones */
.by-sources{overflow-wrap:anywhere}
